Revise a staged article
cotal_update_postImproves an article staged with cotal_draft_post. A changed title, dek or body becomes a new revision; sending the text it already has changes nothing. Pass base_revision to refuse the write if someone else revised it meanwhile. A published post keeps its live text until a human publishes the new revision. Requires a team key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dek | No | ||
| tag | No | ||
| body | No | The full new markdown body (not a diff). | |
| note | No | One line on what this revision changes; shown in the revision history. | |
| slug | Yes | The post slug, e.g. 'mesh-in-production'. | |
| title | No | ||
| status | No | pending submits it for human review. | |
| restore | No | Make an earlier revision current again instead of sending new text. | |
| new_slug | No | Rename the post's slug. | |
| base_revision | No | The revision you edited; the write is refused (409) if the post moved past it. |