Skip to content

Pagination standard (cursor vs offset) #217

@aji70

Description

@aji70

Description
The goal is to standardize list APIs. Choose cursor-based or offset-based pagination and apply to subscriptions, creators, and posts list endpoints. Use consistent query params (e.g. limit, cursor or offset) and response shape (next_cursor or total).

Tasks

  • Define standard params and response shape
  • Implement cursor or offset in subscriptions list
  • Implement in creators list
  • Implement in posts list
  • Add tests for empty, one page, next page

Acceptance Criteria

  • All list endpoints use same pagination pattern
  • Clients can page through all results
  • Tests pass

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions