Bunmori
API Reference

Pagination

How to paginate through collections

Pagination

The items endpoint returns paginated results.

Parameters

ParameterDefaultMaxDescription
limit100100Items per page
offset0-Items to skip

Example

# First page
curl "https://bunmori.com/api/public/my-domain/collections/posts/items?limit=10&offset=0"

# Second page
curl "https://bunmori.com/api/public/my-domain/collections/posts/items?limit=10&offset=10"

Response

{
  "items": [...],
  "pagination": {
    "total": 156,
    "limit": 10,
    "offset": 0,
    "hasMore": true
  }
}

On this page