应用与数据集成平台 ROMA CONNECT-导入自定义后端API:响应示例

时间:2023-11-29 17:31:39

响应示例

状态码: 200

OK

{
  "failure" : [ {
    "path" : "/test/demo",
    "error_msg" : "The backend API already exists",
    "method" : "GET",
    "error_code" : "APIG.3314"
  } ],
  "success" : [ {
    "path" : "/test",
    "method" : "GET",
    "action" : "create",
    "id" : "8ae6bcafab6f49d78242bff26ad8a4f0"
  } ],
  "swagger" : { }
}

状态码: 400

Bad Request

{
  "error_code" : "APIG.3201",
  "error_msg" : "The API group name already exists"
}

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

状态码: 500

Internal Server Error

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