-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Open
Labels
api: driveIssues related to the Drive API API.Issues related to the Drive API API.type: questionRequest for information or clarification. Not an issue.Request for information or clarification. Not an issue.
Description
Environment details
- OS type and version:
- Arch Linux
- Python version:
python --version
- 3.10.1
- pip version:
pip --version
- 22.0.4
google-api-python-client
version:pip show google-api-python-client
- 2.42.0
Steps to reproduce
- establish creds
- build service
- request revisions list
Code example
service = build('drive', 'v3', credentials=creds)
data = service.revisions().list(fileId=id, pageSize=100, fields="nextPageToken, revisions(id, modifiedTime)").execute()
The resulting list is roughly 35 items long. As it is an actively edited sheet, 1 or more times per day, I expected hundreds of revisions. As I have been writing this report, the original starting Id and ending Id have changed. The revision list should have gone back to June of last year. Instead, the revision modifiedTime timestamps only go back 3 weeks.
I can see the full revision history in the document itself.
Metadata
Metadata
Assignees
Labels
api: driveIssues related to the Drive API API.Issues related to the Drive API API.type: questionRequest for information or clarification. Not an issue.Request for information or clarification. Not an issue.