Channels: stop
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Przestań oglądać zasoby na tym kanale.
Żądanie
Żądanie HTTP
POST https://www.googleapis.com/calendar/v3/channels/stop
Treść żądania
Dane w treści żądania podaj w następującej strukturze:
{
"id": string,
"resourceId": string
}
Nazwa usługi |
Wartość |
Opis |
Uwagi |
id |
string |
identyfikator UUID lub podobny, unikalny ciąg znaków identyfikujący ten kanał; |
|
resourceId |
string |
Nieprzejrzysty identyfikator określający zasób oglądany na tym kanale. Stabilny w różnych wersjach interfejsu API. |
|
token |
string |
Dowolny ciąg znaków dostarczany na adres docelowy wraz z każdym powiadomieniem przesłanym przez ten kanał. Opcjonalnie: |
|
Odpowiedź
Jeśli operacja się uda, ta metoda zwróci pustą treść odpowiedzi.
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-25 UTC.
[null,null,["Ostatnia aktualizacja: 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."]]