SYNO.Core.Share
<p><strong>简要描述:</strong> </p>
<ul>
<li>获取共享文件夹列表</li>
</ul>
<p><strong>API:</strong> </p>
<ul>
<li><code>SYNO.Core.Share</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;">additional</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>["hidden","encryption","is_aclmode","unite_permission","is_support_acl","is_sync_share","is_force_readonly","force_readonly_reason","recyclebin","is_share_moving","is_cluster_share","is_exfat_share"]</td>
</tr>
<tr>
<td style="text-align: left;">shareType</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>all</td>
</tr>
<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> {
"data": {
"shares": [
{
"desc": "user home",
"enable_recycle_bin": false,
"enc_auto_mount": false,
"encryption": 0,
"force_readonly_reason": "",
"hidden": false,
"is_aclmode": true,
"is_cluster_share": false,
"is_exfat_share": false,
"is_force_readonly": false,
"is_share_moving": false,
"is_support_acl": true,
"is_sync_share": false,
"is_usb_share": false,
"name": "homes",
"recycle_bin_admin_only": false,
"task_id": "",
"unite_permission": false,
"uuid": "21717069-e42c-47c8-aeba-404abb95b4ed",
"vol_path": "/volume1"
},
{
"desc": "System default shared folder",
"enable_recycle_bin": false,
"enc_auto_mount": false,
"encryption": 0,
"force_readonly_reason": "",
"hidden": false,
"is_aclmode": true,
"is_cluster_share": false,
"is_exfat_share": false,
"is_force_readonly": false,
"is_share_moving": false,
"is_support_acl": true,
"is_sync_share": false,
"is_usb_share": false,
"name": "music",
"recycle_bin_admin_only": false,
"task_id": "",
"unite_permission": false,
"uuid": "54a2dc6b-f349-4044-8f3a-77cfe6da52ce",
"vol_path": "/volume1"
},
{
"desc": "System default shared folder",
"enable_recycle_bin": false,
"enc_auto_mount": false,
"encryption": 0,
"force_readonly_reason": "",
"hidden": false,
"is_aclmode": false,
"is_cluster_share": false,
"is_exfat_share": false,
"is_force_readonly": false,
"is_share_moving": false,
"is_support_acl": true,
"is_sync_share": false,
"is_usb_share": false,
"name": "photo",
"recycle_bin_admin_only": false,
"task_id": "",
"unite_permission": false,
"uuid": "68ed2b53-76b9-4b9e-a51b-124d6bb1ea2c",
"vol_path": "/volume1"
},
{
"desc": "测试",
"enable_recycle_bin": true,
"enc_auto_mount": false,
"encryption": 0,
"force_readonly_reason": "",
"hidden": false,
"is_aclmode": true,
"is_cluster_share": false,
"is_exfat_share": false,
"is_force_readonly": false,
"is_share_moving": false,
"is_support_acl": true,
"is_sync_share": false,
"is_usb_share": false,
"name": "test",
"recycle_bin_admin_only": true,
"task_id": "",
"unite_permission": false,
"uuid": "d6909851-74dd-434c-8d31-13f4a0ddc2a3",
"vol_path": "/volume1"
},
{
"desc": "System default shared folder",
"enable_recycle_bin": false,
"enc_auto_mount": false,
"encryption": 0,
"force_readonly_reason": "",
"hidden": false,
"is_aclmode": true,
"is_cluster_share": false,
"is_exfat_share": false,
"is_force_readonly": false,
"is_share_moving": false,
"is_support_acl": true,
"is_sync_share": false,
"is_usb_share": false,
"name": "video",
"recycle_bin_admin_only": false,
"task_id": "",
"unite_permission": false,
"uuid": "620e69ea-061f-4ea3-892f-44c150fb712d",
"vol_path": "/volume1"
}
],
"total": 5
},
"success": true
}
</code></pre>