Pagination
When a large number of results may be returned, the Kaunt Management API implements a simple pagination mechanism. The result set is structured in a number of pages of a certain size.
When requesting API resources with pagination, you must provide a pageNo
parameter (page number, starting from 1) and a pageSize
parameter (the maxmimum number of results per response).
The response is structured as follows. If the page is the last page available, the nextPage
attribute will be null
, if the page is the first page available, the previousPage
attribute will be null
.
{
"totalCount": 124,
"previousPage": "<url to previous page>",
"nextPage": "<url to next page>",
"currentPage": 1,
"entries": [...]
}