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 |
---|---|---|---|
x-hopex-environment-id | string | ||
x-hopex-repository-id | string | Default value PNG. Possible choice : image/png, image/jpeg and image/svg+xml | |
x-hopex-profile-id | string | ||
Accept | string | ||
x-hopex-jpegquality | number | (optional) give the quality for the JPEG |