Download a specific revision of a file in google drive api

后端 未结 1 2067
囚心锁ツ
囚心锁ツ 2021-01-16 09:08

I can download specific file by its iD,

  1. get the downloadUrl
  2. Download the content using get.

But I am not able to find anything which i

相关标签:
1条回答
  • 2021-01-16 09:36

    If you user the Revisions part of the Drive API, you get get a list of revisions for a given document. Each revision comes with either an "ExportLinks" list, containing links with different export formats, or a downloadUrl (for non-Google files).

    Using these, you can download a specific revision.

    0 讨论(0)
提交回复
热议问题