Pagination

Requests that return multiple items (list of resources) will be paginated to 20 items by default.

You can specify further pages with the ?page parameter. You can also set a custom page size with the ?page_size parameter.

curl -X GET https://api.convertiser.com/publisher/websites?page=2&page_size=5
     -H "Authorization: Token your-personal-secret-token-here"

{
  "count":33,
  "next":"https://api.convertiser.com/publisher/websites/?page=3&page_size=5",
  "previous":"https://api.convertiser.com/publisher/websites/?page_size=5",
  "results": [
	.
	.
	.
  ]
}

Note that page numbering is 1-based and that omitting the ?page parameter will return the first page.

Paginated object attributes:

Name Description
count Total number of resources
next URL for next page if exists
previous URL for previous page if exists
results An list (array) of resources