DroidOS
DroidOS

Reputation: 8880

Dropbox API list_folder functions

The Dropbox API provides two functions to list the contents of a folder

with both returning a has_more:true when the listing has not yet been completed. I created 1000 dummy files in my Dropbox apps folder and tested them out. Even with that many files the full listing was returned by the list_folders function. That is not a problem. However, I would like to know when, i.e at what sort of file count, has_more:true will occur. I hope that someone here will have the answer


With 5010 files I had have_more set two times. The file counts were 2000, 2000 and 1010

Upvotes: 0

Views: 731

Answers (1)

user94559
user94559

Reputation: 60143

A lot of factors control when you'll get a partial result with has_more:true. If you just want to trigger it for testing purposes, just try more files. (I'd guess that by, say, 5000 you'll trigger it.)

In your production app, you should just be ready to handle it at any time, since there are no guarantees about when it will happen.

Upvotes: 1

Related Questions