API网关 APIG-接受或拒绝终端节点连接:响应示例

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

响应示例

状态码: 200

OK

{
  "connections" : [ {
    "id" : "9cf102d8-aaa0-44cf-8222-fd6f2c073887",
    "marker_id" : 167792784,
    "created_at" : "2021-05-07T14:20:14Z",
    "updated_at" : "2021-05-07T14:30:25Z",
    "domain_id" : "c90f12a0f1ee43bc90a1f4d17bce35bc",
    "status" : "accepted"
  } ]
}

状态码: 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"
}

状态码: 404

Resource Not Found

{
  "error_code" : "APIC.7314",
  "error_msg" : "Endpoint service not found"
}

状态码: 500

Internal Server Error

{
  "error_code" : "APIC.9007",
  "error_msg" : "Failed to execute VCPEP request"
}
support.huaweicloud.com/api-apig/AcceptOrRejectEndpointConnections.html