Stop watching resources through this channel
Request
HTTP request
POST https://www.googleapis.com/drive/v3/channels/stop
Request body
In the request body, supply data with the following structure:
{ "kind": "api#channel", "id": string, "resourceId": string, "resourceUri": string, "token": string, "expiration": long, "type": string, "address": string, "payload": boolean, "params": { (key): string } }
Property name | Value | Description | Notes |
---|---|---|---|
kind |
string |
Identifies this as a notification channel used to watch for changes to a resource, which is "api#channel ". |
|
id |
string |
A UUID or similar unique string that identifies this channel. | |
resourceId |
string |
An opaque ID that identifies the resource being watched on this channel. Stable across different API versions. | |
resourceUri |
string |
A version-specific identifier for the watched resource. | |
token |
string |
An arbitrary string delivered to the target address with each notification delivered over this channel. Optional. | |
expiration |
long |
Date and time of notification channel expiration, expressed as a Unix timestamp, in milliseconds. Optional. | |
type |
string |
The type of delivery mechanism used for this channel. Valid values are "web_hook " (or "webhook "). Both values refer to a channel where Http requests are used to deliver messages. |
|
address |
string |
The address where notifications are delivered for this channel. | |
payload |
boolean |
A Boolean value to indicate whether payload is wanted. Optional. | |
params |
object |
Additional parameters controlling delivery channel behavior. Optional. | |
params.(key) |
string |
Declares a new parameter by name. |
Response
If successful, this method returns an empty response body.