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

List the folders the caller can see.

GET/api/v1/foldersfolders:read
注記

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

parent_folder_id lists one folder's children (parent_folder_id_is_null=true lists roots); project_id lists the folders mapped to a project and everything beneath them, and needs projects:read and View Projects.

スコープfolders:read
非同期いいえ
MCP ツールlist_folders
Portal の権限view_folders, view_folder_details
ページングkeyset
既定の並び順folder_id
並べ替えに使えるフィールドfolder_id, name
フィルターparent_folder_id, parent_folder_id_is_null, project_id

パラメーター​

名前場所型必須説明
limitqueryinteger任意既定値: 50; ≥ 1
cursorquerystring任意
sortquerystring任意Comma-separated sort fields, - for descending.
parent_folder_idquerystring の配列任意
parent_folder_id_is_nullqueryboolean任意
project_idquerystring の配列任意
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
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 の本文​

フィールド型必須説明
itemsFolder の配列必須
next_cursorstring または null必須
warningsobject の配列必須

エラー​

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

スキーマ​

Folder​

フィールド型必須説明
codestring必須
folder_idstring必須
has_childrenboolean必須Whether the folder has child folders the caller can see.
namestring必須
parent_folder_idstring または null必須null for a root folder
pathstring または null必須Current ancestor names joined by ->; null without View Folder Tree or current access to every ancestor.
projectobject または null必須The project the folder is mapped to; null when none, when the caller cannot see it, or without projects:read and View Projects.