应用与数据集成平台 ROMA CONNECT-查询APP列表:响应示例

时间:2024-07-04 15:42:16

响应示例

状态码: 200

OK

{
  "total" : 2,
  "size" : 2,
  "apps" : [ {
    "id" : "356de8eb7a8742168586e5daf5339965",
    "name" : "app_demo",
    "remark" : "app example",
    "creator" : "USER",
    "update_time" : "2020-08-03T13:09:13Z",
    "app_key" : "ee8f878c252747028f07eb116c2cd91b",
    "app_secret" : "416**********ab8",
    "register_time" : "2020-08-03T13:09:13Z",
    "status" : 1,
    "app_type" : "roma",
    "roma_app_type" : "integration",
    "bind_num" : 0
  }, {
    "id" : "9ed8b7fe84224de681e7d7a5587e76dc",
    "name" : "app_001",
    "remark" : "remark",
    "creator" : "USER",
    "update_time" : "2020-05-27T10:38:03.133586Z",
    "app_key" : "840b8b5b1efc4ec686639759c2c584da",
    "app_secret" : "0a4**********c6e",
    "register_time" : "2020-03-28T11:09:06Z",
    "status" : 1,
    "app_type" : "roma",
    "roma_app_type" : "integration",
    "bind_num" : 3
  } ]
}

状态码: 400

Bad Request

{
  "error_code" : "APIG.2011",
  "error_msg" : "Invalid parameter value,parameterName:name. 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-roma/ListAppsV2.html