Update a page or save a new version
Change a page; omitted fields stay. source, manifest, settings and assets save a new version: it is validated against the space and built first and refused with the problems (path, or line and column in the source) when it does not build; the same content stores nothing. The team sees the new version at once. Links and shares get it on their own (released: true) unless it reaches more than the released version (new or changed tables, queries, actions, downloads, link values, images, upload folder, bound documents): then it waits for a person's pages.release. links_pinned lists links that could not follow. expected_version_id (the version the edit starts from) refuses a newer current version with conflict reason page_version_changed. name, featured and category only organize: featured lists the page first for everyone in the space (use sparingly), category is free (null or "" clears it; first reuse a name from categories of pages.list, else a short plural name in the language of the space); they never make a version. Archived pages cannot be featured.
Authorization
bearerApiKey Create a scoped API key in the Adlass settings.
In: header
Path Parameters
Resource identifier: page_id.
uuidHeader Parameters
Optional correlation identifier.
length <= 128A unique key for this intended write; the body field idempotency_key is accepted instead. One of the two is required. Reuse it only for an identical retry.
1 <= length <= 200Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X PATCH "https://example.com/pages/123e4567-e89b-42d3-a456-426614174000" \ -H "Idempotency-Key: 123e4567-e89b-42d3-a456-426614174000" \ -H "Content-Type: application/json" \ -d '{ "source": "<!doctype html><html><body><h1>Quarterly report</h1></body></html>", "manifest": { "tables": { "orders": { "policy": "all" } } }, "expected_version_id": "123e4567-e89b-42d3-a456-426614174000" }'{ "page": {}, "version": {}, "released": false, "links_pinned": [ { "link_id": "123e4567-e89b-42d3-a456-426614174000", "reason": "viewer_email_needs_verified" } ], "warnings": [ { "severity": "error", "code": "example", "message": "Please review the extracted totals." } ]}