Publish or take offline a landing page
postfjord_publish_pagePublish or unpublish a page: make the latest draft live at its public address, or take it offline and keep it as a draft after validation checks.
Instructions
publish puts the page on the public web at its address, or puts the latest draft live on a published page; unpublish takes it offline and keeps it as a draft. Confirm with the owner first. Publishing runs every check the app runs: text in [brackets], wording that asks for passwords or account checks, every link opened and asked about at Google Web Risk, the plan's limits, 20 publishes an hour, and the page rules, which someone in the workspace accepts once in the app before the first publish. When a check fails nothing is published and the answer lists what to fix per block. A scheduled page, block or link is published now and shows on its own at the time set. Needs a key that may publish. On a retry after a timeout or error, send the same idempotency_key: the first answer comes back and nothing is made or sent twice.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | publish (default) or unpublish. | |
| pageId | Yes | ||
| idempotency_key | No | Your own id for this one action. Send the same one again only when you retry after a timeout. Left out, every call runs, so calling it again after a change publishes or schedules the new version. |