Pagination
Playbooks returns a top-level meta object containing pagination data when displaying a list of results.
Per the example, the Playbooks API uses a zero-based index for page data.
Attributes
| Attribute | Type | Description |
|---|---|---|
| Page | integer | The zero-based page index |
| PageSize | integer | The requested page size |
| TotalRecords | integer | The total matching records |
Request
Request
curl --location "https://api.playbooks.ai/repos"Response
Response
{
"meta": {
"page": 0,
"pageSize": 20,
"totalRecords": 29
},
"data": [
{
"id": "73",
"status": "active",
"name": "React Template",
"uuid": "react-template",
"tagline": "A basic template for launching React JS projects."
},
...
]
}