2.7 SP短视频列表接口4APP.md
1.47 KB
金山短视频SP列表接口
URL: http://api.cnlive.com/open/api2/vod_epg/sp/shortVideoList4APP
接口说明: 根据appId 返回:sp下的短视频列表
请求方式: HTTP GET
返回格式: 200
请求参数说明:
| 参数名 | 参数类型 | 必选 | 参数说明 |
|---|---|---|---|
| appId | string | true | APPID |
| userId | string | true | 用户标识 |
| page | int | true | 第几页的页码 |
| pageSize | int | true | 返回的每页数据数量 |
| platform_id | string | true | APP bundleID 或者是包名,平台鉴权使用 |
| timestamp | int | true | 精确到秒,当前Unix时间戳,请保证请求服务器时间正确 |
| sign | String | true | 签名规则见 签名详情 |
json
{
"errorMessage": "获取成功",
"errorCode": "0",
"data":"{
"previous_cursor":"0",
"total_number": "10",
"next_cursor": "0",
"list":[{
"description":"",
"name":"test.mp4",
"picKey":"http://testwideo.cnlive.com/svpic/60/2017/0718/60_a3d418b251524f2389676ecdfd2252c8.jpg",
"status":"2",
"videoId":"60_a3d418b251524f2389676ecdfd2252c8",
"createTime":"",
"isHorizontalScreen":"",
"type":"shortVideo",
},.....]}"
}