Pagination
Next Project API uses pagination to limit the response size for resources that return a potentially large collection of items.
For GET endpoints that can return many objects the parameters page
and size
are available in the query string to handle pagination.
A successful response from such a request has its structure shown in the example below. It contains one items
node under which all returned items are listed. Apart from that it also includes paging information. The total number of available items, the current page index and the selected page size.
{
"items": [
{ item1 },
{ item2 },
],
"total": 2,
"page": 1,
"size": 10
}
Updated 3 months ago