完善API文档

This commit is contained in:
刘祥超
2023-10-09 08:45:44 +08:00
parent 01e211560d
commit 16cf11b366
3 changed files with 25 additions and 25 deletions

View File

@@ -14997,7 +14997,7 @@
},
{
"name": "CreateIPItemRequest",
"code": "message CreateIPItemRequest {\n\tint64 ipListId = 1; // IP列表ID\n\tstring ipFrom = 2; // 开始IP\n\tstring ipTo = 3; // 结束IP可选\n\tint64 expiredAt = 4; // 过期时间戳(可选)\n\tstring reason = 5; // 加入理由(可选)\n\tstring type = 6; // 类型\n\tstring eventLevel = 7; // 级别\n\n\tint64 nodeId = 8; // 所属节点ID\n\tint64 serverId = 9; // 所属服务ID\n\n\tint64 sourceNodeId = 10;\n\tint64 sourceServerId = 11;\n\tint64 sourceHTTPFirewallPolicyId = 12;\n\tint64 sourceHTTPFirewallRuleGroupId = 13;\n\tint64 sourceHTTPFirewallRuleSetId = 14;\n}",
"code": "message CreateIPItemRequest {\n\tint64 ipListId = 1; // 所属IP列表ID\n\tstring ipFrom = 2; // 开始IP\n\tstring ipTo = 3; // 结束IP可选\n\tint64 expiredAt = 4; // 过期时间戳(可选)\n\tstring reason = 5; // 加入理由(可选)\n\tstring type = 6; // IP类型值为ipv4或ipv6\n\tstring eventLevel = 7; // 级别debug, notice, warning, error, critical, fatal\n\n\tint64 nodeId = 8; // 可选项,所属节点ID\n\tint64 serverId = 9; // 可选项,所属网站ID\n\n\tint64 sourceNodeId = 10; // 可选项,来源节点\n\tint64 sourceServerId = 11; // 可选项来源网站ID\n\tint64 sourceHTTPFirewallPolicyId = 12; // 可选项来源WAF策略ID\n\tint64 sourceHTTPFirewallRuleGroupId = 13; // 可选项来源WAF规则分组ID\n\tint64 sourceHTTPFirewallRuleSetId = 14; // 可选项来源WAF规则集ID\n}",
"doc": "创建IP"
},
{