limit 指定页面大小,并使用返回的游标请求下一页。
入门
分页
使用游标翻页读取列表响应
列表接口使用游标分页。发送
响应会包含当前页资源和分页元数据。如果存在下一页游标,请在下一次请求中带上它继续读取。
游标是不透明值。请按返回结果原样保存和发送,不要解析或修改。
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
使用游标翻页读取列表响应
limit 指定页面大小,并使用返回的游标请求下一页。
curl "https://app.openlight.tech/api/creator/v1/brands?limit=25" \
-H "Authorization: Bearer $OPENLIGHT_API_TOKEN" \
-H "Accept: application/json"
{
"data": [],
"pagination": {
"limit": 25,
"next_cursor": "eyJpZCI6IjEyMyJ9",
"has_more": true
}
}