Docs
Skip to Content
API referenceMake a page's pending changes live
cmsPages

Make a page's pending changes live

The live page takes its pending changes.

POST
/v1/cms/projects/{projectId}/pages/{pageId}/changes/update

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.

Header Parameters

if-match?string

The version this write was made against ("7", from ETag). Without it the last write wins.

Request Body

application/json
  1. body
note?string

request_changes: what the author should change.

overwriteLive?boolean

update: make the changes live although the post was published again after they started.

Response Body

The page after the action.

application/json
  1. response
id*string
locale*string
Match^[a-z]{2,3}(-[A-Z][a-z]{3})?(-([A-Z]{2}|[0-9]{3}))?$
Lengthlength <= 16
alternates*array<>
slug*string
Match^[a-z0-9]+(?:-[a-z0-9]+)*$
Length1 <= length <= 200
status*string
Value in"draft""in_review""scheduled""published"
title*string
body*|string|null
featureImage*|null
authors*array<>
seo*
og*
twitter*
canonicalUrl*string|null
noindex*boolean
fields*
publishedAt*|
Formatdate-time
createdAt*string
Formatdate-time
updatedAt*string
Formatdate-time
version*integer
Range1 <= value
parent*string|null
template*string|null
Example Request
curl -X POST 'https://api.tintage.com/v1/cms/projects/string/pages/string/changes/update' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "id": "string",  "locale": "string",  "alternates": [    {      "locale": "string",      "slug": "string"    }  ],  "slug": "string",  "status": "draft",  "title": "string",  "body": {    "property1": null,    "property2": null  },  "featureImage": {    "file": "string",    "version": 1,    "url": "string",    "alt": "string",    "crop": {      "x": 0,      "y": 0,      "w": 1,      "h": 1    },    "width": 1,    "height": 1,    "thumbhash": "string",    "color": "string",    "textColor": "string",    "tone": "light",    "transparent": true,    "kind": "photo",    "focalPoint": {      "x": 0,      "y": 0    }  },  "authors": [    {      "id": "string",      "slug": "string",      "name": "string",      "bio": "string",      "image": {        "file": "string",        "version": 1,        "url": "string",        "alt": "string",        "crop": {          "x": 0,          "y": 0,          "w": 1,          "h": 1        },        "width": 1,        "height": 1,        "thumbhash": "string",        "color": "string",        "textColor": "string",        "tone": "light",        "transparent": true,        "kind": "photo",        "focalPoint": {          "x": 0,          "y": 0        }      },      "website": "string",      "social": {        "x": "string",        "bluesky": "string",        "mastodon": "string",        "linkedin": "string",        "instagram": "string",        "github": "string",        "youtube": "string"      },      "count": {        "posts": 0      }    }  ],  "seo": {    "title": null,    "description": null  },  "og": {    "title": "string",    "description": "string",    "image": {      "file": "string",      "version": 1,      "url": "string",      "alt": "string",      "crop": {        "x": 0,        "y": 0,        "w": 1,        "h": 1      },      "width": 1,      "height": 1,      "thumbhash": "string",      "color": "string",      "textColor": "string",      "tone": "light",      "transparent": true,      "kind": "photo",      "focalPoint": {        "x": 0,        "y": 0      }    }  },  "twitter": {    "card": "summary",    "title": "string",    "description": "string",    "image": {      "file": "string",      "version": 1,      "url": "string",      "alt": "string",      "crop": {        "x": 0,        "y": 0,        "w": 1,        "h": 1      },      "width": 1,      "height": 1,      "thumbhash": "string",      "color": "string",      "textColor": "string",      "tone": "light",      "transparent": true,      "kind": "photo",      "focalPoint": {        "x": 0,        "y": 0      }    }  },  "canonicalUrl": "string",  "noindex": true,  "fields": {    "property1": null,    "property2": null  },  "publishedAt": "2019-08-24T14:15:22Z",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z",  "version": 1,  "parent": "string",  "template": "string"}
Was this page helpful?

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