We Want to Hear From You! What Do You Want to See on the Community? Tell us here!

Forum Discussion

NielsG's avatar
NielsG
New member | Level 2
7 years ago

Dropbox and Bulk Restores

Has anyone figured out how to use the API to list all events for a given dropbox? 

 

Finding specific ones in the past to ask support for help with them is problematic, as after a year back, you have to manually change the URL for each date to see what events occurred on a given day.

 

And with Packrat, all deletes should be protected, so the task is finding a list of events that touched a given file (or mask like *.jpg) so all events that touched any photos can be found and potentially reversed.

 

https://www.dropbox.com/events?date=1-7-2018 works for ONE date. I have tried CURL but it doesn't work cleanly.

 

You can try https://www.dropbox.com/events?date=1-7-2010 say, if you want to go back that far (I think before Dropbox in that example) or any others. Date range in curl would use say https://www.dropbox.com/events?date=[1-33]-[1-12]-[2012-2018] should match every date from 1/1/2012 to 12/31/2018 (with errors for months with fewer than 31 days... I know, could do multiple calls to match number of days in each month properly, or just discard the errors).

 

The output I'd like to see if a CSV/XML/JSON of Events and Effected Files. This has to be an issue for forensics investigators as well, especially for business accounts with insider threats.

 

Dropbox's APIs are pretty useful, but this is one case where it leaves a lot to be desired.

 

Thanks for reading, I look forward to comments and rants ;-)

 

N

 

 

1 Reply

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    7 years ago
    The Dropbox API doesn't offer a way to list/retrieve events like this unfortunately, but I'll pass this along as a feature request.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.6,034 PostsLatest Activity: 40 minutes ago
409 Following

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 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!