Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
Patrik H.
9 years agoExplorer | Level 4
list_revisions and file deletion information
Dear Dropboxers,
In API v1, the list of revisions for a file included information that seems to missing in the new API v2.
Specifically:
A. In the old API, if a while was created, t...
- 9 years agoHi Patrik, thanks for the detailed post. Your description of the current state of the revisions functionality in API v2 is accurate. I'm sending this along to the team to see if we can improve this in API v2 in the future, but I can't make any promises or offer a timeline.
iNeil
Dropbox Community Moderator
6 months agoHi Patrik H.
There has been a recent enhancement to the Dropbox API’s /2/files/list_revisions endpoint that may be helpful for your implementation. The endpoint now supports two new capabilities:
- before_rev (optional request parameter): This allows you to request revisions that occurred before a specific revision ID. It can be set using the rev of the last entry from a previous response. Currently it is only supported when using path mode in your request.
- has_more (response field): This boolean indicates whether additional revisions are available. If true, you can continue retrieving older revisions by making another call with the before_rev request parameter. If false, it means all available revisions have been returned, and there are no more entries to fetch.
These updates have improved the pagination functionality for file revision history. However, this functionality is not yet available in the Dropbox SDKs. To use the new capabilities, you’ll need to make direct HTTP requests to the /2/files/list_revisions endpoint.
If you have any questions, please don’t hesitate to reach out to us.
Best regards,
API Support Team
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!