首页 > 解决方案 > Google Drive - push notifications content update - download

问题描述

I have an application where user stores files (on the server) and on it's own google drive. I would like to reflect document changes from drive to server files. The only way of achieving this I could think of is using push notifications api for drive files and if type of notification is content update to download and replace file on server side. Is there a better way of achieving this, since notifications are being received often (almost for each letter typed) and downloading file every second doesn't seem like optimal solution.

标签: javagoogle-drive-apigoogle-docsgoogle-docs-api

解决方案


有很多方法可以处理这个...

  1. 您可以每分钟轮询 Google Drive 服务器的状态。找出发生了什么变化并下载它。可以提供帮助。
  2. 您也可以使用现有工具其他工具来解决此问题。

推荐阅读