数据复制服务 DRS-查询增量DDL列表:响应示例

时间:2024-10-18 19:41:54

响应示例

状态码: 200

OK

{
  "count" : 1,
  "ddl_list" : [ {
    "seqno" : 30,
    "checkpoint" : "mysql-bin.000006:431;200e3d00-4a57-11ef-8a76-fa163ef2208a:7;200e3d00-4a57-11ef-8a76-fa163ef2208a:1-7",
    "status" : 1,
    "ddl_timestamp" : 1721894317000,
    "ddl_text" : "/* sql from das */ALTER TABLE `test1`.`test1`\n\tADD COLUMN `sex` VARCHAR(32) NULL AFTER `name`",
    "exe_result" : true,
    "record_time" : 1721894318544,
    "clean_time" : 1721897321317
  } ]
}

状态码: 400

Bad Request

{
  "error_code" : "DRS.10000001",
  "error_msg" : "Failed."
}
support.huaweicloud.com/api-drs/drs_03_0272.html