I know that I can create a page with the following html template and get the "Children's Display" macro embedded.
'<p>Application {} Release Pipeline Logs</p><p><ac:structured-macro ac:name="children" ac:schema-version="1" /></p>'
What I can't find is the same HTML tag for embedding the Attachments macro on a page.
I'm using the atlassian-python-api to add attachments to the page.
confluence.attach_file('{}.csv'.format(os.getenv('NAMESPACE')),
name='{}.csv'.format(os.getenv('NAMESPACE')),
page_id=new_product_tag_page_id,
title='{}'.format(os.getenv('NAMESPACE')), space=os.getenv('SPACE_KEY'),
comment='{} ContainerLogs'.format(os.getenv('NAMESPACE')))
And this code works, I know my attachments are getting uploaded, but I need to create this page_id with the attachments macro already enabled so that it just picks up the attachments. What is the HTML code that generates that macro?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.