目录

删除订阅变更

请求

HTTP请求

POST
https://drive.cloud.hicloud.com/drive/v1/channels/stop

参数

参数名数据类型
描述
quotaIdstringquery用户标识,小于40个字符。用于限制单个用户的API访问数量。
callbackstringqueryJSONP的callback函数。
x-hw-trace-idstringheader业务跟踪id。
x-hw-app-idstringheader应用的appid。
versionstringheadersdk版本。
x-hw-terminalstringheader终端型号。
x-hw-osstringheader终端操作系统类型。
unionIDstringheader开放的用户id。
User-Agentstringheader应用版本号/appid。

请求体

在请求正文中,提供具有以下结构的数据:

参数名参数类型描述
categorystring必填,资源类型,固定值为api#channel。
idstring必填,ID。
resourceIdstring必填,资源ID,标识通道上正在监视的资源。
resourceUristring资源版本标识符。
userTokenstring发送消息通知时,回传给业务。
expirationTimeinteger通道的到期的日期和时间,以Unix时间戳表示,以毫秒为单位,File资源最长1天,Change资源最长1周。
typestring类型。
urlstring回调地址。

响应

如果成功,此方法将返回204状态码。