Pagination
All GET endpoints which return an object list support cursor based pagination with pagination information inside a pagination object.
Use parameter page and limit to configure pagination. Default limit is set to 10 but values up to 50 are permitted.
Pagination Parameters
| Name | Description |
|---|---|
total | Total objects in query |
page | Page of query |
size | Number of results per call. Accepted values: 0 - 100. Default 10 |
Example Response
Response Example
{
"items": [
{
"id": 1,
"name": "Python Course",
"total_spent": 0,
"created_at": "2024-09-26T01:34:43.155232Z",
"updated_at": "2024-09-26T01:34:43.155236Z"
}
],
"page": 1,
"size": 1,
"total": 1
}