检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
scope Integer 策略作用域,取值如下: 1: 整个API 2: 单个用户 3: 单个APP 目前只支持1 apply_time Timestamp 绑定时间 响应消息样例: { "throttle_applys": [{ "id": "507c6a9f-8322-4dc2
publish_id String API的发布编号 响应消息样例: { "total": 1, "size": 1, "auths": [{ "id": "cfa688d8-094b-445a-b270-6aeb0b70a84a", "api_id": "6632a062-9dcf
scope Integer 策略作用域,取值如下: 1: 整个API 2: 单个用户 3: 单个APP 目前只支持1 apply_time Timestamp 绑定时间 响应消息样例: { "throttle_applys": [{ "id": "507c6a9f-8322-4dc2
"group_id" : "c77f5e81d9cb4424bf704ef2b0ac7600", "define" : "all" } 响应示例 状态码: 202 Accepted { "task_id" : "d9ce8c9eede54b3f841ec324fe0bfdc2
app_type String APP类型 响应消息样例: { "total": 1, "size": 1, "auths": [{ "id": "cfa688d8-094b-445a-b270-6aeb0b70a84a", "api_id": "6632a062-9dcf
enable_adaptive_control String 是否开启动态流控: TRUE FALSE 暂不支持 响应消息样例: { "total": 2, "size": 2, "throttles": [{ "id": "a3106cfe-801f-4919-b0d7-d785dc5b47f9
500 表10 响应Body参数 参数 参数类型 描述 error_code String 错误码 error_msg String 错误描述 请求示例 批量解除API与流控策略的绑定关系 { "throttle_bindings" : [ "6a6a75b425df416cbdcd7821da30be8d
String 生成的APP的key app_secret String 生成的APP的secret 响应参数样例: { "total": 3, "size": 3, "purchases": [{ "id": "615af8d9-f31d-4cdf-8807-b191dc969a07
binding_time Timestamp 绑定时间 publish_id String API的发布编号 响应消息样例: { "total": 2, "size": 2, "bindings": [ { "id": "4588ec6f5dab4f67b298dc693f58029e
permissions to request this method" } 状态码: 404 Not Found { "error_code" : "APIG.3030", "error_msg" : "The instance does not exist;id:eddc4d25480b4cd6b512f270a1b8b341
描述 error_code String 错误码 error_msg String 错误描述 请求示例 无 响应示例 状态码: 200 OK { "available_zones" : [ { "code" : "xx-xxx-4a", "id" : "effdcbc7d4d64a02aa1fa26b42f56533
publish_id String API的发布编号 响应消息样例: { "total": 1, "size": 1, "auths": [{ "id": "cfa688d8-094b-445a-b270-6aeb0b70a84a", "api_id": "6632a062-9dcf
DEFAULT_ENVIRONMENT_RELEASE_ID", "env_name": "RELEASE", "binding_time": "2018-02-07T03:17:26.39803282Z", "publish_id": "6581f68efddc4ff0815e156ec6ecfb52
binding_time Timestamp 绑定时间 publish_id String API的发布编号 响应消息样例: { "total": 2, "size": 2, "bindings": [ { "id": "4588ec6f5dab4f67b298dc693f58029e
enable_adaptive_control String 是否开启动态流控: TRUE FALSE 暂不支持 响应消息样例: { "total": 2, "size": 2, "throttles": [{ "id": "a3106cfe-801f-4919-b0d7-d785dc5b47f9
ingress_port" : 8080 } 响应示例 状态码: 201 Created { "protocol" : "HTTP", "ingress_port" : 8080, "ingress_port_id" : "0ae98839d78043d8a6dff54d7cb096dc
permissions to request this method" } 状态码: 404 Not Found { "error_code" : "APIG.3030", "error_msg" : "The instance does not exist;id:eddc4d25480b4cd6b512f270a1b8b341
1, "ingress_port_infos" : [ { "protocol" : "HTTP", "ingress_port" : 8080, "ingress_port_id" : "0ae98839d78043d8a6dff54d7cb096dc
binding_time Timestamp 绑定时间 publish_id String API的发布编号 响应消息样例: { "total": 2, "size": 2, "bindings": [ { "id": "4588ec6f5dab4f67b298dc693f58029e
DEFAULT_ENVIRONMENT_RELEASE_ID", "env_name": "RELEASE", "binding_time": "2018-02-07T03:17:26.39803282Z", "publish_id": "6581f68efddc4ff0815e156ec6ecfb52