Website Editor

Apply Website Page Operations

Apply an ordered list of deterministic edit operations. FREE - no model runs.

Send base_version (the page's version when you read it) to get a 409 instead of overwriting a newer edit. save_mode: "save" also records a restorable version; autosave only updates the page.

post/website-editor/pages/{page_id}/ops

Request

  • Base URL: https://be.graph8.com/api/v1
  • URL: https://be.graph8.com/api/v1/website-editor/pages/{page_id}/ops
  • Auth: HTTP bearer

Path parameters

page_idstring required

Website page id, from GET /content-workspace/pages.

Headers

Authorizationstring nullable
X-Target-Org-Idstring nullable

Request body

opsobject[] required

Ordered edit operations.

base_versioninteger nullable

Your copy's version, for conflict detection.

save_mode'autosave' | 'save'
instructionstring nullable

A human-readable note stored on the version.

Response

Successful Response

dataStudioContentPayload required

One Studio object, open-shaped. See the module docstring.

Changes

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