SYNO.Core.ExternalDevice.Storage.USB
<p><strong>简要描述:</strong> </p>
<ul>
<li>获取USB设备列表</li>
</ul>
<p><strong>API:</strong> </p>
<ul>
<li><code>SYNO.Core.ExternalDevice.Storage.USB</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;">method</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>list</td>
</tr>
<tr>
<td style="text-align: left;">additional</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>["dev_type","product","status","partitions"]</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code> {
"api": "SYNO.Core.ExternalDevice.Storage.USB",
"data": {
"devices": []
},
"method": "list",
"success": true,
"version": 1
}
</code></pre>