知识库接口表格型
查询数据
接口描述
此接口用于根据指定条件查询表格中的数据。
基础信息
| 请求地址 | /dataset/table/data/list |
|---|---|
| 请求域名 | • 办公网域名:http://jiuwen-api.vmic.xyz/v1 • IDC域名:http://jiuwen-api.vivo.lan:8080/v1 |
| 请求方法 | GET |
请求参数
Request Param
| 参数名 | 类型 | 说明 |
|---|---|---|
table_id | string | {props?.table_id} |
keyword | string | 关键字(可为空) |
page | int | 页数 |
limit | int | 每页数量 |
返回参数
内容较多,详见下方示例
示例
Request
curl --location --request GET '${props?.api_base_url}/dataset/table/data/list?table_id=a7ueidj&page=1&limit=20&keyword=' \
--header 'Authorization: Bearer ENTER-YOUR-SECRET-KEY'Response
说明:row的结构跟表结构相关
{
"success": true,
"data": [
{
"table_row_id": "kkxZlZIBJvy0s9OGY9I6",
"row": {
"xx1": "4773.1",
"xx2": "徐二",
"xx3": "陈二"
},
"create_time": "2024-10-16 20:41:56",
"update_time": "2024-10-16 20:41:56"
},
{
"table_row_id": "kUxZlZIBJvy0s9OGY9I6",
"row": {
"xx1": "4758.6",
"xx2": "徐一",
"xx3": "陈二"
},
"create_time": "2024-10-16 20:41:56",
"update_time": "2024-10-16 20:41:56"
}
]
}