curl --request POST \
--url https://{cluster}.cognitedata.com/api/v1/projects/{project}/models/containers/inspect \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"inspectionOperations": {
"involvedViews": {
"allVersions": false
},
"totalInvolvedViewCount": {
"allVersions": false,
"includeUnavailableViews": true
}
},
"items": [
{
"space": "<string>",
"externalId": "<string>"
}
]
}
'{
"items": [
{
"externalId": "<string>",
"space": "<string>",
"inspectionResults": {
"involvedViewCount": 123,
"involvedViews": [
{
"type": "view",
"space": "<string>",
"externalId": "<string>",
"version": "<string>"
}
]
}
}
]
}Required capabilities:
DataModelsAcl:READ
curl --request POST \
--url https://{cluster}.cognitedata.com/api/v1/projects/{project}/models/containers/inspect \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"inspectionOperations": {
"involvedViews": {
"allVersions": false
},
"totalInvolvedViewCount": {
"allVersions": false,
"includeUnavailableViews": true
}
},
"items": [
{
"space": "<string>",
"externalId": "<string>"
}
]
}
'{
"items": [
{
"externalId": "<string>",
"space": "<string>",
"inspectionResults": {
"involvedViewCount": 123,
"involvedViews": [
{
"type": "view",
"space": "<string>",
"externalId": "<string>",
"version": "<string>"
}
]
}
}
]
}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.
Which containers to inspect and the inspection operations to run.
Containers along with the results of the inspection operations
List of container inspection results
Show child attributes
Was this page helpful?