In this pagination type, the object will have three attributes.
current
The current page you have received.
1
items
The total number of items you have through all the pages.
pages
The total number of pages you can navigate through.
{
"data" : [],
"pagination": {
"current": 1,
"items": 50,
"pages": 200
}
}
To paginate, send as a query string parameter the attribute page with the respective number of the desired page.
https://api.abalustre.com/funds?page=3
For datasets that may retrieve more than 10.000 results, we use the elastic search next pagination structure. In that case, the pagination object will retrieve the following attributes:
current
The current page identification.
null for the first page.
items
The total number of items you have through all the pages.
pages
The total number of pages you can expect to navigate through.
next
The page identification to navigate to the next page.
{
"data" : [],
"pagination": {
"current": 1,
"items": 50,
"pages": 200,
"next": "AbCdEfGh012345"
}
}
To paginate, send as a query string parameter the attribute page with the respective identification of the iteration.
https://api.abalustre.com/funds?page=AbCdEfGh012345