Create annotations
Required capabilities:
annotationsAcl:WRITE
Creates the given annotations.
Identifiers
An annotation must reference an annotated resource.
The reference can be made by providing the internal ID of the annotated resource.
Status
The annotation must have the status field set to either “suggested”, “rejected”, or “approved”
Access control
The caller must have read-access on all the annotated resources, otherwise the call will fail.
Annotation types and Data
The annotation type property must be set to one of the globally available annotation types.
See the documentation of the annotationType and data attributes for details.
The annotation data must conform to the schema provided by the annotation type.
Creating Application and User
The creating application and its version must be provided. The creating user must be provided, but if the
annotation is being created by a service, this can be set to null.
Documentation Index
Fetch the complete documentation index at: https://docs.cognite.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
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.
Body
A request for creating annotations
A list of annotations to create
Response
Successful creation
A list of annotations