Read the values at one level of a virtual folder.
POST/api/v1/virtual-folders/{virtual_folder_id}/querydataviews:run
注記
このページの操作の説明は、API の OpenAPI 文書のとおり英語で記載しています。
The distinct values of the folder's column at level, under the values picked at the levels above (parent_values, outermost first; an empty text skips a level), as the Folder Views tree opens a node. Read-only. Needs View Folder Views and access to the folder's dataview (403 otherwise); an unknown folder or a level beyond the folder's levels answers no values.
| スコープ | dataviews:run |
| 非同期 | いいえ |
| MCP ツール | query_virtual_folder |
| Portal の権限 | view_folder_views |
パラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|---|---|---|---|
virtual_folder_id | path | string | 必須 | |
Docwize-Version | header | string (date) | 任意 |
リクエスト本文
| Content-Type | 型 |
|---|---|
application/json | VirtualFolderQueryInput |
応答
| ステータス | 説明 | 本文 |
|---|---|---|
200 | Success. | application/json VirtualFolderValues |
400 | invalid_version, malformed_json | 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 |
413 | payload_too_large | application/problem+json Problem |
415 | unsupported_media_type | application/problem+json Problem |
421 | wrong_region | application/problem+json Problem |
422 | 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 |
エラー
この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。
スキーマ
VirtualFolderQueryInput
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
level | integer | 必須 | The level to read, 0 for the outermost (an index into the folder's levels). ≥ -2147483648; ≤ 2147483647 |
parent_values | string の配列 | 任意 | The values picked at the levels above, outermost first; an empty text skips that level. Leave it out for level 0. |
VirtualFolderValues
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
level | integer | 必須 | ≥ -2147483648; ≤ 2147483647 |
values | string または null の配列 | 必須 | The distinct values at the level, in the folder's order; empty when the level does not exist or the dataview is gone. |
virtual_folder_id | string | 必須 |