All endpoints that return a list of results use pagination.
Request parameters
Endpoints returning lists of results support the following query string parameters for pagination.
Parameter | Type | Description |
---|---|---|
|
| Indicates where in the list to return results from. Defaults to |
|
| Sets the maximum number of potential results to return. Defaults to |
Example
https://api.zenbooker.com/v1/jobs?cursor=60&limit=20
Responses
Responses from endpoints that return lists will include the following values which can be used for paginating subsequent requests.
Parameter | Type | Description |
---|---|---|
|
| The cursor number used for this request. |
|
| The results of the request. Can be an empty array if no results are found. |
|
| The number of items returned in the |
|
| If there are more results available from the end of list, the value will be If there are no more results available, it will be |
|
| If there are more results in the list, this is the next If the this is end of the list, the value will be |