API网关 APIG-查询分组自定义响应列表:响应示例

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

响应示例

状态码: 200

OK

{
  "total" : 2,
  "size" : 2,
  "responses" : [ {
    "create_time" : "2020-08-12T06:52:02Z",
    "default" : false,
    "id" : "e839b367e10f4ab19d1c5008e476b83a",
    "name" : "response_demo",
    "update_time" : "2020-08-12T06:52:02Z"
  }, {
    "create_time" : "2020-07-31T11:39:23Z",
    "default" : true,
    "id" : "ed8e8c52ab0e4a1c9c809268e5002e64",
    "name" : "default",
    "update_time" : "2020-07-31T11:39:23Z"
  } ]
}

状态码: 400

Bad Request

{
  "error_code" : "APIG.2012",
  "error_msg" : "Invalid parameter value,parameterName:group_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.3001",
  "error_msg" : "API group c77f5e81d9cb4424bf704ef2b0ac7600 does not exist"
}

状态码: 500

Internal Server Error

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