视频上传
<p><strong>简要描述:</strong> </p>
<ul>
<li>视频上传 获取上传凭证和上传地址</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>video/createUploadVideo</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST </li>
</ul>
<p><strong>参数:</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">必选</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">json</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>json串</td>
</tr>
</tbody>
</table>
<p><strong>参数示例</strong></p>
<pre><code> {
&quot;fileName&quot;: &quot;&quot;, 文件名 必传
&quot;title&quot;: &quot;&quot;, 标题 必传
&quot;cateId&quot;: 0, 分类id 非必传
&quot;tags&quot;: &quot;&quot;, 视频标签 必传
&quot;description&quot;: &quot;&quot; 视频描述 非必传
}</code></pre>
<p><strong>返回示例</strong></p>
<pre><code> {
&quot;result&quot;: &quot;success&quot;,
&quot;msg&quot;:&quot;&quot;,
&quot;data&quot;: {
&quot;RequestId&quot;: &quot;&quot;,
&quot;VideoId&quot;: &quot;&quot;,
&quot;UploadAddress&quot;: &quot;&quot;,
&quot;UploadAuth&quot;: &quot;&quot;
}
}</code></pre>
<p><strong>返回参数说明</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">RequestId</td>
<td style="text-align: left;">String</td>
<td>请求id</td>
</tr>
<tr>
<td style="text-align: left;">VideoId</td>
<td style="text-align: left;">String</td>
<td>视频id</td>
</tr>
<tr>
<td style="text-align: left;">UploadAddress</td>
<td style="text-align: left;">String</td>
<td>上传地址</td>
</tr>
<tr>
<td style="text-align: left;">UploadAuth</td>
<td style="text-align: left;">String</td>
<td>上传凭证</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>