You can't I know. From the docs,
Once you get a list of a file's revisions, you can download the content of any revision by calling the revisions.get method with the parameter alt=media. Revisions for Google Docs, Sheets, and Slides can not be downloaded.
But I'd like to download(pdf) different versions of the same Gdoc file based on date. From the Drive web app you can view versions and print them or restore a version to the head. Is there any way to achieve either using the API? Can you restore some version ? Then you could export the file.
I searched the internets, but couldn't find a way around this.
I'm using the java client api, which gives me this when I try to make a media get request.
{
"code" : 403,
"errors" : [ {
"domain" : "global",
"location" : "alt",
"locationType" : "parameter",
"message" : "Only files with binary content can be downloaded. Use Export with Google Docs files.",
"reason" : "fileNotDownloadable"
} ],
"message" : "Only files with binary content can be downloaded. Use Export with Google Docs files."
}
But I can figure it out if you can answer for any other API too.