Paginate all API endpoints that return an array?
I have a few questions about pagination in the API:
- Do we want all API endpoints that return an array of resources to be paginated? I would say
yes
to that - If yes, it could break current usage of the API, e.g. you can currently get all the commits of a MR in one call but you'd have to make several calls if we paginate this resource
- Broader question: how do we currently handle such changes in the API?