应用与数据集成平台 ROMA CONNECT-查询自定义后端服务数据源列表:响应示例

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

响应示例

状态码: 200

OK

{
  "size" : 1,
  "total" : 1,
  "data_sources" : [ {
    "created_time" : "2020-09-19T07:10:12Z",
    "id" : "b71d74cd5889433bb90083f6fbc3adae",
    "modified_time" : "2020-09-19T07:10:12Z",
    "name" : "fdi_ds_demo",
    "status" : "new",
    "type" : "mysql",
    "url" : "jdbc:mysql://10.10.10.156:3306/apic?allowPublicKeyRetrieval=true&characterEncoding=UTF-8",
    "user" : "apictest"
  } ]
}

状态码: 400

Bad Request

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