cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox 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: 

/2/files/list_folder entries list question

/2/files/list_folder entries list question

goservo
New member | Level 2

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 1

Greg-DB
Dropbox Staff
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.
Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?