I am trying to automate confluence content update. I have a page A with different macros (div, info and warning). My requirement is to get the data from page A, process the data and Update the processed data in Page B (empty page).
I am using python script for this workflow. Below are the steps involved
The issue is, Macros are not restored while uploading the content to page B.
Appreciate your help on how to handle macros on rest api get page info and put the page content to another page without loosing the macros property?