API网关 APIG-异步导入API:响应示例

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

响应示例

状态码: 202

Accepted

{
  "task_id" : "d9ce8c9eede54b3f841ec324fe0bfdc2"
}

状态码: 400

Bad Request

{
  "error_code" : "APIG.3603",
  "error_msg" : "The input data is too long"
}

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

状态码: 500

Internal Server Error

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