Skip to main content

List the virtual folders (Folder Views).

GET/api/v1/virtual-foldersdataviews:read

The roots of the explorer's Folder Views tab: each groups the rows of a dataview you can open by an ordered list of its columns. Needs View Folder Views. Read a level's values with query_virtual_folder.

Scopedataviews:read
AsynchronousNo
MCP toollist_virtual_folders
Portal permissionsview_folder_views
Pagingkeyset
Default ordervirtual_folder_id
Sort fieldsvirtual_folder_id

Parameters​

NameInTypeRequiredDescription
limitqueryintegerOptionalDefault: 50; ≥ 1
cursorquerystringOptional
sortquerystringOptionalComma-separated sort fields, - for descending.
Docwize-Versionheaderstring (date)Optional
If-None-MatchheaderstringOptionalAnswers 304 when the representation is unchanged (resources that publish an ETag).

Responses​

StatusDescriptionBody
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 body​

FieldTypeRequiredDescription
itemsarray of VirtualFolderRequired
next_cursorstring or nullRequired
warningsarray of objectRequired

Errors​

The problem codes this operation can answer with. Each code links to its page.

Schemas​

VirtualFolder​

FieldTypeRequiredDescription
dataview_idstring or nullRequiredThe dataview whose rows the folder groups; the caller can open it.
levelsarray of stringRequiredThe dataview columns the folder groups by, outermost level first. level 0 of query_virtual_folder is the first.
namestring or nullRequired
sort_columnstring or nullRequiredThe column the first level is ordered by; null orders it by its own value.
sort_directionstring or nullRequiredasc or desc; null when there is no sort column.
virtual_folder_idstringRequired