save_page
Omit pageId to create a route from path segments (never use [id] DSL strings). Pass an existing page id to update, or a new uuid to create with that id. An empty path segment list is the homepage. The response includes liveUrl, the absolute public URL, and expectedLiveBy. Public HTML can keep the previous data-request result until expectedLiveBy, about 60 seconds. Content may be a document object or a JSON string of that document. contentMode replace writes that document instead of the default sparse merge. A block saved without props.id receives one.
save_page · Group: design
Omit pageId to create a route from path segments (never use [id] DSL strings). Pass an existing page id to update, or a new uuid to create with that id. An empty path segment list is the homepage. The response includes liveUrl, the absolute public URL, and expectedLiveBy. Public HTML can keep the previous data-request result until expectedLiveBy, about 60 seconds. Content may be a document object or a JSON string of that document. contentMode replace writes that document instead of the default sparse merge. A block saved without props.id receives one.
Inputs
| Field | Required | Notes |
|---|---|---|
websiteId | required | |
pageId | optional | |
routeKind | optional | |
pathSegments | optional | |
objectTypeId | optional | |
slugParamName | optional | |
content | optional | |
contentMode | optional | merge (default) updates listed blocks by id and keeps the rest. replace writes this content as the whole document. |
ops | optional | |
contentByLocale | optional | Map of locale to { content } or { ops } |
displayLabel | optional | Manual sitemap/nav label; null clears (auto) |
contentLocale | optional | |
response | optional | full | slim |
dryRun | optional | |
previewToken | optional |