Skip to content
This repository has been archived by the owner on Jan 26, 2022. It is now read-only.

JsonArray pagination is not efficient #72

Closed
rokkbert opened this issue Apr 30, 2018 · 1 comment · Fixed by #73
Closed

JsonArray pagination is not efficient #72

rokkbert opened this issue Apr 30, 2018 · 1 comment · Fixed by #73

Comments

@rokkbert
Copy link
Contributor

Currently it seems that the existence of a "next" page is determined by the availability of the next ressource. Before doing that request we might check for totalPages (optional, but could be there) and if the number of elements on the current page is < the pageSize, in which case no next page will exist.

http://cumulocity.com/guides/reference/rest-implementation/

@Matthimatiker
Copy link
Collaborator

This should have been fixed by pull request #73.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants