メインコンテンツまでスキップ

Comment on an annotation, or reply to a comment.

POST/api/v1/annotations/{annotation_id}/commentsannotations:write
注記

このページの操作の説明は、API の OpenAPI 文書のとおり英語で記載しています。

Needs Create Document Notes. Seeing the annotation is enough: a reviewer who can only read a markup may still comment on it. reply_to answers another comment of the same annotation. Viewers of the file see the comment appear.

スコープannotations:write
非同期いいえ
MCP ツールcreate_annotation_comment
Portal の権限create_document_notes

パラメーター​

名前場所型必須説明
annotation_idpathstring必須
Docwize-Versionheaderstring (date)任意
Idempotency-Keyheaderstring任意max 255

リクエスト本文​

Content-Type型
application/jsonAnnotationCommentCreateInput

応答​

ステータス説明本文
201Success.application/json AnnotationComment または object
400invalid_version, malformed_jsonapplication/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
409idempotency_in_progressapplication/problem+json Problem
413payload_too_largeapplication/problem+json Problem
415unsupported_media_typeapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422idempotency_key_reused, validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

エラー​

この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。

スキーマ​

AnnotationComment​

フィールド型必須説明
annotation_comment_idstring必須
annotation_idstring必須
comment_jsonstring または null必須The rich-text form of the comment, when it has one.
comment_textstring必須
created_byUserRef必須
created_datestring または null必須
reply_toAnnotationCommentRef または null必須The comment this one answers; null for a comment that starts a thread.

AnnotationCommentCreateInput​

フィールド型必須説明
comment_jsonstring または null任意The rich-text form of the comment, as the viewer's editor saves it.
comment_textstring必須
reply_toAnnotationCommentRefInput または null任意Answer this comment of the same annotation.

AnnotationCommentRef​

フィールド型必須説明
annotation_comment_idstring必須

AnnotationCommentRefInput​

フィールド型必須説明
annotation_comment_idstring必須

UserRef​

フィールド型必須説明
display_namestring必須
kindstring: user, system, integration または string必須
user_idstring または null必須