curl --request POST \
--url https://{cluster}.cognitedata.com/api/v1/projects/{project}/3d/contextualization/pointcloud \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"items": [
{
"assetInstanceId": {
"space": "<string>",
"externalId": "<string>"
},
"volumeReference": "<string>",
"volume": {
"type": "Box",
"version": "1.0.0",
"data": [
123
]
}
}
],
"dmsContextualizationConfig": {
"object3DSpace": "<string>",
"contextualizationSpace": "<string>",
"revisionInstanceId": {
"space": "<string>",
"externalId": "<string>"
}
}
}
'{}Create contextualization connections between point cloud volumes and CogniteAsset instances. This allows users to navigate between 3D objects in a Point Cloud 3D model and their connected CogniteAsset instances.
The point cloud volumes are defined for a specific 3D model revision. The connections are referencing the space and externalId for CogniteAsset node instances.
NOTE: This endpoint is only available for DataModelOnly projects.
curl --request POST \
--url https://{cluster}.cognitedata.com/api/v1/projects/{project}/3d/contextualization/pointcloud \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"items": [
{
"assetInstanceId": {
"space": "<string>",
"externalId": "<string>"
},
"volumeReference": "<string>",
"volume": {
"type": "Box",
"version": "1.0.0",
"data": [
123
]
}
}
],
"dmsContextualizationConfig": {
"object3DSpace": "<string>",
"contextualizationSpace": "<string>",
"revisionInstanceId": {
"space": "<string>",
"externalId": "<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.
The assetInstanceId, dmsContextualizationConfig and a list of PointCloud Volume data.
Empty response.
The response is of type object.
Was this page helpful?