API网关 APIG-查询实例的自定义入方向端口列表:响应示例

时间:2024-06-27 11:06:26

响应示例

状态码: 200

OK

{
  "total" : 1,
  "size" : 1,
  "ingress_port_infos" : [ {
    "protocol" : "HTTP",
    "ingress_port" : 8080,
    "ingress_port_id" : "0ae98839d78043d8a6dff54d7cb096dc",
    "status" : "normal"
  } ]
}

状态码: 401

Unauthorized

{
  "error_code" : "APIC.7102",
  "error_msg" : "Incorrect token or token resolution failed"
}

状态码: 403

Forbidden

{
  "error_code" : "APIC.7106",
  "error_msg" : "No permissions to request for the method"
}

状态码: 500

Internal Server Error

{
  "error_code" : "APIC.9000",
  "error_msg" : "Failed to request internal service"
}
support.huaweicloud.com/api-apig/ListCustomIngressPorts.html