-
Notifications
You must be signed in to change notification settings - Fork 657
Expose Google Docs version history (revisions list/get) for diffing #672
Copy link
Copy link
Closed
Labels
P2Normal priority bug or improvement with limited blast radius.Normal priority bug or improvement with limited blast radius.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.impact:otherThis issue has meaningful maintainer-visible impact outside the owned taxonomy.This issue has meaningful maintainer-visible impact outside the owned taxonomy.issue-rating: 🌊 off-meta tidepoolIssue quality rating does not apply to this item.Issue quality rating does not apply to this item.
Description
Metadata
Metadata
Assignees
Labels
P2Normal priority bug or improvement with limited blast radius.Normal priority bug or improvement with limited blast radius.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.impact:otherThis issue has meaningful maintainer-visible impact outside the owned taxonomy.This issue has meaningful maintainer-visible impact outside the owned taxonomy.issue-rating: 🌊 off-meta tidepoolIssue quality rating does not apply to this item.Issue quality rating does not apply to this item.
Type
Fields
Priority
None yet
What I'm trying to do
Detect direct text edits a team makes to a Google Doc between two points in time (e.g. before vs after a meeting), by diffing the doc against a prior version. Comments and tracked suggestions are already accessible (
drive comments,docs rawsuggestion ids); direct edits to the body are not.Gap
There's no
gogcommand to list or fetch a Doc's version/revision history.drive revisionsdoesn't exist, anddocshas no revisions subcommand. The DriverevisionsAPI surface is limited for native Docs, butdocs rawalready proves gog can reach the lossless Docs API.Request
A
gog docs revisions list <docId>andgog docs revisions get <docId> <revisionId>(or an--at <revisionId>flag ondocs export/docs raw) that returns enough granularity to reconstruct or diff a prior version of the body, ideally exportable to txt/md so a caller can diff two versions.Why it matters
Enables "what changed in this doc since X" workflows (meeting-note reconciliation, audit trails) without scraping or guessing.
Version: v0.17.0 (aee7460)