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

Add a note to a document.

POST/api/v1/documents/{document_id}/notesannotations:write
注記

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

Adds a note to a document you can read. Private notes are visible only to you.

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

パラメーター​

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

リクエスト本文​

Content-Type型
application/jsonNoteCreateInput

応答​

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

スキーマ​

Note​

フィールド型必須説明
created_byUserRef必須
created_datestring または null必須
document_idstring必須
is_privateboolean必須Visible only to its author.
note_idstring必須
note_jsonstring または null必須The rich-text form of the note, when it has one.
note_textstring必須
pageinteger または null必須The 1-based page the note is pinned to; null when unpinned.

NoteCreateInput​

フィールド型必須説明
is_privateboolean または null任意false when absent.
note_jsonstring または null任意
note_textstring必須
pageinteger または null任意1-based; absent or 0 leaves the note unpinned.

UserRef​

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