cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
We're looking to hear about your experience when using Dropbox in a web browser. What parts of Dropbox feels very slow to you and takes a lot of time to get done? What are you trying to do in the Dropbox web browser when you experience slowness? Tell us right here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
1
Ask
2
Reply and help

How to list only folders

How to list only folders

keval
Explorer | Level 3

I need to list down all folder without file & recursive as well.

I use below API for that
https://api.dropboxapi.com/2/files/list_folder
'path'=>'','recursive'=>true,'include_media_info'=>true,'include_mounted_folders'=>true,'include_property_groups'=>"folder"

3 Replies 3

Re: How to list only folders

Greg-DB
Dropboxer

The Dropbox API unfortunately does not offer a way to list folders only, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.

As a workaround, you'll need to list everything and filter out the file entries client-side.

Re: How to list only folders

EthanW
Explorer | Level 3

Has there been any movement on this? It is inefficient and puts an unnecessary load on Dropbox to be pulling all files when all that some of us need in our solutions are folders.

Re: How to list only folders

Greg-DB
Dropboxer

@EthanW No, I don't have an update on this. Thanks for the feedback!

Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropboxer
  • User avatar
    EthanW Explorer | Level 3
What do Dropbox user levels mean?
Need more support?