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 |
透過這個管道傳送每則通知時,傳送至目標地址的任意字串。選填。 |
|
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間: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."]]