数据治理中心 DataArts Studio-获取数据源中的表:响应示例

时间:2023-11-01 16:20:39

响应示例

状态码: 200

Success,返回查询的表的列表

{  "tables" : [ {    "description" : null,    "table_id" : "NativeTable-9b18c0ad6ef5404caef4e6cbaccdae6f-postgres-dm_autotest-kuaallfuhe01",    "table_name" : "kuaallfuhe01",    "table_name_cn" : null,    "columns" : null,    "dw_id" : "9b18c0ad6ef5404caef4e6cbaccdae6f",    "dw_name" : "dws_xiaoyu",    "dw_type" : "DWS",    "database_name" : "postgres",    "schema_name" : "dm_autotest",    "life_cycle" : 0,    "user_id" : "ei_dayu_y00321344_01",    "user_name" : null,    "project_id" : null,    "create_time" : null,    "table_size" : 0,    "total_count" : 15,    "is_valid" : 1,    "extra_setting" : null,    "partitioned" : true  } ],  "total_count" : 15}

状态码: 400

{  "error_code" : "DAYU.4402",  "error_msg" : "The operation failed, detail msg {0}."}

状态码: 500

{  "error_code" : "DAYU.3531",  "error_msg" : "Internal server error: {0}"}
support.huaweicloud.com/api-dataartsstudio/getDataTables_0.html