Commit 03a022a5e9d81b6d409d1ea82906e622c2f69619
1 parent
205f1a80
2.5 金山短视频上传接口
Showing
1 changed file
with
15 additions
and
6 deletions
01.点播云/2.5 金山短视频上传接口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/ugcSDKForApp |
| 4 | ----- | 4 | ----- |
| 5 | #### 接口说明: 替换点播视频源地址 | 5 | #### 接口说明: 替换点播视频源地址 |
| 6 | ----- | 6 | ----- |
| @@ -11,8 +11,17 @@ | @@ -11,8 +11,17 @@ | ||
| 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 | +| md5 | string | true | 应用ID | | ||
| 16 | +| appId | string | true | 活动ID | | ||
| 17 | +| name | string | false | 需要替换的HLS类型的源地址 | | ||
| 18 | +| description| string | false | 需要替换的MP4类型的源地址 | | ||
| 19 | + | ||
| 20 | +json | ||
| 21 | + | ||
| 22 | +```json | ||
| 23 | +{ | ||
| 24 | + "bucketName": "https://ks3-cn-beijing.ksyun.com/bokong/video/20170626/xxxxx.mp4", | ||
| 25 | + "ksKey": "OAw42ekJXRANm+/GwA7eDaCZ5afwdNlceDk123452JYc3NCuFlsPSdMO7V2HgY1w4w==", | ||
| 26 | + "videoId":"c82802df00284ca0b731f4f576c1315b" | ||
| 27 | +} | ||
| 28 | +``` | ||
| 20 | \ No newline at end of file | 29 | \ No newline at end of file |