SYNO.Core.Storage.Volume (list)
<p><strong>简要描述:</strong> </p>
<ul>
<li>Volumn List</li>
</ul>
<p><strong>API:</strong> </p>
<ul>
<li><code>SYNO.Core.Storage.Volume</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>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code> {
"api": "SYNO.Core.Storage.Volume",
"data": {
"offset": 0,
"total": 2,
"volumes": [
{
"atime_checked": false,
"atime_opt": "relatime",
"container": "internal",
"crashed": false,
"description": "位于存储池 1, Basic",
"display_name": "存储空间 1",
"fs_type": "ext4",
"location": "internal",
"pool_path": "reuse_1",
"raid_type": "basic",
"readonly": false,
"single_volume": true,
"size_free_byte": "1962159009792",
"size_total_byte": "1964006481920",
"status": "normal",
"volume_id": 1,
"volume_path": "/volume1"
},
{
"atime_checked": false,
"atime_opt": "relatime",
"container": "internal",
"crashed": false,
"description": "位于存储池 2, Basic",
"display_name": "存储空间 2",
"fs_type": "ext4",
"location": "internal",
"pool_path": "reuse_2",
"raid_type": "basic",
"readonly": false,
"single_volume": true,
"size_free_byte": "1963805118464",
"size_total_byte": "1964006481920",
"status": "normal",
"volume_id": 2,
"volume_path": "/volume2"
}
]
},
"method": "list",
"success": true,
"version": 1
}
</code></pre>