How to update the google drive file by adding a revision instead of replacing the file?

Discuss new features and functions
delicadiesel
Posts: 1
Joined: 30 Jul 2020

Post by delicadiesel

When I update the file in my google drive, FreeFileSync will delete or move the old file and upload a new file.
But, the new file ID is different from the old one.
This will make that the shared link of the file must be changed.
It will be very inconvenient for me.

I found this function in Google Drive API.
https://developers.google.com/drive/api/v3/reference/revisions

Can I update the google drive file by adding a revision instead of replacing the file so that keeping ID the same?