Per the JSON API spec, Playbooks will return 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 HTTP response code
PageSizeintegerA title for the error
TotalRecordsintegerA message describing the error
Request
curl --location "https://api.playbooks.xyz/repos"
Response
{ "meta": { "page": 0, "page-size": 20, "total-records": 29 }, "data": [ { "type": "repos", "id": "73", "attributes": { "id": 73, "status": "active", "name": "React Template", "uuid": "react-template", "tagline": "A basic template for launching React JS projects." } }, ... ] }

2024 © Playbooks, Inc