DYH云

DYH开放接口


使用 API 上传视频文件

<h5>简要描述</h5> <ul> <li>使用 API 上传视频文件</li> </ul> <h5>请求URL</h5> <ul> <li><code>{{BASE_URL}}/api/video/getPolicy</code></li> </ul> <h5>请求方式</h5> <ul> <li>POST <code>获取临时签名</code></li> </ul> <h5>返回示例</h5> <pre><code>{ "code": 20000, "msg": "success", "time": "2021-12-24 09:17:06", "data": { "key": "202112/24/ddf4a5659781c03d6d8c8bd56ecbf921.mp4", # 文件名 "accessKeyId": "A0ZVIFU3QR3LQ0EW1DAX", # 固定值 "policy": "eyJleHBpcmF0aW9uIjoiMjAyMS0xMi0yNFQwMjoxNzowNloiLCAiY29uZGl0aW9ucyI6W3sieC1vYnMtYWNsIjoicHVibGljLXJlYWQifSx7ImNvbnRlbnQtdHlwZSI6Im1wNCJ9LHsiYnVja2V0IjoidnZvZCJ9LHsia2V5IjoiMjAyMTEyLzI0L2RkZjRhNTY1OTc4MWMwM2Q2ZDhjOGJkNTZlY2JmOTIxLm1wNCJ9LF19", "signature": "+Q2PSS83F+XHDozcdu/hSVWXTeY=" } }</code></pre> <h5>简要描述</h5> <ul> <li>调用华为接口上传文件</li> </ul> <h5>请求URL</h5> <ul> <li><code>https://vvod.obs.cn-north-4.myhuaweicloud.com</code></li> </ul> <h5>请求方式</h5> <ul> <li>POST </li> </ul> <p><img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/4905ec41b06b552ae7b4a09c53bbf143" alt="" /></p>

页面列表

ITEM_HTML