We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
Dipak pote
10 years agoNew member | Level 1
How to get actual Version(revision) number of file containing multiple versions?
I have used "/revisions" to get the all version of file.But I am not getting actual versions of file by sequentially (getting it randomly like 1,4,11,15)
Please see the below response of file containing 2 version.
For this I expecting 1,2
[
{
"revision": 4,
"rev": "40000000d",
"thumb_exists": false,
"bytes": 0,
"modified": "Wed, 20 Jul 2011 22:41:09 +0000",
"path": "/hi2",
"is_dir": false,
"icon": "page_white",
"root": "app_folder",
"mime_type": "application/octet-stream",
"size": "0 bytes"
},
{
"revision": 1,
"rev": "10000000d",
"thumb_exists": false,
"bytes": 3,
"modified": "Wed, 20 Jul 2011 22:40:43 +0000",
"path": "/hi2",
"is_dir": false,
"icon": "page_white",
"root": "app_folder",
"mime_type": "application/octet-stream",
"size": "3 bytes"
}
]
Here is my sample code:
OAuthUtility.GetAsync
(
"https://api.dropboxapi.com/1/revisions/auto/",
new HttpParameterCollection
{
{ "path", this.CurrentPath },
{ "access_token",accessToken },
{ "rev_limit", 1000 }
},
callback: GetFilesRevisions_Results
);
Can you please help me ?
Thanks in advance!1 Reply
Replies have been turned off for this discussion
- Greg-DB10 years ago
Dropbox Community Moderator
[Cross-linking for reference: https://stackoverflow.com/questions/34415945/how-to-get-actual-versionrevision-number-of-file-containing-multiple-versions ]
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!