我的应用可以通知我的Google云端硬盘文件夹中的文件更新吗? [英] Can my app be notified of file updates on my Google Drive folder?
问题描述
无论何时在我的Google云端硬盘目录(或子目录)中添加,删除或修改文件时,我都希望通知我的应用程序。 Google云端硬盘是否支持Webhooks?第三方集成的类似机制?我在API文档中找不到类似的内容。
I'd like my app to be notified whenever files are added, deleted or modified on my Google Drive directory (or subdirectory). Does Google Drive support webhooks o similar mechanisms for 3rd party integration? I couldn't find anything like that in the API docs.
预先感谢。
推荐答案
我们现在支持早期访问计划成员的推送通知。我们最近的一个博客文章宣布
We now support push notifications for early access program members. One of our recent blog posts announces this.
Google Drive API Push Notifications We also told developers about an upcoming Push Notifications system at Google IO 2012. Push Notifications will allow you to get near-instant notifications when files are modified in Google Drive. In the past you would typically have had to frequently poll the Drive API to check if files have been modified to obtain similar results, Push notifications makes this super efficient.
加入早期访问计划这里。
这篇关于我的应用可以通知我的Google云端硬盘文件夹中的文件更新吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!