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

Change a comment you wrote.

PATCH/api/v1/annotations/{annotation_id}/comments/{annotation_comment_id}annotations:write
注記

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

Needs Edit Document Notes. Only the author of a comment changes it, and only while they can still see its annotation. Only the fields sent change.

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

パラメーター​

名前場所型必須説明
annotation_idpathstring必須
annotation_comment_idpathstring必須
Docwize-Versionheaderstring (date)任意
If-Matchheaderstring任意

リクエスト本文​

Content-Type型
application/jsonAnnotationCommentPatchInput
application/merge-patch+jsonAnnotationCommentPatchInput

応答​

ステータス説明本文
200Success.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
412precondition_failedapplication/problem+json Problem
413payload_too_largeapplication/problem+json Problem
415unsupported_media_typeapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422validation_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.

AnnotationCommentPatchInput​

フィールド型必須説明
annotation_comment_idstring または null任意
annotation_idstring または null任意
comment_jsonstring または null任意null removes the rich-text form.
comment_textstring または null任意
created_byUserRefInput または null任意
created_datestring または null任意
reply_toAnnotationCommentRefEchoInput または null任意

AnnotationCommentRef​

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

AnnotationCommentRefEchoInput​

フィールド型必須説明
annotation_comment_idstring または null任意

UserRef​

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

UserRefInput​

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