Forum Discussion

s1dex's avatar
s1dex
Explorer | Level 3
9 years ago
Solved

/files/list_folder question

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

  • 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.
  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff
    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.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,949 PostsLatest Activity: 2 hours ago
352 Following

If 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!