Docs
Skip to Content
API referenceList a page's revisions
cmsPages

List a page's revisions

Its history, newest first, as far back as the plan shows.

GET
/v1/cms/projects/{projectId}/pages/{pageId}/revisions

Authorization

apiKey
headerAuthorizationBearer <token>

A project API key: pk_... (public, read published content) or sk_... (secret, the actions it was given).

Path Parameters

projectId*string
pageId*string

Query Parameters

locale?string

Language tag of the row to read (fr, fr-CA). Defaults to the site's language.

cursor?string

nextCursor of the page before.

limit?string

1 to 100; 50 by default.

Response Body

A page of revisions.

application/json
  1. response
data*array<>
nextCursor*|

Pass as cursor for the next page; null on the last page.

Example Request
curl -X GET 'https://api.tintage.com/v1/cms/projects/string/pages/string/revisions'
Example Response
{  "data": [    {      "id": "string",      "reason": "autosave",      "createdAt": "string",      "name": "string",      "note": "string",      "restoredFrom": "string",      "contributors": [        {          "type": "user",          "name": "string",          "author": "string"        }      ]    }  ],  "nextCursor": "string"}
Was this page helpful?

We use essential cookies to keep you signed in. Optional cookies stay off unless you accept them. Cookie details.