← All resources

Resource

portal_site

One site of a Portal. It serves whichever immutable source version is published.

GraphQL reference →

Configuration

portalIdPortalID!RequiredSet on creation

Portal to add the site to.

References portal

set once, at creation

nameString!Required

Display name of the site.

publishedVersionIdPortalSiteVersionIDOptional

Source snapshot currently served, or null before the first publication.

References portal_site_version

written by `publishPortalSite`, not by this resource's update

Read-only values

Show values
idPortalSiteID!Read only

Unique site identifier.

computed by the platform

revisionInt!Read only

Revision incremented on every change, including publication; pass it as expectedRevision to reject stale writes.

computed by the platform

Lifecycle

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

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