Commit 9cdb264dfca9698d79238784fc14bd3be1aa1272
1 parent
ac99c53e
update
Showing
1 changed file
with
4 additions
and
2 deletions
01.点播云/2.4.1 视频上传鉴权接口4APP.md
| 1 | -### 金山短视频上传鉴权接口 | |
| 1 | +### 短视频上传鉴权接口 | |
| 2 | 2 | ----- |
| 3 | -#### URL: http://api.cnlive.com/open/api2/vod_epg/getKs3AuthForApp | |
| 3 | +#### URL: http://api.cnlive.com/open/api2/vod_epg/getUploadAuthForApp | |
| 4 | 4 | ----- |
| 5 | 5 | #### 接口说明: 金山短视频上传鉴权接口 |
| 6 | 6 | ----- |
| ... | ... | @@ -18,6 +18,7 @@ |
| 18 | 18 | | res| string | true | 文件资源 | |
| 19 | 19 | | headers | String | false | 头文件信息 | |
| 20 | 20 | | date | String | false | 格林威治时间('D, d M Y H:i:s \G\M\T') | |
| 21 | +| storageType | int | false | 存储类型1 金山,2 七牛| | |
| 21 | 22 | |platform_id| string | true | APP bundleID 或者是包名,平台鉴权使用 | |
| 22 | 23 | |timestamp| int | true | 精确到秒,当前Unix时间戳,请保证请求服务器时间正确 | |
| 23 | 24 | |sign| String | true | 签名规则见 [签名详情] (http://bj.gitlab.cnlive.com/OPEN-API/WIKI/blob/master/00.%E5%85%AC%E5%85%B1%E7%BB%84%E4%BB%B6/1.1%20SHA1%E7%AD%BE%E5%90%8D.md) | |
| ... | ... | @@ -31,6 +32,7 @@ json |
| 31 | 32 | "data":"{ |
| 32 | 33 | "Authorization":"KSS AKLTrH0TBf1hQT23_BL3n1jvJ:wHPmi5f84s4FXqLL/HjtZgUWDio=", |
| 33 | 34 | "Date":"Tue,27 Jun 2017 07:35:32 GMT" |
| 35 | + "token":"" | |
| 34 | 36 | |
| 35 | 37 | }" |
| 36 | 38 | } | ... | ... |