← All resources

Resource

portal_site_version

An immutable source snapshot of a site. Publishing one makes it the served version; publishing an older one rolls back.

GraphQL reference →

Configuration

siteIdPortalSiteID!Required

Site the snapshot belongs to.

References portal_site

forces replacement

sourceportal_site_documentRequired

Site document, including its pages and components.

portal_site_document fields

Open model reference →

A Portal site: its pages, components, routes, tools, shared Lua, layouts, stylesheets and public assets.

object
assetsOptional
componentsOptional
layoutOptional

The layout that wraps every page, by name; none means pages are whole documents.

string
Minimum length
1
layoutsOptional
librariesOptional
pagesOptional
routesOptional
stylesOptional
toolsOptional

Only the fields listed here are accepted.

forces replacement

Read-only values

Show values
idPortalSiteVersionID!Read only

Unique snapshot identifier.

computed by the platform

createdAtString!Read only

ISO 8601 time the snapshot was created.

computed by the platform

Lifecycle

The CLI can create this resource. The platform assigns its id.

When replacement is needed, the replacement is created before the existing resource is removed.