Very often you do not want to fetch all entries with one request, you can use the limit parameter to specify how many entries that you would like to retrieve, and how many entries that you would like to skip at the start, so clients can implement pages for viewing entries.
The usage of limit parameter is similiar to SQL limit parameter. There are two arguments to the limit parameter, separated by comma. The first one is how many entries that you would like to skip in the beginning, and the second one is how many entries that you would like to be returned.
Returned data is defaulted to 1000 entries, you will need to provide limit parameters if your response has more than 1000 entries.
The format is as follows:
The offset is the number of entries that should be skipped before returning, used for going through pages that has been retrieved. And the page size is the max number of records that should be returned per call.
For example the below call will skip the first 5 entries, and return 6 ~ 13, a total of 8 entries.
curl --get -d 'limit=5,8' \
-H "Authorization:Basic YOUR_API_KEY_GOES_HERE" \
-d api \