Publish page
publish_pagePublish a page to make it live. revisionId must be the draft you reviewed: pass the latestRevision.id you read as both revisionId and expectedRevisionId, and latestRevision.headAnchor (from get_page, get_page_content or a save result) as expectedHeadAnchor. The publish is refused when a newer draft exists or the draft was edited since, so the user reviews again instead of publishing content they did not see.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | Yes | The page ID | |
| projectId | Yes | The project ID | |
| revisionId | Yes | The revision to publish: the latestRevision.id that was reviewed | |
| expectedHeadAnchor | No | latestRevision.headAnchor as read at review time; the publish is refused if the draft was edited since | |
| expectedRevisionId | No | The head revision id the user reviewed; the publish is refused if a newer draft exists |