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 Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-25 UTC。
[null,null,["最終更新日 2025-07-25 UTC。"],[],[],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."]]