When making a request against a list endpoint that utilizes pagination, you will be able to utilize the query parameters page
and limit
to select which page of retrieve. For example:
https://rest.userback.io/1.0/feedback/?page=2&limit=10
When a request is made you will be provided with extra JSON under _links
and _pagination
that will look something like the following:
{
"_links": {
"previous": "https://rest.userback.io/1.0/feedback/?page=1",
"next": "https://rest.userback.io/1.0/feedback/?page=3",
"last": "https://rest.userback.io/1.0/feedback/?page=12",
"first": "https://rest.userback.io/1.0/feedback/?page=1",
"self": "https://rest.userback.io/1.0/feedback/?page=2"
},
"_pagination": {
"totalPages": 12,
"totalRecords": 126,
"pageSize": 10,
"records": 10,
"pageNumber": 2
},
"data": {
...
}
}