coda_publish_doc
Publish any Coda doc to the web with a public URL. Control discoverability, category, and slug for gallery listing.
Instructions
Publish a Coda doc to make it publicly accessible.
Publishes the doc with optional gallery listing and URL slug. The doc becomes accessible via a public URL. Use coda_unpublish_doc to revert. Returns the published doc's URL and settings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | Yes | The doc ID to publish | |
| slug | No | URL slug for the published doc | |
| category_names | No | Category names for the published doc (from coda_list_categories) | |
| discoverable | No | Whether the doc is discoverable in the Coda gallery | |
| mode | No | Publishing mode (e.g. 'view', 'play', 'edit') |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |