Publish page
publish_pageDestructive
Publish a web page as the connected user. A siteId replaces an existing page at the same address. preserveFiles retains omitted assets and requires the baseDeploymentId of that version; stale edits are refused. Visibility is private (invitation-only, default) or public. Requires an authenticated AttachPage connection.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | ||
| files | Yes | Files of the page. The complete resulting page includes index.html at the top level. | |
| siteId | No | ||
| siteName | No | ||
| visibility | No | ||
| preserveFiles | No | Retain files not included in this edit. Requires siteId and baseDeploymentId. | |
| baseDeploymentId | No | Expected current version. A changed page is refused rather than overwritten. |