I'm using the Atlassian API package for Python to automate some pages in Confluence. I only started this process yesterday, so I'm still a bit unfamiliar with the API and can't find this information anywhere.
How do I add a warning panel to the body of a Confluence page using HTML? I've tried a few things, but this is the closest I've gotten:
<ac:structured-macro ac:name="panel">Test</ac:structured-macro>
That said, that snippet only makes the panel box appear--I don't know how to get the text to show or how to change its colors. In fact, I tried changing the macro name to "warning" but the API gave me an error back.
<ac:structured-macro ac:name="warning">Test</ac:structured-macro>
Is what I want possible via the API?