Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pagination #5

Open
ToddSmithSalter opened this issue Dec 29, 2020 · 0 comments
Open

Pagination #5

ToddSmithSalter opened this issue Dec 29, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@ToddSmithSalter
Copy link
Member

Only allow a limited data set to be returned. I am ambivalent to how this is executed. At minimum, collection JSON objects should return a meta.totalPages value as an integer.

If possible, return a top level links object with the collection, with the urls to the first, last, prev, and next pages, if applicable.

Follow JSON:API spec for details. https://jsonapi.org/format/1.1/#fetching-pagination

@ToddSmithSalter ToddSmithSalter added the enhancement New feature or request label Dec 29, 2020
@ToddSmithSalter ToddSmithSalter added this to the MVP milestone Dec 29, 2020
@ToddSmithSalter ToddSmithSalter removed this from the MVP milestone Jan 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant