数据复制服务 DRS-查询内容对比差异:响应示例

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

响应示例

状态码: 200

OK

{
  "count" : 1,
  "target_meta_is_null" : 0,
  "source_meta_is_null" : 0,
  "source_target_meta_not_null" : 1,
  "contents_infos" : [ {
    "source_key_value" : [ "id=5" ],
    "target_key_value" : [ "id=5" ],
    "select_sql" : "select * from db1.tb1 where id=5",
    "target_select_sql" : "select * from db1.tb1 where id=5"
  } ]
}

状态码: 400

Bad Request

{
  "error_code" : "DRS.10000010",
  "error_msg" : "Task not found. Check the task ID."
}
support.huaweicloud.com/api-drs/drs_03_0254.html