forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: Dong, Qiu Jian <qiujiandong1@huawei.com> Co-committed-by: Dong, Qiu Jian <qiujiandong1@huawei.com>
300 lines
23 KiB
HTML
300 lines
23 KiB
HTML
<a name="swr_02_0035"></a><a name="swr_02_0035"></a>
|
|
|
|
<h1 class="topictitle1">Querying the List of Image Repository Tags</h1>
|
|
<div id="body1531798197437"><div class="section" id="swr_02_0035__section14905762191056"><h4 class="sectiontitle">Function</h4><p id="swr_02_0035__p38546794191926">Query all image tags of an image repository.</p>
|
|
</div>
|
|
<div class="section" id="swr_02_0035__section10482810165331"><h4 class="sectiontitle">URI</h4><p id="swr_02_0035__p36111642203811">GET /v2/manage/namespaces/{<em id="swr_02_0035__i18747143119351">namespace</em>}/repos/{<em id="swr_02_0035__i5237833173519">repository</em>}/tags?filter=offset::{<em id="swr_02_0035__i19807335183510">offset</em>}|limit::{<em id="swr_02_0035__i16653163723516">limit</em>}|order_column::{<em id="swr_02_0035__i1622318405354">order_column</em>}|order_type::{<em id="swr_02_0035__i137651742143514">order_type</em>}|tag::{<em id="swr_02_0035__i15911164463518">tag</em>}</p>
|
|
<p id="swr_02_0035__p567781411386">For details about parameters, see <a href="#swr_02_0035__table11843162810214">Table 1</a>.</p>
|
|
|
|
<div class="tablenoborder"><a name="swr_02_0035__table11843162810214"></a><a name="table11843162810214"></a><table cellpadding="4" cellspacing="0" summary="" id="swr_02_0035__table11843162810214" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="swr_02_0035__row20843172818213"><th align="left" class="cellrowborder" valign="top" width="15.61%" id="mcps1.3.2.4.2.5.1.1"><p id="swr_02_0035__p3843528621">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="11.93%" id="mcps1.3.2.4.2.5.1.2"><p id="swr_02_0035__p1450315424313">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="17.22%" id="mcps1.3.2.4.2.5.1.3"><p id="swr_02_0035__p15022419437">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="55.24%" id="mcps1.3.2.4.2.5.1.4"><p id="swr_02_0035__p1584342811211">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="swr_02_0035__row1084316281925"><td class="cellrowborder" valign="top" width="15.61%" headers="mcps1.3.2.4.2.5.1.1 "><p id="swr_02_0035__p6843228526">namespace</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="11.93%" headers="mcps1.3.2.4.2.5.1.2 "><p id="swr_02_0035__p10507114164313">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.22%" headers="mcps1.3.2.4.2.5.1.3 "><p id="swr_02_0035__p105058419438">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.24%" headers="mcps1.3.2.4.2.5.1.4 "><p id="swr_02_0035__p85037015469">Organization name</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="swr_02_0035__row1319321944420"><td class="cellrowborder" valign="top" width="15.61%" headers="mcps1.3.2.4.2.5.1.1 "><p id="swr_02_0035__p919315194441">repository</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="11.93%" headers="mcps1.3.2.4.2.5.1.2 "><p id="swr_02_0035__p15466162817454">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.22%" headers="mcps1.3.2.4.2.5.1.3 "><p id="swr_02_0035__p546292854514">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.24%" headers="mcps1.3.2.4.2.5.1.4 "><p id="swr_02_0035__p13193201924411">Image repository name.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="swr_02_0035__row64791218462"><td class="cellrowborder" valign="top" width="15.61%" headers="mcps1.3.2.4.2.5.1.1 "><p id="swr_02_0035__p06735284118">offset</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="11.93%" headers="mcps1.3.2.4.2.5.1.2 "><p id="swr_02_0035__p2673928141118">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.22%" headers="mcps1.3.2.4.2.5.1.3 "><p id="swr_02_0035__p86731328171117">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.24%" headers="mcps1.3.2.4.2.5.1.4 "><p id="swr_02_0035__p4673102861117">Start index.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="swr_02_0035__row12480192174619"><td class="cellrowborder" valign="top" width="15.61%" headers="mcps1.3.2.4.2.5.1.1 "><p id="swr_02_0035__p18996138161115">limit</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="11.93%" headers="mcps1.3.2.4.2.5.1.2 "><p id="swr_02_0035__p2099715389119">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.22%" headers="mcps1.3.2.4.2.5.1.3 "><p id="swr_02_0035__p1599653891110">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.24%" headers="mcps1.3.2.4.2.5.1.4 "><p id="swr_02_0035__p149971438121120">Number of responses.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="swr_02_0035__row74701012184713"><td class="cellrowborder" valign="top" width="15.61%" headers="mcps1.3.2.4.2.5.1.1 "><p id="swr_02_0035__p17470141274715">order_column</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="11.93%" headers="mcps1.3.2.4.2.5.1.2 "><p id="swr_02_0035__p11298142374713">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.22%" headers="mcps1.3.2.4.2.5.1.3 "><p id="swr_02_0035__p179431748184713">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.24%" headers="mcps1.3.2.4.2.5.1.4 "><p id="swr_02_0035__p1847081212472">Sorting by column. You can set this parameter to <strong id="swr_02_0035__b13936324122314">updated_at</strong> (sorting by update time).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="swr_02_0035__row16470161294710"><td class="cellrowborder" valign="top" width="15.61%" headers="mcps1.3.2.4.2.5.1.1 "><p id="swr_02_0035__p1547061274718">order_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="11.93%" headers="mcps1.3.2.4.2.5.1.2 "><p id="swr_02_0035__p1430232320475">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.22%" headers="mcps1.3.2.4.2.5.1.3 "><p id="swr_02_0035__p394854824714">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.24%" headers="mcps1.3.2.4.2.5.1.4 "><p id="swr_02_0035__p12470131294710">Sorting type. You can set this parameter to <strong id="swr_02_0035__b11280182362417">desc</strong> (descending sort) and <strong id="swr_02_0035__b1395172516244">asc</strong> (ascending sort).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="swr_02_0035__row32671234114610"><td class="cellrowborder" valign="top" width="15.61%" headers="mcps1.3.2.4.2.5.1.1 "><p id="swr_02_0035__p16267173416465">tag</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="11.93%" headers="mcps1.3.2.4.2.5.1.2 "><p id="swr_02_0035__p13267103454614">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.22%" headers="mcps1.3.2.4.2.5.1.3 "><p id="swr_02_0035__p1026733434618">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.24%" headers="mcps1.3.2.4.2.5.1.4 "><p id="swr_02_0035__p9267334124613">Image tag name.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="swr_02_0035__section3270966102931"><h4 class="sectiontitle">Request</h4><ul id="swr_02_0035__ul19491754135111"><li id="swr_02_0035__li1649165475113">Request parameters<p id="swr_02_0035__p1312311213526"><a name="swr_02_0035__li1649165475113"></a><a name="li1649165475113"></a>N/A</p>
|
|
</li><li id="swr_02_0035__li119781157185116">Example request<pre class="screen" id="swr_02_0035__screen6161162310529">GET https://{Endpoint}/v2/manage/namespaces/<em id="swr_02_0035__i149214412134">group</em>/repos/<em id="swr_02_0035__i12988239171315">busybox</em>/tags</pre>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="swr_02_0035__section1262713444552"><h4 class="sectiontitle">Response</h4><ul id="swr_02_0035__ul112361746191317"><li id="swr_02_0035__li10236184671313">Response parameters
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="swr_02_0035__table34001413863" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Response body parameter description</caption><thead align="left"><tr id="swr_02_0035__row17400171319612"><th align="left" class="cellrowborder" valign="top" width="22.869999999999997%" id="mcps1.3.4.2.1.1.2.4.1.1"><p id="swr_02_0035__p1840015139619">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="21.4%" id="mcps1.3.4.2.1.1.2.4.1.2"><p id="swr_02_0035__p24002135620">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="55.730000000000004%" id="mcps1.3.4.2.1.1.2.4.1.3"><p id="swr_02_0035__p174008131163">Description.</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="swr_02_0035__row11400113668"><td class="cellrowborder" valign="top" width="22.869999999999997%" headers="mcps1.3.4.2.1.1.2.4.1.1 "><p id="swr_02_0035__p1482131117588"><em id="swr_02_0035__i16401119182119">[Array element]</em></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.4%" headers="mcps1.3.4.2.1.1.2.4.1.2 "><p id="swr_02_0035__p88201811175811">Array of <a href="#swr_02_0035__table45446245174724">objects</a></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.730000000000004%" headers="mcps1.3.4.2.1.1.2.4.1.3 "><p id="swr_02_0035__p181911115588">Image repository tag list.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="swr_02_0035__table45446245174724"></a><a name="table45446245174724"></a><table cellpadding="4" cellspacing="0" summary="" id="swr_02_0035__table45446245174724" frame="border" border="1" rules="all"><caption><b>Table 3 </b><em id="swr_02_0035__i3162172125919">[Array element]</em> parameters description</caption><thead align="left"><tr id="swr_02_0035__row1412623174724"><th align="left" class="cellrowborder" valign="top" width="34.616538346165385%" id="mcps1.3.4.2.1.2.2.4.1.1"><p id="swr_02_0035__p47313663174724">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="30.76692330766923%" id="mcps1.3.4.2.1.2.2.4.1.2"><p id="swr_02_0035__p7201512174724">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="34.616538346165385%" id="mcps1.3.4.2.1.2.2.4.1.3"><p id="swr_02_0035__p4480706174724">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="swr_02_0035__row23391130131913"><td class="cellrowborder" valign="top" width="34.616538346165385%" headers="mcps1.3.4.2.1.2.2.4.1.1 "><p id="swr_02_0035__p43401630141910">id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="30.76692330766923%" headers="mcps1.3.4.2.1.2.2.4.1.2 "><p id="swr_02_0035__p1224112114332">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="34.616538346165385%" headers="mcps1.3.4.2.1.2.2.4.1.3 "><p id="swr_02_0035__p20340730191918">ID</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="swr_02_0035__row697982791918"><td class="cellrowborder" valign="top" width="34.616538346165385%" headers="mcps1.3.4.2.1.2.2.4.1.1 "><p id="swr_02_0035__p10980112717192">repo_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="30.76692330766923%" headers="mcps1.3.4.2.1.2.2.4.1.2 "><p id="swr_02_0035__p20980132718193">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="34.616538346165385%" headers="mcps1.3.4.2.1.2.2.4.1.3 "><p id="swr_02_0035__p14980192714197">Repository ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="swr_02_0035__row17668249354"><td class="cellrowborder" valign="top" width="34.616538346165385%" headers="mcps1.3.4.2.1.2.2.4.1.1 "><p id="swr_02_0035__p3602231570">Tag</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="30.76692330766923%" headers="mcps1.3.4.2.1.2.2.4.1.2 "><p id="swr_02_0035__p360215315712">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="34.616538346165385%" headers="mcps1.3.4.2.1.2.2.4.1.3 "><p id="swr_02_0035__p206025311878">Image tag name.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="swr_02_0035__row176816213207"><td class="cellrowborder" valign="top" width="34.616538346165385%" headers="mcps1.3.4.2.1.2.2.4.1.1 "><p id="swr_02_0035__p1568212212204">image_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="30.76692330766923%" headers="mcps1.3.4.2.1.2.2.4.1.2 "><p id="swr_02_0035__p1568252172015">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="34.616538346165385%" headers="mcps1.3.4.2.1.2.2.4.1.3 "><p id="swr_02_0035__p1968202192013">Image ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="swr_02_0035__row2590104211156"><td class="cellrowborder" valign="top" width="34.616538346165385%" headers="mcps1.3.4.2.1.2.2.4.1.1 "><p id="swr_02_0035__p1592204251517">manifest</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="30.76692330766923%" headers="mcps1.3.4.2.1.2.2.4.1.2 "><p id="swr_02_0035__p95921422152">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="34.616538346165385%" headers="mcps1.3.4.2.1.2.2.4.1.3 "><p id="swr_02_0035__p145923427155">Image manifest.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="swr_02_0035__row411720412429"><td class="cellrowborder" valign="top" width="34.616538346165385%" headers="mcps1.3.4.2.1.2.2.4.1.1 "><p id="swr_02_0035__p8361449104214">digest</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="30.76692330766923%" headers="mcps1.3.4.2.1.2.2.4.1.2 "><p id="swr_02_0035__p103631149164219">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="34.616538346165385%" headers="mcps1.3.4.2.1.2.2.4.1.3 "><p id="swr_02_0035__p33651491427">SHA value of an image.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="swr_02_0035__row19747155313423"><td class="cellrowborder" valign="top" width="34.616538346165385%" headers="mcps1.3.4.2.1.2.2.4.1.1 "><p id="swr_02_0035__p55111044437">schema</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="30.76692330766923%" headers="mcps1.3.4.2.1.2.2.4.1.2 "><p id="swr_02_0035__p65137412431">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="34.616538346165385%" headers="mcps1.3.4.2.1.2.2.4.1.3 "><p id="swr_02_0035__p05141147434">Docker protocol version. The version can be <strong id="swr_02_0035__b740155745519">1</strong> or <strong id="swr_02_0035__b341175713559">2</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="swr_02_0035__row27392900174724"><td class="cellrowborder" valign="top" width="34.616538346165385%" headers="mcps1.3.4.2.1.2.2.4.1.1 "><p id="swr_02_0035__p66029311173">path</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="30.76692330766923%" headers="mcps1.3.4.2.1.2.2.4.1.2 "><p id="swr_02_0035__p460211311279">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="34.616538346165385%" headers="mcps1.3.4.2.1.2.2.4.1.3 "><p id="swr_02_0035__p9603163112712">External image pull address. The format is {<em id="swr_02_0035__i710418835719">Repository address</em>}/{<em id="swr_02_0035__i1743691115719">Namespace name</em>}/{<em id="swr_02_0035__i14586131410579">Repository name</em>}:{<em id="swr_02_0035__i2979201665717">Tag name</em>}.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="swr_02_0035__row207081451715"><td class="cellrowborder" valign="top" width="34.616538346165385%" headers="mcps1.3.4.2.1.2.2.4.1.1 "><p id="swr_02_0035__p1701714191712">internal_path</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="30.76692330766923%" headers="mcps1.3.4.2.1.2.2.4.1.2 "><p id="swr_02_0035__p470314161716">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="34.616538346165385%" headers="mcps1.3.4.2.1.2.2.4.1.3 "><p id="swr_02_0035__p07051481718">Internal image pull address. The format is {<em id="swr_02_0035__i0372143615714">Repository address</em>}/{<em id="swr_02_0035__i6731439105713">Namespace name</em>}/{<em id="swr_02_0035__i1757719423572">Repository name</em>}:{<em id="swr_02_0035__i3810194465713">Tag name</em>}.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="swr_02_0035__row12917712114013"><td class="cellrowborder" valign="top" width="34.616538346165385%" headers="mcps1.3.4.2.1.2.2.4.1.1 "><p id="swr_02_0035__p15603531879">size</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="30.76692330766923%" headers="mcps1.3.4.2.1.2.2.4.1.2 "><p id="swr_02_0035__p1760318310710">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="34.616538346165385%" headers="mcps1.3.4.2.1.2.2.4.1.3 "><p id="swr_02_0035__p9251151612913">Image size.</p>
|
|
<p id="swr_02_0035__p147199108918">Value range: 0 to 9223372036854775807</p>
|
|
<p id="swr_02_0035__p136038314714">Unit: byte</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="swr_02_0035__row6189161112289"><td class="cellrowborder" valign="top" width="34.616538346165385%" headers="mcps1.3.4.2.1.2.2.4.1.1 "><p id="swr_02_0035__p519041132810">is_trusted</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="30.76692330766923%" headers="mcps1.3.4.2.1.2.2.4.1.2 "><p id="swr_02_0035__p1119014117288">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="34.616538346165385%" headers="mcps1.3.4.2.1.2.2.4.1.3 "><p id="swr_02_0035__p13191811182818">By default, the value is <strong id="swr_02_0035__b17706183718379">false</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="swr_02_0035__row24091911193911"><td class="cellrowborder" valign="top" width="34.616538346165385%" headers="mcps1.3.4.2.1.2.2.4.1.1 "><p id="swr_02_0035__p13603531378">created</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="30.76692330766923%" headers="mcps1.3.4.2.1.2.2.4.1.2 "><p id="swr_02_0035__p660333115711">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="34.616538346165385%" headers="mcps1.3.4.2.1.2.2.4.1.3 "><p id="swr_02_0035__p760315313710">Time when an image is created. It is the UTC standard time. Users need to calculate the offset based on the local time. For example, GMT+8 is 8 hours ahead the GMT time.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="swr_02_0035__row10790853193918"><td class="cellrowborder" valign="top" width="34.616538346165385%" headers="mcps1.3.4.2.1.2.2.4.1.1 "><p id="swr_02_0035__p14603631778">updated</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="30.76692330766923%" headers="mcps1.3.4.2.1.2.2.4.1.2 "><p id="swr_02_0035__p3603203112717">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="34.616538346165385%" headers="mcps1.3.4.2.1.2.2.4.1.3 "><p id="swr_02_0035__p1360316317716">Time when an image is updated. It is the UTC standard time. Users need to calculate the offset based on the local time. For example, GMT+8 is 8 hours ahead the GMT time.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="swr_02_0035__row1627112185506"><td class="cellrowborder" valign="top" width="34.616538346165385%" headers="mcps1.3.4.2.1.2.2.4.1.1 "><p id="swr_02_0035__p427119188502">deleted</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="30.76692330766923%" headers="mcps1.3.4.2.1.2.2.4.1.2 "><p id="swr_02_0035__p142711318125017">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="34.616538346165385%" headers="mcps1.3.4.2.1.2.2.4.1.3 "><p id="swr_02_0035__p1327116186505">Time when an image was deleted.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="swr_02_0035__row142152733215"><td class="cellrowborder" valign="top" width="34.616538346165385%" headers="mcps1.3.4.2.1.2.2.4.1.1 "><p id="swr_02_0035__p1721162713220">domain_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="30.76692330766923%" headers="mcps1.3.4.2.1.2.2.4.1.2 "><p id="swr_02_0035__p20211227193216">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="34.616538346165385%" headers="mcps1.3.4.2.1.2.2.4.1.3 "><p id="swr_02_0035__p7213275320">Account ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="swr_02_0035__row1522627203220"><td class="cellrowborder" valign="top" width="34.616538346165385%" headers="mcps1.3.4.2.1.2.2.4.1.1 "><p id="swr_02_0035__p1622327153220">tag_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="30.76692330766923%" headers="mcps1.3.4.2.1.2.2.4.1.2 "><p id="swr_02_0035__p622227143219">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="34.616538346165385%" headers="mcps1.3.4.2.1.2.2.4.1.3 "><p id="swr_02_0035__p162262711323">0: manifest. 1: manifest list.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li><li id="swr_02_0035__li92874821317">Example response<pre class="screen" id="swr_02_0035__screen573455471">[
|
|
{
|
|
"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": "{Repository address}/group/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": "0503dda878000fed0f75c0096d70a960",
|
|
"tag_type": 0
|
|
}
|
|
]</pre>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="swr_02_0035__section5365169104253"><h4 class="sectiontitle">Status Code</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="swr_02_0035__table1984564864716" frame="border" border="1" rules="all"><thead align="left"><tr id="swr_02_0035__row1984554824718"><th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.5.2.1.3.1.1"><p id="swr_02_0035__p4846548124714">Status Code</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.5.2.1.3.1.2"><p id="swr_02_0035__p984612486479">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="swr_02_0035__row1484619482477"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.1 "><p id="swr_02_0035__p88461948154710">200</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.2 "><p id="swr_02_0035__p13846748154710">All tags in the image repository are successfully queried.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="swr_02_0035__row98468489472"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.1 "><p id="swr_02_0035__p14846134812476">400</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.2 "><p id="swr_02_0035__p08461448114716">Request error. Error information is returned.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="swr_02_0035__row631310443579"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.1 "><p id="swr_02_0035__p12314164419574">401</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.2 "><p id="swr_02_0035__p93141244155715">Authentication failed.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="swr_02_0035__row9846114818471"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.1 "><p id="swr_02_0035__p188468486471">404</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.2 "><p id="swr_02_0035__p11846134819473">The repository does not exist.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="swr_02_0035__row16846248114719"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.1 "><p id="swr_02_0035__p2846248184714">500</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.2 "><p id="swr_02_0035__p5846154810474">Internal error. Error information is returned.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="swr_02_0011.html">API</a></div>
|
|
</div>
|
|
</div>
|
|
|