Commit 9cb9f59e6dce16b585faa8f8104eb249515842ea
1 parent
54abedad
金山短视频初始化鉴权接口
Showing
1 changed file
with
17 additions
and
3 deletions
01.点播云/2.3 金山短视频初始化鉴权接口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/getKSShortVideoAuthForApp | |
| 4 | 4 | ----- |
| 5 | 5 | #### 接口说明: 替换点播视频源地址 |
| 6 | 6 | ----- |
| ... | ... | @@ -12,5 +12,19 @@ |
| 12 | 12 | | 参数名 | 参数类型 | 必选 | 参数说明 | |
| 13 | 13 | | :----------- | :------: | :------: | :------: | |
| 14 | 14 | | packageName | string | true | 文件包名 | |
| 15 | -| date | string | true | 时间 (2017-6-27) | | |
| 16 | - | |
| 17 | 15 | \ No newline at end of file |
| 16 | +| date | string | true | 时间 (2017-6-27) | | |
| 17 | +json | |
| 18 | + | |
| 19 | +```json | |
| 20 | +{ | |
| 21 | + "errorMessage": "true", | |
| 22 | + "errorCode": "录制最大时长1800s", | |
| 23 | + "data":"{ | |
| 24 | + "RetMsg":"success", | |
| 25 | + "RetCode":"0", | |
| 26 | + "x-amz-date":"20170627T072219Z", | |
| 27 | + "Authorization":"AWS4-HMAC-SHA256 Credential=AKLTrH0TBf1hQT23_BL3n1jvJ/20170627/cn-beijing-6/ksvs/aws4_request, | |
| 28 | + SignedHeaders=host;x-amz-date, Signature=e0c3606de4211f0d7f51cfc6276b4e5bbb13140a6402531edeb00057aee7da62" | |
| 29 | + }" | |
| 30 | +} | |
| 31 | +``` | |
| 18 | 32 | \ No newline at end of file | ... | ... |