Skip to main content

List the comments on an annotation.

GET/api/v1/annotations/{annotation_id}/commentsannotations:read

The comments and replies under an annotation you can see, oldest first. reply_to names the comment a reply answers. Needs View Document Notes and the right to view the annotation's kind.

Scopeannotations:read
AsynchronousNo
MCP toollist_annotation_comments
Portal permissionsview_document_notes
Pagingkeyset
Default orderannotation_comment_id
Sort fieldsannotation_comment_id

Parameters​

NameInTypeRequiredDescription
annotation_idpathstringRequired
limitqueryintegerOptionalDefault: 50; ≥ 1
cursorquerystringOptional
sortquerystringOptionalComma-separated sort fields, - for descending.
Docwize-Versionheaderstring (date)Optional
If-None-MatchheaderstringOptionalAnswers 304 when the representation is unchanged (resources that publish an ETag).

Responses​

StatusDescriptionBody
200Success.application/json object
304Not modified (If-None-Match matched the ETag).
400invalid_versionapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
404not_foundapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
410cursor_expiredapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422invalid_cursor, validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

200 body​

FieldTypeRequiredDescription
itemsarray of AnnotationCommentRequired
next_cursorstring or nullRequired
warningsarray of objectRequired

Errors​

The problem codes this operation can answer with. Each code links to its page.

Schemas​

AnnotationComment​

FieldTypeRequiredDescription
annotation_comment_idstringRequired
annotation_idstringRequired
comment_jsonstring or nullRequiredThe rich-text form of the comment, when it has one.
comment_textstringRequired
created_byUserRefRequired
created_datestring or nullRequired
reply_toAnnotationCommentRef or nullRequiredThe comment this one answers; null for a comment that starts a thread.

AnnotationCommentRef​

FieldTypeRequiredDescription
annotation_comment_idstringRequired

UserRef​

FieldTypeRequiredDescription
display_namestringRequired
kindstring: user, system, integration or stringRequired
user_idstring or nullRequired