Commit f30ead47490bac72f6eb9258ac52d25dc9265fd2

Authored by 刘炯
1 parent bed19082

视频上传接口

01.点播云/2.4.1 视频上传鉴权接口4APP.md 0 → 100644
  1 +### 金山短视频上传鉴权接口
  2 +-----
  3 +#### URL: http://api.cnlive.com/open/api2/vod_epg/getKs3AuthForApp
  4 +-----
  5 +#### 接口说明: 金山短视频上传鉴权接口
  6 +-----
  7 +#### 请求方式: HTTP POST
  8 +-----
  9 +#### 返回格式: 200
  10 +-----
  11 +#### 请求参数说明:
  12 +| 参数名 | 参数类型 | 必选 | 参数说明 |
  13 +| :----------- | :------: | :------: | :------: |
  14 +| appId | string | true | APPID |
  15 +| verb | string | 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 +|platform_id| string | true | APP bundleID 或者是包名,平台鉴权使用 |
  22 +|timestamp| int | true | 精确到秒,当前Unix时间戳,请保证请求服务器时间正确 |
  23 +|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) |
  24 +
  25 +json
  26 +
  27 +```json
  28 +{
  29 + "errorMessage":"成功",
  30 + "errorCode":"0",
  31 + "data":"{
  32 + "Authorization":"KSS AKLTrH0TBf1hQT23_BL3n1jvJ:wHPmi5f84s4FXqLL/HjtZgUWDio=",
  33 + "Date":"Tue,27 Jun 2017 07:35:32 GMT"
  34 +
  35 + }"
  36 +}
  37 +```
0 \ No newline at end of file 38 \ No newline at end of file