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

Update an annotation's details or type.

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

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

Replaces the details (and optionally the type). A deleted annotation is not changed; restore it first. Signature annotations are changed only by signing.

スコープannotations:write
非同期いいえ
MCP ツールupdate_annotation

パラメーター​

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

リクエスト本文​

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

応答​

ステータス説明本文
200Success.application/json Annotation または 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
409conflictapplication/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 のコードです。各コードからそのページに移動できます。

スキーマ​

Annotation​

フィールド型必須説明
annotationobject必須The details the viewer draws: format annotation_details, body a non-empty list of objects.
annotation_idstring必須
annotation_typestring必須
created_byUserRef必須
deleted_atstring (date-time) または null必須null while live; the time it was deleted otherwise (restore brings it back).
document_idstring必須
pageinteger必須1-based page of the file version. ≥ -2147483648; ≤ 2147483647
version_idstring必須The file version the annotation is drawn on (opaque, derived from document and stored file).

AnnotationPatchInput​

フィールド型必須説明
annotationobject または null任意
annotation_idstring または null任意
annotation_typestring または null任意
created_byUserRefInput または null任意
deleted_atstring (date-time) または null任意
document_idstring または null任意
pageinteger または null任意
version_idstring または null任意

UserRef​

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

UserRefInput​

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