Cut the Clutter: Test Ignore Files Feature - sign up to become a beta tester here.

Forum Discussion

goservo's avatar
goservo
New member | Level 2
9 years ago

/2/files/list_folder entries list question

Greetings,

 

The /2/files/list_folder docs says  about `has_more` “If true, then there are more entries available. Pass the cursor to list_folder/continue to retrieve the rest.

 

  1. What is the max that /list_folder will return?
  2. Is there/can we have a way to indicate that we want all of them (so that we can avoid the need to complicate the app by needing to call `list_folder/continue`)?

Thanks!

1 Reply

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    9 years ago
    1. Each list_folder response generally won't be more than around 2,000 items, but that can vary, so don't rely on that number.

    2. There isn't a way to request everything in one request. The API is built this way to avoid breaking on very large folders. You'll need to make sure your app knows how to call list_folder/continue. You should store the latest cursor to then efficiently receive just the new changes over time.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.6,038 PostsLatest Activity: 13 hours ago
415 Following

The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.

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!