- 开发指南
- 工作区
- 表格数据
- 数据仓库数据
- 文件
- 订阅
- 服务商
获取数据仓库表格列表
POST
https://api.huoban.com/openapi/v1/dw_table/list
请求参数
Header 参数
Open-Authorization
string
必需
默认值:
Bearer {{API_KEY}}
Body 参数application/json
space_id
string
工作区ID
type
string
表格类型
示例
{
"space_id": "{{SPACE_ID}}",
"type": "ext"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.huoban.com/openapi/v1/dw_table/list' \
--header 'Open-Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
"space_id": "",
"type" : "ext"
}'
返回响应
🟢200成功
application/json
Body
code
integer
错误码
message
string
错误信息
data
object
返回数据
tables
array [object {6}]
必需
meta
object
元数据
trace_id
string
请求ID
示例
{
"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"
}
}
修改于 2022-07-04 02:22:16