cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Share your feedback on the Document Scanning Experience in the Dropbox App right 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: 

Dropbox Pagination - No way to go to previous page

Dropbox Pagination - No way to go to previous page

coderkev
Explorer | Level 3

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?

1 Accepted Solution

Accepted Solutions

DB-Des
Dropbox 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.

View solution in original post

3 Replies 3

DB-Des
Dropbox 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.

coderkev
Explorer | 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-DB
Dropbox Staff

No, Dropbox does not have plans to update the API to support reversing through paginated API responses.

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
  • User avatar
    coderkev Explorer | Level 3
  • User avatar
    DB-Des Dropbox Engineer
What do Dropbox user levels mean?