应用与数据集成平台 ROMA CONNECT-查看流控策略未绑定的API列表:响应示例

时间:2024-07-04 15:42:16

响应示例

状态码: 200

OK

{
  "total" : 2,
  "size" : 2,
  "apis" : [ {
    "run_env_name" : "RELEASE",
    "group_name" : "api_group_001",
    "publish_id" : "9f27d1dc4f4242a9abf88e563dbfc33d",
    "group_id" : "c77f5e81d9cb4424bf704ef2b0ac7600",
    "name" : "Api_mock",
    "remark" : "Mock backend API",
    "run_env_id" : "DEFAULT_ENVIRONMENT_RELEASE_ID",
    "id" : "3a955b791bd24b1c9cd94c745f8d1aad",
    "type" : 1,
    "auth_type" : " IAM ",
    "req_uri" : "/test/mock"
  }, {
    "run_env_name" : "RELEASE",
    "group_name" : "APIGroup_d00511069",
    "publish_id" : "0c613568c8644a1b92172156f77a5759",
    "group_id" : "d7d0b9a54469424f942e16a6b6026936",
    "name" : "API_nevj",
    "run_env_id" : "DEFAULT_ENVIRONMENT_RELEASE_ID",
    "id" : "9e07bc00a1864ab4aafd4a23d19dd1c2",
    "type" : 1,
    "auth_type" : "APP",
    "req_uri" : "/fdasf"
  } ]
}

状态码: 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-roma/ListApisUnbindedToRequestThrottlingPolicyV2.html