Commit c3fd4ed609b3ae257642715c1743adefe261b686

Authored by 刘炯
1 parent f03d9c94

3

01.点播云/2.7 SP短视频列表接口4APP.md
1 -### 金山短视频上传修改状态接口 1 +### 金山短视频SP列表接口
2 ----- 2 -----
3 -#### URL: http://api.cnlive.com/open/api2/vod_epg/updateUgcUploadForApp 3 +#### URL: http://api.cnlive.com/open/api2/vod_epg/sp/shortVideoList4APP
4 ----- 4 -----
5 -#### 接口说明: 金山短视频上传修改状态,以及video ,videoAssistant 数据修改 5 +#### 接口说明: 根据appId 返回:sp下的短视频列表
6 ----- 6 -----
7 -#### 请求方式: HTTP POST 7 +#### 请求方式: HTTP GET
8 ----- 8 -----
9 #### 返回格式: 200 9 #### 返回格式: 200
10 ----- 10 -----
11 #### 请求参数说明: 11 #### 请求参数说明:
12 | 参数名 | 参数类型 | 必选 | 参数说明 | 12 | 参数名 | 参数类型 | 必选 | 参数说明 |
13 | :----------- | :------: | :------: | :------: | 13 | :----------- | :------: | :------: | :------: |
14 -| videoId | string | true | video ID |  
15 -| appId | string | true | APPID |  
16 -| status | int | true | 视频状态:-1数据异常;0初始化;1上传中;2.上传完成;3.上传失败 | 14 +| appId | string | true | APPID |
  15 +| page | int | true | 第几页的页码 |
  16 +| pageSize | int | true | 返回的每页数据数量 |
17 |platform_id| string | true | APP bundleID 或者是包名,平台鉴权使用 | 17 |platform_id| string | true | APP bundleID 或者是包名,平台鉴权使用 |
18 |timestamp| int | true | 精确到秒,当前Unix时间戳,请保证请求服务器时间正确 | 18 |timestamp| int | true | 精确到秒,当前Unix时间戳,请保证请求服务器时间正确 |
19 |sign| String | true | 签名规则见 [签名详情] (http://help.open.cnlive.com/common.html) | 19 |sign| String | true | 签名规则见 [签名详情] (http://help.open.cnlive.com/common.html) |
@@ -22,7 +22,21 @@ json @@ -22,7 +22,21 @@ json
22 22
23 ```json 23 ```json
24 { 24 {
25 - "errorMessage": "数据保存成功",  
26 - "errorCode": "0" 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 + },.....]}"
27 } 41 }
28 ``` 42 ```
29 \ No newline at end of file 43 \ No newline at end of file