Developer

9. Pagination

Cursor-based on every list endpoint that supports pagination:

Request:

GET /api/v1/developer/posts?after=12345&limit=20
GET /api/v1/developer/posts?before=12345&limit=20
GET /api/v1/developer/posts?limit=20            # newest 20

Response:

{
  "posts": [...],
  "next_cursor": "12342" | null,
  "prev_cursor": "12399" | null
}
  • limit default 20, max 50
  • Cursor value = post id (stable, monotonic)
  • Sort: hardcoded published_at DESC (no ?sort= param V1)