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
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string | image/svg+xml or png or jpeg | |
x-hopex-jpegquality | number | (optional) give the quality for the JPEG |