Pagination#
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 |
---|---|---|
Page | integer | The HTTP response code |
PageSize | integer | A title for the error |
TotalRecords | integer | A message describing the error |
Request#
Requestcurl --location "https://api.playbooks.xyz/repos"
Response#
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." } }, ... ] }