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

时间:2024-07-19 15:28:11

响应示例

状态码: 200

OK

{
  "users" : [ {
    "name" : "ddmtest",
    "status" : "RUNNING",
    "base_authority" : [ "SELECT" ],
   
    "password_last_changed" : 1686904661709,
    "description" : "账号",
    "created" : 1686904661709,
    "databases" : [ {
      "name" : "zhxtest",
      "description" : "逻辑库"
    } ]
  } ],
  "page_no" : 1,
  "page_size" : 10,
  "total_record" : 1,
  "total_page" : 1
}

状态码: 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_0043.html