Skip to main content

get_annotations_by_owner

Get all annotations (comments) for an entity by its owner ID.
Property
Read-onlyYes

Parameters

ParameterTypeRequiredDescription
ownerIdstringYesThe entity ID to get annotations for (e.g. an item ID).

Returns

A list of AnnotationDto objects ordered by creation date ascending, each containing:
  • annotationId — unique annotation identifier
  • ownerId — the entity being annotated
  • annotatorId — the user who created the annotation
  • contentType — annotation content type (e.g. Text)
  • content — the annotation body
  • created — creation timestamp

get_annotation

Get a single annotation by its ID.
Property
Read-onlyYes

Parameters

ParameterTypeRequiredDescription
annotationIdstringYesThe annotation ID.

Returns

An AnnotationDto with annotation details.

create_annotation

Create a new annotation (comment) on an entity.
Property
Read-onlyNo

Parameters

ParameterTypeRequiredDescription
ownerIdstringYesThe entity being annotated (e.g. item ID).
annotatorIdstringYesThe user making the annotation. Use get_user_list.
contentstringYesThe annotation body text.
contentTypestringNoContent type. Defaults to the first supported type (Text).

Returns

The created AnnotationDto.

update_annotation

Update an annotation’s content.
Property
Read-onlyNo

Parameters

ParameterTypeRequiredDescription
annotationIdstringYesThe annotation ID. Use get_annotations_by_owner.
contentstringNoNew annotation body text.

Returns

A confirmation message.

delete_annotation

Delete an annotation by its ID.
Property
Read-onlyNo

Parameters

ParameterTypeRequiredDescription
annotationIdstringYesThe annotation ID. Use get_annotations_by_owner.

Returns

A confirmation message.