How to change the date the file was last modified

How to change the date the file was last modified using the Api document list? Is it possible? Google Drive client does it somehow!

+3
source share
3 answers

Bu, changing the contents of a file, the last modified date should be changed automatically.

Do you have a problem with this?

0
source

Try using files.touch

Set the file update time to the current server time.

POST https://www.googleapis.com/drive/v2/files/fileId/touch
0
source

touch,

0

All Articles