curl --request POST \
--url https://{cluster}.cognitedata.com/api/v1/projects/{project}/diagram-parsing/libraries \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"items": [
{
"externalId": "my.known.id",
"name": "<string>"
}
]
}
'{
"items": [
{
"createdTime": 1730204346000,
"externalId": "my.known.id",
"lastUpdatedTime": 1730204346000,
"name": "<string>",
"scope": "Global"
}
]
}Required capabilities:
DiagramParsingAcl:WRITE
Create libraries.
curl --request POST \
--url https://{cluster}.cognitedata.com/api/v1/projects/{project}/diagram-parsing/libraries \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"items": [
{
"externalId": "my.known.id",
"name": "<string>"
}
]
}
'{
"items": [
{
"createdTime": 1730204346000,
"externalId": "my.known.id",
"lastUpdatedTime": 1730204346000,
"name": "<string>",
"scope": "Global"
}
]
}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.
Libraries to create.
List of libraries to create
1 - 100 elementsShow child attributes
List of libraries
Show child attributes
Was this page helpful?