批量更新上传的文件名称
<p><strong>简要描述:</strong> </p>
<ul>
<li>批量更新上传的文件名称接口</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://ip:port/service/rest/v1/file/rename</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;">items</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">List</td>
<td>userFileId:String 用户文件Id,filename: String 文件名</td>
</tr>
<tr>
<td style="text-align: left;">source</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">String</td>
<td>请求来源, 例如:’dingding’ , ’esign’ , ’esign_h5’ , ’alipay’</td>
</tr>
</tbody>
</table>
<p><strong>请求示例</strong></p>
<pre><code> http://ip:port/service/rest/v1/file/rename
{
&quot;items&quot;:[
{
&quot;userFileId&quot;:&quot;23a9aed3-dcf9-4c8e-947d-edad5fcbe551&quot;,
&quot;filename&quot;:&quot;测试修改文件名&quot;
}],
&quot;source&quot;:&quot;esign&quot;
}</code></pre>
<p><strong>返回示例</strong></p>
<pre><code>{
&quot;success&quot;: true,
&quot;msg&quot;: &quot;成功&quot;,
&quot;total&quot;: null,
&quot;errCode&quot;: 0,
&quot;errShow&quot;: false,
&quot;data&quot;: {}
}</code></pre>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>