API网关 APIG-更新编排规则:响应示例

时间:2025-02-12 15:04:35

响应示例

状态码: 200

OK

{  "orchestration_id" : "yt655e81d9cb4424bf704ef2b0ac7600",  "orchestration_name" : "orchestration_demo_1",  "orchestration_create_time" : "2023-07-02T12:31:23.353Z",  "orchestration_update_time" : "2023-07-02T13:31:23.353Z",  "orchestration_strategy" : "range",  "orchestration_mapped_param" : {    "mapped_param_name" : "shared-tag",    "mapped_param_type" : "number",    "mapped_param_location" : "header"  },  "orchestration_map" : [ {    "map_param_range" : {      "range_start" : "1",      "range_end" : "1000"    },    "mapped_param_value" : "1"  } ]}

状态码: 400

Bad Request

{  "error_code" : "APIG.2012",  "error_msg" : "Invalid parameter value,parameterName:orchestration_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/UpdateOrchestration.html