We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.
Forum Discussion
PIttsburgh Menn
10 years agoNew member | Level 1
Unable to retrieve folder revisions through /metadata using rev parameter.
When I attempt to retrieve a folder's specific revision through /metadata I get back an error indicating that the rev is invalid or outdated.
The documentation is worded such that this seems to be ...
PIttsburgh Menn
10 years agoNew member | Level 1
I just did some testing with the /revisions and /restore calls. I'm getting back a path not found when trying to reference a folder.
Here is the /revisions request and response.
Request:
GET https://api.dropbox.com/1/revisions/auto/Test?rev_limit=1000 HTTP/1.1
Authorization: Bearer ___________________________
Accept: application/json, application/xml, text/json, text/x-json, text/javascript, text/xml
User-Agent: RestSharp/104.4.0.0
Host: api.dropbox.com
Accept-Encoding: gzip, deflate
Response:
HTTP/1.1 404 Not Found
Server: nginx
Date: Thu, 14 May 2015 18:13:02 GMT
Content-Type: application/json
Connection: keep-alive
Content-Length: 35
{"error": "Path '/Test' not found"}
The API is a little clearer on this one. Though it doesn't explicitly say /revisions and /restore only work with files, it does use the word file any time it references the items being retrieved rather than the usual "file or folder". From this, it appears that the Dropbox API only supports using revs with files. If this is indeed the case though, why do folders have revs that get returned? And how would you go about restoring a deleted folder?
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,876 PostsLatest Activity: 5 hours 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!