Skip to content

drive.Revisions returns incomplete list of revision Ids #1744

@FirefighterBlu3

Description

@FirefighterBlu3

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

  1. establish creds
  2. build service
  3. 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

No one assigned

    Labels

    api: driveIssues related to the Drive API API.type: questionRequest for information or clarification. Not an issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions