List the documents filed in a location.
GET/api/v1/locations/{location_id}/documentslocations:read
注記
このページの操作の説明は、API の OpenAPI 文書のとおり英語で記載しています。
The documents filed in the location that the caller may read, in ID order, each with the location or locations it is filed in and the path of each. Needs View Location Documents and View Document Metadata. include_descendants=true lists what is filed beneath the location too (the explorer's full-path view) and also needs View Locations and View Location Hierarchy; without both, a filing's path is null. document_id, document_number, reference_number, revision_number, is_latest_revision, is_privileged and is_locked narrow the list.
| スコープ | locations:read |
| 非同期 | いいえ |
| MCP ツール | list_location_documents |
| Portal の権限 | view_location_documents, view_document_metadata |
| ページング | keyset |
| 既定の並び順 | document_id |
| 並べ替えに使えるフィールド | document_id |
| フィルター | document_id, document_number, reference_number, revision_number, is_latest_revision, is_privileged, is_privileged_is_null, is_locked, is_locked_is_null |
パラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|---|---|---|---|
location_id | path | string | 必須 | |
include_descendants | query | boolean または null | 任意 | true also lists the documents filed in every readable location beneath this one (default false). Needs View Locations and View Location Hierarchy. |
limit | query | integer | 任意 | 既定値: 50; ≥ 1 |
cursor | query | string | 任意 | |
sort | query | string | 任意 | Comma-separated sort fields, - for descending. |
document_id | query | string の配列 | 任意 | |
document_number | query | string の配列 | 任意 | |
reference_number | query | string の配列 | 任意 | |
revision_number | query | string の配列 | 任意 | |
is_latest_revision | query | boolean の配列 | 任意 | |
is_privileged | query | boolean の配列 | 任意 | |
is_privileged_is_null | query | boolean | 任意 | |
is_locked | query | boolean の配列 | 任意 | |
is_locked_is_null | query | boolean | 任意 | |
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 |
404 | not_found | 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, 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 | LocationDocument の配列 | 必須 | |
next_cursor | string または null | 必須 | |
warnings | object の配列 | 必須 |
エラー
この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。
スキーマ
LocationDocument
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
created_at | string (date-time) または null | 必須 | |
description | string または null | 必須 | |
document_date | string または null | 必須 | The document's date, exactly as recorded (wire-types §1.4, O14). |
document_id | string | 必須 | |
file_name | string または null | 必須 | |
file_size_bytes | string または null | 必須 | |
filings | LocationDocumentFiling の配列 | 必須 | Where the document is filed within the listed location (and, with include_descendants, beneath it): one entry per location, in location order. |
from_entity | string または null | 必須 | |
number | string または null | 必須 | |
reference_number | string または null | 必須 | |
revision | string または null | 必須 | |
status | string または null | 必須 | |
to_entity | string または null | 必須 | |
type | string または null | 必須 |
LocationDocumentFiling
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
location_id | string | 必須 | |
path | string または null | 必須 | The location's current path (ancestors' descriptions joined with ->), from the names the caller may read; null without View Locations and View Location Hierarchy, or when an ancestor is hidden. |