Channels: stop
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
停止通过此频道观看资源。
请求
HTTP 请求
POST https://www.googleapis.com/calendar/v3/channels/stop
请求正文
在请求正文中,请按以下结构提供数据:
{
"id": string,
"resourceId": string
}
属性名称 |
值 |
说明 |
备注 |
id |
string |
用于标识此频道的 UUID 或类似的唯一字符串。 |
|
resourceId |
string |
不透明 ID,用于标识此频道中正在监控的资源。在不同的 API 版本中保持稳定。 |
|
token |
string |
传送到目标地址的任意字符串,每条通知通过此渠道传送。可选。 |
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[],[],null,["# Channels: stop\n\nStop watching resources through this channel.\n\nRequest\n-------\n\n### HTTP request\n\n```\nPOST https://www.googleapis.com/calendar/v3/channels/stop\n```\n\n### Request body\n\nIn the request body, supply data with the following structure:\n\n```text\n{\n \"id\": string,\n \"resourceId\": string\n}\n```\n\n| Property name | Value | Description | Notes |\n|---------------|----------|-------------------------------------------------------------------------------------------------------------------|-------|\n| `id` | `string` | A UUID or similar unique string that identifies this channel. | |\n| `resourceId` | `string` | An opaque ID that identifies the resource being watched on this channel. Stable across different API versions. | |\n| `token` | `string` | An arbitrary string delivered to the target address with each notification delivered over this channel. Optional. | |\n\nResponse\n--------\n\nIf successful, this method returns an empty response body."]]