You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
coderkev
2 years agoExplorer | Level 3
Dropbox Pagination - No way to go to previous page
I am using /list_folders and /list_folders/continue to create a paginated file gallery in my Web application.
I want to make any page in this gallery shareable, for example I want to share page 3 of the gallery with someone.
To achieve this you can put the cursor from the list_folder endpoints in the URL so the person you shared the link with sees the same page. However, they will only be able to go the next page when the load that link and not the previous page.
How can I achieve forward AND back pagination on shared link that doesn't start on the first page?
Hi there!
Pagination with the Dropbox API only goes forward. You may want to have your application process all the results first and then use that data as needed in your application.
- DB-DesDropbox Engineer
Hi there!
Pagination with the Dropbox API only goes forward. You may want to have your application process all the results first and then use that data as needed in your application.
- coderkevExplorer | Level 3
Are there any plans in your roadmap to allow it to go backward? Processing all results at once sounds like it could create issues. May have to create a database collection of our own just to track cursors..
- Greg-DBDropbox Staff
No, Dropbox does not have plans to update the API to support reversing through paginated API responses.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,915 PostsLatest Activity: 21 minutes agoIf 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!