Export as a pdf

Hon Cdptest
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 31, 2024

Hello Team - I am exploring the option of exporting the content in pdf format.

Is it possible to export the page and blog-post contents as PDF via the REST APIs?

If yes, would you be able to help if there are any additional configurations required as well as a Postman request?

I have tried this and had no luck.

curl -L -o page.pdf \ "https://your-domain.atlassian.net/wiki/spaces/flyingpdf/pdfpageexport.action?pageId=PAGE_ID" \ -H "Authorization: Basic $(echo -n your-email@example.com:your-api-token | base64)"

2 answers

2 votes
Benjamin
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 31, 2024

Hi @Hon Cdptest 

 

Welcome to the community.

 

see this post in this regard. Hopefully, it points you in the right direction.

 

https://community.atlassian.com/t5/Confluence-questions/Export-page-to-pdf-using-rest-call/qaq-p/1085529

 

0 votes
Aron Gombas _Midori_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 3, 2024

@Hon Cdptest do you realize that you have change that commandline to:

  1. include the email address of your Atlassian account?
  2. include a valid Atlassian API token?
Hon Cdptest
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 6, 2024

Yes, I did.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events