0
votes

I am required to provide revision-revert functionality for Google Drive Spreadsheet (Without losing revision history).

As far as v4 SpreadSheet API doesn't have revision functionality. I am trying to use Google Drive API. I can successfully get revisions list with this API and get the specific revision.

But I can't find a way to roll back file on the target revision. Is there the way to do this using Google API calls?

1

1 Answers

0
votes

Revisions.list is used to get the versions list. To actually go to the version, use revisions.get. You will be asked to provide a revisionId (which you obtained from revisions.list).

You can use Try-it to do that.