doc-exports/docs/sfs/api-ref/sfs_02_0022.html
Wei, Hongmin 61f4bfc2ef SFS API initial version
Reviewed-by: gtema <artem.goncharov@gmail.com>
Co-authored-by: Wei, Hongmin <weihongmin1@huawei.com>
Co-committed-by: Wei, Hongmin <weihongmin1@huawei.com>
2022-10-18 16:36:56 +00:00

334 lines
31 KiB
HTML

<a name="sfs_02_0022"></a><a name="sfs_02_0022"></a>
<h1 class="topictitle1">Querying All Shared File Systems</h1>
<div id="body1506046837826"><div class="section" id="sfs_02_0022__section35417005112634"><h4 class="sectiontitle">Function</h4><p id="sfs_02_0022__p33411236112642">This API is used to list the basic information of all shared file systems.</p>
</div>
<div class="section" id="sfs_02_0022__section56431007112911"><h4 class="sectiontitle">URI</h4><ul id="sfs_02_0022__ul48183041112946"><li id="sfs_02_0022__li30994189112946">GET /v2/{project_id}/shares?all_tenants={all_tenants}&amp;status={status}&amp;limit={limit}&amp;offset={offset}&amp;sort_key={sort_key}&amp;sort_dir={sort_dir}&amp;project_id={project_id}&amp;is_public={is_public}&amp;metadata={metadata}&amp; export_location_id={export_location_id}&amp; export_location_path={export_location_path}&amp; name~={name}&amp; description~={description}&amp; with_count={with_count}</li><li id="sfs_02_0022__li9742567113041">Parameter description
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="sfs_02_0022__table1936210911319" frame="border" border="1" rules="all"><thead align="left"><tr id="sfs_02_0022__row2818054511319"><th align="left" class="cellrowborder" valign="top" width="16.17%" id="mcps1.3.2.2.2.1.1.5.1.1"><p id="sfs_02_0022__p17124101410431">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="17.66%" id="mcps1.3.2.2.2.1.1.5.1.2"><p id="sfs_02_0022__p1612415146430">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="17.11%" id="mcps1.3.2.2.2.1.1.5.1.3"><p id="sfs_02_0022__p312416148432">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="49.059999999999995%" id="mcps1.3.2.2.2.1.1.5.1.4"><p id="sfs_02_0022__p3124181464318">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="sfs_02_0022__row4580752711319"><td class="cellrowborder" valign="top" width="16.17%" headers="mcps1.3.2.2.2.1.1.5.1.1 "><p id="sfs_02_0022__p31893403113152">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="17.66%" headers="mcps1.3.2.2.2.1.1.5.1.2 "><p id="sfs_02_0022__p33228870113152">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="17.11%" headers="mcps1.3.2.2.2.1.1.5.1.3 "><p id="sfs_02_0022__p7183962113152">String</p>
</td>
<td class="cellrowborder" valign="top" width="49.059999999999995%" headers="mcps1.3.2.2.2.1.1.5.1.4 "><p id="sfs_02_0022__p45030013113152">Specifies the project ID of the operator.</p>
</td>
</tr>
<tr id="sfs_02_0022__row36441474115817"><td class="cellrowborder" valign="top" width="16.17%" headers="mcps1.3.2.2.2.1.1.5.1.1 "><p id="sfs_02_0022__p66078304115817">all_tenants</p>
</td>
<td class="cellrowborder" valign="top" width="17.66%" headers="mcps1.3.2.2.2.1.1.5.1.2 "><p id="sfs_02_0022__p50742382115817">No (query parameter)</p>
</td>
<td class="cellrowborder" valign="top" width="17.11%" headers="mcps1.3.2.2.2.1.1.5.1.3 "><p id="sfs_02_0022__p16492244115817">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="49.059999999999995%" headers="mcps1.3.2.2.2.1.1.5.1.4 "><p id="sfs_02_0022__p60803387115817">This parameter is available only to users with administrator permissions. Specifies whether to list shared file systems of all tenants. To list shared file systems of all tenants, set it to <strong id="sfs_02_0022__b71208721310018">1</strong>. To list shared file systems only of the current tenant, set it to <strong id="sfs_02_0022__b83357843610021">0</strong>.</p>
</td>
</tr>
<tr id="sfs_02_0022__row31531724213534"><td class="cellrowborder" valign="top" width="16.17%" headers="mcps1.3.2.2.2.1.1.5.1.1 "><p id="sfs_02_0022__p8567926213542">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="17.66%" headers="mcps1.3.2.2.2.1.1.5.1.2 "><p id="sfs_02_0022__p22913431213542">No (query parameter)</p>
</td>
<td class="cellrowborder" valign="top" width="17.11%" headers="mcps1.3.2.2.2.1.1.5.1.3 "><p id="sfs_02_0022__p44048661213542">String</p>
</td>
<td class="cellrowborder" valign="top" width="49.059999999999995%" headers="mcps1.3.2.2.2.1.1.5.1.4 "><p id="sfs_02_0022__p11171799213542">This parameter is available only to users with administrator permissions. Specifies the ID of the project to which the shared file system belongs. This parameter needs to be used together with <strong id="sfs_02_0022__b415113865910">all_tenants</strong>.</p>
</td>
</tr>
<tr id="sfs_02_0022__row57379135115842"><td class="cellrowborder" valign="top" width="16.17%" headers="mcps1.3.2.2.2.1.1.5.1.1 "><p id="sfs_02_0022__p17198368115842">status</p>
</td>
<td class="cellrowborder" valign="top" width="17.66%" headers="mcps1.3.2.2.2.1.1.5.1.2 "><p id="sfs_02_0022__p50890569115842">No (query parameter)</p>
</td>
<td class="cellrowborder" valign="top" width="17.11%" headers="mcps1.3.2.2.2.1.1.5.1.3 "><p id="sfs_02_0022__p28495459115842">String</p>
</td>
<td class="cellrowborder" valign="top" width="49.059999999999995%" headers="mcps1.3.2.2.2.1.1.5.1.4 "><p id="sfs_02_0022__p1893725121718">Filters shared file systems by status. Possible values are:</p>
<ul id="sfs_02_0022__ul437945121818"><li id="sfs_02_0022__li1379135171815"><strong id="sfs_02_0022__b927045061010">creating</strong>: The shared file system is being created.</li><li id="sfs_02_0022__li17538127161815"><strong id="sfs_02_0022__b20389183371119">error</strong>: The shared file system fails to be created.</li><li id="sfs_02_0022__li12192914191815"><strong id="sfs_02_0022__b491004941111">available</strong>: The shared file system is available.</li><li id="sfs_02_0022__li183053167184"><strong id="sfs_02_0022__b8718165991113">deleting</strong>: The shared file system is being deleted.</li><li id="sfs_02_0022__li468821817188"><strong id="sfs_02_0022__b01411831171311">error_deleting</strong>: The shared file system fails to be deleted.</li><li id="sfs_02_0022__li2057719206183"><strong id="sfs_02_0022__b12809134810134">extending</strong>: The shared file system is being expanded.</li><li id="sfs_02_0022__li1157014222182"><strong id="sfs_02_0022__b3942143161413">extending_error</strong>: The shared file system fails to be expanded.</li><li id="sfs_02_0022__li1110522512180"><strong id="sfs_02_0022__b104281323161419">shrinking</strong>: The shared file system is being shrunk.</li><li id="sfs_02_0022__li1245092716185"><strong id="sfs_02_0022__b14545193917144">shrinking_error</strong>: The shared file system fails to be shrunk.</li><li id="sfs_02_0022__li12553123041820"><strong id="sfs_02_0022__b0222133771519">shrinking_possible_data_loss_error</strong>: The shared file system fails to be shrunk due to data loss.</li><li id="sfs_02_0022__li20906103212181"><strong id="sfs_02_0022__b7455258191517">manage_starting</strong>: Shared file system management starts.</li><li id="sfs_02_0022__li58103513181"><strong id="sfs_02_0022__b179981816111610">manage_error</strong>: The shared file system fails to be managed.</li><li id="sfs_02_0022__li194511438181815"><strong id="sfs_02_0022__b10318113216177">unmanage_starting</strong>: Canceling shared file system management starts.</li><li id="sfs_02_0022__li18745184015183"><strong id="sfs_02_0022__b112077588183">unmanage_error</strong>: Failed to cancel shared file system management.</li><li id="sfs_02_0022__li02640346196"><strong id="sfs_02_0022__b13383091919">unmanaged</strong>: The shared file system is not managed.</li></ul>
</td>
</tr>
<tr id="sfs_02_0022__row62597525115844"><td class="cellrowborder" valign="top" width="16.17%" headers="mcps1.3.2.2.2.1.1.5.1.1 "><p id="sfs_02_0022__p37234804115844">limit</p>
</td>
<td class="cellrowborder" valign="top" width="17.66%" headers="mcps1.3.2.2.2.1.1.5.1.2 "><p id="sfs_02_0022__p63229180115844">No (query parameter)</p>
</td>
<td class="cellrowborder" valign="top" width="17.11%" headers="mcps1.3.2.2.2.1.1.5.1.3 "><p id="sfs_02_0022__p21289940115844">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="49.059999999999995%" headers="mcps1.3.2.2.2.1.1.5.1.4 "><p id="sfs_02_0022__p38523289121046">Specifies the maximum number of shared file systems that can be returned. If this parameter is not specified, all the shared file systems are returned by default.</p>
</td>
</tr>
<tr id="sfs_02_0022__row66750965115847"><td class="cellrowborder" valign="top" width="16.17%" headers="mcps1.3.2.2.2.1.1.5.1.1 "><p id="sfs_02_0022__p38119081115847">offset</p>
</td>
<td class="cellrowborder" valign="top" width="17.66%" headers="mcps1.3.2.2.2.1.1.5.1.2 "><p id="sfs_02_0022__p637886115847">No (query parameter)</p>
</td>
<td class="cellrowborder" valign="top" width="17.11%" headers="mcps1.3.2.2.2.1.1.5.1.3 "><p id="sfs_02_0022__p51668828115847">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="49.059999999999995%" headers="mcps1.3.2.2.2.1.1.5.1.4 "><p id="sfs_02_0022__p31972906121046">Specifies the offset to define the start point from 0 of shared file system listing. The value must be greater than or equal to <strong id="sfs_02_0022__b13693165385918">0</strong>.</p>
</td>
</tr>
<tr id="sfs_02_0022__row44975276115839"><td class="cellrowborder" valign="top" width="16.17%" headers="mcps1.3.2.2.2.1.1.5.1.1 "><p id="sfs_02_0022__p19118728115839">sort_key</p>
</td>
<td class="cellrowborder" valign="top" width="17.66%" headers="mcps1.3.2.2.2.1.1.5.1.2 "><p id="sfs_02_0022__p5113096115839">No (query parameter)</p>
</td>
<td class="cellrowborder" valign="top" width="17.11%" headers="mcps1.3.2.2.2.1.1.5.1.3 "><p id="sfs_02_0022__p11507604115839">String</p>
</td>
<td class="cellrowborder" valign="top" width="49.059999999999995%" headers="mcps1.3.2.2.2.1.1.5.1.4 "><p id="sfs_02_0022__p59700757115839">Specifies the keyword for sorting the queried shared file systems. Possible values are <strong id="sfs_02_0022__a68cbb73a521242a59d3d9ad3f9b66102">id</strong>, <strong id="sfs_02_0022__a1d2bc637a7ee459ea2d83bc913bc6259">status</strong>, <strong id="sfs_02_0022__a51003601a3144968b4f51eca32e55877">size</strong>, <strong id="sfs_02_0022__af2c02598b99b446fb1cea0ebdedb2cee">host</strong>, <strong id="sfs_02_0022__a88f2323c96914bcd81387dd1215f70dd">share_proto</strong>, <strong id="sfs_02_0022__b119317573612">availability_zone_id</strong>, <strong id="sfs_02_0022__af67a9d0389164fcba7bd3495f75b6d69">user_id</strong>, <strong id="sfs_02_0022__a2dc83dbfc872472d8d425382519399a0">project_id</strong>, <strong id="sfs_02_0022__a887747186c964040ae955538fa409363">created_at</strong>, <strong id="sfs_02_0022__a94572296c0754a9fabb3b158651fe1bb">updated_at</strong>, <strong id="sfs_02_0022__a9abc7f7170e64e3ea69588a7a3ab142a">display_name</strong>, <strong id="sfs_02_0022__a1d06947d49c14dfd9e4b14dc63e783e3">name</strong>, <strong id="sfs_02_0022__a45fb80e0661844949301b3c492fc698b">share_type_id</strong>, <strong id="sfs_02_0022__a99a1214b2d214c1d984827e4e504892d">share_network_id</strong>, and <strong id="sfs_02_0022__acbb6e40ebba240c396ac7cb495cc7e2d">snapshot_id</strong>. By default, the value is sorted by <strong id="sfs_02_0022__b1186814912114">created_at</strong>.</p>
</td>
</tr>
<tr id="sfs_02_0022__row28691532115825"><td class="cellrowborder" valign="top" width="16.17%" headers="mcps1.3.2.2.2.1.1.5.1.1 "><p id="sfs_02_0022__p42312794115825">sort_dir</p>
</td>
<td class="cellrowborder" valign="top" width="17.66%" headers="mcps1.3.2.2.2.1.1.5.1.2 "><p id="sfs_02_0022__p4784300115825">No (query parameter)</p>
</td>
<td class="cellrowborder" valign="top" width="17.11%" headers="mcps1.3.2.2.2.1.1.5.1.3 "><p id="sfs_02_0022__p51984043115825">String</p>
</td>
<td class="cellrowborder" valign="top" width="49.059999999999995%" headers="mcps1.3.2.2.2.1.1.5.1.4 "><p id="sfs_02_0022__p49957950115825">Specifies the direction to sort shared file systems. Possible values are <strong id="sfs_02_0022__b5812645095432">asc</strong> (ascending) and <strong id="sfs_02_0022__b4180123695432">desc</strong> (descending).</p>
</td>
</tr>
<tr id="sfs_02_0022__row5827083212846"><td class="cellrowborder" valign="top" width="16.17%" headers="mcps1.3.2.2.2.1.1.5.1.1 "><p id="sfs_02_0022__p2231690212846">is_public</p>
</td>
<td class="cellrowborder" valign="top" width="17.66%" headers="mcps1.3.2.2.2.1.1.5.1.2 "><p id="sfs_02_0022__p3290281212935">No (query parameter)</p>
</td>
<td class="cellrowborder" valign="top" width="17.11%" headers="mcps1.3.2.2.2.1.1.5.1.3 "><p id="sfs_02_0022__p65186226212935">String</p>
</td>
<td class="cellrowborder" valign="top" width="49.059999999999995%" headers="mcps1.3.2.2.2.1.1.5.1.4 "><p id="sfs_02_0022__p45592923212935">When this parameter is set to <strong id="sfs_02_0022__b65906355223130">true</strong>, the current tenant can query all its own shared file systems and other tenants' shared file systems whose <strong id="sfs_02_0022__b84235270611715">is_public</strong> is set to <strong id="sfs_02_0022__b4057183223139">true</strong>. When this parameter is set to <strong id="sfs_02_0022__b25237589223148">false</strong>, the current tenant can query only the shared file systems owned by the tenant.</p>
</td>
</tr>
<tr id="sfs_02_0022__row1582111919371"><td class="cellrowborder" valign="top" width="16.17%" headers="mcps1.3.2.2.2.1.1.5.1.1 "><p id="sfs_02_0022__p164001838193717">metadata</p>
</td>
<td class="cellrowborder" valign="top" width="17.66%" headers="mcps1.3.2.2.2.1.1.5.1.2 "><p id="sfs_02_0022__p24006387374">No (query parameter)</p>
</td>
<td class="cellrowborder" valign="top" width="17.11%" headers="mcps1.3.2.2.2.1.1.5.1.3 "><p id="sfs_02_0022__p12400173811373">String</p>
</td>
<td class="cellrowborder" valign="top" width="49.059999999999995%" headers="mcps1.3.2.2.2.1.1.5.1.4 "><p id="sfs_02_0022__p1740010383379">Specifies the metadata information used to query the shared file systems. The value consists of one or more key and value pairs organized as a dictionary of strings. </p>
</td>
</tr>
<tr id="sfs_02_0022__row12752111333712"><td class="cellrowborder" valign="top" width="16.17%" headers="mcps1.3.2.2.2.1.1.5.1.1 "><p id="sfs_02_0022__p42641245133713">export_location_id</p>
</td>
<td class="cellrowborder" valign="top" width="17.66%" headers="mcps1.3.2.2.2.1.1.5.1.2 "><p id="sfs_02_0022__p826411456379">No (query parameter)</p>
</td>
<td class="cellrowborder" valign="top" width="17.11%" headers="mcps1.3.2.2.2.1.1.5.1.3 "><p id="sfs_02_0022__p32641445123710">String</p>
</td>
<td class="cellrowborder" valign="top" width="49.059999999999995%" headers="mcps1.3.2.2.2.1.1.5.1.4 "><p id="sfs_02_0022__p94173413410">Specifies the field used for filtering based on the ID of the mount path. This field is supported by API v2.35 and later versions.</p>
</td>
</tr>
<tr id="sfs_02_0022__row5872073713"><td class="cellrowborder" valign="top" width="16.17%" headers="mcps1.3.2.2.2.1.1.5.1.1 "><p id="sfs_02_0022__p4629451143719">export_location_path</p>
</td>
<td class="cellrowborder" valign="top" width="17.66%" headers="mcps1.3.2.2.2.1.1.5.1.2 "><p id="sfs_02_0022__p146291051143715">No (query parameter)</p>
</td>
<td class="cellrowborder" valign="top" width="17.11%" headers="mcps1.3.2.2.2.1.1.5.1.3 "><p id="sfs_02_0022__p1662918516377">String</p>
</td>
<td class="cellrowborder" valign="top" width="49.059999999999995%" headers="mcps1.3.2.2.2.1.1.5.1.4 "><p id="sfs_02_0022__p124171041194115">Specifies the field used for filtering based on the mount path. This field is supported by API v2.35 and later versions.</p>
</td>
</tr>
<tr id="sfs_02_0022__row1794181619375"><td class="cellrowborder" valign="top" width="16.17%" headers="mcps1.3.2.2.2.1.1.5.1.1 "><p id="sfs_02_0022__p109811855113720">name~</p>
</td>
<td class="cellrowborder" valign="top" width="17.66%" headers="mcps1.3.2.2.2.1.1.5.1.2 "><p id="sfs_02_0022__p14981355123714">No (query parameter)</p>
</td>
<td class="cellrowborder" valign="top" width="17.11%" headers="mcps1.3.2.2.2.1.1.5.1.3 "><p id="sfs_02_0022__p19811255103713">String</p>
</td>
<td class="cellrowborder" valign="top" width="49.059999999999995%" headers="mcps1.3.2.2.2.1.1.5.1.4 "><p id="sfs_02_0022__p2981195518377">Specifies the field used for fuzzy filtering based on the name of a shared file system. This field is supported by API v2.36 and later versions.</p>
</td>
</tr>
<tr id="sfs_02_0022__row166762318373"><td class="cellrowborder" valign="top" width="16.17%" headers="mcps1.3.2.2.2.1.1.5.1.1 "><p id="sfs_02_0022__p2053640203812">description~</p>
</td>
<td class="cellrowborder" valign="top" width="17.66%" headers="mcps1.3.2.2.2.1.1.5.1.2 "><p id="sfs_02_0022__p9536105381">No (query parameter)</p>
</td>
<td class="cellrowborder" valign="top" width="17.11%" headers="mcps1.3.2.2.2.1.1.5.1.3 "><p id="sfs_02_0022__p115368018388">String</p>
</td>
<td class="cellrowborder" valign="top" width="49.059999999999995%" headers="mcps1.3.2.2.2.1.1.5.1.4 "><p id="sfs_02_0022__p12536403388">Specifies the field used for fuzzy filtering based on the description of a shared file system. This field is supported by API v2.36 and later versions.</p>
</td>
</tr>
<tr id="sfs_02_0022__row9931152817371"><td class="cellrowborder" valign="top" width="16.17%" headers="mcps1.3.2.2.2.1.1.5.1.1 "><p id="sfs_02_0022__p129105163813">with_count</p>
</td>
<td class="cellrowborder" valign="top" width="17.66%" headers="mcps1.3.2.2.2.1.1.5.1.2 "><p id="sfs_02_0022__p169114543816">No (query parameter)</p>
</td>
<td class="cellrowborder" valign="top" width="17.11%" headers="mcps1.3.2.2.2.1.1.5.1.3 "><p id="sfs_02_0022__p15911159384">String</p>
</td>
<td class="cellrowborder" valign="top" width="49.059999999999995%" headers="mcps1.3.2.2.2.1.1.5.1.4 "><p id="sfs_02_0022__p1591759388">Specifies whether the number of queried shared file systems is returned. This field is supported by API v2.42 and later versions. This parameter is specified by <strong id="sfs_02_0022__b1176483713510">?with_count=true</strong> in the URI. The default value is <strong id="sfs_02_0022__b14015507518">false</strong>.</p>
</td>
</tr>
</tbody>
</table>
</div>
</li></ul>
</div>
<div class="section" id="sfs_02_0022__section31808412113213"><h4 class="sectiontitle">Request</h4><ul id="sfs_02_0022__ul26588168113653"><li id="sfs_02_0022__li37717191113653">Parameter description<p id="sfs_02_0022__p25494308145238"><a name="sfs_02_0022__li37717191113653"></a><a name="li37717191113653"></a>None</p>
</li></ul>
</div>
<ul id="sfs_02_0022__ul49253045113811"><li id="sfs_02_0022__li34025664113811">Example request<p id="sfs_02_0022__p61187207145046"><a name="sfs_02_0022__li34025664113811"></a><a name="li34025664113811"></a>GET https://{endpoint}/v2/16e1ab15c35a457e9c2b2aa189f544e1/shares</p>
</li></ul>
<div class="section" id="sfs_02_0022__section20475353113911"><h4 class="sectiontitle">Response</h4><ul id="sfs_02_0022__ul54916543113929"><li id="sfs_02_0022__li40652429113929">Parameter description
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="sfs_02_0022__tda30386a6e9d4540a4eb716742253a1b" frame="border" border="1" rules="all"><thead align="left"><tr id="sfs_02_0022__r8ada73019fa5407c8e16f6e1f7bc4bb1"><th align="left" class="cellrowborder" valign="top" width="16.669999999999998%" id="mcps1.3.5.2.1.1.1.4.1.1"><p id="sfs_02_0022__p412618165533">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="23.810000000000002%" id="mcps1.3.5.2.1.1.1.4.1.2"><p id="sfs_02_0022__p16126216195320">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="59.519999999999996%" id="mcps1.3.5.2.1.1.1.4.1.3"><p id="sfs_02_0022__p91267164531">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="sfs_02_0022__r1a20df0633434edc9d860eaf14b9a981"><td class="cellrowborder" valign="top" width="16.669999999999998%" headers="mcps1.3.5.2.1.1.1.4.1.1 "><p id="sfs_02_0022__a7a0494ee07fe4977b3a761e9700c2259">shares</p>
</td>
<td class="cellrowborder" valign="top" width="23.810000000000002%" headers="mcps1.3.5.2.1.1.1.4.1.2 "><p id="sfs_02_0022__p12755739205314">Array of objects</p>
</td>
<td class="cellrowborder" valign="top" width="59.519999999999996%" headers="mcps1.3.5.2.1.1.1.4.1.3 "><p id="sfs_02_0022__afa73e2f572e845479878686baa515ac2">For details, see the description of the <strong id="sfs_02_0022__b489314381680">share</strong> field.</p>
</td>
</tr>
<tr id="sfs_02_0022__row153543017449"><td class="cellrowborder" valign="top" width="16.669999999999998%" headers="mcps1.3.5.2.1.1.1.4.1.1 "><p id="sfs_02_0022__p576242834212">count</p>
</td>
<td class="cellrowborder" valign="top" width="23.810000000000002%" headers="mcps1.3.5.2.1.1.1.4.1.2 "><p id="sfs_02_0022__p15762142814219">String</p>
</td>
<td class="cellrowborder" valign="top" width="59.519999999999996%" headers="mcps1.3.5.2.1.1.1.4.1.3 "><p id="sfs_02_0022__p16762162818429">Specifies the number of returned shared file systems.</p>
</td>
</tr>
</tbody>
</table>
</div>
</li><li id="sfs_02_0022__li899112714234">Description of the <strong id="sfs_02_0022__b1216514235503">share</strong> field
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="sfs_02_0022__tbcad918897d14fb49b92a4459d3f00fe" frame="border" border="1" rules="all"><thead align="left"><tr id="sfs_02_0022__r2549a099434b498b960a737e31dd5e22"><th align="left" class="cellrowborder" valign="top" width="16.83831616838316%" id="mcps1.3.5.2.2.2.1.4.1.1"><p id="sfs_02_0022__p164075195530">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="23.227677232276772%" id="mcps1.3.5.2.2.2.1.4.1.2"><p id="sfs_02_0022__p17407319185319">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="59.93400659934007%" id="mcps1.3.5.2.2.2.1.4.1.3"><p id="sfs_02_0022__p740761935310">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="sfs_02_0022__r24e1fdd135614ddfb8bb62cd8b059790"><td class="cellrowborder" valign="top" width="16.83831616838316%" headers="mcps1.3.5.2.2.2.1.4.1.1 "><p id="sfs_02_0022__en-us_topic_0064390791_p304425717377">id</p>
</td>
<td class="cellrowborder" valign="top" width="23.227677232276772%" headers="mcps1.3.5.2.2.2.1.4.1.2 "><p id="sfs_02_0022__a2739fe34fda84872ad4752a2a5904442">String</p>
</td>
<td class="cellrowborder" valign="top" width="59.93400659934007%" headers="mcps1.3.5.2.2.2.1.4.1.3 "><p id="sfs_02_0022__a8bd7dc44dfea4902ae6c3be200d16795">Specifies the ID of the shared file system.</p>
</td>
</tr>
<tr id="sfs_02_0022__r363789c82fb941e5942a1a3569abd611"><td class="cellrowborder" valign="top" width="16.83831616838316%" headers="mcps1.3.5.2.2.2.1.4.1.1 "><p id="sfs_02_0022__a9b70ba3dfb524a28b1b3308298b55cfe">links</p>
</td>
<td class="cellrowborder" valign="top" width="23.227677232276772%" headers="mcps1.3.5.2.2.2.1.4.1.2 "><p id="sfs_02_0022__p104941041105614">Array of objects</p>
</td>
<td class="cellrowborder" valign="top" width="59.93400659934007%" headers="mcps1.3.5.2.2.2.1.4.1.3 "><p id="sfs_02_0022__ab65a11ddbc14429399cc3444020b3e54">Specifies the request link information of the shared file system.</p>
</td>
</tr>
<tr id="sfs_02_0022__reac38228b7ce4af8a38a972bfaa5ee93"><td class="cellrowborder" valign="top" width="16.83831616838316%" headers="mcps1.3.5.2.2.2.1.4.1.1 "><p id="sfs_02_0022__en-us_topic_0064390791_p235133117377">name</p>
</td>
<td class="cellrowborder" valign="top" width="23.227677232276772%" headers="mcps1.3.5.2.2.2.1.4.1.2 "><p id="sfs_02_0022__ad559eba8660d4a39ba10681c9f2d174e">String</p>
</td>
<td class="cellrowborder" valign="top" width="59.93400659934007%" headers="mcps1.3.5.2.2.2.1.4.1.3 "><p id="sfs_02_0022__a17d9eed397184e7a8eba7e87435d098a">Specifies the name of the shared file system.</p>
</td>
</tr>
</tbody>
</table>
</div>
</li></ul>
<ul id="sfs_02_0022__ul56040680114146"><li id="sfs_02_0022__li36137248114146">Example response<pre class="screen" id="sfs_02_0022__screen6809612143632">{
"count": 1,
"shares": [
{
"id": "1390cb29-539b-4926-8953-d8d6b106071a",
"links": [
{
"href": "https://192.168.196.47:8796/v2/f24555bfcf3146ca936d21bcb548687e/shares/1390cb29-539b-4926-8953-d8d6b106071a",
"rel": "self"
},
{
"href": "https://192.168.196.47:8796/f24555bfcf3146ca936d21bcb548687e/shares/1390cb29-539b-4926-8953-d8d6b106071a",
"rel": "bookmark"
}
],
"name": null
}
]
}</pre>
</li></ul>
</div>
<div class="section" id="sfs_02_0022__section14343996114232"><h4 class="sectiontitle">Status Codes</h4><ul id="sfs_02_0022__uc24b0be3724c46c39b9c718b0530f12b"><li id="sfs_02_0022__l76fe792d4b4447d28280220663e07be2">Normal<p id="sfs_02_0022__ae2df71f8e63047498ed6378ef8836a59"><a name="sfs_02_0022__l76fe792d4b4447d28280220663e07be2"></a><a name="l76fe792d4b4447d28280220663e07be2"></a>200</p>
</li><li id="sfs_02_0022__l2ef62cca323c42e4842f12eaa398e85b">Abnormal
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="sfs_02_0022__t2090d44083d34718a5469023c0c64add" frame="border" border="1" rules="all"><thead align="left"><tr id="sfs_02_0022__ra369a8c86fba486db6b80296100f3699"><th align="left" class="cellrowborder" valign="top" width="43.43%" id="mcps1.3.6.2.2.1.1.3.1.1"><p id="sfs_02_0022__aef56a0bee1724b0993bff1e74bd97796">Status Code</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="56.57%" id="mcps1.3.6.2.2.1.1.3.1.2"><p id="sfs_02_0022__a7923be73f3d642c48f49e12d9f575dbd">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="sfs_02_0022__r9caf832a2eb74734a12db37bb5922e9c"><td class="cellrowborder" valign="top" width="43.43%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="sfs_02_0022__en-us_topic_0064390791_p887409917377">400 Bad Request</p>
</td>
<td class="cellrowborder" valign="top" width="56.57%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="sfs_02_0022__ac915b170d5f2455096491b02762241ac">The server failed to process the request.</p>
</td>
</tr>
<tr id="sfs_02_0022__r10cfd100de64484f99318a78375120ff"><td class="cellrowborder" valign="top" width="43.43%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="sfs_02_0022__a8193fd1ffce7479897c3de382c2eed15">401 Unauthorized</p>
</td>
<td class="cellrowborder" valign="top" width="56.57%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="sfs_02_0022__en-us_topic_0064390791_p52210117377">You must enter a username and the password to access the requested page.</p>
</td>
</tr>
<tr id="sfs_02_0022__r7a403b9870eb4da5b2a875a5b1539ffd"><td class="cellrowborder" valign="top" width="43.43%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="sfs_02_0022__adbf7968a9dac42c49b53777be2aaf544">403 Forbidden</p>
</td>
<td class="cellrowborder" valign="top" width="56.57%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="sfs_02_0022__a0bc87a6af4f1456e8086bde01aebec6b">Access to the requested page is forbidden.</p>
</td>
</tr>
<tr id="sfs_02_0022__r3422b1bb54164104949a1a121c137932"><td class="cellrowborder" valign="top" width="43.43%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="sfs_02_0022__a26dbdb35ea5c4d08b5c6ea8b184b8656">404 Not Found</p>
</td>
<td class="cellrowborder" valign="top" width="56.57%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="sfs_02_0022__acf1017be1cb84275bbbb87052f6ab21a">The requested page was not found.</p>
</td>
</tr>
<tr id="sfs_02_0022__r98d495bd3a4f4d0b87572a4bd4173ce1"><td class="cellrowborder" valign="top" width="43.43%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="sfs_02_0022__a8c7636bd87f64006979cb1f8fdf6bbcc">405 Method Not Allowed</p>
</td>
<td class="cellrowborder" valign="top" width="56.57%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="sfs_02_0022__a969e484ebb1d4f95a1c5d8803eb5805b">You are not allowed to use the method specified in the request.</p>
</td>
</tr>
<tr id="sfs_02_0022__rde52d6cce4fb49bda58bd438829c8b74"><td class="cellrowborder" valign="top" width="43.43%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="sfs_02_0022__en-us_topic_0064390791_p781488717377">406 Not Acceptable</p>
</td>
<td class="cellrowborder" valign="top" width="56.57%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="sfs_02_0022__afa6f5ee4d9d5461ca179b522cbea0d34">The response generated by the server could not be accepted by the client.</p>
</td>
</tr>
<tr id="sfs_02_0022__r101c5bbfb8784aa883c87c38ef66d1ba"><td class="cellrowborder" valign="top" width="43.43%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="sfs_02_0022__a4d23d1ea32c3487e8fa03fa7a39543d8">407 Proxy Authentication Required</p>
</td>
<td class="cellrowborder" valign="top" width="56.57%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="sfs_02_0022__en-us_topic_0064390791_p300388217377">You must use the proxy server for authentication. Then the request can be processed.</p>
</td>
</tr>
<tr id="sfs_02_0022__r6206a8382c46402ab86f280e940f1756"><td class="cellrowborder" valign="top" width="43.43%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="sfs_02_0022__a0c0a0346efed4a158e3f78aad3f92502">408 Request Timeout</p>
</td>
<td class="cellrowborder" valign="top" width="56.57%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="sfs_02_0022__en-us_topic_0064390791_p752846017377">The request timed out.</p>
</td>
</tr>
<tr id="sfs_02_0022__r1f59abfea4d945d5853b088375ec075b"><td class="cellrowborder" valign="top" width="43.43%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="sfs_02_0022__a4de368473ace407db9497a6d22044206">409 Conflict</p>
</td>
<td class="cellrowborder" valign="top" width="56.57%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="sfs_02_0022__a1e52611413ef42368e1fc74cedce0b14">The request could not be processed due to a conflict.</p>
</td>
</tr>
<tr id="sfs_02_0022__r33f68eb575084d3d9c7a652797fa1d77"><td class="cellrowborder" valign="top" width="43.43%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="sfs_02_0022__a696b29b12cea423cbd6649f0ffd68db8">500 Internal Server Error</p>
</td>
<td class="cellrowborder" valign="top" width="56.57%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="sfs_02_0022__ad20c3d1dc2b146f0a4632048769e0e72">Failed to complete the request because of an internal service error.</p>
</td>
</tr>
<tr id="sfs_02_0022__rc1e0e831ad8742b6b88bdfea358028be"><td class="cellrowborder" valign="top" width="43.43%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="sfs_02_0022__af622f29f0130447f8615637fb7feb757">501 Not Implemented</p>
</td>
<td class="cellrowborder" valign="top" width="56.57%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="sfs_02_0022__ac3e5fdea4e1d4f7c9d3668ee30ed96f7">Failed to complete the request because the server does not support the requested function.</p>
</td>
</tr>
<tr id="sfs_02_0022__r1ffb7ea16483434fbcdc681f373bb28d"><td class="cellrowborder" valign="top" width="43.43%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="sfs_02_0022__a636bca04b6c74339a4e3f28eaa7e32bc">502 Bad Gateway</p>
</td>
<td class="cellrowborder" valign="top" width="56.57%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="sfs_02_0022__af68a220ad6d3488cad0a0361f2f94967">Failed to complete the request because the request is invalid.</p>
</td>
</tr>
<tr id="sfs_02_0022__r6658762006d1444084add1f582fae6bd"><td class="cellrowborder" valign="top" width="43.43%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="sfs_02_0022__a71922f19bd4b44a88fc41255846b5660">503 Service Unavailable</p>
</td>
<td class="cellrowborder" valign="top" width="56.57%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="sfs_02_0022__en-us_topic_0064390791_p361803117377">Failed to complete the request because the service is unavailable.</p>
</td>
</tr>
<tr id="sfs_02_0022__rec0c716ad62543e4ac5806fcb22b8c54"><td class="cellrowborder" valign="top" width="43.43%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="sfs_02_0022__a612773caf040494fa785db348dd7e335">504 Gateway Timeout</p>
</td>
<td class="cellrowborder" valign="top" width="56.57%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="sfs_02_0022__aa509f60996454e90b1521e61e3da4d9d">A gateway timeout error occurred.</p>
</td>
</tr>
</tbody>
</table>
</div>
</li></ul>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="sfs_02_0020.html">File Sharing</a></div>
</div>
</div>