Create contextualization connections between a 360 image annotation and a CogniteAsset instance. The relation between CogniteAsset and the 360 image annotations is One CogniteAsset to Many Cognite360ImageAnnotation. This allows users to navigate between 3D objects in a 360 image model and their connected CogniteAsset instances.
The 360 image annotations 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.
NOTE: The request body variants without "RC" in the name (e.g. ContextualizeImage360AnnotationBody) are deprecated and will be removed before this endpoint is released. Use the "RC" (Release Candidate) variants instead.
The dmsContextualizationConfig and a list of Asset instance and Image360 instance ids with Annotation data.
required | Array of objects (CreateImage360AnnotationContextualizationList) [ 1 .. 100 ] items |
required | object (DmsContextualizationConfig) |
Empty response.
The response for a failed request.
{- "items": [
- {
- "asset": {
- "instanceId": {
- "space": "string",
- "externalId": "string"
}
}, - "image360": {
- "instanceId": {
- "space": "string",
- "externalId": "string"
}
}, - "polygon": {
- "version": "2.0.0",
- "data": [
- 4,
- 0.9270756358319165,
- 2.2174037424638806,
- 0.7257584085532073,
- 2.3363920019987128,
- 0.5705610346411107,
- 1.4057349929548537,
- 0.8149227563644923,
- 1.438327658871614,
- 4,
- 0.4054357034082108,
- 1.9334182037803302,
- 0.3161133722927196,
- 2.1237903923558683,
- 0.2849443437943124,
- 1.2575840792945063,
- 0.3874849796030885,
- 1.3717664614350102
]
}
}
], - "dmsContextualizationConfig": {
- "object3DSpace": "string",
- "contextualizationSpace": "string",
- "revisionInstanceId": {
- "space": "string",
- "externalId": "string"
}
}
}{ }