List the document changes since a cursor.
GET/api/v1/documents/changesdocuments:read
注記
このページの操作の説明は、API の OpenAPI 文書のとおり英語で記載しています。
Starts with a snapshot of the documents the caller can read, then the changes committed after it: upsert (the document, now readable) and removed (reason deleted or no_longer_visible). next_cursor is never null: an empty page means the caller is caught up. 410 cursor_expired with resync_required means start again without a cursor. since is an inclusive bound on the change sequence and starts the feed at its changes; folder limits the feed to one folder.
| スコープ | documents:read |
| 非同期 | いいえ |
| MCP ツール | list_document_changes |
| Portal の権限 | view_document_metadata |
| 会社に必要な機能 | changes |
| ページング | change_feed |
| 既定の並び順 | change_sequence |
| 並べ替えに使えるフィールド | change_sequence |
| フィルター | since, since_from, since_to, folder |
パラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|---|---|---|---|
limit | query | integer | 任意 | 既定値: 50; ≥ 1 |
cursor | query | string | 任意 | |
sort | query | string | 任意 | Comma-separated sort fields, - for descending. |
since | query | integer の配列 | 任意 | |
since_from | query | integer | 任意 | ≥ -2147483648; ≤ 2147483647 |
since_to | query | integer | 任意 | ≥ -2147483648; ≤ 2147483647 |
folder | query | string の配列 | 任意 | |
Docwize-Version | header | string (date) | 任意 | |
If-None-Match | header | string | 任意 | Answers 304 when the representation is unchanged (resources that publish an ETag). |
応答
| ステータス | 説明 | 本文 |
|---|---|---|
200 | Success. | application/json object |
304 | Not modified (If-None-Match matched the ETag). | |
400 | invalid_version | application/problem+json Problem |
401 | token_expired, unauthenticated | application/problem+json Problem |
403 | forbidden, insufficient_scope, token_owner_inactive | application/problem+json Problem |
405 | method_not_allowed | application/problem+json Problem |
406 | not_acceptable | application/problem+json Problem |
410 | cursor_expired | application/problem+json Problem |
421 | wrong_region | application/problem+json Problem |
422 | invalid_cursor, unsupported_for_tenant, validation_failed | application/problem+json Problem |
500 | internal_error | application/problem+json Problem |
503 | tenant_unavailable, unavailable | application/problem+json Problem |
504 | timeout | application/problem+json Problem |
200 の本文
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
items | object または object または object の配列 | 必須 | |
next_cursor | string または null | 必須 | |
warnings | object の配列 | 必須 |
エラー
この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。
スキーマ
AdditionalField
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
label | string または null | 必須 | |
value | string または null | 必須 |
AdditionalFields
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
additional_field_3 | AdditionalField | 必須 | |
additional_field_4 | AdditionalField | 必須 | |
additional_field_5 | AdditionalField | 必須 | |
additional_field_6 | AdditionalField | 必須 |
DocumentChangeRemoved
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
reason | string | 必須 | deleted or no_longer_visible (open). |
DocumentChangeUpsert
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
document | DocumentSummary | 必須 |
DocumentSummary
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
actual_submission_date | string または null | 必須 | |
additional_fields | AdditionalFields | 必須 | |
created_at | string (date-time) または null | 必須 | |
created_by | UserRef または null | 必須 | |
description | string または null | 必須 | |
document_date | string または null | 必須 | |
document_id | string | 必須 | |
document_number | string または null | 必須 | |
document_status | object または null | 必須 | The status shown as Status in the Portal (lookup_actionstatus). |
document_sub_type | object または null | 必須 | |
document_type | object または null | 必須 | |
duplicate_of | string または null | 必須 | The number of the document this one duplicates (the Portal's Duplicate Of). |
from_contact | object または null | 必須 | |
from_organisation | object または null | 必須 | |
is_latest_revision | boolean | 必須 | |
is_locked | boolean | 必須 | |
is_privileged | boolean | 必須 | |
main_document_date | string または null | 必須 | |
owner | UserRef または null | 必須 | |
page_end | number または null | 必須 | Last page of the range this document covers in its file. |
page_start | number または null | 必須 | First page of the range this document covers in its file. |
post_review_status | object または null | 必須 | |
project | object または null | 必須 | The stored project number text, with the project's ID when one matches. |
project_organisation | object または null | 必須 | |
reference_number | string または null | 必須 | |
relevance | number または null | 必須 | 1 is relevant (the default), 0 is irrelevant (the Portal's Irrelevant switch). |
responded_with | string または null | 必須 | The reference of the document that responded to this one (the Portal's Responded With). |
response_date | string または null | 必須 | |
response_due_date | string または null | 必須 | |
revision_number | string または null | 必須 | |
to_contact | object または null | 必須 | |
to_organisation | object または null | 必須 |
UserRef
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
display_name | string | 必須 | |
kind | string: user, system, integration または string | 必須 | |
user_id | string または null | 必須 |