List Folder
Authentication
App-level OAuth 2.0 token (no user context). Use Authorization: Bearer <token>.
Obtain by calling the token endpoint with grant_type=client_credentials.
Only available on endpoints that declare app auth support.
Headers
Acts on behalf of a team member for supported user-auth operations. Pass a team member ID such as dbmid:.... When used with a team token, that token must also include the team_data.member scope.
Acts as the specified team admin for supported user-auth operations. Pass a team member ID for an admin account. When used with a team token, that token must also include the team_data.member scope.
Request
If set to a valid list of template IDs, FileMetadata.property_groups
is set if there exists property data associated with the file and each of the
listed templates.
The maximum number of results to return per request. Note: This is an approximate number and there can be slightly more entries returned in some cases.
If true, the list folder operation will be applied recursively to all subfolders and the response will contain
contents of all subfolders. In some cases, setting ListFolderArg.recursive to true may lead to
performance issues or errors, especially when traversing folder structures with a large number of items.
A workaround for such cases is to set ListFolderArg.recursive to false and traverse subfolders one at a time.
If true, FileMetadata.media_info is set for photo and video. This parameter will no longer have an effect starting December 2, 2019.
Response headers
Response
Pass the cursor into list_folder/continue to see what’s changed in the folder since your previous query.
The files and (direct) subfolders in the folder.
If true, then there are more entries available. Pass the cursor to list_folder/continue to retrieve the rest.