Guides
Pagination
Use opaque cursors to walk through public collections.
Page request
Collection endpoints accept limit from 1 to 50. The default is 20. When meta.hasMore is true, pass meta.nextCursor unchanged to the next request.
const first = await fetch('/api/v1/development/commits?limit=20').then((r) => r.json());
const next = first.meta.nextCursor
? await fetch('/api/v1/development/commits?cursor=' + encodeURIComponent(first.meta.nextCursor)).then((r) => r.json())
: null;Cursor rules
- Cursors are opaque and may change when the underlying dataset changes.
- Do not decode, edit or persist cursors as business identifiers.
- An invalid cursor returns HTTP 400 with INVALID_QUERY.
- Search cursors should also be treated as opaque.