获取数据仓库表格列表
POST
/openapi/v1/dw_table/list获取指定工作区内的数据仓库表格列表。
请求参数
Body 参数application/json
space_id
string
工作区ID
type
string
表格类型
sync:由表格同步过来的表app:由应用创建的大数据表ext:由外部创建的大数据表agg:由多个表格聚合出的大数据表
示例
{
"space_id": "{{SPACE_ID}}",
"type": "ext"
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
object {0}
示例成功示例
{
"code": 0,
"message": "success",
"data": {
"tables": [
{
"table_id": "2100000014309065",
"name": "全字段类型表",
"type": "ext",
"alias": "",
"space_id": "4000000030626034",
"created_on": "2022-06-13 14:37:14"
},
{
"table_id": "2100000014330700",
"name": "聚合表1",
"type": "agg",
"alias": "",
"space_id": "4000000030626034",
"created_on": "2022-06-16 16:16:22"
},
{
"table_id": "2100000014331168",
"name": "全字段类型表_app",
"type": "app",
"alias": "app_table",
"space_id": "4000000030626034",
"created_on": "2022-06-16 17:12:51"
},
{
"table_id": "2100000014365827",
"name": "全字段类型聚合表",
"type": "agg",
"alias": "",
"space_id": "4000000030626034",
"created_on": "2022-06-28 12:06:03"
}
]
},
"meta": {
"trace_id": "1656483261227987"
}
}
最后修改时间: 2 年前