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

List the documents filed in a folder.

GET/api/v1/folders/{folder_id}/documentsdocuments:read
注記

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

The documents filed in the folder that the caller can read, in ID order. include_subfolders adds the documents of the folders beneath it. document_id, document_number, reference_number, revision_number, is_latest_revision, is_privileged and is_locked narrow the list; include=total_count adds total_count, the number of documents the filters match; for words in the text, tags, locations or the file use POST /documents/search with a folder facet filter.

スコープdocuments:read
非同期いいえ
MCP ツールlist_folder_documents
Portal の権限view_folder_contents, 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

パラメーター​

名前場所型必須説明
folder_idpathstring必須
include_subfoldersqueryboolean任意Also list the documents filed in the folders beneath this one.
limitqueryinteger任意既定値: 50; ≥ 1
cursorquerystring任意
sortquerystring任意Comma-separated sort fields, - for descending.
includequerystring: total_count の配列任意total_count asks for the number of items the whole list holds for the caller under the same filters (not only this page), counted under the same access rules as the items; the answer then carries total_count. Left out, it is not counted.
document_idquerystring の配列任意
document_numberquerystring の配列任意
reference_numberquerystring の配列任意
revision_numberquerystring の配列任意
is_latest_revisionqueryboolean の配列任意
is_privilegedqueryboolean の配列任意
is_privileged_is_nullqueryboolean任意
is_lockedqueryboolean の配列任意
is_locked_is_nullqueryboolean任意
Docwize-Versionheaderstring (date)任意
If-None-Matchheaderstring任意Answers 304 when the representation is unchanged (resources that publish an ETag).

応答​

ステータス説明本文
200Success.application/json object
304Not modified (If-None-Match matched the ETag).
400invalid_versionapplication/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
410cursor_expiredapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422invalid_cursor, validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

200 の本文​

フィールド型必須説明
itemsDocumentSummary の配列必須
next_cursorstring または null必須
total_countinteger任意total_count asks for the number of items the whole list holds for the caller under the same filters (not only this page), counted under the same access rules as the items; the answer then carries total_count. Left out, it is not counted. ≥ 0; ≤ 2147483647
warningsobject の配列必須

エラー​

この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。

スキーマ​

AdditionalField​

フィールド型必須説明
labelstring または null必須
valuestring または null必須

AdditionalFields​

フィールド型必須説明
additional_field_3AdditionalField必須
additional_field_4AdditionalField必須
additional_field_5AdditionalField必須
additional_field_6AdditionalField必須

DocumentSummary​

フィールド型必須説明
actual_submission_datestring または null必須
additional_fieldsAdditionalFields必須
created_atstring (date-time) または null必須
created_byUserRef または null必須
descriptionstring または null必須
document_datestring または null必須
document_idstring必須
document_numberstring または null必須
document_statusobject または null必須The status shown as Status in the Portal (lookup_actionstatus).
document_sub_typeobject または null必須
document_typeobject または null必須
duplicate_ofstring または null必須The number of the document this one duplicates (the Portal's Duplicate Of).
from_contactobject または null必須
from_organisationobject または null必須
is_latest_revisionboolean必須
is_lockedboolean必須
is_privilegedboolean必須
main_document_datestring または null必須
ownerUserRef または null必須
page_endnumber または null必須Last page of the range this document covers in its file.
page_startnumber または null必須First page of the range this document covers in its file.
post_review_statusobject または null必須
projectobject または null必須The stored project number text, with the project's ID when one matches.
project_organisationobject または null必須
reference_numberstring または null必須
relevancenumber または null必須1 is relevant (the default), 0 is irrelevant (the Portal's Irrelevant switch).
responded_withstring または null必須The reference of the document that responded to this one (the Portal's Responded With).
response_datestring または null必須
response_due_datestring または null必須
revision_numberstring または null必須
to_contactobject または null必須
to_organisationobject または null必須

UserRef​

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