cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
If you’ve changed your email address, now's the perfect time to update it on your Dropbox account and we’re here to help! Learn 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: 

Re: /files/list_folder question

/files/list_folder question

s1dex
Explorer | Level 3
Go to solution

Does /files/list_folder endpoint guarantee that it will return requested folder as one of the entries?

1 Accepted Solution

Accepted Solutions

Greg-DB
Dropbox Staff
Go to solution
We don't have a documented guarantee for this, but the expected behavior is that an entry will be returned for the requested folder when recursive=True, but not for recursive=False. (The exception is that we never return an entry for the root folder "".) We behavior shouldn't change.

View solution in original post

1 Reply 1

Greg-DB
Dropbox Staff
Go to solution
We don't have a documented guarantee for this, but the expected behavior is that an entry will be returned for the requested folder when recursive=True, but not for recursive=False. (The exception is that we never return an entry for the root folder "".) We behavior shouldn't change.
Need more support?