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", CurrentPath },
{ "access_token",accessToken },
{ "rev_limit", 1000 }
},
callback: GetFilesRevisions_Results
);
Can you please help me ? Thanks in advance!