分布式数据库中间件 DDM-查询DDM逻辑库列表:响应示例

时间:2024-11-05 19:14:22

响应示例

状态码: 200

OK

{
  "databases" : [ {
    "status" : "RUNNING",
    "created" : "1642063713625",
    "name" : "mytestdb170",
    "shard_mode" : "cluster",
    "shard_number" : 8,
    "shard_unit" : 8,
    "used_rds" : [ {
      "id" : "c6f68fed9e74478c8679479a07d7d568in01",
      "status" : "normal",
      "name" : "rds-test"
    } ]
  } ],
  "total" : 172
}

状态码: 400

bad request

{
  "externalMessage" : "Parameter error.",
  "errCode" : "DBS.280001"
}

状态码: 500

server error

{
  "externalMessage" : "Server failure.",
  "errCode" : "DBS.200412"
}
support.huaweicloud.com/api-ddm/ddm_api_01_0029.html