Export Page
export_pageExport a Docmost page as Markdown or HTML, optionally including child pages or attachments; returns the file directly or a temporary zip download link.
Instructions
Export a page as Docmost does, as Markdown or HTML. A single page is returned in the result; with its child pages or its files, or when it is too long, the result is a download link to a zip that works for 10 minutes. To read a page, use get_page; export when the person wants a file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | Page id, slug id or Docmost page URL. | |
| format | No | markdown or html. | markdown |
| include_children | No | Include child pages (zip). | |
| include_attachments | No | Include the files of the pages (zip). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||