Hash 获取Google文档的哈希值?

Hash 获取Google文档的哈希值?,hash,google-docs,google-data-api,google-docs-api,Hash,Google Docs,Google Data Api,Google Docs Api,虽然Google文档在URL中似乎有一个唯一的ID,但我想知道是否有一种方法可以在不再次下载文档的情况下获取文档的哈希(MD5,SHA1)。有人尝试过类似的事情吗?我可以调用一些API吗?对于存储在Google文档上的文件,文档列表条目中提供了md5校验和: <!-- Given for files only. An MD5 checksum used to verify the contents of this file. --> <!-- Some old files ar

虽然Google文档在URL中似乎有一个唯一的ID,但我想知道是否有一种方法可以在不再次下载文档的情况下获取文档的哈希(MD5,SHA1)。有人尝试过类似的事情吗?我可以调用一些API吗?

对于存储在Google文档上的文件,文档列表条目中提供了md5校验和:

<!-- Given for files only. An MD5 checksum used to verify the contents of this file. -->
<!-- Some old files are being processed. Those files will not have this element yet. -->
<docs:md5Checksum>2b01142f7481c7b056c4b410d28f33cf</docs:md5Checksum>

2B01112F7481C7B056C4B410D28F33CF
对于GoogleDocs文档,您可以使用“Etag”元素检查更改