如何使用 API 检查我的 google 驱动器中的特定文件(由文件 ID 标识)是否已修改?
How do I check whether a particular File(identified by fileID) in my google drive using API whether its modified or not?
如何使用 API 检查我的 google 驱动器中的特定文件(由文件 ID 标识)是否已修改??
我会做一个file.get which will return the file.resource
文件资源包含大量关于文件的信息。
version long A monotonically increasing version number for the file.
This reflects every change made to the file on the server, even those
not visible to the user.
modifiedTime datetime The last time the file was modified by anyone
(RFC 3339 date-time). Note that setting modifiedTime will also update
modifiedByMeTime for the user.
还有很多。我想这将取决于您如何定义修改。你最后一次在某个地方修改它时存储了吗?您是否只想查看自您上次更改后是否有其他人更改过它?
如何使用 API 检查我的 google 驱动器中的特定文件(由文件 ID 标识)是否已修改??
我会做一个file.get which will return the file.resource
文件资源包含大量关于文件的信息。
version long A monotonically increasing version number for the file. This reflects every change made to the file on the server, even those not visible to the user.
modifiedTime datetime The last time the file was modified by anyone (RFC 3339 date-time). Note that setting modifiedTime will also update modifiedByMeTime for the user.
还有很多。我想这将取决于您如何定义修改。你最后一次在某个地方修改它时存储了吗?您是否只想查看自您上次更改后是否有其他人更改过它?