cmsPosts
Name a revision of a post
Sets the revision's `name` and `note`.
PATCH
apiKeyheader
AuthorizationBearer <token>A project API key: pk_... (public, read published content) or sk_... (secret, the actions it was given).
projectId*stringpostId*stringrevisionId*stringlocale?stringLanguage tag of the row to read (fr, fr-CA). Defaults to the site's language.
application/json- body
name*|Up to 80 characters; null removes the name and note.
note?|Up to 500 characters.
[key: string]?unknownThe revision.
application/json- response
id*stringreason*stringValue in
"autosave""manual""publish""update""restore""schedule""unpublish"createdAt*stringname*string|nullnote*string|nullrestoredFrom*string|nullcontributors*array<>curl -X PATCH 'https://api.tintage.com/v1/cms/projects/string/posts/string/revisions/string' \ -H 'Content-Type: application/json' \ -d '{ "name": "string", "property1": null, "property2": null}'Example Response
{ "id": "string", "reason": "autosave", "createdAt": "string", "name": "string", "note": "string", "restoredFrom": "string", "contributors": [ { "type": "user", "name": "string", "author": "string" } ]}Was this page helpful?