HOC SiteDokümantasyon

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 · Grup: 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.

Girdiler

FieldRequiredNotes
websiteIdrequired
pageIdoptional
routeKindoptional
pathSegmentsoptional
objectTypeIdoptional
slugParamNameoptional
contentoptional
contentModeoptionalmerge (default) updates listed blocks by id and keeps the rest. replace writes this content as the whole document.
opsoptional
contentByLocaleoptionalMap of locale to { content } or { ops }
displayLabeloptionalManual sitemap/nav label; null clears (auto)
contentLocaleoptional
responseoptionalfull | slim
dryRunoptional
previewTokenoptional

Eşlendiği uçlar

  • POST /api/v1/{locale}/{websiteId}/pages → API
  • PUT /api/v1/{locale}/{websiteId}/pages/{pageId} → API

İlgili