java - Dropbox API ListFolder limit 2000 entries -




i found out listfolder/continue api returns 2000 entries only. , have tried recursion , while loops fetch metadata , add existing top level result.getentries() list. none of these approaches working, still see 2000 metadata entries in ultimate result.

has tried , made work in java?

each page of listfolder results, i.e., each response single call listfolder or listfoldercontinue, can contain 2,000 entries. (note number not guaranteed, should not rely on it.)

to make sure can of items in folder, need use both listfolder , listfoldercontinue, calling listfoldercontinue latest cursor when hasmore on last call true. there's working example here:

https://github.com/dropbox/dropbox-sdk-java/blob/c6aeb4bf3011e6b803eaa325ea20a52f8412ee0f/examples/tutorial/src/main/java/com/dropbox/core/examples/tutorial/main.java#l32





wiki

Comments

Popular posts from this blog

Asterisk AGI Python Script to Dialplan does not work -

python - Read npy file directly from S3 StreamingBody -

kotlin - Out-projected type in generic interface prohibits the use of metod with generic parameter -