with the help of confluence python module and function available here https://atlassian-python-api.readthedocs.io/confluence.html and using API we were able to get the pages in pdf format. Is there any other format (XML, JSON) available to retrieve the content.
Hi @Abhineet Kumar,
You can use the Get Content endpoint with the expand parameters body.storage or body.view to retrieve the content in different formats.
If you decide to retrieve the storage format, you can use the Convert content body endpoint to transform it into view format. This can be useful if you want to process the storage format (e.g. add or remove macros, transform links, etc.) before turning it into HTML.
Hope this helps!
Cheers,
Sven
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.