mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-12-25 03:26:36 +08:00
完善API文档
This commit is contained in:
@@ -56,22 +56,22 @@ service IPItemService {
|
||||
|
||||
// 创建IP
|
||||
message CreateIPItemRequest {
|
||||
int64 ipListId = 1; // IP列表ID
|
||||
int64 ipListId = 1; // 所属IP列表ID
|
||||
string ipFrom = 2; // 开始IP
|
||||
string ipTo = 3; // 结束IP(可选)
|
||||
int64 expiredAt = 4; // 过期时间戳(可选)
|
||||
string reason = 5; // 加入理由(可选)
|
||||
string type = 6; // 类型
|
||||
string eventLevel = 7; // 级别
|
||||
string type = 6; // IP类型,值为ipv4或ipv6
|
||||
string eventLevel = 7; // 级别:debug, notice, warning, error, critical, fatal
|
||||
|
||||
int64 nodeId = 8; // 所属节点ID
|
||||
int64 serverId = 9; // 所属服务ID
|
||||
int64 nodeId = 8; // 可选项,所属节点ID
|
||||
int64 serverId = 9; // 可选项,所属网站ID
|
||||
|
||||
int64 sourceNodeId = 10;
|
||||
int64 sourceServerId = 11;
|
||||
int64 sourceHTTPFirewallPolicyId = 12;
|
||||
int64 sourceHTTPFirewallRuleGroupId = 13;
|
||||
int64 sourceHTTPFirewallRuleSetId = 14;
|
||||
int64 sourceNodeId = 10; // 可选项,来源节点
|
||||
int64 sourceServerId = 11; // 可选项,来源网站ID
|
||||
int64 sourceHTTPFirewallPolicyId = 12; // 可选项,来源WAF策略ID
|
||||
int64 sourceHTTPFirewallRuleGroupId = 13; // 可选项,来源WAF规则分组ID
|
||||
int64 sourceHTTPFirewallRuleSetId = 14; // 可选项,来源WAF规则集ID
|
||||
}
|
||||
|
||||
message CreateIPItemResponse {
|
||||
|
||||
Reference in New Issue
Block a user