Website Editor

Update Website Page Text

Set one element's text. FREE - no model runs.

element_id is the element's data-g8-id. Saved as a new version, so /restore-version can undo it. Nothing goes live until /publish.

post/website-editor/pages/{page_id}/update-text

Request

  • Base URL: https://be.graph8.com/api/v1
  • URL: https://be.graph8.com/api/v1/website-editor/pages/{page_id}/update-text
  • 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

element_idstring required

The element's data-g8-id.

new_textstring required

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.