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
x-hopex-environment-idstring
x-hopex-repository-idstringDefault value PNG. Possible choice : image/png, image/jpeg and image/svg+xml
x-hopex-profile-idstring
Acceptstring
x-hopex-jpegqualitynumber(optional) give the quality for the JPEG