Diagrams - Download (Synchronous)

GET {{server_url}}/HOPEXGraphQL/api/diagram/{{diagramId}}/image

This endpoint allows to download a given diagram by its absolute identifier. 3 formats are avaiable : PNG, JPEG, SVG. The default format is PNG. This endpoint is synchronous : the diagram will be generared on demand and will return the image. In case the generation of the diagram is too long use the asynchronous endpoint.

HEADERS

KeyDatatypeRequiredDescription
Acceptstringimage/svg+xml or png or jpeg
x-hopex-jpegqualitynumber(optional) give the quality for the JPEG