latestOpenAPI 3.1.02026-08-171503582.2 MB

6199a9464227

Page Revisions

Publish a page revision

Publishes a draft page revision, transitioning it to Finished status. The previously finished revision becomes Revised.

post/pages/{pageId}/revisions/{revisionId}/publish

Path parameters

pageIdstring required

The ID of the Page

revisionIdstring required

The ID of the Revision

Response

Example response

{
  "data": {
    "id": "nhnAXSIvagQvgtro-65MvA",
    "createdBy": {
      "id": "naAJxoDIuwdgNsQHGRRGqA",
      "email": "jane.doe@example.com",
      "username": "Jane Doe"
    },
    "updatedBy": {
      "id": "naAJxoDIuwdgNsQHGRRGqA",
      "email": "jane.doe@example.com",
      "username": "Jane Doe"
    },
    "pageId": "nhnAXSIvagQvgtro-65MvA"
  },
  "links": [
    {
      "href": "https://api.process.st/api/v1.1/resource/XXX"
    }
  ]
}