Need the JSON body for a REST API call to confluence to insert page property macro. I have used the following JSON but getting an "unknown macro" error in confluence.
"title": "REST API PAGE 0426",
"value": "<p> \n <ac:structured-macro ac:name='pageproperties' /> \n This page has been created through a REST API </p>",
Hi @Soham Das
Welcome to the Atlassian Community.
The XHTML code for the page properties macro is as below.
<ac:structured-macro ac:name="details" ac:schema-version="1" ac:macro-id="c26310b8-2eb4-4ab2-998f-05eb8bb1b3a5"><ac:rich-text-body> <p class="auto-cursor-target">Your macro content goes here</p></ac:rich-text-body></ac:structured-macro>
Let me know if that works with your REST API call.
Hello Confluence Community! What if i told you that you could have a healthier life and be 100% meet-less? This month, we're promoting a healthy, balanced work diet with Confluence. We la...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events