Product Idea

Expand all | Collapse all

REST API to get diagram source

  • 1.  REST API to get diagram source

    Posted 05-07-2020 14:40
    It would be helpful to be able to retrieve the source xml file for diagrams to script export to formats other than svg. We are using the REST API with jinja for report generation instead of velocity, and the pictures created by jama are pixelated. Instead, if I pull the source for the diagram I could convert to something else with the drawio command line.

    I tried my luck at modifying the url for the pic from jama/diagrams/name.png -> jama/diagrams/name.xml but no go.

    Jonah Caplan

  • 2.  RE: REST API to get diagram source

    Posted 10-15-2020 10:29
    I would like to express support to Jonah's request for API extension. I am using Python REST API to build parts of some model in JAMA and need to read the content of the diagrams as input to this process. I traced the way the graph editor loads the diagram xml source but rather decided to abandon this path. Hope you might give us access to the diagram xml source via the API.
    Thank you,

    Ivan Havel