Skip to main content

分页查询数据集

POST http(s)://{{Host}}/v1/datasets/page

分页获取数据集列表。

示例

请求

curl --location 'http(s)://{{Host}}/v1/datasets/page' \
--header 'Authorization: Bearer $OPEN_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"page": 1,
"page_size": 10,
"order": "desc",
"order_by": "ctime"
}'

Request Body

Content-Type: application/json

参数类型必需默认值说明
pageintegerOptional1页码,从1开始
page_sizeintegerOptional10每页数量
orderstringOptionaldesc排序方式,可选值:ascdesc
order_bystringOptionalctime排序字段,可选值:ctime(创建时间)、mtime(修改时间)

Returns

分页的数据集列表。