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.
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/