curl --request POST \
--url https://{cluster}.cognitedata.com/api/v1/projects/{project}/diagram-parsing/parsing/symbol-detection \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"documents": [
{
"fileId": {
"space": "<string>",
"externalId": "my.known.id"
},
"pageNumber": 123
}
],
"libraryId": "my.known.id",
"nonce": "<string>"
}
'{
"items": [
"my.known.id"
]
}Required capabilities:
DiagramParsingAcl:WRITE
Start a parsing job on files to detect their symbols and connections.
curl --request POST \
--url https://{cluster}.cognitedata.com/api/v1/projects/{project}/diagram-parsing/parsing/symbol-detection \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"documents": [
{
"fileId": {
"space": "<string>",
"externalId": "my.known.id"
},
"pageNumber": 123
}
],
"libraryId": "my.known.id",
"nonce": "<string>"
}
'{
"items": [
"my.known.id"
]
}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.
Specifies the library to use when parsing the given files.
List of external IDs returned in a response
1 - 100 elementsThe external ID provided by the client. Must be unique for the resource type.
255Was this page helpful?