Website Editor

Sync Website Pages

Pull pages from a hosted site project into Studio. FREE.

Each page's HTML is tagged with stable element ids and stored; a page that already exists (matched by URL, then by path) is OVERWRITTEN with the live HTML, so unpublished edits to it are replaced. Omit paths for every page.

post/website-editor/sync

Request

  • Base URL: https://be.graph8.com/api/v1
  • URL: https://be.graph8.com/api/v1/website-editor/sync
  • Auth: HTTP bearer

Headers

Authorizationstring nullable
X-Target-Org-Idstring nullable

Request body

project_namestring required

From GET /website-editor/projects.

pathsstring[] nullable

Only these paths. Omit for every page.

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.