Page parameter
How does the page parameter work? How to get the next page of resulting items
Page
The number of items to skip before starting to collect the result set
The default items per page = 100
Input
Page = integer
Output
Json
nextpage: boolean, true if there is data for a next page
count: integer, default to 100, number entries in this page
currentPage: integer, starts with 1, the current page
Samples
# Sample: page 1, total set 156
1
Result:
{
"nextpage": true,
"count": 100,
"currentPage": 1
...
# Sample: page 2, total set 156
2
Result:
{
"nextpage": false,
"count": 56,
"currentPage": 2
...
# Sample: page32, total set 156
3
Result:
{
"nextpage": false,
"count": 0,
"currentPage": 3
...
Gerelateerde artikelen