API网关 APIG-查看流控策略绑定的API列表:响应示例

时间:2025-02-12 15:04:28

响应示例

状态码: 200

OK

{  "total" : 1,  "size" : 1,  "apis" : [ {    "run_env_name" : "RELEASE",    "group_name" : "api_group_001",    "publish_id" : "40e7162dc6b94bbbbb1a60d2a24b1b0c",    "group_id" : "c77f5e81d9cb4424bf704ef2b0ac7600",    "throttle_apply_id" : "3e06ac135e18477e918060d3c59d6f6a",    "name" : "Api_http",    "apply_time" : "2020-08-03T12:25:52Z",    "remark" : "Web backend API",    "run_env_id" : "DEFAULT_ENVIRONMENT_RELEASE_ID",    "id" : "5f918d104dc84480a75166ba99efff21",    "type" : 1,    "throttle_name" : "throttle_demo",    "auth_type" : "APP",    "req_uri" : "/test/http"  } ]}

状态码: 400

Bad Request

{  "error_code" : "APIG.2012",  "error_msg" : "Invalid parameter value,parameterName:throttle_id. Please refer to the support documentation"}

状态码: 401

Unauthorized

{  "error_code" : "APIG.1002",  "error_msg" : "Incorrect token or token resolution failed"}

状态码: 403

Forbidden

{  "error_code" : "APIG.1005",  "error_msg" : "No permissions to request this method"}

状态码: 404

Not Found

{  "error_code" : "APIG.3005",  "error_msg" : "Request throttling policy 3437448ad06f4e0c91a224183116e965 does not exist"}

状态码: 500

Internal Server Error

{  "error_code" : "APIG.9999",  "error_msg" : "System error"}
support.huaweicloud.com/api-apig/ListApisBindedToRequestThrottlingPolicyV2.html