alpha

Edit text website live sessions

Change one piece of text in the member's live edit session (its id), as alpha_websites_edit_text does for a saved version: the element's source location as the live frame's element picker reports it (path, line, column), the text it shows, and its new text, which must be one JSX text or string literal inside that element. The change shows in the frame at once and is unsaved until alpha_website_live_sessions_save. Returns the session's state.

post/api/v1/alpha/website-live-sessions/edit-text

Request

  • Base URL: https://point11.ai
  • URL: https://point11.ai/api/v1/alpha/website-live-sessions/edit-text
  • Auth: OAuth 2 (authorization code, authorization URL https://auth.point11.ai/oauth2/authorize, token URL https://auth.point11.ai/oauth2/token)

Headers

Point11-Organizationstring uuid

Organization to act in. Required for OAuth bearers; an API key acts in the organization that owns it.

Idempotency-Keystring uuid required

UUID naming this intent. Retry with the same key; reuse for other input is 409.

Request body

idstring required

The live edit session

pathstring required

The source file the element picker named (data-p11-src)

lineinteger required

The element's one-based line in that file

columninteger required

The element's one-based column on that line

findstring required

The text the element shows

replacestring required

The text it should show

Response

Success.

sessionIdstring required
artifactIdstring required

The website version the session shows, with its edits

frameOriginstring uri required

The origin the artifact panel frames and hears messages from

expiresAtstring date-time required

When the session ends unless the member is active

unsavedChangesboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.