Google Drive Revisions not returning all revisions

2020-07-11 07:43发布

I am trying to write a script for analyzing changes to a Google Sheets document. When I look at the version history inside of Google Sheets I see what appears to be a complete history of the document going back to 2014. However, when I try to retrieve the history using Google Drive API (which is the only API that seems to support this, it doesn't seem to be supported in Google Sheets API directly?) I only get 226 revisions going back approximately 5 years. I have implemented support for calling iteratively using the getNextPageToken(), and I do get two chunks (one size 200 and one size 26) so I don't think it is related to this. It seems the API really only wants to present in 226 revisions. I get the same result when using Google's API explorer.

0条回答
登录 后发表回答