I am able to a list of revisions for a Google Doc using the below (using the google-drive3 Rust crate), which gives me the information from the "Activity" tab from a selected file in Google Drive. I would however like the detailed version history that accessed from within an opened Google Doc with file -> Version history -> See version history. As well as the information shown in Google Drive, this also show which parts of the Doc the revision relates too. Is is possible to access the data for this more detailed version history either from the the Google Drive API or the Google Docs API?
let hub = google_drive3::DriveHub::new(
google_docs1::hyper::Client::builder().build(
google_docs1::hyper_rustls::HttpsConnectorBuilder::new()
.with_native_roots()
.https_or_http()
.enable_http1()
.enable_http2()
.build(),
),
auth,
);
let activity = hub
.revisions()
.list("<document id>")
.doit()
.await;
for rev in activity.unwrap().1.revisions.unwrap() {
dbg!(rev);
}
