page[number] and its length with page[size].
cURL
curl treats square brackets as a pattern. Pass --globoff (-g), or encode them: page%5Bnumber%5D=2.The response
Items come indata, links to other pages in links, and counts in meta.
Get every page
Followlinks.next until it is null. It already carries your query, so request it as is.
Good practice
- Sort when you page. Without
sort, the order isn’t guaranteed and items can move between pages. Sort byidorcreated_at. - Filter instead of paging to find things. See Filtering, sorting and including.
- For a full sync, sort by
idascending and remember the last ID you processed: new items can shift later pages. - Every page counts against the rate limit.
