I'm looking at the API documentation for /revisions, and it seems like it's missing a really obvious use case: finding the single revision closest to the specified date (or, the two revisions closest to the specified date on either side—that is, the latest revision before the specified date and the earliest revision after the specified date).
Suppose I knew I wanted to restore a file to the state it was on 2015-05-02 22:32 GMT. The only practical way to go about this is to fetch an increasingly large number of revisions with /revision (starting with 10, then 100, then 1000) until the oldest one is after the required date. That's a heck of a lot of work on Dropbox's end and a lot of bandwidth spent transferring data which is mostly useless to me, since I'm only looking for one or two revisions. And that might actually still be a failure, if there have been more than 1000 revisions since the date I'm trying to restore to.
Unless there's some better way to do that which I've missed, I'd like to suggest a new endpoint called, say, find_revision, which takes a path, a date, and a bool "after," and returns the revision number for the specified file for the revision closest to that date. If after is true, it looks for the closest revision after the specified date, otherwise it looks for the closest revision equal to or before. (Alternatively, you could simplify it to return both revisions, if they exist, and not bother with the additional bool param.)
Relatedly, though I don't actually need it myself, it might be useful for some developers to have an endpoint that takes a path and a revision number and returns the previous and next valid revision numbers.