Google Drive Sdk Not Returning Headrevisionid For Google Docs Format
I have been working on google drive sync mechanism. I am using Google Drive Python SDK for it. The issue i am having is that the google SDK does not return headRevisionId is file r
Solution 1:
I'm seeing the same behavior, despite messages indicating the issue was addressed: Head revision not working as intended for Google Docs formats.
For now the way I retrieve headRevisionId on a Google Doc is to make a separate call to list revisions (drive.revisions.list) on the fileId.
Details on managing revisions: https://developers.google.com/drive/manage-revisions
Solution 2:
According to this page this is how it is currently meant to work.
#head_revision_id ⇒ String
The ID of the file's head revision. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
Post a Comment for "Google Drive Sdk Not Returning Headrevisionid For Google Docs Format"