/
Export blog posts using Confluence CLI
Export blog posts using Confluence CLI
This article explains how to export blogs using Confluence CLI.
Instructions
Use the exportPage CLI action to export a blog from the space.
The example below enables you to export the blog with id = 720927 from the SPAC space to PDF.
--action exportPage --space "SPAC" --id "720927" --file "Space.pdf" --exportType "PDF"
Output:
The output of the PDF export of the blog with the content:
The parameters used in the above action are:
- space: Name of the space.
- id: Id of the blog.
- exportType: Indicated the type of export the blog post should be in.
- file: Path/name to file of result output.
To get an ID of the blog, navigate to Ellipsis > Page Information in the respective blog as shown below:
Related content
exportPage
exportPage
Read with this
pdf-export macro
pdf-export macro
More like this
Examples
Read with this
Steps for Migrating to HTML for Confluence App data from one Cloud instance to another Cloud instance
Steps for Migrating to HTML for Confluence App data from one Cloud instance to another Cloud instance
More like this
How to export a space or a page to a PDF file using Confluence CLI
How to export a space or a page to a PDF file using Confluence CLI
Read with this
Get started - Use setup wizard to publish all the pages in a space
Get started - Use setup wizard to publish all the pages in a space
More like this