Commit 89fd06c9e501ad342b12d7bee732f70add1bb18d
1 parent
d1ea57b1
短视频SP回调接口
Showing
1 changed file
with
42 additions
and
0 deletions
01.点播云/2.8 短视频上传SP回调接口
0 → 100644
| 1 | +### 金山短视频上传修改状态接口 | |
| 2 | +----- | |
| 3 | +#### URL: http://api.cnlive.com/open/api2/vod_epg/sp/shortVideoList4APP | |
| 4 | +----- | |
| 5 | +#### 接口说明: 根据appId 返回:sp下的短视频列表 | |
| 6 | +----- | |
| 7 | +#### 请求方式: HTTP GET | |
| 8 | +----- | |
| 9 | +#### 返回格式: 200 | |
| 10 | +----- | |
| 11 | +#### 请求参数说明: | |
| 12 | +| 参数名 | 参数类型 | 必选 | 参数说明 | | |
| 13 | +| :----------- | :------: | :------: | :------: | | |
| 14 | +| appId | string | true | APPID | | |
| 15 | +| page | int | true | 第几页的页码 | | |
| 16 | +| pageSize | int | true | 返回的每页数据数量 | | |
| 17 | +|platform_id| string | true | APP bundleID 或者是包名,平台鉴权使用 | | |
| 18 | +|timestamp| int | true | 精确到秒,当前Unix时间戳,请保证请求服务器时间正确 | | |
| 19 | +|sign| String | true | 签名规则见 [签名详情] (http://help.open.cnlive.com/common.html) | | |
| 20 | + | |
| 21 | +json | |
| 22 | + | |
| 23 | +```json | |
| 24 | +{ | |
| 25 | + "errorMessage": "获取成功", | |
| 26 | + "errorCode": "0", | |
| 27 | + "data":"{ | |
| 28 | + "list":[{ | |
| 29 | + "appId":"60_j4rzqads62", | |
| 30 | + "createTime":"1499319699000", | |
| 31 | + "description":"", | |
| 32 | + "id":"204", | |
| 33 | + "md5":"f43945e0002d4e97a16721af48ddfe3d", | |
| 34 | + "name":"test.mp4", | |
| 35 | + "path":"ugcVS/60/2017/0706/60_a3d418b251524f2389676ecdfd2252c8.mp4", | |
| 36 | + "spId":"60", | |
| 37 | + "status":"2", | |
| 38 | + "updateTime":"1499319700000", | |
| 39 | + "videoId":"60_a3d418b251524f2389676ecdfd2252c8" | |
| 40 | + },.....]}" | |
| 41 | +} | |
| 42 | +``` | |
| 0 | 43 | \ No newline at end of file | ... | ... |