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
PageintegerThe zero-based page index
PageSizeintegerThe requested page size
TotalRecordsintegerThe 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." }, ... ] }