更新收藏接口
URL: http://uc.cnlive.com/my/updateMyCollectionV2.action?spId=xxx&token=xxx
请求方式: HTTP POST
返回格式: JSON
版本:互动电视5.3开始
请求参数说明:
| 参数名 | 参数类型 | 必选 | 参数说明 |
|---|---|---|---|
| spId | String | true | 服务提供商 |
| token | String | true | 参数加密串 |
| ----plat | String | true | 客户端平台 |
| ----sid | Integer | true | 用户ID |
| ----action | String | true | addOrDel(=更新)、add(=新增)、del(=删除) |
| ----docID | String | true | 可提供多个id,用__(双下划线)分割 |
| ----type | String | false | 更新时的视频类型,多个时用__(双下划线)分割,删除时可不传;program 普通视频;series 剧集;album 专辑;ivod 点播互动;live 直播;freeview 多路流;itv 卫视互动;ilive 虚拟互动; |
返回格式说明:
{
"errorCode": "0",
"errorMsg": "更新成功"
}
{
"errorCode": "1", //非0表示失败
"errorMsg": "更新失败"
}