google 日历 api - 更改 web_hook 现有推送通知渠道的地址

google calendar api - change web_hook address for an existing push notification channel

我们的网站有一个日历同步功能 google calendar using google calendar api,以及他们的 推送通知 服务。到目前为止一切顺利,用户对该功能感到满意。我们很高兴他们很高兴:)

最近我们决定在处理 google 通知的服务器中添加一个子域(出于 none 相关原因) 所以它正在从 http://example.com to http://api.example.com.

变化

问题我们无法找到替换现有用户频道域地址的方法。

有什么建议吗?

谢谢。

PS - 我知道安全问题,毕竟所有用户都授权 http://example.com and not http://api.example.com. but still we need to free http://example.com 处理其他事务。

您将不得不停止原来的并开始新的。我认为无论如何都无法更新它。它实际上记录了不可能更新它们,所以我认为根本不可能更新它们 Renewing notification channels.