取消收藏
<h5>接口说明</h5>
<p>取消收藏(需是登录状态)</p>
<h5>请求URL</h5>
<ul>
<li><code>{{url_prefix}}/api/v1/video/cancel/collect</code></li>
</ul>
<h5>请求参数</h5>
<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;">videoId</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">Integer</td>
<td>案例id</td>
</tr>
</tbody>
</table>
<h5>请求示例</h5>
<pre><code>{
&quot;videoId&quot;:4
}</code></pre>
<p><br/></p>
<h5>响应参数</h5>
<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>
</tbody>
</table>
<h5>响应示例</h5>
<pre><code>// 取消收藏成功
{
&quot;message&quot;: &quot;OK&quot;,
&quot;data&quot;: null,
&quot;status&quot;: &quot;200&quot;
}
// 异常
{
&quot;message&quot;: &quot;取消收藏失败&quot;,
&quot;data&quot;: null,
&quot;status&quot;: &quot;500&quot;
}</code></pre>