forked from docs/doc-exports
Reviewed-by: Muller, Martin <martin.muller@t-systems.com> Reviewed-by: Sabelnikov, Dmitriy <dmitriy.sabelnikov@t-systems.com> Co-authored-by: zhangyue <zhangyue164@huawei.com> Co-committed-by: zhangyue <zhangyue164@huawei.com>
263 lines
20 KiB
HTML
263 lines
20 KiB
HTML
<a name="evs_04_2032"></a><a name="evs_04_2032"></a>
|
|
|
|
<h1 class="topictitle1">Querying the Number of EVS Disks by Tag</h1>
|
|
<div id="body1521597431228"><div class="section" id="evs_04_2032__section5299350116935"><h4 class="sectiontitle">Function</h4><p id="evs_04_2032__p6461522216935">This API is used to query the number of EVS disks by tag.</p>
|
|
</div>
|
|
<div class="section" id="evs_04_2032__section4466609116935"><h4 class="sectiontitle">Constraints</h4><p id="evs_04_2032__p6118358516935">None</p>
|
|
</div>
|
|
<div class="section" id="evs_04_2032__section1378135716935"><h4 class="sectiontitle">URI</h4><ul id="evs_04_2032__ul4254812316935"><li id="evs_04_2032__li4738879116935">URI format<p id="evs_04_2032__p1953720459577"><a name="evs_04_2032__li4738879116935"></a><a name="li4738879116935"></a>POST /v2/{project_id}/os-vendor-volumes/resource_instances/action</p>
|
|
</li><li id="evs_04_2032__li1328688716935">Parameter description
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="evs_04_2032__table28484833104128" frame="border" border="1" rules="all"><thead align="left"><tr id="evs_04_2032__row60547305104128"><th align="left" class="cellrowborder" valign="top" width="28.57%" id="mcps1.3.3.2.2.1.1.4.1.1"><p id="evs_04_2032__p5384679104128">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="26.529999999999998%" id="mcps1.3.3.2.2.1.1.4.1.2"><p id="evs_04_2032__p33505894104128">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="44.9%" id="mcps1.3.3.2.2.1.1.4.1.3"><p id="evs_04_2032__p29622926104128">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="evs_04_2032__row50646790104128"><td class="cellrowborder" valign="top" width="28.57%" headers="mcps1.3.3.2.2.1.1.4.1.1 "><p id="evs_04_2032__p8749302104128">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26.529999999999998%" headers="mcps1.3.3.2.2.1.1.4.1.2 "><p id="evs_04_2032__p37604871104128">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.9%" headers="mcps1.3.3.2.2.1.1.4.1.3 "><p id="evs_04_2032__p26095712104128">Specifies the project ID.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="evs_04_2032__section33444519162337"><h4 class="sectiontitle">Request</h4><ul id="evs_04_2032__ul24651555162337"><li id="evs_04_2032__li20537403162337">Parameter description
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="evs_04_2032__table50618906162337" frame="border" border="1" rules="all"><thead align="left"><tr id="evs_04_2032__row13155682162337"><th align="left" class="cellrowborder" valign="top" width="17.169999999999998%" id="mcps1.3.4.2.1.1.1.5.1.1"><p id="evs_04_2032__p58977321162337">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="15.15%" id="mcps1.3.4.2.1.1.1.5.1.2"><p id="evs_04_2032__p12433688162337">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="17.71%" id="mcps1.3.4.2.1.1.1.5.1.3"><p id="evs_04_2032__p495832162337">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="49.97%" id="mcps1.3.4.2.1.1.1.5.1.4"><p id="evs_04_2032__p40162449162337">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="evs_04_2032__row31932906162337"><td class="cellrowborder" valign="top" width="17.169999999999998%" headers="mcps1.3.4.2.1.1.1.5.1.1 "><p id="evs_04_2032__p36428555162337">tags</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.15%" headers="mcps1.3.4.2.1.1.1.5.1.2 "><p id="evs_04_2032__p65031837162337">Array of objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.71%" headers="mcps1.3.4.2.1.1.1.5.1.3 "><p id="evs_04_2032__p33087431162337">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.97%" headers="mcps1.3.4.2.1.1.1.5.1.4 "><p id="evs_04_2032__p62836274162337">Specifies the key-value pairs of the tag. For details, see <a href="#evs_04_2032__li8528152083214">Parameters in the tags field</a>.</p>
|
|
<p id="evs_04_2032__p19962184814712">The <strong id="evs_04_2032__b842352706195728">tags</strong> field cannot be left empty.</p>
|
|
<p id="evs_04_2032__p1858507716">One tag list can contain a maximum of 10 keys.</p>
|
|
<p id="evs_04_2032__p175842500716">Tag keys in a tag list must be unique.</p>
|
|
<p id="evs_04_2032__p485184792415">When multiple keys are specified in a tag list, only the disks having all specified keys are queried.</p>
|
|
<div class="note" id="evs_04_2032__note1570710453511"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="evs_04_2032__p1970754173519">If multiple tag lists are specified in the request, only the disks that meet the requirements of the last tag list are queried.</p>
|
|
</div></div>
|
|
</td>
|
|
</tr>
|
|
<tr id="evs_04_2032__row142661428014"><td class="cellrowborder" valign="top" width="17.169999999999998%" headers="mcps1.3.4.2.1.1.1.5.1.1 "><p id="evs_04_2032__p2091381011019">action</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.15%" headers="mcps1.3.4.2.1.1.1.5.1.2 "><p id="evs_04_2032__p123011191302">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.71%" headers="mcps1.3.4.2.1.1.1.5.1.3 "><p id="evs_04_2032__p1191320101905">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.97%" headers="mcps1.3.4.2.1.1.1.5.1.4 "><p id="evs_04_2032__p59131110807">Specifies the operation identifier.</p>
|
|
<p id="evs_04_2032__p10913191020016">Specifying <strong id="evs_04_2032__b130008727820429">count</strong> queries the number of disks by tag.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="evs_04_2032__row8888748016"><td class="cellrowborder" valign="top" width="17.169999999999998%" headers="mcps1.3.4.2.1.1.1.5.1.1 "><p id="evs_04_2032__p159133101403">matches</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.15%" headers="mcps1.3.4.2.1.1.1.5.1.2 "><p id="evs_04_2032__p1623519196018">Array of objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.71%" headers="mcps1.3.4.2.1.1.1.5.1.3 "><p id="evs_04_2032__p109131110706">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.97%" headers="mcps1.3.4.2.1.1.1.5.1.4 "><p id="evs_04_2032__p129139109019">Specifies the query criteria that the resource supports. For details, see <a href="#evs_04_2032__li15751146383">Parameters in the match field</a>.</p>
|
|
<p id="evs_04_2032__p47601518719">The <strong id="evs_04_2032__b84235270620140">matches</strong> field cannot be left empty.</p>
|
|
<p id="evs_04_2032__p1547919526720">Tag keys in the list must be unique.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li><li id="evs_04_2032__li8528152083214"><a name="evs_04_2032__li8528152083214"></a><a name="li8528152083214"></a>Parameters in the <strong id="evs_04_2032__b842352706191916">resource_tag</strong> field
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="evs_04_2032__table205290203323" frame="border" border="1" rules="all"><thead align="left"><tr id="evs_04_2032__row13530142033210"><th align="left" class="cellrowborder" valign="top" width="15.409999999999998%" id="mcps1.3.4.2.2.2.1.5.1.1"><p id="evs_04_2032__p19530182011329">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="15.040000000000001%" id="mcps1.3.4.2.2.2.1.5.1.2"><p id="evs_04_2032__p20530120163211">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="16.72%" id="mcps1.3.4.2.2.2.1.5.1.3"><p id="evs_04_2032__p8530122014321">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="52.83%" id="mcps1.3.4.2.2.2.1.5.1.4"><p id="evs_04_2032__p18533172017325">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="evs_04_2032__row253510208321"><td class="cellrowborder" valign="top" width="15.409999999999998%" headers="mcps1.3.4.2.2.2.1.5.1.1 "><p id="evs_04_2032__p17535320203220">key</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.040000000000001%" headers="mcps1.3.4.2.2.2.1.5.1.2 "><p id="evs_04_2032__p175351020123212">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.72%" headers="mcps1.3.4.2.2.2.1.5.1.3 "><p id="evs_04_2032__p953522010321">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="52.83%" headers="mcps1.3.4.2.2.2.1.5.1.4 "><div class="p" id="evs_04_2032__p95031611113614">Specifies the tag key.<ul id="evs_04_2032__evs_04_2027_ul20512635161710"><li id="evs_04_2032__evs_04_2027_li9842040193117">Cannot be left blank.</li><li id="evs_04_2032__evs_04_2027_li757155223116">Must be unique for each resource.</li><li id="evs_04_2032__evs_04_2027_li13340142763215">Can contain a maximum of 36 characters.</li><li id="evs_04_2032__evs_04_2027_li284614435329">Can contain only digits, letters, hyphens (-), and underscores (_).</li></ul>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="evs_04_2032__row853810204325"><td class="cellrowborder" valign="top" width="15.409999999999998%" headers="mcps1.3.4.2.2.2.1.5.1.1 "><p id="evs_04_2032__p1053816201325">values</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.040000000000001%" headers="mcps1.3.4.2.2.2.1.5.1.2 "><p id="evs_04_2032__p74479101218">Array of objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.72%" headers="mcps1.3.4.2.2.2.1.5.1.3 "><p id="evs_04_2032__p1538920193219">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="52.83%" headers="mcps1.3.4.2.2.2.1.5.1.4 "><div class="p" id="evs_04_2032__p14911418386">Specifies the tag value.<ul id="evs_04_2032__evs_04_2027_ul4512173118234"><li id="evs_04_2032__evs_04_2027_li1751263111237">Can contain a maximum of 43 characters.</li><li id="evs_04_2032__evs_04_2027_li1751210317234">Can contain only digits, letters, hyphens (-), and underscores (_).</li></ul>
|
|
</div>
|
|
<p id="evs_04_2032__p1227514181481">One value list can contain a maximum of 10 values.</p>
|
|
<p id="evs_04_2032__p1227515189810">Tag values in a value list must be unique.</p>
|
|
<p id="evs_04_2032__p527561814813">If the value list is left empty, any tag value can be matched.</p>
|
|
<p id="evs_04_2032__p1242618182519">When multiple values are specified in a value list and the key requirements are met, disks that have any of the specified values are queried.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li><li id="evs_04_2032__li15751146383"><a name="evs_04_2032__li15751146383"></a><a name="li15751146383"></a>Parameters in the <strong id="evs_04_2032__b84235270615733">match</strong> field
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="evs_04_2032__table0778462086" frame="border" border="1" rules="all"><thead align="left"><tr id="evs_04_2032__row38414461289"><th align="left" class="cellrowborder" valign="top" width="17%" id="mcps1.3.4.2.3.2.1.5.1.1"><p id="evs_04_2032__p1487946584">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.3.2.1.5.1.2"><p id="evs_04_2032__p119224615820">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="22%" id="mcps1.3.4.2.3.2.1.5.1.3"><p id="evs_04_2032__p194174619818">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="41%" id="mcps1.3.4.2.3.2.1.5.1.4"><p id="evs_04_2032__p109604613817">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="evs_04_2032__row14989461387"><td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.4.2.3.2.1.5.1.1 "><p id="evs_04_2032__p810194617814">key</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.3.2.1.5.1.2 "><p id="evs_04_2032__p17102646681">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22%" headers="mcps1.3.4.2.3.2.1.5.1.3 "><p id="evs_04_2032__p131037466813">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="41%" headers="mcps1.3.4.2.3.2.1.5.1.4 "><p id="evs_04_2032__p12710163971119">Specifies the tag key. The value is of the enumerated type.</p>
|
|
<p id="evs_04_2032__p1110654618817">The value can be as follows:</p>
|
|
<ul id="evs_04_2032__ul168395111111"><li id="evs_04_2032__li11683051151119"><strong id="evs_04_2032__b842352706202849">resource_name</strong>: disk name.</li><li id="evs_04_2032__li46830510115"><strong id="evs_04_2032__b842352706183338">service_type</strong>: service type.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="evs_04_2032__row81181246181"><td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.4.2.3.2.1.5.1.1 "><p id="evs_04_2032__p111201646386">value</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.3.2.1.5.1.2 "><p id="evs_04_2032__p7121346287">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22%" headers="mcps1.3.4.2.3.2.1.5.1.3 "><p id="evs_04_2032__p1122164618815">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="41%" headers="mcps1.3.4.2.3.2.1.5.1.4 "><p id="evs_04_2032__p91249461180">Specifies the tag value.</p>
|
|
<ul id="evs_04_2032__ul1956812345128"><li id="evs_04_2032__li135689349128">It can contain up to 255 Unicode characters.</li><li id="evs_04_2032__li37001330193016">An empty string specifies an exact match, and a non-empty string specifies a fuzzy query.</li><li id="evs_04_2032__li1232812377129">If <strong id="evs_04_2032__b84235270621716">resource_name</strong> is specified for <strong id="evs_04_2032__b84235270621725">key</strong>, spaces before and after the tag value will be discarded.</li><li id="evs_04_2032__li19895255181">If <strong id="evs_04_2032__b1017153319245">service_type</strong> is specified for <strong id="evs_04_2032__b31811334242">key</strong>, the value can be <strong id="evs_04_2032__b1318123352411">EVS</strong> and is case-insensitive.</li></ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
<ul id="evs_04_2032__ul38440191162337"><li id="evs_04_2032__li10417406162337">Example request<pre class="screen" id="evs_04_2032__screen14894115119151">{
|
|
"action": "count",
|
|
"tags": [
|
|
{
|
|
"key": "key1",
|
|
"values": [
|
|
"value1",
|
|
"value2"
|
|
]
|
|
}
|
|
],
|
|
"matches": [
|
|
{
|
|
"key": "resource_name",
|
|
"value": "resource1"
|
|
},
|
|
{
|
|
"key": "service_type",
|
|
"value": "EVS"
|
|
}
|
|
]
|
|
}</pre>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="evs_04_2032__section3215934016935"><h4 class="sectiontitle">Response</h4><ul id="evs_04_2032__ul5476973316935"><li id="evs_04_2032__li2316555316935">Parameter description
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="evs_04_2032__table716338716935" frame="border" border="1" rules="all"><thead align="left"><tr id="evs_04_2032__row2937460716935"><th align="left" class="cellrowborder" valign="top" width="19.27807219278072%" id="mcps1.3.5.2.1.1.1.4.1.1"><p id="evs_04_2032__p3053299616935">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="24.0975902409759%" id="mcps1.3.5.2.1.1.1.4.1.2"><p id="evs_04_2032__p5725363416935">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="56.624337566243376%" id="mcps1.3.5.2.1.1.1.4.1.3"><p id="evs_04_2032__p3278200616935">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="evs_04_2032__row63271571172633"><td class="cellrowborder" valign="top" width="19.27807219278072%" headers="mcps1.3.5.2.1.1.1.4.1.1 "><p id="evs_04_2032__p24723652172633">total_count</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="24.0975902409759%" headers="mcps1.3.5.2.1.1.1.4.1.2 "><p id="evs_04_2032__p56458834172633">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.624337566243376%" headers="mcps1.3.5.2.1.1.1.4.1.3 "><p id="evs_04_2032__p52593571172633">Specifies the total number of disks that meet the query criteria.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="evs_04_2032__row1217715882314"><td class="cellrowborder" valign="top" width="19.27807219278072%" headers="mcps1.3.5.2.1.1.1.4.1.1 "><p id="evs_04_2032__p129522216412">error</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="24.0975902409759%" headers="mcps1.3.5.2.1.1.1.4.1.2 "><p id="evs_04_2032__p1595262111415">Object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.624337566243376%" headers="mcps1.3.5.2.1.1.1.4.1.3 "><p id="evs_04_2032__p109527215417">Specifies the error message returned when an error occurs. For details, see <a href="#evs_04_2032__li0419202382514">Parameters in the error field</a>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li><li id="evs_04_2032__li0419202382514"><a name="evs_04_2032__li0419202382514"></a><a name="li0419202382514"></a>Parameters in the <strong id="evs_04_2032__evs_04_2013_b1288034833610">error</strong> field
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="evs_04_2032__evs_04_2013_table15441099103019" frame="border" border="1" rules="all"><thead align="left"><tr id="evs_04_2032__evs_04_2013_row54094047103019"><th align="left" class="cellrowborder" valign="top" width="21.17788221177882%" id="mcps1.3.5.2.2.2.1.4.1.1"><p id="evs_04_2032__evs_04_2013_p19541716103019">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="21.17788221177882%" id="mcps1.3.5.2.2.2.1.4.1.2"><p id="evs_04_2032__evs_04_2013_p39375186103019">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="57.64423557644236%" id="mcps1.3.5.2.2.2.1.4.1.3"><p id="evs_04_2032__evs_04_2013_p38578950103019">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="evs_04_2032__evs_04_2013_row59401790103019"><td class="cellrowborder" valign="top" width="21.17788221177882%" headers="mcps1.3.5.2.2.2.1.4.1.1 "><p id="evs_04_2032__evs_04_2013_p46815658103019">message</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.17788221177882%" headers="mcps1.3.5.2.2.2.1.4.1.2 "><p id="evs_04_2032__evs_04_2013_p33971979103019">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.64423557644236%" headers="mcps1.3.5.2.2.2.1.4.1.3 "><p id="evs_04_2032__evs_04_2013_p21623243103019">The error message returned if an error occurs.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="evs_04_2032__evs_04_2013_row60391466103019"><td class="cellrowborder" valign="top" width="21.17788221177882%" headers="mcps1.3.5.2.2.2.1.4.1.1 "><p id="evs_04_2032__evs_04_2013_p59870541103019">code</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.17788221177882%" headers="mcps1.3.5.2.2.2.1.4.1.2 "><p id="evs_04_2032__evs_04_2013_p17675690103019">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.64423557644236%" headers="mcps1.3.5.2.2.2.1.4.1.3 "><p id="evs_04_2032__evs_04_2013_p6087468103019">The error code returned if an error occurs.</p>
|
|
<p id="evs_04_2032__evs_04_2013_p54787218103019">For details about the error code, see <a href="evs_04_0038.html">Error Codes</a>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
<ul id="evs_04_2032__ul3313111816935"><li id="evs_04_2032__li2974460716935">Example response<pre class="screen" id="evs_04_2032__screen12165887165222">{
|
|
"total_count": 1000
|
|
}</pre>
|
|
<p id="evs_04_2032__p52821068113531">or</p>
|
|
<pre class="screen" id="evs_04_2032__screen41555256154916">{
|
|
"error": {
|
|
"message": "XXXX",
|
|
"code": "XXX"
|
|
}
|
|
}</pre>
|
|
<p id="evs_04_2032__p5655715720175">In the preceding example, <strong id="evs_04_2032__b842352706143959">error</strong> indicates a general error, for example, <strong id="evs_04_2032__b842352706144438">badRequest</strong> or <strong id="evs_04_2032__b842352706144454">itemNotFound</strong>. An example is provided as follows:</p>
|
|
<pre class="screen" id="evs_04_2032__screen27858742154933">{
|
|
"computeFault": {
|
|
"message": "The server has either erred or is incapable of performing the requested operation.",
|
|
"code": 500
|
|
}
|
|
}</pre>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="evs_04_2032__section6050296116935"><h4 class="sectiontitle">Status Codes</h4><ul id="evs_04_2032__ul179279516935"><li id="evs_04_2032__li1613516116935">Normal<p id="evs_04_2032__p1099872616935"><a name="evs_04_2032__li1613516116935"></a><a name="li1613516116935"></a>200</p>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="evs_04_2032__section431317151242"><h4 class="sectiontitle">Error Codes</h4><p id="evs_04_2032__evs_04_2013_p783819215242">For details, see <a href="evs_04_0038.html">Error Codes</a>.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="evs_04_2024.html">Tag Management</a></div>
|
|
</div>
|
|
</div>
|
|
|