List Folders
List a team's folders of a given item_type as a flat list (use parent_folder_id to reconstruct the tree).
Request
- Base URLhttps://public.api.serval.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
The ID of the team.
Types of items that can appear in folder contents.
The non-folder item type of folders to list. Required — folders are scoped per type, and FOLDER_ITEM_TYPE_UNSPECIFIED and FOLDER_ITEM_TYPE_FOLDER are rejected.
Optional. When set, return only the direct children of this folder. When unset, return all folders of the given type for the team (a flat list; use parent_folder_id to reconstruct the tree).
Maximum number of results to return. Default is 1000, maximum is 2000. When neither page_size nor page_token is set, all results are returned.
Token for pagination. Leave empty for the first request.
Response
Success
Changes
No recorded changes to this operation across all 1 revision of this API.