We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
jamesheck
7 years agoExplorer | Level 3
list orderby api
https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder wheres the orderby parameter to sort the results ?!!!
jamesheck
7 years agoExplorer | Level 3
about the "client-side"
what if a list of 30k file and i just want to get the latest 3 files starting with "z" letter
your suggest is: get the full list to get 3 files!!!
by order i can do
orderby: name
sort: des
limit: 3
= done
Greg-DB
Dropbox Community Moderator
7 years agoThat's correct. Note however that you don't need to re-list everything each time though. Once you retrieve the full listing, you can continue to store and re-use the latest cursor you receive by calling /2/files/list_folder/continue, which will return only what's changed since you received that cursor. Follow the instructions in the /2/files/list_folder documentation to process those entries into the existing state.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
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, Facebook or Instagram.
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!