You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
Naga Abhinaya T
8 years agoExplorer | Level 4
Get List of folders
Hi,
I am using dropbox V2 rest apis for my application. I have an usecase to be resolved. There is an api to list all the files and folders within the given folder path. Is there a way to retri...
- 8 years agoNo, the API doesn't offer the ability to filter to folders only, but I'll pass this along as a feature request.
Greg-DB
8 years agoDropbox Staff
No, the API doesn't offer the ability to filter to folders only, but I'll pass this along as a feature request.
- Naga Abhinaya T8 years agoExplorer | Level 4
Thanks Greg!
- RRhilary7 years agoNew member | Level 2
ability to report / list the folder structure's across our shared dropbox environment is sadly missing, it will take someone days to manually document our current shared structure - any plans to get this in place would be hugely relevant to companies adopting dropbox across their teams
thanks
- Greg-DB7 years agoDropbox Staff
Thanks for the feedback! I don't have an update on this feature request, but I'll be sure to add your message to it.
Just to be clear though, while the Dropbox API doesn't offer a way to filter to folders on the server, but you can still programmatically list everything and apply that filtering client-side. To do so, you would use /2/files/list_folder[/continue] with recursive=true, and filter down to folder entries only:
https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder
https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder-continue
- yatin_manchanda12 months agoExplorer | Level 4
Hi Greg-DB , I had the same question and wanted to confirm if this still applies, or is there some way to list only subfolders?
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,915 PostsLatest Activity: 5 hours agoIf you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!