Files
doc-exports/docs/swr/api-ref/swr_02_0035.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

387 lines
37 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_0035"></a><a name="swr_02_0035"></a>
<h1 class="topictitle1">Querying Image Tags</h1>
<div id="body8662426"><div class="section" id="swr_02_0035__en-us_topic_0000001230995415_section1171815232499"><h4 class="sectiontitle">Description</h4><p id="swr_02_0035__en-us_topic_0000001230995415_p4718623124914">Query image tags.</p>
</div>
<div class="section" id="swr_02_0035__en-us_topic_0000001230995415_section8718123154910"><h4 class="sectiontitle">Constraints</h4><p id="swr_02_0035__en-us_topic_0000001230995415_p1271992317491">None</p>
</div>
<div class="section" id="swr_02_0035__en-us_topic_0000001230995415_section10719323114912"><h4 class="sectiontitle">URI</h4><p id="swr_02_0035__en-us_topic_0000001230995415_p14720122318499">GET /v2/manage/namespaces/{namespace}/repos/{repository}/tags</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="swr_02_0035__en-us_topic_0000001230995415_table07216236493" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path parameters</caption><thead align="left"><tr id="swr_02_0035__en-us_topic_0000001230995415_row67207235499"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.1"><p id="swr_02_0035__en-us_topic_0000001230995415_p18721152334919">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_0035__en-us_topic_0000001230995415_p2722102384918">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.3"><p id="swr_02_0035__en-us_topic_0000001230995415_p12722923134918">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.3.2.5.1.4"><p id="swr_02_0035__en-us_topic_0000001230995415_p472217239494">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="swr_02_0035__en-us_topic_0000001230995415_row14721152319492"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="swr_02_0035__en-us_topic_0000001230995415_p17723182314499">namespace</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="swr_02_0035__en-us_topic_0000001230995415_p67231923104916">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="swr_02_0035__en-us_topic_0000001230995415_p1072352317495">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="swr_02_0035__en-us_topic_0000001230995415_p47230232499">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_0035__en-us_topic_0000001230995415_row1372115232498"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="swr_02_0035__en-us_topic_0000001230995415_p27231923164915">repository</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="swr_02_0035__en-us_topic_0000001230995415_p9724132315492">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="swr_02_0035__en-us_topic_0000001230995415_p1872411238498">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="swr_02_0035__en-us_topic_0000001230995415_p1833713588245">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>
</tbody>
</table>
</div>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="swr_02_0035__en-us_topic_0000001230995415_table107261723194913" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Query parameters</caption><thead align="left"><tr id="swr_02_0035__en-us_topic_0000001230995415_row37251023144917"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.1"><p id="swr_02_0035__en-us_topic_0000001230995415_p19726112310496">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.2"><p id="swr_02_0035__en-us_topic_0000001230995415_p107279232493">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.3"><p id="swr_02_0035__en-us_topic_0000001230995415_p47275235494">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.4.2.5.1.4"><p id="swr_02_0035__en-us_topic_0000001230995415_p87277230497">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="swr_02_0035__en-us_topic_0000001230995415_row19725192316493"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="swr_02_0035__en-us_topic_0000001230995415_p15727923134916">limit</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="swr_02_0035__en-us_topic_0000001230995415_p12727182318497">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="swr_02_0035__en-us_topic_0000001230995415_p6727172316493">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="swr_02_0035__en-us_topic_0000001230995415_p7728172319498">Number of returned records. Parameters <strong id="swr_02_0035__en-us_topic_0000001230995415_b187631819122514">offset</strong> and <strong id="swr_02_0035__en-us_topic_0000001230995415_b1476361952516">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_0035__en-us_topic_0000001230995415_row972592354916"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="swr_02_0035__en-us_topic_0000001230995415_p1272842320498">offset</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="swr_02_0035__en-us_topic_0000001230995415_p127281623204913">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="swr_02_0035__en-us_topic_0000001230995415_p11728723124917">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="swr_02_0035__en-us_topic_0000001230995415_p1655621718286">Start index. The value must be <strong id="swr_02_0035__en-us_topic_0000001230995415_b1805986841636">0</strong> or a positive number. If this parameter is not specified, all records will be returned by default.</p>
<p id="swr_02_0035__en-us_topic_0000001230995415_p11728162384913">Parameters <strong id="swr_02_0035__en-us_topic_0000001230995415_b20988420645955">offset</strong> and <strong id="swr_02_0035__en-us_topic_0000001230995415_b15009065835955">limit</strong> should always be used together.</p>
</td>
</tr>
<tr id="swr_02_0035__en-us_topic_0000001230995415_row072512334911"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="swr_02_0035__en-us_topic_0000001230995415_p177291323104918">order_column</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="swr_02_0035__en-us_topic_0000001230995415_p4729723184915">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="swr_02_0035__en-us_topic_0000001230995415_p772972384913">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="swr_02_0035__en-us_topic_0000001230995415_p972922319490">Sorting by column. You can set this parameter to <strong id="swr_02_0035__en-us_topic_0000001230995415_b3777837194514">updated_at</strong> (sorting by update time) or <strong id="swr_02_0035__en-us_topic_0000001230995415_b19855191312464">tag</strong> (sorting by tag). Parameters <strong id="swr_02_0035__en-us_topic_0000001230995415_b135459086351125">order_column</strong> and <strong id="swr_02_0035__en-us_topic_0000001230995415_b29586682651125">order_type</strong> should always be used together.</p>
</td>
</tr>
<tr id="swr_02_0035__en-us_topic_0000001230995415_row187261423114911"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="swr_02_0035__en-us_topic_0000001230995415_p1972932316498">order_type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="swr_02_0035__en-us_topic_0000001230995415_p873042324917">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="swr_02_0035__en-us_topic_0000001230995415_p117301123104918">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="swr_02_0035__en-us_topic_0000001230995415_p973042318499">Sorting order. You can set this parameter to <strong id="swr_02_0035__en-us_topic_0000001230995415_b624745416115">desc</strong> (descending order) and <strong id="swr_02_0035__en-us_topic_0000001230995415_b162482545112">asc</strong> (ascending order). Parameters <strong id="swr_02_0035__en-us_topic_0000001230995415_b14199102452519">order_column</strong> and <strong id="swr_02_0035__en-us_topic_0000001230995415_b820042492511">order_type</strong> should always be used together.</p>
</td>
</tr>
<tr id="swr_02_0035__en-us_topic_0000001230995415_row1072602317493"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="swr_02_0035__en-us_topic_0000001230995415_p19730142319498">tag</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="swr_02_0035__en-us_topic_0000001230995415_p127314233498">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="swr_02_0035__en-us_topic_0000001230995415_p177311234493">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="swr_02_0035__en-us_topic_0000001230995415_p14731623194915">Image tag name.</p>
</td>
</tr>
<tr id="swr_02_0035__en-us_topic_0000001230995415_row57261237492"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="swr_02_0035__en-us_topic_0000001230995415_p973192310492">filter</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="swr_02_0035__en-us_topic_0000001230995415_p7732123184917">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="swr_02_0035__en-us_topic_0000001230995415_p473232311497">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="swr_02_0035__en-us_topic_0000001230995415_p137321723144915">Set this parameter to <strong id="swr_02_0035__en-us_topic_0000001230995415_b5288105510465">offset</strong>::{<em id="swr_02_0035__en-us_topic_0000001230995415_i42899553465">offset</em>}|<strong id="swr_02_0035__en-us_topic_0000001230995415_b1289195544619">limit</strong>::{<em id="swr_02_0035__en-us_topic_0000001230995415_i62898554467">limit</em>}|<strong id="swr_02_0035__en-us_topic_0000001230995415_b1028965524610">order_column</strong>::{<em id="swr_02_0035__en-us_topic_0000001230995415_i14289105544619">order_column</em>}|<strong id="swr_02_0035__en-us_topic_0000001230995415_b1028925534617">order_type</strong>::{<em id="swr_02_0035__en-us_topic_0000001230995415_i328955516469">order_type</em>}|<strong id="swr_02_0035__en-us_topic_0000001230995415_b12907558467">tag</strong>::{<em id="swr_02_0035__en-us_topic_0000001230995415_i1929085584612">tag</em>}. <strong id="swr_02_0035__en-us_topic_0000001230995415_b82905555466">limit</strong> indicates the number of returned records. <strong id="swr_02_0035__en-us_topic_0000001230995415_b1290125514611">offset</strong> indicates the start index. Parameters <strong id="swr_02_0035__en-us_topic_0000001230995415_b0290125584612">offset</strong> and <strong id="swr_02_0035__en-us_topic_0000001230995415_b18290655154613">limit</strong> should always be used together. <strong id="swr_02_0035__en-us_topic_0000001230995415_b1804142104710">order_column</strong> indicates sorting by column. The value can be <strong id="swr_02_0035__en-us_topic_0000001230995415_b18804142184711">updated_at</strong> (sorting by update time) or <strong id="swr_02_0035__en-us_topic_0000001230995415_b18790114717484">tag</strong> (sorting by tag). <strong id="swr_02_0035__en-us_topic_0000001230995415_b128053274718">order_type</strong> indicates the sorting order. The value can be <strong id="swr_02_0035__en-us_topic_0000001230995415_b118058284713">desc</strong> (descending order) or <strong id="swr_02_0035__en-us_topic_0000001230995415_b28053215472">asc</strong> (ascending order). <strong id="swr_02_0035__en-us_topic_0000001230995415_b1480512144718">tag</strong> indicates the image tag name.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="swr_02_0035__en-us_topic_0000001230995415_section13732423204917"><h4 class="sectiontitle">Request Parameters</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="swr_02_0035__en-us_topic_0000001230995415_HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Request header parameters</caption><thead align="left"><tr id="swr_02_0035__en-us_topic_0000001230995415_row15733112317498"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.5.1.1"><p id="swr_02_0035__en-us_topic_0000001230995415_p173492315498">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_0035__en-us_topic_0000001230995415_p7734112312495">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_0035__en-us_topic_0000001230995415_p117341023184912">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_0035__en-us_topic_0000001230995415_p107341723114913">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="swr_02_0035__en-us_topic_0000001230995415_row27331523104917"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.1 "><p id="swr_02_0035__en-us_topic_0000001230995415_p177341623134914">Content-Type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.2 "><p id="swr_02_0035__en-us_topic_0000001230995415_p773492318497">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.3 "><p id="swr_02_0035__en-us_topic_0000001230995415_p9735323104912">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.2.2.5.1.4 "><p id="swr_02_0035__en-us_topic_0000001230995415_p3735112374914">Message body type (format). The value can be <strong id="swr_02_0035__en-us_topic_0000001230995415_b1713514148591">application/json</strong> or <strong id="swr_02_0035__en-us_topic_0000001230995415_b1913551415916">charset=utf-8 application/json</strong>.</p>
<p id="swr_02_0035__en-us_topic_0000001230995415_p11735172319493">Default value: <strong id="swr_02_0035__en-us_topic_0000001230995415_b14192141716596">application/json</strong></p>
</td>
</tr>
<tr id="swr_02_0035__en-us_topic_0000001230995415_row1673342318497"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.1 "><p id="swr_02_0035__en-us_topic_0000001230995415_p1273516232497">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_0035__en-us_topic_0000001230995415_p27351523114910">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.3 "><p id="swr_02_0035__en-us_topic_0000001230995415_p10735823124911">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.2.2.5.1.4 "><p id="swr_02_0035__en-us_topic_0000001230995415_p8736923144920">User token.</p>
<p id="swr_02_0035__en-us_topic_0000001230995415_p873602354920">The token can be obtained through the IAM API used to obtain a user token. The value of <strong id="swr_02_0035__en-us_topic_0000001230995415_b1188716591175">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_0035__en-us_topic_0000001230995415_section117361223194917"><h4 class="sectiontitle">Response Parameters</h4><p id="swr_02_0035__en-us_topic_0000001230995415_p1773616235494"><strong id="swr_02_0035__en-us_topic_0000001230995415_b37822347111027">Status code: 200</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="swr_02_0035__en-us_topic_0000001230995415_ResponseHeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 4 </b>Response header parameter</caption><thead align="left"><tr id="swr_02_0035__en-us_topic_0000001230995415_row97361223184916"><th align="left" class="cellrowborder" valign="top" width="30%" id="mcps1.3.5.3.2.4.1.1"><p id="swr_02_0035__en-us_topic_0000001230995415_p4737823104915">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_0035__en-us_topic_0000001230995415_p127381823104910">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_0035__en-us_topic_0000001230995415_p173872374912">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="swr_02_0035__en-us_topic_0000001230995415_row127361623174914"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.5.3.2.4.1.1 "><p id="swr_02_0035__en-us_topic_0000001230995415_p1673962344913">Content-Range</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.2 "><p id="swr_02_0035__en-us_topic_0000001230995415_p573920235492">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.3.2.4.1.3 "><p id="swr_02_0035__en-us_topic_0000001230995415_p10739102318491"><em id="swr_02_0035__en-us_topic_0000001230995415_i10868162912312">Offset</em> (Start index) <em id="swr_02_0035__en-us_topic_0000001230995415_i186339322326">Count</em> (Number of records on the current page)/<em id="swr_02_0035__en-us_topic_0000001230995415_i11112163773216">Total</em> (Total number of records)</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="swr_02_0035__en-us_topic_0000001230995415_response_ListRepositoryTagsDetailsResp" frame="border" border="1" rules="all"><caption><b>Table 5 </b>Response body parameter</caption><thead align="left"><tr id="swr_02_0035__en-us_topic_0000001230995415_row16740723114914"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.4.2.4.1.1"><p id="swr_02_0035__en-us_topic_0000001230995415_p187411923144920">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_0035__en-us_topic_0000001230995415_p17413232497">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_0035__en-us_topic_0000001230995415_p1874113232492">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="swr_02_0035__en-us_topic_0000001230995415_row17401623194911"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="swr_02_0035__en-us_topic_0000001230995415_p874122324915">[items]</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="swr_02_0035__en-us_topic_0000001230995415_p274262315493">Array of <a href="#swr_02_0035__en-us_topic_0000001230995415_response_ShowReposTagResp">ShowReposTagResp</a> objects</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="swr_02_0035__en-us_topic_0000001230995415_p7742523144914">Image tag list.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="swr_02_0035__en-us_topic_0000001230995415_response_ShowReposTagResp"></a><a name="en-us_topic_0000001230995415_response_ShowReposTagResp"></a><table cellpadding="4" cellspacing="0" summary="" id="swr_02_0035__en-us_topic_0000001230995415_response_ShowReposTagResp" frame="border" border="1" rules="all"><caption><b>Table 6 </b>ShowReposTagResp</caption><thead align="left"><tr id="swr_02_0035__en-us_topic_0000001230995415_row1974382324915"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.5.2.4.1.1"><p id="swr_02_0035__en-us_topic_0000001230995415_p14745142317495">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_0035__en-us_topic_0000001230995415_p674572394916">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_0035__en-us_topic_0000001230995415_p8745162315495">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="swr_02_0035__en-us_topic_0000001230995415_row6743723184911"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.1 "><p id="swr_02_0035__en-us_topic_0000001230995415_p2746172384912">id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.2 "><p id="swr_02_0035__en-us_topic_0000001230995415_p19746192314494">Long</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.5.2.4.1.3 "><p id="swr_02_0035__en-us_topic_0000001230995415_p16746172319494">Tag ID.</p>
</td>
</tr>
<tr id="swr_02_0035__en-us_topic_0000001230995415_row5743112312491"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.1 "><p id="swr_02_0035__en-us_topic_0000001230995415_p674615234493">repo_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.2 "><p id="swr_02_0035__en-us_topic_0000001230995415_p14746152311496">Long</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.5.2.4.1.3 "><p id="swr_02_0035__en-us_topic_0000001230995415_p2747323124917">Repository ID.</p>
</td>
</tr>
<tr id="swr_02_0035__en-us_topic_0000001230995415_row2743142384919"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.1 "><p id="swr_02_0035__en-us_topic_0000001230995415_p207471323134915">Tag</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.2 "><p id="swr_02_0035__en-us_topic_0000001230995415_p8747142334917">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.5.2.4.1.3 "><p id="swr_02_0035__en-us_topic_0000001230995415_p5747112384911">Image tag name.</p>
</td>
</tr>
<tr id="swr_02_0035__en-us_topic_0000001230995415_row6743132312496"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.1 "><p id="swr_02_0035__en-us_topic_0000001230995415_p0747823194917">image_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.2 "><p id="swr_02_0035__en-us_topic_0000001230995415_p1074813239495">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.5.2.4.1.3 "><p id="swr_02_0035__en-us_topic_0000001230995415_p15748723124917">Image ID.</p>
</td>
</tr>
<tr id="swr_02_0035__en-us_topic_0000001230995415_row1874392315497"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.1 "><p id="swr_02_0035__en-us_topic_0000001230995415_p1748523144910">manifest</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.2 "><p id="swr_02_0035__en-us_topic_0000001230995415_p57481623184913">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.5.2.4.1.3 "><p id="swr_02_0035__en-us_topic_0000001230995415_p774832394920">Image manifest.</p>
</td>
</tr>
<tr id="swr_02_0035__en-us_topic_0000001230995415_row15743923134912"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.1 "><p id="swr_02_0035__en-us_topic_0000001230995415_p674912354917">digest</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.2 "><p id="swr_02_0035__en-us_topic_0000001230995415_p19749112314496">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.5.2.4.1.3 "><p id="swr_02_0035__en-us_topic_0000001230995415_p174972344911">Hash value of an image.</p>
</td>
</tr>
<tr id="swr_02_0035__en-us_topic_0000001230995415_row17431223184916"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.1 "><p id="swr_02_0035__en-us_topic_0000001230995415_p674952374912">schema</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.2 "><p id="swr_02_0035__en-us_topic_0000001230995415_p12750132334911">Long</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.5.2.4.1.3 "><p id="swr_02_0035__en-us_topic_0000001230995415_p157501023144915">Docker protocol version. The version can be <strong id="swr_02_0035__en-us_topic_0000001230995415_b112161677256">1</strong> or <strong id="swr_02_0035__en-us_topic_0000001230995415_b42161378256">2</strong>.</p>
</td>
</tr>
<tr id="swr_02_0035__en-us_topic_0000001230995415_row187432231491"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.1 "><p id="swr_02_0035__en-us_topic_0000001230995415_p17750132324917">path</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.2 "><p id="swr_02_0035__en-us_topic_0000001230995415_p77511423164916">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.5.2.4.1.3 "><p id="swr_02_0035__en-us_topic_0000001230995415_p14751122324910">External image pull address, for example, swr.{region}.mycloud.com/namespace/repository:tag.</p>
</td>
</tr>
<tr id="swr_02_0035__en-us_topic_0000001230995415_row6744192334919"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.1 "><p id="swr_02_0035__en-us_topic_0000001230995415_p1975112384920">internal_path</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.2 "><p id="swr_02_0035__en-us_topic_0000001230995415_p475142364912">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.5.2.4.1.3 "><p id="swr_02_0035__en-us_topic_0000001230995415_p19751142316494">Internal image pull address, for example, 10.125.0.198:20202/namespace/repository:tag.</p>
</td>
</tr>
<tr id="swr_02_0035__en-us_topic_0000001230995415_row374412236498"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.1 "><p id="swr_02_0035__en-us_topic_0000001230995415_p187521923184911">size</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.2 "><p id="swr_02_0035__en-us_topic_0000001230995415_p575212344913">Long</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.5.2.4.1.3 "><p id="swr_02_0035__en-us_topic_0000001230995415_p15752323124914">Image size, ranging from 0 to 9,223,372,036,854,775,807.</p>
</td>
</tr>
<tr id="swr_02_0035__en-us_topic_0000001230995415_row274492317493"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.1 "><p id="swr_02_0035__en-us_topic_0000001230995415_p0753162374917">is_trusted</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.2 "><p id="swr_02_0035__en-us_topic_0000001230995415_p375312311496">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.5.2.4.1.3 "><p id="swr_02_0035__en-us_topic_0000001230995415_p11753172324915">By default, the value is <strong id="swr_02_0035__en-us_topic_0000001230995415_b1859148587104241">false</strong>.</p>
<p id="swr_02_0035__en-us_topic_0000001230995415_p275322313493">Default value: <strong id="swr_02_0035__en-us_topic_0000001230995415_b652012537108">false</strong></p>
</td>
</tr>
<tr id="swr_02_0035__en-us_topic_0000001230995415_row1744172316492"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.1 "><p id="swr_02_0035__en-us_topic_0000001230995415_p147531723124918">created</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.2 "><p id="swr_02_0035__en-us_topic_0000001230995415_p77546234496">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.5.2.4.1.3 "><p id="swr_02_0035__en-us_topic_0000001230995415_p1875417237499">Time when the image 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_0035__en-us_topic_0000001230995415_row11744122313496"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.1 "><p id="swr_02_0035__en-us_topic_0000001230995415_p4755192319495">updated</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.2 "><p id="swr_02_0035__en-us_topic_0000001230995415_p1575602317498">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.5.2.4.1.3 "><p id="swr_02_0035__en-us_topic_0000001230995415_p117571323124914">Time when an image 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_0035__en-us_topic_0000001230995415_row17441823174912"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.1 "><p id="swr_02_0035__en-us_topic_0000001230995415_p187575233499">deleted</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.2 "><p id="swr_02_0035__en-us_topic_0000001230995415_p1475772314490">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.5.2.4.1.3 "><p id="swr_02_0035__en-us_topic_0000001230995415_p14757182317491">Time when an image is deleted. 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_0035__en-us_topic_0000001230995415_row1474418232492"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.1 "><p id="swr_02_0035__en-us_topic_0000001230995415_p275719231496">domain_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.2 "><p id="swr_02_0035__en-us_topic_0000001230995415_p197588231499">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.5.2.4.1.3 "><p id="swr_02_0035__en-us_topic_0000001230995415_p875852313497">Account ID.</p>
</td>
</tr>
<tr id="swr_02_0035__en-us_topic_0000001230995415_row16744132315491"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.1 "><p id="swr_02_0035__en-us_topic_0000001230995415_p775815238497">scanned</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.2 "><p id="swr_02_0035__en-us_topic_0000001230995415_p475817239497">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.5.2.4.1.3 "><p id="swr_02_0035__en-us_topic_0000001230995415_p1375852394918">Whether the image has been scanned.</p>
</td>
</tr>
<tr id="swr_02_0035__en-us_topic_0000001230995415_row1174482312491"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.1 "><p id="swr_02_0035__en-us_topic_0000001230995415_p157581823154918">tag_type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.2 "><p id="swr_02_0035__en-us_topic_0000001230995415_p97592232491">Long</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.5.2.4.1.3 "><p id="swr_02_0035__en-us_topic_0000001230995415_p1875942318495"><strong id="swr_02_0035__en-us_topic_0000001230995415_b1768610508269">0</strong>: manifest; <strong id="swr_02_0035__en-us_topic_0000001230995415_b8850185815268">1</strong>: manifest list.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="swr_02_0035__en-us_topic_0000001230995415_section197591123184914"><h4 class="sectiontitle">Example Request</h4><pre class="screen" id="swr_02_0035__en-us_topic_0000001230995415_screen375952312494">GET https://{endpoint}/v2/manage/namespaces/{namespace}/repos/{repository}/tags</pre>
</div>
<div class="section" id="swr_02_0035__en-us_topic_0000001230995415_section576019230499"><h4 class="sectiontitle">Example Response</h4><p id="swr_02_0035__en-us_topic_0000001230995415_p47601823194918"><strong id="swr_02_0035__en-us_topic_0000001230995415_b1436204600111027">Status code: 200</strong></p>
<p id="swr_02_0035__en-us_topic_0000001230995415_p14760923124913">The list of image tags is queried successfully.</p>
<pre class="screen" id="swr_02_0035__en-us_topic_0000001230995415_screen776052324915">[ {
"id" : 0,
"repo_id" : 0,
"Tag" : "latest",
"image_id" : "741f24a795d6d93d7c6edd11780d63c13e16c39615dd9d223378a57a836f2ee6",
"manifest" : "{\"schemaVersion\":2,\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"config\":{\"mediaType\":\"application/vnd.docker.container.image.v1+json\",\"size\":1862,\"digest\":\"sha256:741f24a795d6d93d7c6edd11780d63c13e16c39615dd9d223378a57a836f2ee6\"},\"layers\":[{\"mediaType\":\"application/vnd.docker.image.rootfs.diff.tar.gzip\",\"size\":1292800,\"digest\":\"sha256:8ac8bfaff55af948c796026ee867448c5b5b5d9dd3549f4006d9759b25d4a893\"},{\"mediaType\":\"application/vnd.docker.image.rootfs.diff.tar.gzip\",\"size\":10240,\"digest\":\"sha256:77ddbf3a9fe11e81761a0f9df43a28e3e6f29bbb53c0c8cf71cd7efa69729aed\"}]}",
"digest" : "sha256:57b605845a6367c34bfb6ea6477f16852f59aa1861a2b51d10ab77ae0a1dc9c3",
"schema" : 2,
"path" : "swr.***.mycloud.com/namespace/busybox:latest",
"internal_path" : "10.125.0.198:20202/namespace/busybox:latest",
"size" : 1304902,
"is_trusted" : false,
"created" : "2018-07-06T06:18:55Z",
"updated" : "2018-07-06T06:18:55Z",
"deleted" : null,
"domain_id" : "050*****************6d70a960",
"scanned" : false,
"tag_type" : 0
} ]</pre>
</div>
<div class="section" id="swr_02_0035__en-us_topic_0000001230995415_section576282384913"><h4 class="sectiontitle">Status Codes</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="swr_02_0035__en-us_topic_0000001230995415_status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="swr_02_0035__en-us_topic_0000001230995415_row117631123144914"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.8.2.1.3.1.1"><p id="swr_02_0035__en-us_topic_0000001230995415_p876417232494">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_0035__en-us_topic_0000001230995415_p1776402316497">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="swr_02_0035__en-us_topic_0000001230995415_row16763122324917"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="swr_02_0035__en-us_topic_0000001230995415_p17764323194910">200</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="swr_02_0035__en-us_topic_0000001230995415_p0764122313492">Image tag list queried.</p>
</td>
</tr>
<tr id="swr_02_0035__en-us_topic_0000001230995415_row137631223194918"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="swr_02_0035__en-us_topic_0000001230995415_p3764123164911">400</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="swr_02_0035__en-us_topic_0000001230995415_p176572314915">Request error.</p>
</td>
</tr>
<tr id="swr_02_0035__en-us_topic_0000001230995415_row117631423154910"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="swr_02_0035__en-us_topic_0000001230995415_p576515232491">401</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="swr_02_0035__en-us_topic_0000001230995415_p6765142317499">Authentication failed.</p>
</td>
</tr>
<tr id="swr_02_0035__en-us_topic_0000001230995415_row3763523134917"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="swr_02_0035__en-us_topic_0000001230995415_p1276512364918">404</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="swr_02_0035__en-us_topic_0000001230995415_p87658233491">The image repository was not found.</p>
</td>
</tr>
<tr id="swr_02_0035__en-us_topic_0000001230995415_row37631223164919"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="swr_02_0035__en-us_topic_0000001230995415_p676612310494">500</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="swr_02_0035__en-us_topic_0000001230995415_p67666234491">Internal error.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="swr_02_0035__en-us_topic_0000001230995415_section7768923124911"><h4 class="sectiontitle">Error Codes</h4><p id="swr_02_0035__en-us_topic_0000001230995415_p1976842311498">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_0077.html">Image Tag Management</a></div>
</div>
</div>