I have some process when I programmatically generate draw.io diagrams and then I need to paste these diagrams to the Confluence page. I suppose to use API only.
I realized how I can insert a diagram on page, but before I need to have it in draw.io plugin search.
So, my question about importing - how I can execute using API of Confluence the same action as import diagrams from diagram editor:
- add draw.io macro to the page, then click 'Edit' to launch the diagram editor.
- From there you go File -> Import.
- The XML you are importing needs to be a draw.io diagram.