cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Are you new to Dropbox? Our Newcomers group is the perfect place to learn the basics, find out more 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: 

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

Greg-DB
Dropbox Staff

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.

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.

Greg-DB
Dropbox Staff

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

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
  • User avatar
    EthanW Explorer | Level 3
What do Dropbox user levels mean?