curl --request GET \
--url https://{cluster}.cognitedata.com/api/v1/projects/{project}/diagram-parsing/svg-data/file/{fileSpace}/{fileExternalId}/{pageNumber} \
--header 'Authorization: Bearer <token>'{
"height": 123,
"paths": {},
"pathStyles": {},
"viewBox": "<string>",
"width": 123
}Required capabilities:
DiagramParsingAcl:READDataModelInstancesAcl:READ
Get the SVG data of a file by file instanceId and pageNumber.
curl --request GET \
--url https://{cluster}.cognitedata.com/api/v1/projects/{project}/diagram-parsing/svg-data/file/{fileSpace}/{fileExternalId}/{pageNumber} \
--header 'Authorization: Bearer <token>'{
"height": 123,
"paths": {},
"pathStyles": {},
"viewBox": "<string>",
"width": 123
}Access token issued by the CDF project's configured identity provider. Access token must be an OpenID Connect token, and the project must be configured to accept OpenID Connect tokens. Use a header key of 'Authorization' with a value of 'Bearer $accesstoken'. The token can be obtained through any flow supported by the identity provider.
A DMS space where the files reside
Retrieve data related to a file
The file's page number
The SVG data for a file
SVG data extracted for a file.
Height attribute of the SVG diagram
Map representation of paths
Show child attributes
Map linking styleIds to SVG path style properties
Show child attributes
ViewBox attribute of the SVG diagram
Width attribute of the SVG diagram
Was this page helpful?