Im have create the "info" macro status in confluence page using UI. Then I copied the macros html code and putted it into the rest api call.
After update the page in the page displayed the valid "info" macro BUT on EDIT page mode this status displayed as only text from it, and even update again this page, the macro still displayed as needed.
The html "info" macro code what im using in api call:
<p style="text-align: center;"><span class="status-macro aui-lozenge aui-lozenge-success conf-macro output-inline" data-hasbody="false" data-macro-name="status">CREATED</span> </p>
After update the page using api call the "info" macro html code looks like:
<p style="text-align: center;"><span class="status-macro aui-lozenge aui-lozenge-success conf-macro output-inline">CREATED</span> </p>
NOT ON EDIT MODE:
ON EDIT MODE:
As i understood the confluence miss some kays like data-hasbody and data-macro-name
And i have no idea how to fix it, maybe Im doing some mistake?