doc-exports/docs/ims/api-ref/en-us_topic_0102682861.html
Zaoxu, Li c236478734 IMS API DOC
Reviewed-by: Pristromskaia, Margarita <margarita.pristromskaia@t-systems.com>
Co-authored-by: Zaoxu, Li <lizaoxu@huawei.com>
Co-committed-by: Zaoxu, Li <lizaoxu@huawei.com>
2024-06-05 07:22:50 +00:00

694 lines
62 KiB
HTML

<a name="EN-US_TOPIC_0102682861"></a><a name="EN-US_TOPIC_0102682861"></a>
<h1 class="topictitle1">Querying Images by Tag</h1>
<div id="body1521538011494"><div class="section" id="EN-US_TOPIC_0102682861__section36076688173551"><h4 class="sectiontitle">Function</h4><p id="EN-US_TOPIC_0102682861__p36530619173551">This API is used to filter or count images using tags or other conditions.</p>
</div>
<div class="section" id="EN-US_TOPIC_0102682861__section60340116173551"><h4 class="sectiontitle">Constraints</h4><p id="EN-US_TOPIC_0102682861__p18301726352">To be compatible with remaining tags, the system will not verify the character set of the tag keys and values in the query condition when parameters <strong id="EN-US_TOPIC_0102682861__b842352706204122">tags</strong> <strong id="EN-US_TOPIC_0102682861__b842352706204125">not_tags</strong>, <strong id="EN-US_TOPIC_0102682861__b842352706204128">tags_any</strong>, and <strong id="EN-US_TOPIC_0102682861__b842352706204135">not_tags_any</strong> are used.</p>
</div>
<div class="section" id="EN-US_TOPIC_0102682861__section16316966173551"><h4 class="sectiontitle">URI</h4><p id="EN-US_TOPIC_0102682861__p3130516131914">POST /v2/{project_id}/images/resource_instances/action</p>
<div class="p" id="EN-US_TOPIC_0102682861__p38263186197"><a href="#EN-US_TOPIC_0102682861__table27444833173551">Table 1</a> lists the parameters in the URI.
<div class="tablenoborder"><a name="EN-US_TOPIC_0102682861__table27444833173551"></a><a name="table27444833173551"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0102682861__table27444833173551" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="EN-US_TOPIC_0102682861__row31891586173551"><th align="left" class="cellrowborder" valign="top" width="19.87198719871987%" id="mcps1.3.3.3.2.2.5.1.1"><p id="EN-US_TOPIC_0102682861__p33081663173551">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20.152015201520154%" id="mcps1.3.3.3.2.2.5.1.2"><p id="EN-US_TOPIC_0102682861__p62369028173551">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="15.51155115511551%" id="mcps1.3.3.3.2.2.5.1.3"><p id="EN-US_TOPIC_0102682861__p18726522173551">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="44.46444644464446%" id="mcps1.3.3.3.2.2.5.1.4"><p id="EN-US_TOPIC_0102682861__p40453320173551">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0102682861__row55493527173551"><td class="cellrowborder" valign="top" width="19.87198719871987%" headers="mcps1.3.3.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0102682861__p65790735173551">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="20.152015201520154%" headers="mcps1.3.3.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0102682861__p27449303173551">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="15.51155115511551%" headers="mcps1.3.3.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0102682861__p8801047173551">String</p>
</td>
<td class="cellrowborder" valign="top" width="44.46444644464446%" headers="mcps1.3.3.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0102682861__p41796216173551">Specifies the project ID.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div class="section" id="EN-US_TOPIC_0102682861__section40621628173551"><h4 class="sectiontitle">Request</h4><ul id="EN-US_TOPIC_0102682861__ul2017585173551"><li id="EN-US_TOPIC_0102682861__li18158267173551">Request parameters
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0102682861__table29206682173551" frame="border" border="1" rules="all"><thead align="left"><tr id="EN-US_TOPIC_0102682861__row40241448173551"><th align="left" class="cellrowborder" valign="top" width="19.220000000000002%" id="mcps1.3.4.2.1.1.1.5.1.1"><p id="EN-US_TOPIC_0102682861__p38331852173551">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="19.92%" id="mcps1.3.4.2.1.1.1.5.1.2"><p id="EN-US_TOPIC_0102682861__p17872337173551">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="15.980000000000002%" id="mcps1.3.4.2.1.1.1.5.1.3"><p id="EN-US_TOPIC_0102682861__p38373215173551">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="44.88%" id="mcps1.3.4.2.1.1.1.5.1.4"><p id="EN-US_TOPIC_0102682861__p21222685173551">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0102682861__row41315891173551"><td class="cellrowborder" valign="top" width="19.220000000000002%" headers="mcps1.3.4.2.1.1.1.5.1.1 "><p id="EN-US_TOPIC_0102682861__p58252874173551">action</p>
</td>
<td class="cellrowborder" valign="top" width="19.92%" headers="mcps1.3.4.2.1.1.1.5.1.2 "><p id="EN-US_TOPIC_0102682861__p20862345173551">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="15.980000000000002%" headers="mcps1.3.4.2.1.1.1.5.1.3 "><p id="EN-US_TOPIC_0102682861__p12128409173551">String</p>
</td>
<td class="cellrowborder" valign="top" width="44.88%" headers="mcps1.3.4.2.1.1.1.5.1.4 "><p id="EN-US_TOPIC_0102682861__p4087185510714">Identifies the operation. This parameter is case sensitive and its value can be <strong id="EN-US_TOPIC_0102682861__b5500079110714">filter</strong> or <strong id="EN-US_TOPIC_0102682861__b2524507610714">count</strong>.</p>
<ul id="EN-US_TOPIC_0102682861__ul4576144810721"><li id="EN-US_TOPIC_0102682861__li1531091710724">The value <strong id="EN-US_TOPIC_0102682861__b6006908310724">filter</strong> indicates pagination query.</li><li id="EN-US_TOPIC_0102682861__li3989927010721">The value <strong id="EN-US_TOPIC_0102682861__b84235270611312">count</strong> indicates that the total number of query results meeting the search criteria will be returned.</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0102682861__row50349491173551"><td class="cellrowborder" valign="top" width="19.220000000000002%" headers="mcps1.3.4.2.1.1.1.5.1.1 "><p id="EN-US_TOPIC_0102682861__p51776931173551">tags</p>
</td>
<td class="cellrowborder" valign="top" width="19.92%" headers="mcps1.3.4.2.1.1.1.5.1.2 "><p id="EN-US_TOPIC_0102682861__p33181855173551">No</p>
</td>
<td class="cellrowborder" valign="top" width="15.980000000000002%" headers="mcps1.3.4.2.1.1.1.5.1.3 "><p id="EN-US_TOPIC_0102682861__p3375760173551">Array of objects</p>
</td>
<td class="cellrowborder" valign="top" width="44.88%" headers="mcps1.3.4.2.1.1.1.5.1.4 "><p id="EN-US_TOPIC_0102682861__p5001182173551">Includes all specified tags. A maximum of 10 tag keys are allowed for each query operation. Each tag key can contain a maximum of 10 tag values. Both tag keys and values must be unique. The tag keys cannot be left blank.</p>
<p id="EN-US_TOPIC_0102682861__p16021748185012">For details, see <a href="#EN-US_TOPIC_0102682861__table45012720173551">Table 2</a>.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0102682861__row45010643173551"><td class="cellrowborder" valign="top" width="19.220000000000002%" headers="mcps1.3.4.2.1.1.1.5.1.1 "><p id="EN-US_TOPIC_0102682861__p21983479173551">tags_any</p>
</td>
<td class="cellrowborder" valign="top" width="19.92%" headers="mcps1.3.4.2.1.1.1.5.1.2 "><p id="EN-US_TOPIC_0102682861__p35831338173551">No</p>
</td>
<td class="cellrowborder" valign="top" width="15.980000000000002%" headers="mcps1.3.4.2.1.1.1.5.1.3 "><p id="EN-US_TOPIC_0102682861__p16657303173551">Array of objects</p>
</td>
<td class="cellrowborder" valign="top" width="44.88%" headers="mcps1.3.4.2.1.1.1.5.1.4 "><p id="EN-US_TOPIC_0102682861__p7064292173551">Includes any of specified tags. A maximum of 10 tag keys are allowed for each query operation. Each tag key can contain a maximum of 10 tag values. Both tag keys and values must be unique. The tag keys cannot be left blank and set to an empty string.</p>
<p id="EN-US_TOPIC_0102682861__p1285601105114">For details, see <a href="#EN-US_TOPIC_0102682861__table18634235114814">Table 3</a>.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0102682861__row63578630173551"><td class="cellrowborder" valign="top" width="19.220000000000002%" headers="mcps1.3.4.2.1.1.1.5.1.1 "><p id="EN-US_TOPIC_0102682861__p49595399173551">not_tags</p>
</td>
<td class="cellrowborder" valign="top" width="19.92%" headers="mcps1.3.4.2.1.1.1.5.1.2 "><p id="EN-US_TOPIC_0102682861__p57804348173551">No</p>
</td>
<td class="cellrowborder" valign="top" width="15.980000000000002%" headers="mcps1.3.4.2.1.1.1.5.1.3 "><p id="EN-US_TOPIC_0102682861__p51640589173551">Array of objects</p>
</td>
<td class="cellrowborder" valign="top" width="44.88%" headers="mcps1.3.4.2.1.1.1.5.1.4 "><p id="EN-US_TOPIC_0102682861__p22138212173551">Excludes all specified tags. A maximum of 10 tag keys are allowed for each query operation. Each tag key can contain a maximum of 10 tag values. Both tag keys and values must be unique. The tag keys cannot be left blank.</p>
<p id="EN-US_TOPIC_0102682861__p7190868518">For details, see <a href="#EN-US_TOPIC_0102682861__table6138181054913">Table 4</a>.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0102682861__row65026180173551"><td class="cellrowborder" valign="top" width="19.220000000000002%" headers="mcps1.3.4.2.1.1.1.5.1.1 "><p id="EN-US_TOPIC_0102682861__p32629212173551">not_tags_any</p>
</td>
<td class="cellrowborder" valign="top" width="19.92%" headers="mcps1.3.4.2.1.1.1.5.1.2 "><p id="EN-US_TOPIC_0102682861__p25720492173551">No</p>
</td>
<td class="cellrowborder" valign="top" width="15.980000000000002%" headers="mcps1.3.4.2.1.1.1.5.1.3 "><p id="EN-US_TOPIC_0102682861__p2985117173551">Array of objects</p>
</td>
<td class="cellrowborder" valign="top" width="44.88%" headers="mcps1.3.4.2.1.1.1.5.1.4 "><p id="EN-US_TOPIC_0102682861__p40467926173551">Excludes any of specified tags. A maximum of 10 tag keys are allowed for each query operation. Each tag key can contain a maximum of 10 tag values. Both tag keys and values must be unique. The tag keys cannot be left blank.</p>
<p id="EN-US_TOPIC_0102682861__p96071516185117">For details, see <a href="#EN-US_TOPIC_0102682861__table1556162310506">Table 5</a>.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0102682861__row756221564115"><td class="cellrowborder" valign="top" width="19.220000000000002%" headers="mcps1.3.4.2.1.1.1.5.1.1 "><p id="EN-US_TOPIC_0102682861__p856351584114">without_any_tag</p>
</td>
<td class="cellrowborder" valign="top" width="19.92%" headers="mcps1.3.4.2.1.1.1.5.1.2 "><p id="EN-US_TOPIC_0102682861__p056316159417">No</p>
</td>
<td class="cellrowborder" valign="top" width="15.980000000000002%" headers="mcps1.3.4.2.1.1.1.5.1.3 "><p id="EN-US_TOPIC_0102682861__p65631615174111">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="44.88%" headers="mcps1.3.4.2.1.1.1.5.1.4 "><p id="EN-US_TOPIC_0102682861__p10563215184117">If this parameter is set to <strong id="EN-US_TOPIC_0102682861__b133471142173611">true</strong>, all resources without tags are queried. In this case, the <strong id="EN-US_TOPIC_0102682861__b1495014375374">tag</strong>, <strong id="EN-US_TOPIC_0102682861__b6513164123718">not_tags</strong>, <strong id="EN-US_TOPIC_0102682861__b0116445133710">tags_any</strong>, and <strong id="EN-US_TOPIC_0102682861__b729145011374">not_tags_any</strong> fields are ignored.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0102682861__row28667022173551"><td class="cellrowborder" valign="top" width="19.220000000000002%" headers="mcps1.3.4.2.1.1.1.5.1.1 "><p id="EN-US_TOPIC_0102682861__p40327431173551">limit</p>
</td>
<td class="cellrowborder" valign="top" width="19.92%" headers="mcps1.3.4.2.1.1.1.5.1.2 "><p id="EN-US_TOPIC_0102682861__p45296477173551">No</p>
</td>
<td class="cellrowborder" valign="top" width="15.980000000000002%" headers="mcps1.3.4.2.1.1.1.5.1.3 "><p id="EN-US_TOPIC_0102682861__p45135991173551">String</p>
</td>
<td class="cellrowborder" valign="top" width="44.88%" headers="mcps1.3.4.2.1.1.1.5.1.4 "><p id="EN-US_TOPIC_0102682861__p32136637173551">Specifies the maximum number of query records. This parameter is invalid when <strong id="EN-US_TOPIC_0102682861__b84010315911">action</strong> is set to <strong id="EN-US_TOPIC_0102682861__b11335153414915">count</strong>. If <strong id="EN-US_TOPIC_0102682861__b84235270692122">action</strong> is set to <strong id="EN-US_TOPIC_0102682861__b84235270692134">filter</strong>, the parameter <strong id="EN-US_TOPIC_0102682861__b8618148172614">limit</strong> takes effect and its default value is <strong id="EN-US_TOPIC_0102682861__b0343185310109">10</strong>. The value of <strong id="EN-US_TOPIC_0102682861__b3754120171219">limit</strong> ranges from 1 to 1000.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0102682861__row20794285173551"><td class="cellrowborder" valign="top" width="19.220000000000002%" headers="mcps1.3.4.2.1.1.1.5.1.1 "><p id="EN-US_TOPIC_0102682861__p6615521173551">offset</p>
</td>
<td class="cellrowborder" valign="top" width="19.92%" headers="mcps1.3.4.2.1.1.1.5.1.2 "><p id="EN-US_TOPIC_0102682861__p66095222173551">No</p>
</td>
<td class="cellrowborder" valign="top" width="15.980000000000002%" headers="mcps1.3.4.2.1.1.1.5.1.3 "><p id="EN-US_TOPIC_0102682861__p52112788173551">String</p>
</td>
<td class="cellrowborder" valign="top" width="44.88%" headers="mcps1.3.4.2.1.1.1.5.1.4 "><p id="EN-US_TOPIC_0102682861__p60386274173551">Specifies the index position. The query starts from the next image indexed by this parameter. This parameter is not required when data on the first page is queried, and it is invalid when <strong id="EN-US_TOPIC_0102682861__b144908401093720">action</strong> is set to <strong id="EN-US_TOPIC_0102682861__b212072672793720">count</strong>. If <strong id="EN-US_TOPIC_0102682861__b128328859593720">action</strong> is set to <strong id="EN-US_TOPIC_0102682861__b99502117793720">filter</strong>, the default value of <strong id="EN-US_TOPIC_0102682861__b1841944014292">offset</strong> is <strong id="EN-US_TOPIC_0102682861__b41874131793720">0</strong>. The value of <strong id="EN-US_TOPIC_0102682861__b172018160303">offset</strong> cannot be a negative number.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0102682861__row6605554173551"><td class="cellrowborder" valign="top" width="19.220000000000002%" headers="mcps1.3.4.2.1.1.1.5.1.1 "><p id="EN-US_TOPIC_0102682861__p65287884173551">matches</p>
</td>
<td class="cellrowborder" valign="top" width="19.92%" headers="mcps1.3.4.2.1.1.1.5.1.2 "><p id="EN-US_TOPIC_0102682861__p53827242173551">No</p>
</td>
<td class="cellrowborder" valign="top" width="15.980000000000002%" headers="mcps1.3.4.2.1.1.1.5.1.3 "><p id="EN-US_TOPIC_0102682861__p65039349173551">Array of objects</p>
</td>
<td class="cellrowborder" valign="top" width="44.88%" headers="mcps1.3.4.2.1.1.1.5.1.4 "><p id="EN-US_TOPIC_0102682861__p33695892173551">Specifies the search criteria. The tag key is the field to match, for example, <strong id="EN-US_TOPIC_0102682861__b84235270615351">resource_name</strong> or <strong id="EN-US_TOPIC_0102682861__b1731781636144949">resource_id</strong>. <strong id="EN-US_TOPIC_0102682861__b84235270621735">value</strong> indicates the matched value. Keys in this list must be unique. The parameter cannot be left blank and may not be transferred.</p>
<p id="EN-US_TOPIC_0102682861__p1273131155010">For details, see <a href="#EN-US_TOPIC_0102682861__table194603471868">Table 6</a>.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="EN-US_TOPIC_0102682861__table45012720173551"></a><a name="table45012720173551"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0102682861__table45012720173551" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Data structure description of the tags field</caption><thead align="left"><tr id="EN-US_TOPIC_0102682861__row14748653173551"><th align="left" class="cellrowborder" valign="top" width="18.848115188481152%" id="mcps1.3.4.2.1.2.2.5.1.1"><p id="EN-US_TOPIC_0102682861__p53790264173551">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20.48795120487951%" id="mcps1.3.4.2.1.2.2.5.1.2"><p id="EN-US_TOPIC_0102682861__p62044140173551">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="18.238176182381764%" id="mcps1.3.4.2.1.2.2.5.1.3"><p id="EN-US_TOPIC_0102682861__p59519407173551">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="42.425757424257576%" id="mcps1.3.4.2.1.2.2.5.1.4"><p id="EN-US_TOPIC_0102682861__p56342700173551">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0102682861__row355977173551"><td class="cellrowborder" valign="top" width="18.848115188481152%" headers="mcps1.3.4.2.1.2.2.5.1.1 "><p id="EN-US_TOPIC_0102682861__p28834158173551">key</p>
</td>
<td class="cellrowborder" valign="top" width="20.48795120487951%" headers="mcps1.3.4.2.1.2.2.5.1.2 "><p id="EN-US_TOPIC_0102682861__p53865476173551">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="18.238176182381764%" headers="mcps1.3.4.2.1.2.2.5.1.3 "><p id="EN-US_TOPIC_0102682861__p1027442173551">String</p>
</td>
<td class="cellrowborder" valign="top" width="42.425757424257576%" headers="mcps1.3.4.2.1.2.2.5.1.4 "><p id="EN-US_TOPIC_0102682861__p16114017173551">Specifies the tag key. The tag key contains a maximum of 127 Unicode characters and cannot be left blank.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0102682861__row10808433173551"><td class="cellrowborder" valign="top" width="18.848115188481152%" headers="mcps1.3.4.2.1.2.2.5.1.1 "><p id="EN-US_TOPIC_0102682861__p3067843173551">values</p>
</td>
<td class="cellrowborder" valign="top" width="20.48795120487951%" headers="mcps1.3.4.2.1.2.2.5.1.2 "><p id="EN-US_TOPIC_0102682861__p47168746173551">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="18.238176182381764%" headers="mcps1.3.4.2.1.2.2.5.1.3 "><p id="EN-US_TOPIC_0102682861__p62572110173551">Array of strings</p>
</td>
<td class="cellrowborder" valign="top" width="42.425757424257576%" headers="mcps1.3.4.2.1.2.2.5.1.4 "><p id="EN-US_TOPIC_0102682861__p35176150173551">Lists the tag values. Each value can contain a maximum of 255 Unicode characters. If this parameter is left blank, any value is matched. If multiple values are listed, images that have any of the values will be returned.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="EN-US_TOPIC_0102682861__table18634235114814"></a><a name="table18634235114814"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0102682861__table18634235114814" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Data structure description of the tags_any field</caption><thead align="left"><tr id="EN-US_TOPIC_0102682861__row116341935174817"><th align="left" class="cellrowborder" valign="top" width="18.998100189981%" id="mcps1.3.4.2.1.3.2.5.1.1"><p id="EN-US_TOPIC_0102682861__p7634143513481">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="17.768223177682227%" id="mcps1.3.4.2.1.3.2.5.1.2"><p id="EN-US_TOPIC_0102682861__p1563453584819">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="18.5981401859814%" id="mcps1.3.4.2.1.3.2.5.1.3"><p id="EN-US_TOPIC_0102682861__p1663411357485">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="44.63553644635535%" id="mcps1.3.4.2.1.3.2.5.1.4"><p id="EN-US_TOPIC_0102682861__p663411353482">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0102682861__row2634335164810"><td class="cellrowborder" valign="top" width="18.998100189981%" headers="mcps1.3.4.2.1.3.2.5.1.1 "><p id="EN-US_TOPIC_0102682861__p763443574817">key</p>
</td>
<td class="cellrowborder" valign="top" width="17.768223177682227%" headers="mcps1.3.4.2.1.3.2.5.1.2 "><p id="EN-US_TOPIC_0102682861__p116341235154815">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="18.5981401859814%" headers="mcps1.3.4.2.1.3.2.5.1.3 "><p id="EN-US_TOPIC_0102682861__p206340354485">String</p>
</td>
<td class="cellrowborder" valign="top" width="44.63553644635535%" headers="mcps1.3.4.2.1.3.2.5.1.4 "><p id="EN-US_TOPIC_0102682861__p2634183564819">Specifies the tag key. The tag key contains a maximum of 127 Unicode characters and cannot be left blank.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0102682861__row146341435124812"><td class="cellrowborder" valign="top" width="18.998100189981%" headers="mcps1.3.4.2.1.3.2.5.1.1 "><p id="EN-US_TOPIC_0102682861__p16634035194814">values</p>
</td>
<td class="cellrowborder" valign="top" width="17.768223177682227%" headers="mcps1.3.4.2.1.3.2.5.1.2 "><p id="EN-US_TOPIC_0102682861__p10634163564820">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="18.5981401859814%" headers="mcps1.3.4.2.1.3.2.5.1.3 "><p id="EN-US_TOPIC_0102682861__p86341535174818">Array of strings</p>
</td>
<td class="cellrowborder" valign="top" width="44.63553644635535%" headers="mcps1.3.4.2.1.3.2.5.1.4 "><p id="EN-US_TOPIC_0102682861__p1163416359480">Lists the tag values. Each value can contain a maximum of 255 Unicode characters. If this parameter is left blank, any value is matched. If multiple values are listed, images that have any of the values will be returned.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="EN-US_TOPIC_0102682861__table6138181054913"></a><a name="table6138181054913"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0102682861__table6138181054913" frame="border" border="1" rules="all"><caption><b>Table 4 </b>Data structure description of the not_tags field</caption><thead align="left"><tr id="EN-US_TOPIC_0102682861__row413820103493"><th align="left" class="cellrowborder" valign="top" width="18.998100189981%" id="mcps1.3.4.2.1.4.2.5.1.1"><p id="EN-US_TOPIC_0102682861__p101382010174919">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="17.768223177682227%" id="mcps1.3.4.2.1.4.2.5.1.2"><p id="EN-US_TOPIC_0102682861__p1213891018498">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="18.5981401859814%" id="mcps1.3.4.2.1.4.2.5.1.3"><p id="EN-US_TOPIC_0102682861__p1213881016495">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="44.63553644635535%" id="mcps1.3.4.2.1.4.2.5.1.4"><p id="EN-US_TOPIC_0102682861__p181382010144912">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0102682861__row1013813102498"><td class="cellrowborder" valign="top" width="18.998100189981%" headers="mcps1.3.4.2.1.4.2.5.1.1 "><p id="EN-US_TOPIC_0102682861__p1913871024917">key</p>
</td>
<td class="cellrowborder" valign="top" width="17.768223177682227%" headers="mcps1.3.4.2.1.4.2.5.1.2 "><p id="EN-US_TOPIC_0102682861__p0138410174920">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="18.5981401859814%" headers="mcps1.3.4.2.1.4.2.5.1.3 "><p id="EN-US_TOPIC_0102682861__p1138161044916">String</p>
</td>
<td class="cellrowborder" valign="top" width="44.63553644635535%" headers="mcps1.3.4.2.1.4.2.5.1.4 "><p id="EN-US_TOPIC_0102682861__p21383101494">Specifies the tag key. The tag key contains a maximum of 127 Unicode characters and cannot be left blank.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0102682861__row1138111018491"><td class="cellrowborder" valign="top" width="18.998100189981%" headers="mcps1.3.4.2.1.4.2.5.1.1 "><p id="EN-US_TOPIC_0102682861__p141381610184916">values</p>
</td>
<td class="cellrowborder" valign="top" width="17.768223177682227%" headers="mcps1.3.4.2.1.4.2.5.1.2 "><p id="EN-US_TOPIC_0102682861__p11384107497">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="18.5981401859814%" headers="mcps1.3.4.2.1.4.2.5.1.3 "><p id="EN-US_TOPIC_0102682861__p111381610114916">Array of strings</p>
</td>
<td class="cellrowborder" valign="top" width="44.63553644635535%" headers="mcps1.3.4.2.1.4.2.5.1.4 "><p id="EN-US_TOPIC_0102682861__p1213810109499">Lists the tag values. Each value can contain a maximum of 255 Unicode characters. If this parameter is left blank, any value is matched. If multiple values are listed, images that have any of the values will be returned.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="EN-US_TOPIC_0102682861__table1556162310506"></a><a name="table1556162310506"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0102682861__table1556162310506" frame="border" border="1" rules="all"><caption><b>Table 5 </b>Data structure description of the not_tags_any field</caption><thead align="left"><tr id="EN-US_TOPIC_0102682861__row0556132310504"><th align="left" class="cellrowborder" valign="top" width="18.998100189981%" id="mcps1.3.4.2.1.5.2.5.1.1"><p id="EN-US_TOPIC_0102682861__p75565234502">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="17.768223177682227%" id="mcps1.3.4.2.1.5.2.5.1.2"><p id="EN-US_TOPIC_0102682861__p19556122335018">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="18.5981401859814%" id="mcps1.3.4.2.1.5.2.5.1.3"><p id="EN-US_TOPIC_0102682861__p05566230502">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="44.63553644635535%" id="mcps1.3.4.2.1.5.2.5.1.4"><p id="EN-US_TOPIC_0102682861__p1355612316508">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0102682861__row955672313504"><td class="cellrowborder" valign="top" width="18.998100189981%" headers="mcps1.3.4.2.1.5.2.5.1.1 "><p id="EN-US_TOPIC_0102682861__p955672355018">key</p>
</td>
<td class="cellrowborder" valign="top" width="17.768223177682227%" headers="mcps1.3.4.2.1.5.2.5.1.2 "><p id="EN-US_TOPIC_0102682861__p125565239506">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="18.5981401859814%" headers="mcps1.3.4.2.1.5.2.5.1.3 "><p id="EN-US_TOPIC_0102682861__p1655692318505">String</p>
</td>
<td class="cellrowborder" valign="top" width="44.63553644635535%" headers="mcps1.3.4.2.1.5.2.5.1.4 "><p id="EN-US_TOPIC_0102682861__p255615234504">Specifies the tag key. The tag key contains a maximum of 127 Unicode characters and cannot be left blank.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0102682861__row855619238505"><td class="cellrowborder" valign="top" width="18.998100189981%" headers="mcps1.3.4.2.1.5.2.5.1.1 "><p id="EN-US_TOPIC_0102682861__p1755692319505">values</p>
</td>
<td class="cellrowborder" valign="top" width="17.768223177682227%" headers="mcps1.3.4.2.1.5.2.5.1.2 "><p id="EN-US_TOPIC_0102682861__p8556523155018">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="18.5981401859814%" headers="mcps1.3.4.2.1.5.2.5.1.3 "><p id="EN-US_TOPIC_0102682861__p19556123135017">Array of strings</p>
</td>
<td class="cellrowborder" valign="top" width="44.63553644635535%" headers="mcps1.3.4.2.1.5.2.5.1.4 "><p id="EN-US_TOPIC_0102682861__p8556192395014">Lists the tag values. Each value can contain a maximum of 255 Unicode characters. If this parameter is left blank, any value is matched. When multiple values are specified and the key requirements are met, images that have any of the specified values are queried.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="EN-US_TOPIC_0102682861__table194603471868"></a><a name="table194603471868"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0102682861__table194603471868" frame="border" border="1" rules="all"><caption><b>Table 6 </b>Data structure description of the matches field</caption><thead align="left"><tr id="EN-US_TOPIC_0102682861__row34598479615"><th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.4.2.1.6.2.5.1.1"><p id="EN-US_TOPIC_0102682861__p1045912474620">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="13.13131313131313%" id="mcps1.3.4.2.1.6.2.5.1.2"><p id="EN-US_TOPIC_0102682861__p145912475616">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="14.14141414141414%" id="mcps1.3.4.2.1.6.2.5.1.3"><p id="EN-US_TOPIC_0102682861__p3459347567">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="39.39393939393939%" id="mcps1.3.4.2.1.6.2.5.1.4"><p id="EN-US_TOPIC_0102682861__p6459124720613">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0102682861__row8459847762"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.2.1.6.2.5.1.1 "><p id="EN-US_TOPIC_0102682861__p1345913474610">key</p>
</td>
<td class="cellrowborder" valign="top" width="13.13131313131313%" headers="mcps1.3.4.2.1.6.2.5.1.2 "><p id="EN-US_TOPIC_0102682861__p16459114720614">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="14.14141414141414%" headers="mcps1.3.4.2.1.6.2.5.1.3 "><p id="EN-US_TOPIC_0102682861__p945917475618">String</p>
</td>
<td class="cellrowborder" valign="top" width="39.39393939393939%" headers="mcps1.3.4.2.1.6.2.5.1.4 "><p id="EN-US_TOPIC_0102682861__p745914472616">Specifies the tag key, that is to say, the field name for the query operation. Valid values include <strong id="EN-US_TOPIC_0102682861__b842352706211410">resource_name</strong> and <strong id="EN-US_TOPIC_0102682861__b842352706211416">resource_id</strong>.</p>
<p id="EN-US_TOPIC_0102682861__p1459124716612">If the field name is <strong id="EN-US_TOPIC_0102682861__b842352706211428">resource_name</strong> and the value is an empty string, exact query is performed. Otherwise, fuzzy query is performed based on the image name. If the field name is <strong id="EN-US_TOPIC_0102682861__b842352706211525">resource_id</strong>, exact query is performed based on the image ID.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0102682861__row154607471165"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.2.1.6.2.5.1.1 "><p id="EN-US_TOPIC_0102682861__p6460747369">value</p>
</td>
<td class="cellrowborder" valign="top" width="13.13131313131313%" headers="mcps1.3.4.2.1.6.2.5.1.2 "><p id="EN-US_TOPIC_0102682861__p184601471168">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="14.14141414141414%" headers="mcps1.3.4.2.1.6.2.5.1.3 "><p id="EN-US_TOPIC_0102682861__p546034719613">String</p>
</td>
<td class="cellrowborder" valign="top" width="39.39393939393939%" headers="mcps1.3.4.2.1.6.2.5.1.4 "><p id="EN-US_TOPIC_0102682861__p134606477616">Specifies the tag value. It cannot be left blank. Each value can contain a maximum of 255 Unicode characters. </p>
</td>
</tr>
</tbody>
</table>
</div>
</li></ul>
</div>
<div class="section" id="EN-US_TOPIC_0102682861__section185661157121220"><h4 class="sectiontitle">Example Request</h4><ul id="EN-US_TOPIC_0102682861__ul7347104817116"><li id="EN-US_TOPIC_0102682861__li134764819114">Counting the total number of images that meet the conditions specified by <strong id="EN-US_TOPIC_0102682861__b19503114755014">tags</strong><div class="codecoloring" codetype="Java" id="EN-US_TOPIC_0102682861__screen41481811182919"><div class="highlight"><table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><span class="normal"> 1</span>
<span class="normal"> 2</span>
<span class="normal"> 3</span>
<span class="normal"> 4</span>
<span class="normal"> 5</span>
<span class="normal"> 6</span>
<span class="normal"> 7</span>
<span class="normal"> 8</span>
<span class="normal"> 9</span>
<span class="normal">10</span>
<span class="normal">11</span>
<span class="normal">12</span>
<span class="normal">13</span>
<span class="normal">14</span>
<span class="normal">15</span>
<span class="normal">16</span>
<span class="normal">17</span>
<span class="normal">18</span>
<span class="normal">19</span>
<span class="normal">20</span>
<span class="normal">21</span>
<span class="normal">22</span>
<span class="normal">23</span>
<span class="normal">24</span>
<span class="normal">25</span>
<span class="normal">26</span>
<span class="normal">27</span></pre></div></td><td class="code"><div><pre><span></span><span class="n">POST</span><span class="w"> </span><span class="n">https</span><span class="p">:</span><span class="c1">//{Endpoint}/v2/fd73a4a14a4a4dfb9771a8475e5198ea/images/resource_instances/action</span>
<span class="p">{</span>
<span class="w"> </span><span class="s">&quot;action&quot;</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;count&quot;</span><span class="p">,</span>
<span class="w"> </span><span class="s">&quot;matches&quot;</span><span class="p">:</span><span class="w"> </span><span class="o">[</span><span class="p">{</span>
<span class="w"> </span><span class="s">&quot;key&quot;</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;resource_name&quot;</span><span class="p">,</span>
<span class="w"> </span><span class="s">&quot;value&quot;</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;test100&quot;</span>
<span class="w"> </span><span class="p">}</span><span class="o">]</span><span class="p">,</span>
<span class="w"> </span><span class="s">&quot;tags&quot;</span><span class="p">:</span><span class="w"> </span><span class="o">[</span>
<span class="w"> </span><span class="p">{</span>
<span class="w"> </span><span class="s">&quot;key&quot;</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;key3&quot;</span><span class="p">,</span>
<span class="w"> </span><span class="s">&quot;values&quot;</span><span class="p">:</span><span class="w"> </span><span class="o">[</span><span class="s">&quot;valueXX&quot;</span><span class="o">]</span>
<span class="w"> </span><span class="p">}</span><span class="o">]</span><span class="p">,</span>
<span class="w"> </span><span class="s">&quot;tags_any&quot;</span><span class="p">:</span><span class="w"> </span><span class="o">[</span>
<span class="w"> </span><span class="p">{</span>
<span class="w"> </span><span class="s">&quot;key&quot;</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;key0&quot;</span><span class="p">,</span>
<span class="w"> </span><span class="s">&quot;values&quot;</span><span class="p">:</span><span class="w"> </span><span class="o">[</span><span class="s">&quot;valueXX&quot;</span><span class="o">]</span>
<span class="w"> </span><span class="p">}</span><span class="o">]</span><span class="p">,</span>
<span class="w"> </span><span class="s">&quot;not_tags&quot;</span><span class="p">:</span><span class="w"> </span><span class="o">[</span>
<span class="w"> </span><span class="p">{</span>
<span class="w"> </span><span class="s">&quot;key&quot;</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;key9&quot;</span><span class="p">,</span>
<span class="w"> </span><span class="s">&quot;values&quot;</span><span class="p">:</span><span class="w"> </span><span class="o">[</span><span class="s">&quot;value9&quot;</span><span class="o">]</span>
<span class="w"> </span><span class="p">}</span><span class="o">]</span><span class="p">,</span>
<span class="w"> </span><span class="s">&quot;not_tags_any&quot;</span><span class="p">:</span><span class="w"> </span><span class="o">[</span><span class="p">{</span>
<span class="w"> </span><span class="s">&quot;key&quot;</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;key7&quot;</span><span class="p">,</span>
<span class="w"> </span><span class="s">&quot;values&quot;</span><span class="p">:</span><span class="w"> </span><span class="o">[</span><span class="s">&quot;value7&quot;</span><span class="o">]</span>
<span class="w"> </span><span class="p">}</span><span class="o">]</span>
<span class="p">}</span>
</pre></div></td></tr></table></div>
</div>
</li></ul>
<ul id="EN-US_TOPIC_0102682861__ul1618962151217"><li id="EN-US_TOPIC_0102682861__li1473670131210">Filtering images that meet the conditions specified by <strong id="EN-US_TOPIC_0102682861__b96796551504">tags</strong><div class="codecoloring" codetype="Java" id="EN-US_TOPIC_0102682861__screen51774012182857"><div class="highlight"><table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><span class="normal"> 1</span>
<span class="normal"> 2</span>
<span class="normal"> 3</span>
<span class="normal"> 4</span>
<span class="normal"> 5</span>
<span class="normal"> 6</span>
<span class="normal"> 7</span>
<span class="normal"> 8</span>
<span class="normal"> 9</span>
<span class="normal">10</span>
<span class="normal">11</span>
<span class="normal">12</span>
<span class="normal">13</span>
<span class="normal">14</span>
<span class="normal">15</span>
<span class="normal">16</span>
<span class="normal">17</span>
<span class="normal">18</span>
<span class="normal">19</span>
<span class="normal">20</span>
<span class="normal">21</span>
<span class="normal">22</span>
<span class="normal">23</span>
<span class="normal">24</span>
<span class="normal">25</span>
<span class="normal">26</span>
<span class="normal">27</span>
<span class="normal">28</span>
<span class="normal">29</span></pre></div></td><td class="code"><div><pre><span></span><span class="n">POST</span><span class="w"> </span><span class="n">https</span><span class="p">:</span><span class="c1">//{Endpoint}/v2/fd73a4a14a4a4dfb9771a8475e5198ea/images/resource_instances/action</span>
<span class="p">{</span>
<span class="w"> </span><span class="s">&quot;action&quot;</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;filter&quot;</span><span class="p">,</span>
<span class="w"> </span><span class="s">&quot;limit&quot;</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;1&quot;</span><span class="p">,</span>
<span class="w"> </span><span class="s">&quot;offset&quot;</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;0&quot;</span><span class="p">,</span>
<span class="w"> </span><span class="s">&quot;matches&quot;</span><span class="p">:</span><span class="w"> </span><span class="o">[</span><span class="p">{</span>
<span class="w"> </span><span class="s">&quot;key&quot;</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;resource_name&quot;</span><span class="p">,</span>
<span class="w"> </span><span class="s">&quot;value&quot;</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;test100&quot;</span>
<span class="w"> </span><span class="p">}</span><span class="o">]</span><span class="p">,</span>
<span class="w"> </span><span class="s">&quot;tags&quot;</span><span class="p">:</span><span class="w"> </span><span class="o">[</span>
<span class="w"> </span><span class="p">{</span>
<span class="w"> </span><span class="s">&quot;key&quot;</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;key3&quot;</span><span class="p">,</span>
<span class="w"> </span><span class="s">&quot;values&quot;</span><span class="p">:</span><span class="w"> </span><span class="o">[</span><span class="s">&quot;valueXX&quot;</span><span class="o">]</span>
<span class="w"> </span><span class="p">}</span><span class="o">]</span><span class="p">,</span>
<span class="w"> </span><span class="s">&quot;tags_any&quot;</span><span class="p">:</span><span class="w"> </span><span class="o">[</span>
<span class="w"> </span><span class="p">{</span>
<span class="w"> </span><span class="s">&quot;key&quot;</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;key0&quot;</span><span class="p">,</span>
<span class="w"> </span><span class="s">&quot;values&quot;</span><span class="p">:</span><span class="w"> </span><span class="o">[</span><span class="s">&quot;valueXX&quot;</span><span class="o">]</span>
<span class="w"> </span><span class="p">}</span><span class="o">]</span><span class="p">,</span>
<span class="w"> </span><span class="s">&quot;not_tags&quot;</span><span class="p">:</span><span class="w"> </span><span class="o">[</span>
<span class="w"> </span><span class="p">{</span>
<span class="w"> </span><span class="s">&quot;key&quot;</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;key9&quot;</span><span class="p">,</span>
<span class="w"> </span><span class="s">&quot;values&quot;</span><span class="p">:</span><span class="w"> </span><span class="o">[</span><span class="s">&quot;value9&quot;</span><span class="o">]</span>
<span class="w"> </span><span class="p">}</span><span class="o">]</span><span class="p">,</span>
<span class="w"> </span><span class="s">&quot;not_tags_any&quot;</span><span class="p">:</span><span class="w"> </span><span class="o">[</span><span class="p">{</span>
<span class="w"> </span><span class="s">&quot;key&quot;</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;key7&quot;</span><span class="p">,</span>
<span class="w"> </span><span class="s">&quot;values&quot;</span><span class="p">:</span><span class="w"> </span><span class="o">[</span><span class="s">&quot;value7&quot;</span><span class="o">]</span>
<span class="w"> </span><span class="p">}</span><span class="o">]</span>
<span class="p">}</span>
</pre></div></td></tr></table></div>
</div>
</li></ul>
</div>
<div class="section" id="EN-US_TOPIC_0102682861__section44009837173551"><h4 class="sectiontitle">Response</h4><ul id="EN-US_TOPIC_0102682861__ul8027031173551"><li id="EN-US_TOPIC_0102682861__li5134421173551">Response parameters
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0102682861__table46209794173551" frame="border" border="1" rules="all"><thead align="left"><tr id="EN-US_TOPIC_0102682861__row58695561173551"><th align="left" class="cellrowborder" valign="top" width="33.78337833783378%" id="mcps1.3.6.2.1.1.1.4.1.1"><p id="EN-US_TOPIC_0102682861__p56719981173551">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="33.78337833783378%" id="mcps1.3.6.2.1.1.1.4.1.2"><p id="EN-US_TOPIC_0102682861__p21147139173551">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="32.43324332433243%" id="mcps1.3.6.2.1.1.1.4.1.3"><p id="EN-US_TOPIC_0102682861__p35196676173551">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0102682861__row32358539173551"><td class="cellrowborder" valign="top" width="33.78337833783378%" headers="mcps1.3.6.2.1.1.1.4.1.1 "><p id="EN-US_TOPIC_0102682861__p3795965173551">resources</p>
</td>
<td class="cellrowborder" valign="top" width="33.78337833783378%" headers="mcps1.3.6.2.1.1.1.4.1.2 "><p id="EN-US_TOPIC_0102682861__p7942344173551">Array of <a href="#EN-US_TOPIC_0102682861__table3856915489">resource</a> objects</p>
</td>
<td class="cellrowborder" valign="top" width="32.43324332433243%" headers="mcps1.3.6.2.1.1.1.4.1.3 "><p id="EN-US_TOPIC_0102682861__p39350128173551">Lists the images.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0102682861__row18606837173551"><td class="cellrowborder" valign="top" width="33.78337833783378%" headers="mcps1.3.6.2.1.1.1.4.1.1 "><p id="EN-US_TOPIC_0102682861__p30758863173551">total_count</p>
</td>
<td class="cellrowborder" valign="top" width="33.78337833783378%" headers="mcps1.3.6.2.1.1.1.4.1.2 "><p id="EN-US_TOPIC_0102682861__p12551541173551">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="32.43324332433243%" headers="mcps1.3.6.2.1.1.1.4.1.3 "><p id="EN-US_TOPIC_0102682861__p10041872173551">Specifies the total number of query records.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="EN-US_TOPIC_0102682861__table3856915489"></a><a name="table3856915489"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0102682861__table3856915489" frame="border" border="1" rules="all"><caption><b>Table 7 </b>Data structure description of the resource field</caption><thead align="left"><tr id="EN-US_TOPIC_0102682861__row1855115287"><th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.6.2.1.2.2.4.1.1"><p id="EN-US_TOPIC_0102682861__p18855615086">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.6.2.1.2.2.4.1.2"><p id="EN-US_TOPIC_0102682861__p12855151510816">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.6.2.1.2.2.4.1.3"><p id="EN-US_TOPIC_0102682861__p1185517151082">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0102682861__row158558151887"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.6.2.1.2.2.4.1.1 "><p id="EN-US_TOPIC_0102682861__p985541519812">resource_id</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.6.2.1.2.2.4.1.2 "><p id="EN-US_TOPIC_0102682861__p1785518155810">String</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.6.2.1.2.2.4.1.3 "><p id="EN-US_TOPIC_0102682861__p485516151781">Specifies the image ID.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0102682861__row118552015889"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.6.2.1.2.2.4.1.1 "><p id="EN-US_TOPIC_0102682861__p178558151383">resource_detail</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.6.2.1.2.2.4.1.2 "><p id="EN-US_TOPIC_0102682861__p4936152014577"><a href="#EN-US_TOPIC_0102682861__table1835694225516">ResourceDetail</a> object</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.6.2.1.2.2.4.1.3 "><p id="EN-US_TOPIC_0102682861__p38555152811">Provides image details.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0102682861__row11856101517820"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.6.2.1.2.2.4.1.1 "><p id="EN-US_TOPIC_0102682861__p385541515815">tags</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.6.2.1.2.2.4.1.2 "><p id="EN-US_TOPIC_0102682861__p148552015383">Array of <a href="#EN-US_TOPIC_0102682861__table1526715341887">Tags</a> objects</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.6.2.1.2.2.4.1.3 "><p id="EN-US_TOPIC_0102682861__p1185671515819">Lists the image tags.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0102682861__row785618152816"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.6.2.1.2.2.4.1.1 "><p id="EN-US_TOPIC_0102682861__p1856171520812">resource_name</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.6.2.1.2.2.4.1.2 "><p id="EN-US_TOPIC_0102682861__p1585621510812">String</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.6.2.1.2.2.4.1.3 "><p id="EN-US_TOPIC_0102682861__p08564151882">Specifies the image name.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="EN-US_TOPIC_0102682861__table1835694225516"></a><a name="table1835694225516"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0102682861__table1835694225516" frame="border" border="1" rules="all"><caption><b>Table 8 </b>ResourceDetail object</caption><thead align="left"><tr id="EN-US_TOPIC_0102682861__row1935613424555"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.6.2.1.3.2.5.1.1"><p id="EN-US_TOPIC_0102682861__p6356642205512">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.6.2.1.3.2.5.1.2"><p id="EN-US_TOPIC_0102682861__p335684275518">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.6.2.1.3.2.5.1.3"><p id="EN-US_TOPIC_0102682861__p14356542195513">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.6.2.1.3.2.5.1.4"><p id="EN-US_TOPIC_0102682861__p18356194218555">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0102682861__row1735614225520"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.6.2.1.3.2.5.1.1 "><p id="EN-US_TOPIC_0102682861__p189971353564">status</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.6.2.1.3.2.5.1.2 "><p id="EN-US_TOPIC_0102682861__p7997735205610">string</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.6.2.1.3.2.5.1.3 "><p id="EN-US_TOPIC_0102682861__p1399711359563">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.6.2.1.3.2.5.1.4 "><p id="EN-US_TOPIC_0102682861__p17997435205618">Specifies the image status.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="EN-US_TOPIC_0102682861__table1526715341887"></a><a name="table1526715341887"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0102682861__table1526715341887" frame="border" border="1" rules="all"><caption><b>Table 9 </b>Data structure description of the resource_tag field</caption><thead align="left"><tr id="EN-US_TOPIC_0102682861__row326753415816"><th align="left" class="cellrowborder" valign="top" width="34.03%" id="mcps1.3.6.2.1.4.2.4.1.1"><p id="EN-US_TOPIC_0102682861__p1026610341689">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="33.18%" id="mcps1.3.6.2.1.4.2.4.1.2"><p id="EN-US_TOPIC_0102682861__p1326611349812">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="32.79%" id="mcps1.3.6.2.1.4.2.4.1.3"><p id="EN-US_TOPIC_0102682861__p7267103411813">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0102682861__row32672342820"><td class="cellrowborder" valign="top" width="34.03%" headers="mcps1.3.6.2.1.4.2.4.1.1 "><p id="EN-US_TOPIC_0102682861__p17267134382">key</p>
</td>
<td class="cellrowborder" valign="top" width="33.18%" headers="mcps1.3.6.2.1.4.2.4.1.2 "><p id="EN-US_TOPIC_0102682861__p1226720348810">String</p>
</td>
<td class="cellrowborder" valign="top" width="32.79%" headers="mcps1.3.6.2.1.4.2.4.1.3 "><p id="EN-US_TOPIC_0102682861__p1526716341182">Specifies the key of the tag.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0102682861__row626718341888"><td class="cellrowborder" valign="top" width="34.03%" headers="mcps1.3.6.2.1.4.2.4.1.1 "><p id="EN-US_TOPIC_0102682861__p126713420818">value</p>
</td>
<td class="cellrowborder" valign="top" width="33.18%" headers="mcps1.3.6.2.1.4.2.4.1.2 "><p id="EN-US_TOPIC_0102682861__p826718341383">String</p>
</td>
<td class="cellrowborder" valign="top" width="32.79%" headers="mcps1.3.6.2.1.4.2.4.1.3 "><p id="EN-US_TOPIC_0102682861__p1126723419820">Specifies the value of the tag.</p>
</td>
</tr>
</tbody>
</table>
</div>
</li></ul>
<ul id="EN-US_TOPIC_0102682861__ul1126919341883"><li id="EN-US_TOPIC_0102682861__li10269534782">Example response<ul id="EN-US_TOPIC_0102682861__ul126914341880"><li id="EN-US_TOPIC_0102682861__li1826712341384">Example response when <strong id="EN-US_TOPIC_0102682861__b57222443112928">action</strong> is set to <strong id="EN-US_TOPIC_0102682861__b45239940112928">count</strong><pre class="codeblock" id="EN-US_TOPIC_0102682861__codeblock1526717341813">STATUS CODE 200</pre>
<div class="codecoloring" codetype="Java" id="EN-US_TOPIC_0102682861__screen12671634680"><div class="highlight"><table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><span class="normal">1</span>
<span class="normal">2</span>
<span class="normal">3</span></pre></div></td><td class="code"><div><pre><span></span><span class="p">{</span>
<span class="w"> </span><span class="s">&quot;total_count&quot;</span><span class="p">:</span><span class="w"> </span><span class="mi">36</span>
<span class="p">}</span>
</pre></div></td></tr></table></div>
</div>
</li><li id="EN-US_TOPIC_0102682861__li9269163412820">Example response when <strong id="EN-US_TOPIC_0102682861__b842352706212033">action</strong> is set to <strong id="EN-US_TOPIC_0102682861__b842352706212055">filter</strong><pre class="codeblock" id="EN-US_TOPIC_0102682861__codeblock42671634683">STATUS CODE 200</pre>
<div class="codecoloring" codetype="Java" id="EN-US_TOPIC_0102682861__screen626917340816"><div class="highlight"><table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><span class="normal"> 1</span>
<span class="normal"> 2</span>
<span class="normal"> 3</span>
<span class="normal"> 4</span>
<span class="normal"> 5</span>
<span class="normal"> 6</span>
<span class="normal"> 7</span>
<span class="normal"> 8</span>
<span class="normal"> 9</span>
<span class="normal">10</span>
<span class="normal">11</span>
<span class="normal">12</span>
<span class="normal">13</span>
<span class="normal">14</span>
<span class="normal">15</span>
<span class="normal">16</span>
<span class="normal">17</span>
<span class="normal">18</span>
<span class="normal">19</span>
<span class="normal">20</span>
<span class="normal">21</span>
<span class="normal">22</span>
<span class="normal">23</span>
<span class="normal">24</span>
<span class="normal">25</span>
<span class="normal">26</span>
<span class="normal">27</span>
<span class="normal">28</span>
<span class="normal">29</span>
<span class="normal">30</span>
<span class="normal">31</span>
<span class="normal">32</span>
<span class="normal">33</span>
<span class="normal">34</span>
<span class="normal">35</span>
<span class="normal">36</span>
<span class="normal">37</span>
<span class="normal">38</span>
<span class="normal">39</span>
<span class="normal">40</span>
<span class="normal">41</span>
<span class="normal">42</span>
<span class="normal">43</span>
<span class="normal">44</span>
<span class="normal">45</span>
<span class="normal">46</span>
<span class="normal">47</span>
<span class="normal">48</span></pre></div></td><td class="code"><div><pre><span></span><span class="p">{</span>
<span class="w"> </span><span class="s">&quot;total_count&quot;</span><span class="p">:</span><span class="w"> </span><span class="mi">36</span><span class="p">,</span>
<span class="w"> </span><span class="s">&quot;resources&quot;</span><span class="p">:</span><span class="w"> </span><span class="o">[</span><span class="p">{</span>
<span class="w"> </span><span class="s">&quot;resource_name&quot;</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;test10002&quot;</span><span class="p">,</span>
<span class="w"> </span><span class="s">&quot;resource_detail&quot;</span><span class="p">:</span><span class="w"> </span><span class="p">{</span><span class="s">&quot;status&quot;</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;active&quot;</span><span class="p">},</span>
<span class="w"> </span><span class="s">&quot;tags&quot;</span><span class="p">:</span><span class="w"> </span><span class="o">[</span><span class="p">{</span>
<span class="w"> </span><span class="s">&quot;value&quot;</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;value4&quot;</span><span class="p">,</span>
<span class="w"> </span><span class="s">&quot;key&quot;</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;key4&quot;</span>
<span class="w"> </span><span class="p">},</span>
<span class="w"> </span><span class="p">{</span>
<span class="w"> </span><span class="s">&quot;value&quot;</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;valueXX&quot;</span><span class="p">,</span>
<span class="w"> </span><span class="s">&quot;key&quot;</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;key3&quot;</span>
<span class="w"> </span><span class="p">},</span>
<span class="w"> </span><span class="p">{</span>
<span class="w"> </span><span class="s">&quot;value&quot;</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;value2&quot;</span><span class="p">,</span>
<span class="w"> </span><span class="s">&quot;key&quot;</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;key2&quot;</span>
<span class="w"> </span><span class="p">},</span>
<span class="w"> </span><span class="p">{</span>
<span class="w"> </span><span class="s">&quot;value&quot;</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;value5&quot;</span><span class="p">,</span>
<span class="w"> </span><span class="s">&quot;key&quot;</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;key5&quot;</span>
<span class="w"> </span><span class="p">},</span>
<span class="w"> </span><span class="p">{</span>
<span class="w"> </span><span class="s">&quot;value&quot;</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;value8&quot;</span><span class="p">,</span>
<span class="w"> </span><span class="s">&quot;key&quot;</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;key8&quot;</span>
<span class="w"> </span><span class="p">},</span>
<span class="w"> </span><span class="p">{</span>
<span class="w"> </span><span class="s">&quot;value&quot;</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;valueXX&quot;</span><span class="p">,</span>
<span class="w"> </span><span class="s">&quot;key&quot;</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;key6&quot;</span>
<span class="w"> </span><span class="p">},</span>
<span class="w"> </span><span class="p">{</span>
<span class="w"> </span><span class="s">&quot;value&quot;</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;valueXX&quot;</span><span class="p">,</span>
<span class="w"> </span><span class="s">&quot;key&quot;</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;key0&quot;</span>
<span class="w"> </span><span class="p">},</span>
<span class="w"> </span><span class="p">{</span>
<span class="w"> </span><span class="s">&quot;value&quot;</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;value1&quot;</span><span class="p">,</span>
<span class="w"> </span><span class="s">&quot;key&quot;</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;key1&quot;</span>
<span class="w"> </span><span class="p">},</span>
<span class="w"> </span><span class="p">{</span>
<span class="w"> </span><span class="s">&quot;value&quot;</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;value7&quot;</span><span class="p">,</span>
<span class="w"> </span><span class="s">&quot;key&quot;</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;key7&quot;</span>
<span class="w"> </span><span class="p">},</span>
<span class="w"> </span><span class="p">{</span>
<span class="w"> </span><span class="s">&quot;value&quot;</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;valueXX&quot;</span><span class="p">,</span>
<span class="w"> </span><span class="s">&quot;key&quot;</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;key9&quot;</span>
<span class="w"> </span><span class="p">}</span><span class="o">]</span><span class="p">,</span>
<span class="w"> </span><span class="s">&quot;resource_id&quot;</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;8693187d-1590-4f9f-ae34-eb9e3037cf68&quot;</span>
<span class="w"> </span><span class="p">}</span><span class="o">]</span>
<span class="p">}</span>
</pre></div></td></tr></table></div>
</div>
</li></ul>
</li></ul>
</div>
<div class="section" id="EN-US_TOPIC_0102682861__section49133105173551"><h4 class="sectiontitle">Returned Values</h4><ul id="EN-US_TOPIC_0102682861__ul20358592173551"><li id="EN-US_TOPIC_0102682861__li49009603173551">Normal<p id="EN-US_TOPIC_0102682861__p38433251173551"><a name="EN-US_TOPIC_0102682861__li49009603173551"></a><a name="li49009603173551"></a>200</p>
</li><li id="EN-US_TOPIC_0102682861__li10354944173551">Abnormal
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0102682861__table26085635173551" frame="border" border="1" rules="all"><thead align="left"><tr id="EN-US_TOPIC_0102682861__row48029464173551"><th align="left" class="cellrowborder" valign="top" width="46.46%" id="mcps1.3.7.2.2.1.1.3.1.1"><p id="EN-US_TOPIC_0102682861__p65181382173551">Returned Value</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="53.54%" id="mcps1.3.7.2.2.1.1.3.1.2"><p id="EN-US_TOPIC_0102682861__p45200629173551">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0102682861__row37372365173551"><td class="cellrowborder" valign="top" width="46.46%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="EN-US_TOPIC_0102682861__p7262709173551">400 Bad Request</p>
</td>
<td class="cellrowborder" valign="top" width="53.54%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="EN-US_TOPIC_0102682861__p51408533173551">Request error.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0102682861__row60023618173551"><td class="cellrowborder" valign="top" width="46.46%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="EN-US_TOPIC_0102682861__p30074890173551">401 Unauthorized</p>
</td>
<td class="cellrowborder" valign="top" width="53.54%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="EN-US_TOPIC_0102682861__p20147039173551">Authentication failed.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0102682861__row47105625173551"><td class="cellrowborder" valign="top" width="46.46%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="EN-US_TOPIC_0102682861__p57459308173551">403 Forbidden</p>
</td>
<td class="cellrowborder" valign="top" width="53.54%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="EN-US_TOPIC_0102682861__p23692351173551">You do not have the rights to perform the operation.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0102682861__row11904568173551"><td class="cellrowborder" valign="top" width="46.46%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="EN-US_TOPIC_0102682861__p24745934173551">404 Not Found</p>
</td>
<td class="cellrowborder" valign="top" width="53.54%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="EN-US_TOPIC_0102682861__p58263674173551">The requested resource was not found.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0102682861__row54611018173551"><td class="cellrowborder" valign="top" width="46.46%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="EN-US_TOPIC_0102682861__p61416367173551">500 Internal Server Error</p>
</td>
<td class="cellrowborder" valign="top" width="53.54%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="EN-US_TOPIC_0102682861__p8669853173551">Internal service error.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0102682861__row10919814173551"><td class="cellrowborder" valign="top" width="46.46%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="EN-US_TOPIC_0102682861__p12089747173551">503 Service Unavailable</p>
</td>
<td class="cellrowborder" valign="top" width="53.54%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="EN-US_TOPIC_0102682861__p39745469173551">The service is unavailable.</p>
</td>
</tr>
</tbody>
</table>
</div>
</li></ul>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="en-us_topic_0135481402.html">Image Tagging</a></div>
</div>
</div>