latestOpenAPI 3.1.02026-08-171503582.2 MB

6199a9464227

Page Revisions

Update a page revision

Updates a draft page revision. Only revisions in Draft status can be updated. Returns the updated revision.

put/pages/{pageId}/revisions/{revisionId}

Path parameters

pageIdstring required

The ID of the Page

revisionIdstring required

The ID of the Revision

Request body

changeType'Material' | 'NonMaterial' required

Whether the changes in this revision are significant. Material — substantial changes; bumps the major version (e.g. 1.32.0). NonMaterial — minor edits like wording or typo fixes; bumps the minor version (e.g. 1.31.4).

changeExplanationstring

Optional human-readable explanation of what changed in this revision; surfaced in revision history.

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"
    }
  ]
}