API网关 APIG-查询编排规则绑定的API:响应示例

时间:2024-11-11 18:22:29

响应示例

状态码: 200

OK

{
  "total" : 1,
  "size" : 1,
  "apis" : [ {
    "api_id" : "8aa097b00e9843efabc9c593d11b769d",
    "api_name" : "api_demo",
    "req_method" : "GET",
    "req_uri" : "/test",
    "auth_type" : " IAM ",
    "match_mode" : "NORMAL",
    "group_id" : "b9be707660c5406394f8973e087bae20",
    "group_name" : "group_demo",
    "attached_time" : "2023-07-02T12:31:23.353Z"
  } ]
}

状态码: 400

Bad Request

{
  "error_code" : "APIG.2012",
  "error_msg" : "Invalid parameter value,parameterName:instance_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.3030",
  "error_msg" : "The instance does not exist;id:f0fa1789-3b76-433b-a787-9892951c620ec"
}

状态码: 500

Internal Server Error

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