Visibility and previews
Saving visible content changes the live site directly. There is no separate publish step.
Private proposals
An entry with visible: false is private. To show it, use apply_changes with update_entry, its ID and fields: { "visible": true }. This needs the connection's publish scope; without it, the change returns approval-required and the entry stays private until an owner or editor shows it. Show only the entries the user requested. Private entries and entries under hidden collections remain absent from the public projection.
Collection and design edits are live when saved; a private story does not make the surrounding site's design private. Dry-run a batch before saving to validate it without changing the site.
Preview
Call preview_site with {}. Neither kind of link needs an account login.
| Site | What you get |
|---|---|
| Owned site | A private, read-only link to the saved draft, including private photos. Each opening shows the latest saved revision and names it, so other editors' saves don't break the link. It expires after 10 minutes, at connection expiry if sooner, or when the connection is disconnected. |
| Unclaimed guest site | The stable unlisted viewing link with unlisted: true. Anyone with it can view. |
Share an owned-site preview only with the reviewer; keep it out of logs and public messages. Generate a new link after expiry. A successful save proves persistence, not that the renderer or a physical display has been checked.
Automated browsers
An anonymous automated browser may receive synthetic content under the site's traffic protections. On an owned site:
preview_sitealready includes a browser pass when available. To inspect the live site, callget_browser_passand open itssiteUrl.- The page moves the pass into a first-party cookie. Keep the original URL private.
- Get a new pass after
expiresAt(within an hour and never after the connection expires).
Unclaimed guest sites do not need passes for their viewing links. Check the intended home, collection and story at the relevant viewport. Browser checks do not prove physical-device offline readiness.
Correct a saved change
Use a new revision-bound batch for an intentional correction. If a response was lost, retry the identical original batch and key instead. The editor's change history and revert operate on saved-change receipts.