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}

Request

  • Base URL
    https://public-api.process.st/api/v1.1
  • URL
    https://public-api.process.st/api/v1.1/pages/{pageId}/revisions/{revisionId}
  • Auth
    • API key in header X-API-Key
    • or HTTP bearer

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.3 → 2.0). NonMaterial — minor edits like wording or typo fixes; bumps the minor version (e.g. 1.3 → 1.4).

changeExplanationstring

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

Response

Example response

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

Changes

No recorded changes to this operation across all 16 revisions of this API.