Commit 205f1a809057ae8ee4f2bb76ea7eae36b41d069b
1 parent
9cb9f59e
金山短视频上传鉴权接口
Showing
1 changed file
with
23 additions
and
6 deletions
01.点播云/2.4 金山短视频上传鉴权接口4APP.md
| 1 | ### 替换点播视频源地址接口 | 1 | ### 替换点播视频源地址接口 |
| 2 | ----- | 2 | ----- |
| 3 | -#### URL: http://api.cnlive.com/open/api2/vod_ips/change/playUrl | 3 | +#### URL: http://api.cnlive.com/open/api2/vod_epg/vod/getKs3AuthForApp |
| 4 | ----- | 4 | ----- |
| 5 | #### 接口说明: 替换点播视频源地址 | 5 | #### 接口说明: 替换点播视频源地址 |
| 6 | ----- | 6 | ----- |
| @@ -11,8 +11,25 @@ | @@ -11,8 +11,25 @@ | ||
| 11 | #### 请求参数说明: | 11 | #### 请求参数说明: |
| 12 | | 参数名 | 参数类型 | 必选 | 参数说明 | | 12 | | 参数名 | 参数类型 | 必选 | 参数说明 | |
| 13 | | :----------- | :------: | :------: | :------: | | 13 | | :----------- | :------: | :------: | :------: | |
| 14 | -| appId | string | true | 应用ID | | ||
| 15 | -| activityId | string | true | 活动ID | | ||
| 16 | -| hlsUrl | string | false | 需要替换的HLS类型的源地址 | | ||
| 17 | -| mp4Url| string | false | 需要替换的MP4类型的源地址 | | ||
| 18 | -| sign | String | true | 签名规则见<a href="http://help.open.cnlive.com/common.html">签名详情</a> | | ||
| 19 | \ No newline at end of file | 14 | \ No newline at end of file |
| 15 | +| verb | int | true | GET/POST | | ||
| 16 | +| md5 | string | true | MD5加密数据 | | ||
| 17 | +| type | string | true | content-type | | ||
| 18 | +| res| string | true | 文件资源 | | ||
| 19 | +| headers | String | false | 头文件信息 | | ||
| 20 | +| date | String | false | 格林威治时间('D, d M Y H:i:s \G\M\T') | | ||
| 21 | + | ||
| 22 | +json | ||
| 23 | + | ||
| 24 | +```json | ||
| 25 | +{ | ||
| 26 | + "errorMessage":"成功", | ||
| 27 | + "errorCode":"0", | ||
| 28 | + "data":"{ | ||
| 29 | + "Authorization":"KSS AKLTrH0TBf1hQT23_BL3n1jvJ:wHPmi5f84s4FXqLL/HjtZgUWDio=", | ||
| 30 | + "errno":0, | ||
| 31 | + "errmsg":"success", | ||
| 32 | + "Date":"Tue,27 Jun 2017 07:35:32 GMT" | ||
| 33 | + | ||
| 34 | + }" | ||
| 35 | +} | ||
| 36 | +``` | ||
| 20 | \ No newline at end of file | 37 | \ No newline at end of file |