generic pagination support page[xy] next to offset/limit
See original GitHub issueIs there a reason QuerySpec
doesn’t support page[number]
?
from the spec: Note: JSON API is agnostic about the pagination strategy used by a server. Effective pagination strategies include (but are not limited to): page-based, offset-based, and cursor-based. The page query parameter can be used as a basis for any of these strategies. For example, a page-based strategy might use query parameters such as page[number] and page[size], an offset-based strategy might use page[offset] and page[limit], while a cursor-based strategy might use page[cursor].
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:12 (10 by maintainers)
Top Results From Across the Web
Initialize the Generic Beat with Limit Offset Pagination, Basic ...
This topic outlines the process to set up the Generic beat to fetch logs from any log sources that support limit offset-based pagination, ......
Read more >Pagination - Django REST framework
The client includes both a "limit" and an "offset" query parameter. The limit indicates the maximum number of items to return, and is...
Read more >Pagination - Smartling Help Center
If you don't include the offset and limit parameters in the request, the offset defaults to 0 and the response will include only...
Read more >Pagination: offset and limit | Open APIs - TM Forum Community
1) Pagination is mandatory - Assumed answer is yes. 2) Pagination can be done with offset and limit or, must be done with...
Read more >The best database pagination technique is
To get the second page, we keep the limit at 10 ( this doesn't change since we want every page to contain 10...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
just yesterday it was merged thanks to the PR of @vicmosin. I will also to some experiments with it and then do a release.
crnk API is still fairly compatible, altough QueryParams and some other things have been deprecated. The internal implementation is mostly rewritten (taking Katharsis 2.x as baseline).
Mega props, thanks @vicmosin and @remmeier 😄 That is such good news to hear 😃