2.4 金山短视频上传鉴权接口4APP.md
1.24 KB
金山短视频上传鉴权接口
URL: http://api.cnlive.com/open/api2/vod_epg/getKs3AuthForApp
接口说明: 金山短视频上传鉴权接口
请求方式: HTTP GET
返回格式: 200
请求参数说明:
| 参数名 | 参数类型 | 必选 | 参数说明 |
|---|---|---|---|
| verb | string | true | GET/POST |
| md5 | string | true | MD5加密数据 |
| type | string | true | content-type |
| res | string | true | 文件资源 |
| headers | String | false | 头文件信息 |
| date | String | false | 格林威治时间('D, d M Y H:i:s \G\M\T') |
| platform_id | string | true | APP bundleID 或者是包名,平台鉴权使用 |
| timestamp | int | true | 精确到秒,当前Unix时间戳,请保证请求服务器时间正确 |
| sign | String | true | 签名规则见 签名详情 |
json
{
"errorMessage":"成功",
"errorCode":"0",
"data":"{
"Authorization":"KSS AKLTrH0TBf1hQT23_BL3n1jvJ:wHPmi5f84s4FXqLL/HjtZgUWDio=",
"errno":0,
"errmsg":"success",
"Date":"Tue,27 Jun 2017 07:35:32 GMT"
}"
}