获取数据集列表
POST
/public-api/data-source/list:::note[接口简介]
注意:该接口会返回所有数据集,且无分页设计。
:::
请求参数
Body 参数application/json
token
string
应用Token
在观远平台管理员设置-系统集成-统一账户集成中获得
示例
{
"token": "string"
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
result
string
请求状态
枚举值: ok、fail
response
array [object {13}]
响应结果
dsId
string
数据集ID
name
string
数据集名
displayType
string
数据集类型
domId
string
域ID
uId
string
用户ID
parentDirId
string
所属父文件夹
config
string | integer | boolean | array | object | number | null
配置
rowCount
integer
行数
colCount
integer
列数
status
string
更新状态
ctime
string
创建时间
utime
string
更新时间
cardCount
integer
卡片数量
示例
{
"result": "ok",
"response": [
{
"dsId": "v6b4a3c51ba27415e84caad2",
"name": "迁移-模拟数据-1-回归测试",
"displayType": "EXCEL",
"domId": "testing",
"uId": "m5b7407230a3a4fda87b8f6b",
"parentDirId": "q4096b2319183435fbbd101d",
"config": {
"tableQuery": null
},
"rowCount": 221,
"colCount": 26,
"status": "FINISHED",
"ctime": "2019-08-08 15:55:44+0800",
"utime": "2023-04-20 16:06:02+0800",
"cardCount": -48
},
{
"dsId": "wd3e6dfc5ad084053b2c2641",
"name": "6319复现",
"displayType": "EXCEL",
"domId": "testing",
"uId": "m5b7407230a3a4fda87b8f6b",
"parentDirId": "efae4f1696f024d599bba4f0",
"config": {
"tableQuery": null
},
"rowCount": 3142,
"colCount": 11,
"status": "FINISHED",
"ctime": "2019-08-08 15:57:21+0800",
"utime": "2024-07-03 19:01:09+0800",
"cardCount": -53
}
]
}
最后修改时间: 3 个月前