curl --request POST \
--url https://{cluster}.cognitedata.com/api/v1/projects/{project}/diagram-parsing/connections \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"items": [
{
"diagramId": "my.known.id",
"endNodeId": "my.known.id",
"isUserDetected": true,
"startNodeId": "my.known.id"
}
]
}
'{
"items": [
{
"createdTime": 1730204346000,
"diagramId": "my.known.id",
"endNodeId": "my.known.id",
"externalId": "my.known.id",
"isUserDetected": true,
"lastUpdatedTime": 1730204346000,
"startNodeId": "my.known.id"
}
]
}Required capabilities:
DiagramParsingAcl:WRITE
Create connections between symbols in parsed diagrams.
curl --request POST \
--url https://{cluster}.cognitedata.com/api/v1/projects/{project}/diagram-parsing/connections \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"items": [
{
"diagramId": "my.known.id",
"endNodeId": "my.known.id",
"isUserDetected": true,
"startNodeId": "my.known.id"
}
]
}
'{
"items": [
{
"createdTime": 1730204346000,
"diagramId": "my.known.id",
"endNodeId": "my.known.id",
"externalId": "my.known.id",
"isUserDetected": true,
"lastUpdatedTime": 1730204346000,
"startNodeId": "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.
Connections to create.
List of connections to create
1 - 100 elementsShow child attributes
List of connections
Show child attributes
Was this page helpful?