(EXPERIMENTAL) Create image export request
Note: This API is an experimental and is going to change. Please, use it accordingly. An image export job will be created based on the export request and put to queue to be executed. The result of the operation will be an exportResult identifier that will be assembled by the client into a url that can be polled.
path Parameters
workspaceIdstring · required
Request Body
dashboardIdstring · requiredDashboard identifier
Example: 761cd28b-3f57-4ac9-bbdc-1c552cc0d1d0fileNamestring · requiredFile name to be used for retrieving the image document.
Example: filenameformatstring · enum · requiredRequested resulting file type.
Enum values:PNGExample: PNGwidgetIdsstring[] · minItems: 1 · maxItems: 1 · unique · requiredList of widget identifiers to be exported. Note that only one widget is currently supported.
metadataobject | null · maxLength: 15000Free-form JSON object
Example: {}
Responses
Image export request created successfully.
exportResultstring · required
(EXPERIMENTAL) Retrieve exported files
Note: This API is an experimental and is going to change. Please, use it accordingly. After clients creates a POST export request, the processing of it will start shortly asynchronously. To retrieve the result, client has to check periodically for the result on this endpoint. In case the result isn't ready yet, the service returns 202. If the result is ready, it returns 200 and octet stream of the result file with provided filename.
path Parameters
workspaceIdstring · requiredexportIdstring · required
Responses
Binary export result.
(EXPERIMENTAL) Retrieve metadata context
Note: This API is an experimental and is going to change. Please, use it accordingly. This endpoint serves as a cache for user-defined metadata of the export for the front end UI to retrieve it, if one was created using the POST ../export/image endpoint. The metadata structure is not verified.
path Parameters
workspaceIdstring · requiredexportIdstring · required
Responses
Json metadata representation