Pagination
Several of our resources employ pagination in their responses. During those cases, the response structure follows the next format:
{
"items": [],
"meta": {
"count": 0,
"page": 1,
"last": 1
}
}
Response Reference
Name | Type | Description |
---|---|---|
items | array | The collection of objects returned; the item model depends on the specific endpoint. |
meta.count | number | Total count of objects |
meta.page | number | Current page |
meta.last | number | Final page of items |
Requesting additional pages
By default, the API will return the first page of results. To request additional pages, you can use the page
query parameter. For example, to request the second page of donations, you would use the following URL:
curl -H 'X-Api-Key: <YOUR KEY HERE>' "https://public.daffy.org/public/api/v1/users/1234/donations?page=2"