Pagination

Endpoints that return a list of resources are paginated if results exceed the maximum length defined for the endpoint. Dor uses a cursor-based pagination strategy for all list endpoints.

The next key in the meta response object will either be NULL or contain a link. If it is NULL, there are no additional results available for your query. If it contains a link, follow the link for the next page of results for your query. Continue following the next link returned with each subsequent request to fetch all available results.

"data": [
    {...},
    {...}
],
"meta": {
    "limit": 100,
    "next": "https://api.getdor.com/v2/locations?next=2lkj23jf2fljf29"
}    

Last updated