数据治理中心 DATAARTS STUDIO-查看关系详情:响应示例

时间:2023-11-15 11:25:48

响应示例

状态码: 200

Success,返回data数据是 RelationVO 详情

{
  "data" : {
    "value" : {
      "id" : "1000068927784710144",
      "source_table_id" : "873243083737899008",
      "target_table_id" : "888462883313393664",
      "name" : "sdi_taxi_trip_data_wang_1",
      "source_table_name" : "demo_sdi_db.sdi_taxi_trip_data",
      "target_table_name" : "default.wang",
      "role" : null,
      "tenant_id" : "xxx",
      "source_type" : "ONE_OR_N",
      "target_type" : "ONE_OR_N",
      "create_by" : "abc",
      "update_by" : "abc",
      "create_time" : "2022-07-22T15:56:53+08:00",
      "update_time" : "2022-07-22T15:57:28+08:00",
      "mappings" : [ {
        "id" : "1000068927818264576",
        "relation_id" : "1000068927784710144",
        "source_field_id" : "873243083737899013",
        "target_field_id" : "888462883317587968",
        "source_field_name" : "trip_distance",
        "target_field_name" : "id",
        "create_by" : "abc",
        "update_by" : "abc",
        "create_time" : "2022-07-22T15:56:53+08:00",
        "update_time" : "2022-07-22T15:57:28+08:00"
      } ]
    }
  }
}
support.huaweicloud.com/api-dataartsstudio/GetRelationById.html