Files
doc-exports/docs/swr/api-ref/swr_02_0075.html
qiujiandong1 73ffc816f4 SWR API 20250521 version
Reviewed-by: Eotvos, Oliver <oliver.eotvos@t-systems.com>
Co-authored-by: qiujiandong1 <qiujiandong1@huawei.com>
Co-committed-by: qiujiandong1 <qiujiandong1@huawei.com>
2025-10-29 10:18:41 +00:00

401 lines
39 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<a name="swr_02_0075"></a><a name="swr_02_0075"></a>
<h1 class="topictitle1">Querying Shared Images</h1>
<div id="body8662426"><div class="section" id="swr_02_0075__en-us_topic_0000001231313909_section7215345181219"><h4 class="sectiontitle">Description</h4><p id="swr_02_0075__en-us_topic_0000001231313909_p17215104591211">Query shared images.</p>
</div>
<div class="section" id="swr_02_0075__en-us_topic_0000001231313909_section192158451124"><h4 class="sectiontitle">Constraints</h4><p id="swr_02_0075__en-us_topic_0000001231313909_p421684517129">None</p>
</div>
<div class="section" id="swr_02_0075__en-us_topic_0000001231313909_section821644514122"><h4 class="sectiontitle">URI</h4><p id="swr_02_0075__en-us_topic_0000001231313909_p1421724511127">GET /v2/manage/shared-repositories</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="swr_02_0075__en-us_topic_0000001231313909_table16220104561218" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Query parameters</caption><thead align="left"><tr id="swr_02_0075__en-us_topic_0000001231313909_row4218204516126"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.1"><p id="swr_02_0075__en-us_topic_0000001231313909_p222084518127">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.2"><p id="swr_02_0075__en-us_topic_0000001231313909_p622164510125">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="19.98%" id="mcps1.3.3.3.2.5.1.3"><p id="swr_02_0075__en-us_topic_0000001231313909_p11221204591211">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40.02%" id="mcps1.3.3.3.2.5.1.4"><p id="swr_02_0075__en-us_topic_0000001231313909_p18221154519121">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="swr_02_0075__en-us_topic_0000001231313909_row12182457121"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="swr_02_0075__en-us_topic_0000001231313909_p422113454125">namespace</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="swr_02_0075__en-us_topic_0000001231313909_p18221104510121">No</p>
</td>
<td class="cellrowborder" valign="top" width="19.98%" headers="mcps1.3.3.3.2.5.1.3 "><p id="swr_02_0075__en-us_topic_0000001231313909_p11222154516125">String</p>
</td>
<td class="cellrowborder" valign="top" width="40.02%" headers="mcps1.3.3.3.2.5.1.4 "><p id="swr_02_0075__en-us_topic_0000001231313909_p17222645181212">Organization name. Enter 1 to 64 characters, starting with a lowercase letter and ending with a lowercase letter or digit. Only lowercase letters, digits, periods (.), underscores (_), and hyphens (-) are allowed. Periods, underscores, and hyphens cannot be placed next to each other. A maximum of two consecutive underscores are allowed.</p>
</td>
</tr>
<tr id="swr_02_0075__en-us_topic_0000001231313909_row1721864513127"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="swr_02_0075__en-us_topic_0000001231313909_p5223114518123">name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="swr_02_0075__en-us_topic_0000001231313909_p822384517121">No</p>
</td>
<td class="cellrowborder" valign="top" width="19.98%" headers="mcps1.3.3.3.2.5.1.3 "><p id="swr_02_0075__en-us_topic_0000001231313909_p8223114513128">String</p>
</td>
<td class="cellrowborder" valign="top" width="40.02%" headers="mcps1.3.3.3.2.5.1.4 "><p id="swr_02_0075__en-us_topic_0000001231313909_p32231445131215">Image repository name. Enter 1 to 128 characters. It must start and end with a lowercase letter or digit. Only lowercase letters, digits, periods (.), slashes (/), underscores (_), and hyphens (-) are allowed. Periods, slashes, underscores, and hyphens cannot be placed next to each other. A maximum of two consecutive underscores are allowed. Replace a slash (/) with a dollar sign ($) before you send the request.</p>
</td>
</tr>
<tr id="swr_02_0075__en-us_topic_0000001231313909_row1218184571218"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="swr_02_0075__en-us_topic_0000001231313909_p822464520127">center</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="swr_02_0075__en-us_topic_0000001231313909_p142241745111219">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="19.98%" headers="mcps1.3.3.3.2.5.1.3 "><p id="swr_02_0075__en-us_topic_0000001231313909_p522414513129">String</p>
</td>
<td class="cellrowborder" valign="top" width="40.02%" headers="mcps1.3.3.3.2.5.1.4 "><p id="swr_02_0075__en-us_topic_0000001231313909_p12261820121414">The value can only be <strong id="swr_02_0075__en-us_topic_0000001231313909_b442216483242">self</strong> or <strong id="swr_02_0075__en-us_topic_0000001231313909_b145021050182412">thirdparty</strong>.</p>
<p id="swr_02_0075__en-us_topic_0000001231313909_p152240455129"><strong id="swr_02_0075__en-us_topic_0000001231313909_b891755712246">self</strong>: images shared by you. <strong id="swr_02_0075__en-us_topic_0000001231313909_b5173592513">thirdparty</strong>: images shared with you by others</p>
</td>
</tr>
<tr id="swr_02_0075__en-us_topic_0000001231313909_row821964518120"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="swr_02_0075__en-us_topic_0000001231313909_p922564513124">domain_name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="swr_02_0075__en-us_topic_0000001231313909_p132251545121216">No</p>
</td>
<td class="cellrowborder" valign="top" width="19.98%" headers="mcps1.3.3.3.2.5.1.3 "><p id="swr_02_0075__en-us_topic_0000001231313909_p102251745121213">String</p>
</td>
<td class="cellrowborder" valign="top" width="40.02%" headers="mcps1.3.3.3.2.5.1.4 "><p id="swr_02_0075__en-us_topic_0000001231313909_p22259455129">Owner name.</p>
</td>
</tr>
<tr id="swr_02_0075__en-us_topic_0000001231313909_row1219174515120"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="swr_02_0075__en-us_topic_0000001231313909_p162251945171216">status</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="swr_02_0075__en-us_topic_0000001231313909_p16226174510128">No</p>
</td>
<td class="cellrowborder" valign="top" width="19.98%" headers="mcps1.3.3.3.2.5.1.3 "><p id="swr_02_0075__en-us_topic_0000001231313909_p92267451128">String</p>
</td>
<td class="cellrowborder" valign="top" width="40.02%" headers="mcps1.3.3.3.2.5.1.4 "><p id="swr_02_0075__en-us_topic_0000001231313909_p1226134517122"><strong id="swr_02_0075__en-us_topic_0000001231313909_b85411695276">false</strong>: The sharing has expired. <strong id="swr_02_0075__en-us_topic_0000001231313909_b16727131120275">true</strong>: The sharing is valid.</p>
</td>
</tr>
<tr id="swr_02_0075__en-us_topic_0000001231313909_row122191945101211"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="swr_02_0075__en-us_topic_0000001231313909_p16227104561210">limit</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="swr_02_0075__en-us_topic_0000001231313909_p5227164516120">No</p>
</td>
<td class="cellrowborder" valign="top" width="19.98%" headers="mcps1.3.3.3.2.5.1.3 "><p id="swr_02_0075__en-us_topic_0000001231313909_p32271545161215">String</p>
</td>
<td class="cellrowborder" valign="top" width="40.02%" headers="mcps1.3.3.3.2.5.1.4 "><p id="swr_02_0075__en-us_topic_0000001231313909_p122874581216">Number of returned records. Parameters <strong id="swr_02_0075__en-us_topic_0000001231313909_b1518121152515">offset</strong> and <strong id="swr_02_0075__en-us_topic_0000001231313909_b11518121114253">limit</strong> should always be used together. If this parameter is not specified, 100 records are returned by default. The maximum number of records that can be returned is 1,000.</p>
</td>
</tr>
<tr id="swr_02_0075__en-us_topic_0000001231313909_row122191458129"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="swr_02_0075__en-us_topic_0000001231313909_p162281045131213">offset</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="swr_02_0075__en-us_topic_0000001231313909_p172281045171214">No</p>
</td>
<td class="cellrowborder" valign="top" width="19.98%" headers="mcps1.3.3.3.2.5.1.3 "><p id="swr_02_0075__en-us_topic_0000001231313909_p2229154531217">String</p>
</td>
<td class="cellrowborder" valign="top" width="40.02%" headers="mcps1.3.3.3.2.5.1.4 "><p id="swr_02_0075__en-us_topic_0000001231313909_p12800185712519">Start index. The value must be <strong id="swr_02_0075__en-us_topic_0000001231313909_b878561415165">0</strong> or a positive number. If this parameter is not specified, all records will be returned by default.</p>
<p id="swr_02_0075__en-us_topic_0000001231313909_p15229745101216">Parameters <strong id="swr_02_0075__en-us_topic_0000001231313909_b6301567245953">offset</strong> and <strong id="swr_02_0075__en-us_topic_0000001231313909_b16379649865953">limit</strong> should always be used together.</p>
</td>
</tr>
<tr id="swr_02_0075__en-us_topic_0000001231313909_row921954517125"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="swr_02_0075__en-us_topic_0000001231313909_p522910452126">order_column</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="swr_02_0075__en-us_topic_0000001231313909_p0229144514123">No</p>
</td>
<td class="cellrowborder" valign="top" width="19.98%" headers="mcps1.3.3.3.2.5.1.3 "><p id="swr_02_0075__en-us_topic_0000001231313909_p3230645121212">String</p>
</td>
<td class="cellrowborder" valign="top" width="40.02%" headers="mcps1.3.3.3.2.5.1.4 "><p id="swr_02_0075__en-us_topic_0000001231313909_p162301445141219">Sorting by column. You can set this parameter to <strong id="swr_02_0075__en-us_topic_0000001231313909_b6606111162814">updated_at</strong> (update time), <strong id="swr_02_0075__en-us_topic_0000001231313909_b060691142812">name</strong>, <strong id="swr_02_0075__en-us_topic_0000001231313909_b1360741162811">tag_count</strong> (number of tags), <strong id="swr_02_0075__en-us_topic_0000001231313909_b160714112282">namespace</strong> (organization), or <strong id="swr_02_0075__en-us_topic_0000001231313909_b46071111102812">domain_name</strong> (owner). Parameters <strong id="swr_02_0075__en-us_topic_0000001231313909_b61367233251124">order_column</strong> and <strong id="swr_02_0075__en-us_topic_0000001231313909_b185230243551124">order_type</strong> should always be used together.</p>
</td>
</tr>
<tr id="swr_02_0075__en-us_topic_0000001231313909_row62191945201214"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="swr_02_0075__en-us_topic_0000001231313909_p2230114512121">order_type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="swr_02_0075__en-us_topic_0000001231313909_p1123034519125">No</p>
</td>
<td class="cellrowborder" valign="top" width="19.98%" headers="mcps1.3.3.3.2.5.1.3 "><p id="swr_02_0075__en-us_topic_0000001231313909_p62311445181211">String</p>
</td>
<td class="cellrowborder" valign="top" width="40.02%" headers="mcps1.3.3.3.2.5.1.4 "><p id="swr_02_0075__en-us_topic_0000001231313909_p723154510121">Sorting order. You can set this parameter to <strong id="swr_02_0075__en-us_topic_0000001231313909_b308492604104333">desc</strong> (descending order) and <strong id="swr_02_0075__en-us_topic_0000001231313909_b1268789735104333">asc</strong> (ascending order). Parameters <strong id="swr_02_0075__en-us_topic_0000001231313909_b17533191516251">order_column</strong> and <strong id="swr_02_0075__en-us_topic_0000001231313909_b853441522511">order_type</strong> should always be used together.</p>
</td>
</tr>
<tr id="swr_02_0075__en-us_topic_0000001231313909_row5219154511210"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="swr_02_0075__en-us_topic_0000001231313909_p1723114450125">filter</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="swr_02_0075__en-us_topic_0000001231313909_p20231745161212">No</p>
</td>
<td class="cellrowborder" valign="top" width="19.98%" headers="mcps1.3.3.3.2.5.1.3 "><p id="swr_02_0075__en-us_topic_0000001231313909_p12318455123">String</p>
</td>
<td class="cellrowborder" valign="top" width="40.02%" headers="mcps1.3.3.3.2.5.1.4 "><p id="swr_02_0075__en-us_topic_0000001231313909_p259317153237">Set this parameter to <strong id="swr_02_0075__en-us_topic_0000001231313909_b64058513367">center::</strong>{<em id="swr_02_0075__en-us_topic_0000001231313909_i84321425374">center</em>}|<strong id="swr_02_0075__en-us_topic_0000001231313909_b188551622143714">name::</strong>{<em id="swr_02_0075__en-us_topic_0000001231313909_i1081672616373">name</em>}|<strong id="swr_02_0075__en-us_topic_0000001231313909_b49634327374">limit::</strong>{<em id="swr_02_0075__en-us_topic_0000001231313909_i12472236143710">limit</em>}|<strong id="swr_02_0075__en-us_topic_0000001231313909_b14355144253716">offset::</strong>{<em id="swr_02_0075__en-us_topic_0000001231313909_i4140164711370">offset</em>}|<strong id="swr_02_0075__en-us_topic_0000001231313909_b113467517373">namespace::</strong>{<em id="swr_02_0075__en-us_topic_0000001231313909_i5914105318376">namespace</em>}|<strong id="swr_02_0075__en-us_topic_0000001231313909_b19908175713377">order_column::</strong>{<em id="swr_02_0075__en-us_topic_0000001231313909_i17124015385">order_column</em>}|<strong id="swr_02_0075__en-us_topic_0000001231313909_b6381623818">order_type::</strong>{<em id="swr_02_0075__en-us_topic_0000001231313909_i1661961017389">order_type</em>}.</p>
<p id="swr_02_0075__en-us_topic_0000001231313909_p144392085240">Where,</p>
<p id="swr_02_0075__en-us_topic_0000001231313909_p1581025142319"><strong id="swr_02_0075__en-us_topic_0000001231313909_b1965892225318">center</strong> can be set to <strong id="swr_02_0075__en-us_topic_0000001231313909_b1017515270535">self</strong> (images shared by you) or <strong id="swr_02_0075__en-us_topic_0000001231313909_b15108143265311">thirdparty</strong> (images shared with you by others).</p>
<p id="swr_02_0075__en-us_topic_0000001231313909_p10362915172410"><strong id="swr_02_0075__en-us_topic_0000001231313909_b128514589408">namespace</strong> indicates the organization name.</p>
<p id="swr_02_0075__en-us_topic_0000001231313909_p183942017112415"><strong id="swr_02_0075__en-us_topic_0000001231313909_b239343519410">name</strong> indicates the image repository name.</p>
<p id="swr_02_0075__en-us_topic_0000001231313909_p176955020256"><strong id="swr_02_0075__en-us_topic_0000001231313909_b11655174644115">limit</strong> indicates the number of returned records.</p>
<p id="swr_02_0075__en-us_topic_0000001231313909_p959362110249"><strong id="swr_02_0075__en-us_topic_0000001231313909_b94523577414">offset</strong> indicates the start index.</p>
<p id="swr_02_0075__en-us_topic_0000001231313909_p212372622413"><strong id="swr_02_0075__en-us_topic_0000001231313909_b159101044215">order_column</strong> indicates sorting by column. The value can be <strong id="swr_02_0075__en-us_topic_0000001231313909_b1596203318553">updated_at</strong> (update time), <strong id="swr_02_0075__en-us_topic_0000001231313909_b96181750205512">name</strong> (image repository name), <strong id="swr_02_0075__en-us_topic_0000001231313909_b712479105611">tag_count</strong> (number of tags), <strong id="swr_02_0075__en-us_topic_0000001231313909_b175363223561">namespace</strong> (organization), and <strong id="swr_02_0075__en-us_topic_0000001231313909_b148001133135615">domain_name</strong> (owner).</p>
<p id="swr_02_0075__en-us_topic_0000001231313909_p192321745101217"><strong id="swr_02_0075__en-us_topic_0000001231313909_b135615175710">order_type</strong> indicates the sorting order. The value can be <strong id="swr_02_0075__en-us_topic_0000001231313909_b1341695125615">desc</strong> (descending order) or <strong id="swr_02_0075__en-us_topic_0000001231313909_b1241745125617">asc</strong> (ascending order).</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="swr_02_0075__en-us_topic_0000001231313909_section12232745181218"><h4 class="sectiontitle">Request Parameters</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="swr_02_0075__en-us_topic_0000001231313909_HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request header parameters</caption><thead align="left"><tr id="swr_02_0075__en-us_topic_0000001231313909_row6232144521212"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.5.1.1"><p id="swr_02_0075__en-us_topic_0000001231313909_p12233745111213">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.5.1.2"><p id="swr_02_0075__en-us_topic_0000001231313909_p17234134517122">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.5.1.3"><p id="swr_02_0075__en-us_topic_0000001231313909_p1923474531215">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.4.2.2.5.1.4"><p id="swr_02_0075__en-us_topic_0000001231313909_p6234545121218">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="swr_02_0075__en-us_topic_0000001231313909_row52321345111216"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.1 "><p id="swr_02_0075__en-us_topic_0000001231313909_p1323494561217">Content-Type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.2 "><p id="swr_02_0075__en-us_topic_0000001231313909_p1241104510124">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.3 "><p id="swr_02_0075__en-us_topic_0000001231313909_p3241134511219">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.2.2.5.1.4 "><p id="swr_02_0075__en-us_topic_0000001231313909_p8241104513125">Message body type (format). The value can be <strong id="swr_02_0075__en-us_topic_0000001231313909_b363818114595">application/json</strong> or <strong id="swr_02_0075__en-us_topic_0000001231313909_b66382115914">charset=utf-8 application/json</strong>.</p>
<p id="swr_02_0075__en-us_topic_0000001231313909_p82426453128">Default value: <strong id="swr_02_0075__en-us_topic_0000001231313909_b72311567597">application/json</strong></p>
</td>
</tr>
<tr id="swr_02_0075__en-us_topic_0000001231313909_row823319450126"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.1 "><p id="swr_02_0075__en-us_topic_0000001231313909_p1242645111210">X-Auth-Token</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.2 "><p id="swr_02_0075__en-us_topic_0000001231313909_p1242144551216">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.3 "><p id="swr_02_0075__en-us_topic_0000001231313909_p14242194541212">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.2.2.5.1.4 "><p id="swr_02_0075__en-us_topic_0000001231313909_p1242154531214">User token.</p>
<p id="swr_02_0075__en-us_topic_0000001231313909_p19242184511217">The token can be obtained through the IAM API used to obtain a user token. The value of <strong id="swr_02_0075__en-us_topic_0000001231313909_b12741135411170">X-Subject-Token</strong> in the response header is the user token.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="swr_02_0075__en-us_topic_0000001231313909_section72436458126"><h4 class="sectiontitle">Response Parameters</h4><p id="swr_02_0075__en-us_topic_0000001231313909_p1524304561217"><strong id="swr_02_0075__en-us_topic_0000001231313909_b305929375111025">Status code: 200</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="swr_02_0075__en-us_topic_0000001231313909_ResponseHeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Response header parameter</caption><thead align="left"><tr id="swr_02_0075__en-us_topic_0000001231313909_row82431945191217"><th align="left" class="cellrowborder" valign="top" width="30%" id="mcps1.3.5.3.2.4.1.1"><p id="swr_02_0075__en-us_topic_0000001231313909_p12244134571215">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.3.2.4.1.2"><p id="swr_02_0075__en-us_topic_0000001231313909_p32441445161217">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.5.3.2.4.1.3"><p id="swr_02_0075__en-us_topic_0000001231313909_p2024413454126">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="swr_02_0075__en-us_topic_0000001231313909_row152433452122"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.5.3.2.4.1.1 "><p id="swr_02_0075__en-us_topic_0000001231313909_p8245144551212">Content-Range</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.2 "><p id="swr_02_0075__en-us_topic_0000001231313909_p22451145171212">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.3.2.4.1.3 "><p id="swr_02_0075__en-us_topic_0000001231313909_p18245104518127"><em id="swr_02_0075__en-us_topic_0000001231313909_i9684120123116">Offset</em> (Start index) <em id="swr_02_0075__en-us_topic_0000001231313909_i67848618311">Count</em> (Number of records on the current page)/<em id="swr_02_0075__en-us_topic_0000001231313909_i14932410153117">Total</em> (Total number of records)</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="swr_02_0075__en-us_topic_0000001231313909_response_ResponseParameter" frame="border" border="1" rules="all"><caption><b>Table 4 </b>Response body parameter</caption><thead align="left"><tr id="swr_02_0075__en-us_topic_0000001231313909_row7245144541215"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.4.2.4.1.1"><p id="swr_02_0075__en-us_topic_0000001231313909_p1624694512126">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.4.2.4.1.2"><p id="swr_02_0075__en-us_topic_0000001231313909_p1246164517123">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.4.2.4.1.3"><p id="swr_02_0075__en-us_topic_0000001231313909_p1324644511214">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="swr_02_0075__en-us_topic_0000001231313909_row6245174561220"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="swr_02_0075__en-us_topic_0000001231313909_p19247174571218">[items]</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="swr_02_0075__en-us_topic_0000001231313909_p10247144512128">Array of <a href="#swr_02_0075__en-us_topic_0000001231313909_response_ShowReposResp">ShowReposResp</a> objects</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="swr_02_0075__en-us_topic_0000001231313909_p52478451123">Request succeeded.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="swr_02_0075__en-us_topic_0000001231313909_response_ShowReposResp"></a><a name="en-us_topic_0000001231313909_response_ShowReposResp"></a><table cellpadding="4" cellspacing="0" summary="" id="swr_02_0075__en-us_topic_0000001231313909_response_ShowReposResp" frame="border" border="1" rules="all"><caption><b>Table 5 </b>ShowReposResp</caption><thead align="left"><tr id="swr_02_0075__en-us_topic_0000001231313909_row3248144517128"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.5.2.4.1.1"><p id="swr_02_0075__en-us_topic_0000001231313909_p52505452124">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.5.2.4.1.2"><p id="swr_02_0075__en-us_topic_0000001231313909_p13250045151216">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.5.2.4.1.3"><p id="swr_02_0075__en-us_topic_0000001231313909_p152503454123">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="swr_02_0075__en-us_topic_0000001231313909_row152482045121211"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.1 "><p id="swr_02_0075__en-us_topic_0000001231313909_p182515456124">name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.2 "><p id="swr_02_0075__en-us_topic_0000001231313909_p13251445141213">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.5.2.4.1.3 "><p id="swr_02_0075__en-us_topic_0000001231313909_p12251164581219">Repository name.</p>
</td>
</tr>
<tr id="swr_02_0075__en-us_topic_0000001231313909_row16248045181215"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.1 "><p id="swr_02_0075__en-us_topic_0000001231313909_p1625119454126">category</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.2 "><p id="swr_02_0075__en-us_topic_0000001231313909_p22511545101216">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.5.2.4.1.3 "><p id="swr_02_0075__en-us_topic_0000001231313909_p5252445181215">Repository type. (Each image has multiple labels.)</p>
</td>
</tr>
<tr id="swr_02_0075__en-us_topic_0000001231313909_row52485458124"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.1 "><p id="swr_02_0075__en-us_topic_0000001231313909_p525234531217">description</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.2 "><p id="swr_02_0075__en-us_topic_0000001231313909_p1252124510121">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.5.2.4.1.3 "><p id="swr_02_0075__en-us_topic_0000001231313909_p18252104511214">Repository description.</p>
</td>
</tr>
<tr id="swr_02_0075__en-us_topic_0000001231313909_row172484457128"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.1 "><p id="swr_02_0075__en-us_topic_0000001231313909_p325274512125">size</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.2 "><p id="swr_02_0075__en-us_topic_0000001231313909_p10253124520124">Long</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.5.2.4.1.3 "><p id="swr_02_0075__en-us_topic_0000001231313909_p22531645181218">Repository size.</p>
</td>
</tr>
<tr id="swr_02_0075__en-us_topic_0000001231313909_row172481345171212"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.1 "><p id="swr_02_0075__en-us_topic_0000001231313909_p1525319458124">is_public</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.2 "><p id="swr_02_0075__en-us_topic_0000001231313909_p14253184561214">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.5.2.4.1.3 "><p id="swr_02_0075__en-us_topic_0000001231313909_p1625384515126">Whether the repository is public. When the value is <strong id="swr_02_0075__en-us_topic_0000001231313909_b80082454914052">true</strong>, it indicates the repository is public. When the value is <strong id="swr_02_0075__en-us_topic_0000001231313909_b133831402514052">false</strong>, it indicates the repository is private.</p>
</td>
</tr>
<tr id="swr_02_0075__en-us_topic_0000001231313909_row1324894571219"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.1 "><p id="swr_02_0075__en-us_topic_0000001231313909_p12254124541214">num_images</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.2 "><p id="swr_02_0075__en-us_topic_0000001231313909_p1425415457122">Long</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.5.2.4.1.3 "><p id="swr_02_0075__en-us_topic_0000001231313909_p1325494516128">Number of images in a repository, ranging from 0 to 9,223,372,036,854,775,807.</p>
</td>
</tr>
<tr id="swr_02_0075__en-us_topic_0000001231313909_row1624894581216"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.1 "><p id="swr_02_0075__en-us_topic_0000001231313909_p1425418457124">num_download</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.2 "><p id="swr_02_0075__en-us_topic_0000001231313909_p2254745131220">Long</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.5.2.4.1.3 "><p id="swr_02_0075__en-us_topic_0000001231313909_p425510450127">The number of downloads.</p>
</td>
</tr>
<tr id="swr_02_0075__en-us_topic_0000001231313909_row1524804518126"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.1 "><p id="swr_02_0075__en-us_topic_0000001231313909_p1225524520128">created_at</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.2 "><p id="swr_02_0075__en-us_topic_0000001231313909_p162551945121213">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.5.2.4.1.3 "><p id="swr_02_0075__en-us_topic_0000001231313909_p1625574531215">Time when a repository was created. It is the UTC standard time. Users need to calculate the offset based on the local time, for example, UTC+8:00 for the East 8th Time Zone.</p>
</td>
</tr>
<tr id="swr_02_0075__en-us_topic_0000001231313909_row12248104520127"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.1 "><p id="swr_02_0075__en-us_topic_0000001231313909_p1625584571213">updated_at</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.2 "><p id="swr_02_0075__en-us_topic_0000001231313909_p825644518122">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.5.2.4.1.3 "><p id="swr_02_0075__en-us_topic_0000001231313909_p1425644531212">Time when a repository was updated. It is the UTC standard time. Users need to calculate the offset based on the local time, for example, UTC+8:00 for the East 8th Time Zone.</p>
</td>
</tr>
<tr id="swr_02_0075__en-us_topic_0000001231313909_row8249134591220"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.1 "><p id="swr_02_0075__en-us_topic_0000001231313909_p9256164518125">logo</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.2 "><p id="swr_02_0075__en-us_topic_0000001231313909_p162561453124">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.5.2.4.1.3 "><p id="swr_02_0075__en-us_topic_0000001231313909_p10256134571211">Repository logo address (not in use).</p>
</td>
</tr>
<tr id="swr_02_0075__en-us_topic_0000001231313909_row1424964516123"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.1 "><p id="swr_02_0075__en-us_topic_0000001231313909_p6257045201219">url</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.2 "><p id="swr_02_0075__en-us_topic_0000001231313909_p32572045131210">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.5.2.4.1.3 "><p id="swr_02_0075__en-us_topic_0000001231313909_p12257124510129">URL of the repository logo (not in use).</p>
</td>
</tr>
<tr id="swr_02_0075__en-us_topic_0000001231313909_row324912456127"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.1 "><p id="swr_02_0075__en-us_topic_0000001231313909_p1325764591215">path</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.2 "><p id="swr_02_0075__en-us_topic_0000001231313909_p172578451128">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.5.2.4.1.3 "><p id="swr_02_0075__en-us_topic_0000001231313909_p025754521215">External image pull address, for example, swr.{region}.mycloud.com/namespace/repository.</p>
</td>
</tr>
<tr id="swr_02_0075__en-us_topic_0000001231313909_row6249124513126"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.1 "><p id="swr_02_0075__en-us_topic_0000001231313909_p1725819459122">internal_path</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.2 "><p id="swr_02_0075__en-us_topic_0000001231313909_p325811452126">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.5.2.4.1.3 "><p id="swr_02_0075__en-us_topic_0000001231313909_p3258104521211">Internal image pull address, for example, 10.125.0.198:20202/namespace/repository.</p>
</td>
</tr>
<tr id="swr_02_0075__en-us_topic_0000001231313909_row1324934514127"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.1 "><p id="swr_02_0075__en-us_topic_0000001231313909_p725815451127">domain_name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.2 "><p id="swr_02_0075__en-us_topic_0000001231313909_p425884513122">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.5.2.4.1.3 "><p id="swr_02_0075__en-us_topic_0000001231313909_p112591845131210">Tenant name.</p>
</td>
</tr>
<tr id="swr_02_0075__en-us_topic_0000001231313909_row52499455128"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.1 "><p id="swr_02_0075__en-us_topic_0000001231313909_p7259845131215">namespace</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.2 "><p id="swr_02_0075__en-us_topic_0000001231313909_p1525974541220">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.5.2.4.1.3 "><p id="swr_02_0075__en-us_topic_0000001231313909_p16259194521218">Tenant organization.</p>
</td>
</tr>
<tr id="swr_02_0075__en-us_topic_0000001231313909_row62493450124"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.1 "><p id="swr_02_0075__en-us_topic_0000001231313909_p1525944518123">tags</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.2 "><p id="swr_02_0075__en-us_topic_0000001231313909_p162593457123">Array of strings</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.5.2.4.1.3 "><p id="swr_02_0075__en-us_topic_0000001231313909_p172601245161218">Image tag list.</p>
</td>
</tr>
<tr id="swr_02_0075__en-us_topic_0000001231313909_row524917456126"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.1 "><p id="swr_02_0075__en-us_topic_0000001231313909_p14260144511211">status</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.2 "><p id="swr_02_0075__en-us_topic_0000001231313909_p162608458128">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.5.2.4.1.3 "><p id="swr_02_0075__en-us_topic_0000001231313909_p1826014459123">Query images shared by others: specifies whether the shared images have expired. Query images shared by yourself: The default value is <strong id="swr_02_0075__en-us_topic_0000001231313909_b15711103951716">false</strong>, which is meaningless.</p>
</td>
</tr>
<tr id="swr_02_0075__en-us_topic_0000001231313909_row324964510124"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.1 "><p id="swr_02_0075__en-us_topic_0000001231313909_p1926014455122">total_range</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.2 "><p id="swr_02_0075__en-us_topic_0000001231313909_p126017459123">Long</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.5.2.4.1.3 "><p id="swr_02_0075__en-us_topic_0000001231313909_p192611445141213">Total number of records.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="swr_02_0075__en-us_topic_0000001231313909_section42611445181214"><h4 class="sectiontitle">Example Request</h4><pre class="screen" id="swr_02_0075__en-us_topic_0000001231313909_screen5261184591212">GET https://{endpoint}/v2/manage/shared-repositories</pre>
</div>
<div class="section" id="swr_02_0075__en-us_topic_0000001231313909_section14261144513125"><h4 class="sectiontitle">Example Response</h4><p id="swr_02_0075__en-us_topic_0000001231313909_p5261145151216"><strong id="swr_02_0075__en-us_topic_0000001231313909_b473270358111025">Status code: 200</strong></p>
<p id="swr_02_0075__en-us_topic_0000001231313909_p132621145131212">Request succeeded.</p>
<pre class="screen" id="swr_02_0075__en-us_topic_0000001231313909_screen1926820457122">[ {
"name" : "demo",
"category" : "other",
"description" : "",
"size" : 115645792,
"is_public" : false,
"num_images" : 1,
"num_download" : 0,
"created_at" : "2018-03-21T12:22:37Z",
"updated_at" : "2018-03-21T12:22:37Z",
"logo" : "",
"url" : "",
"path" : "swr.***.mycloud.com/namespace/demo",
"internal_path" : "100.125.0.198:20202/namespace/demo",
"domain_name" : "domain_name",
"namespace" : "namespace",
"tags" : [ "latest" ],
"status" : true
} ]</pre>
</div>
<div class="section" id="swr_02_0075__en-us_topic_0000001231313909_section4270945131211"><h4 class="sectiontitle">Status Codes</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="swr_02_0075__en-us_topic_0000001231313909_status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="swr_02_0075__en-us_topic_0000001231313909_row18271194541212"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.8.2.1.3.1.1"><p id="swr_02_0075__en-us_topic_0000001231313909_p16271174521211">Status Code</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.8.2.1.3.1.2"><p id="swr_02_0075__en-us_topic_0000001231313909_p8272114514127">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="swr_02_0075__en-us_topic_0000001231313909_row62711345191220"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="swr_02_0075__en-us_topic_0000001231313909_p427244501215">200</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="swr_02_0075__en-us_topic_0000001231313909_p1227219450120">Request succeeded.</p>
</td>
</tr>
<tr id="swr_02_0075__en-us_topic_0000001231313909_row1427184541219"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="swr_02_0075__en-us_topic_0000001231313909_p627216459121">400</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="swr_02_0075__en-us_topic_0000001231313909_p1627264517126">Request error.</p>
</td>
</tr>
<tr id="swr_02_0075__en-us_topic_0000001231313909_row3271445131217"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="swr_02_0075__en-us_topic_0000001231313909_p8273144519122">401</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="swr_02_0075__en-us_topic_0000001231313909_p13273184514123">Authentication failed.</p>
</td>
</tr>
<tr id="swr_02_0075__en-us_topic_0000001231313909_row42711455120"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="swr_02_0075__en-us_topic_0000001231313909_p202731445101217">500</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="swr_02_0075__en-us_topic_0000001231313909_p027344514124">Internal error.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="swr_02_0075__en-us_topic_0000001231313909_section1727314451129"><h4 class="sectiontitle">Error Codes</h4><p id="swr_02_0075__en-us_topic_0000001231313909_p142738458129">For details, see <a href="ErrorCode.html">Error Codes</a>.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="swr_02_0076.html">Image Repository Management</a></div>
</div>
</div>