huawei-cloud-api-definitions-WAF 0.1.20260403

Huawei Cloud API definitions, generated from OpenAPI spec
Documentation
1
{"base_path":"/","components":null,"consumes":"","definitions":{"ActionDistributions":{"properties":{"items":{"description":"**参数解释:**\n各处置动作的统计详情\n**约束限制:**\n不涉及\n**取值范围:**\n不涉及\n**默认取值:**\n不涉及","items":{"$ref":"#/definitions/TypedStatBucket"},"type":"array"},"total":{"default":0,"description":"**参数解释:**\n处置动作的总数量\n**约束限制:**\n不涉及\n**取值范围:**\n≥0\n**默认取值:**\n0","format":"int64","minimum":0,"type":"integer"}},"type":"object"},"BotRequestDistributions":{"example":{"action_bucket":{"items":[{"count":0,"key":"pass"},{"count":0,"key":"log"},{"count":0,"key":"js_challenge"},{"count":0,"key":"advanced_captcha"},{"count":0,"key":"block"}],"total":0},"bot_classification_bucket":{"items":[{"count":0,"key":"1"},{"count":0,"key":"2"},{"count":0,"key":"3"},{"count":0,"key":"4"}],"total":0},"normal_bucket":{"count":0}},"properties":{"action_bucket":{"$ref":"#/definitions/ActionDistributions","description":"**参数解释:**\n处置动作统计数据\n**约束限制:**\n不涉及\n**取值范围:**\n不涉及\n**默认取值:**\n不涉及","type":"object"},"bot_classification_bucket":{"$ref":"#/definitions/BotTypeDistributions","description":"**参数解释:**\nbot分类统计数据\n**约束限制:**\n不涉及\n**取值范围:**\n不涉及\n**默认取值:**\n不涉及","type":"object"},"normal_bucket":{"description":"**参数解释:**\n正常请求的统计数据\n**约束限制:**\n不涉及\n**取值范围:**\n不涉及\n**默认取值:**\n不涉及","properties":{"count":{"description":"**参数解释:**\n正常请求总数\n**约束限制:**\n不涉及\n**取值范围:**\n≥0\n**默认取值:**\n0","format":"int64","minimum":0,"type":"integer"}},"type":"object"}},"type":"object"},"BotTypeDistributions":{"properties":{"items":{"description":"**参数解释:**\n各类型bot的统计详情\n**约束限制:**\n不涉及\n**取值范围:**\n不涉及\n**默认取值:**\n不涉及","items":{"$ref":"#/definitions/TypedStatBucket"},"type":"array"},"total":{"default":0,"description":"**参数解释:**\nbot请求的总数量\n**约束限制:**\n不涉及\n**取值范围:**\n≥0\n**默认取值:**\n0","format":"int64","minimum":0,"type":"integer"}},"type":"object"},"IAM5ErrorDetails":{"description":"调用下游服务的报错信息集合,IAM5鉴权错误时才会返回此信息0。","properties":{"error_code":{"description":"下游服务错误码","type":"string"},"error_msg":{"description":"下游服务报错信息","type":"string"}}},"RestErrorResponse":{"properties":{"details":{"description":"调用下游服务的报错信息集合,IAM5鉴权错误时才会返回此字段。","items":{"$ref":"#/definitions/IAM5ErrorDetails"},"type":"array"},"encoded_authorization_message":{"description":"编码 (加密) 后的详细拒绝原因,用户可以自行调用 STS 服务的decode-authorization-message接口进行解码,可参考STS5联调自验证。IAM5鉴权错误时才会返回此字段。","type":"string"},"error_code":{"description":"错误码","type":"string"},"error_msg":{"description":"错误信息","type":"string"}},"title":"RestErrorResponse","type":"object"},"TypedStatBucket":{"properties":{"count":{"description":"**参数解释:**\n该键对应的命中请求数量\n**约束限制:**\n不涉及\n**取值范围:**\n≥0\n**默认取值:**\n0","format":"int64","minimum":0,"type":"integer"},"key":{"description":"**参数解释:**\n统计键(如bot类型、域名等)\n**约束限制:**\n不涉及\n**取值范围:**\n不涉及\n**默认取值:**\n不涉及","type":"string"}},"type":"object"}},"description":null,"group_id":"29975c0bd7ce463ca70ad5c074e3974b","host":"waf.cn-north-4.myhuaweicloud.com","id":"4fe1100b02ba440f8ba4c19fee343c1b","info_version":"v1","method":"get","name":"ListBotMRequestDistribution","parameters":{},"paths":{"/v1/{project_id}/waf/overviews/bot-manager/bot-request-distribution":{"get":{"description":"查询BotM中bot的请求分布","operationId":"ListBotMRequestDistribution","parameters":[{"description":"**参数解释:**\n租户 token\n**约束限制:**\n不涉及\n**取值范围:**\n不涉及\n**默认取值:**\n不涉及","in":"header","name":"X-Auth-Token","required":true,"type":"string"},{"default":"application/json;charset=utf8","description":"**参数解释:**\n内容类型\n**约束限制:**\n不涉及\n**取值范围:**\n不涉及\n**默认取值:**\napplication/json;charset=utf8","in":"header","name":"Content-Type","required":true,"type":"string"},{"description":"**参数解释:**\n开始时间\n**约束限制:**\n不涉及\n**取值范围:**\n不涉及\n**默认取值:**\n不涉及","format":"int64","in":"query","name":"start_time","required":true,"type":"integer"},{"description":"**参数解释:**\n结束时间\n**约束限制:**\n不涉及\n**取值范围:**\n不涉及\n**默认取值:**\n不涉及","format":"int64","in":"query","name":"end_time","required":true,"type":"integer"},{"description":"**参数解释:**\n租户Id\n**约束限制:**\n不涉及\n**取值范围:**\n不涉及\n**默认取值:**\n不涉及","in":"query","name":"tenant_id","required":false,"type":"string"},{"description":"**参数解释:**\n企业项目Id\n**约束限制:**\n不涉及\n**取值范围:**\n不涉及\n**默认取值:**\n不涉及","in":"query","name":"enterprise_project_id","required":false,"type":"string"},{"description":"**参数解释:**\n租户项目Id\n**约束限制:**\n不涉及\n**取值范围:**\n不涉及\n**默认取值:**\n不涉及","in":"path","name":"project_id","required":true,"type":"string"},{"description":"**参数解释:**\n域名\n**约束限制:**\n不涉及\n**取值范围:**\n不涉及\n**默认取值:**\n不涉及","in":"query","items":{"type":"string"},"name":"hosts","required":false,"type":"array"},{"description":"**参数解释:**\n域名,要查询域名名称列表,hosts和domains二选一,都有值的话以hosts为准\n**约束限制:**\n不涉及\n**取值范围:**\n不涉及\n**默认取值:**\n不涉及","in":"query","items":{"type":"string"},"name":"domains","required":false,"type":"array"},{"description":"**参数解释:**\n区域\n**约束限制:**\n不涉及\n**取值范围:**\n不涉及\n**默认取值:**\n不涉及","in":"query","name":"region","required":false,"type":"string"},{"description":"**参数解释:**\n站点\n**约束限制:**\n不涉及\n**取值范围:**\n不涉及\n**默认取值:**\n不涉及","in":"query","name":"site","required":false,"type":"string"}],"produces":["application/json;charset=utf-8"],"responses":{"200":{"description":"OK","examples":{"application/json":{"action_bucket":{"items":[{"count":0,"key":"pass"},{"count":0,"key":"log"},{"count":0,"key":"js_challenge"},{"count":0,"key":"advanced_captcha"},{"count":0,"key":"block"}],"total":0},"bot_classification_bucket":{"items":[{"count":0,"key":"1"},{"count":0,"key":"2"},{"count":0,"key":"3"},{"count":0,"key":"4"}],"total":0},"normal_bucket":{"count":0}}},"schema":{"$ref":"#/definitions/BotRequestDistributions"}},"400":{"description":"请求失败","schema":{"$ref":"#/definitions/RestErrorResponse"}},"401":{"description":"token权限不足","schema":{"$ref":"#/definitions/RestErrorResponse"}},"500":{"description":"服务器内部错误","schema":{"$ref":"#/definitions/RestErrorResponse"}}},"summary":"查询BotM中bot的请求分布","tags":["安全总览"],"x-api-type":"open-api","x-is-registered":"Y","x-support-international":true,"x-support-sdk":"Y"}}},"product_short":"WAF","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"查询BotM中bot的请求分布","tags":"安全总览","uri":null,"version":"2.0"}