forked from docs/doc-exports
Reviewed-by: Bobkova, Natalia <natalia.bobkova@t-systems.com> Co-authored-by: Liu, Siying <liusiying@noreply.gitea.eco.tsi-dev.otc-service.com> Co-committed-by: Liu, Siying <liusiying@noreply.gitea.eco.tsi-dev.otc-service.com>
323 lines
26 KiB
HTML
323 lines
26 KiB
HTML
<a name="cts_api_0331"></a><a name="cts_api_0331"></a>
|
|
|
|
<h1 class="topictitle1">Querying Tenant Quota Information</h1>
|
|
<div id="body8662426"><div class="section" id="cts_api_0331__en-us_topic_0000001167759356_section131504936768"><h4 class="sectiontitle">Function</h4><p id="cts_api_0331__en-us_topic_0000001167759356_p3925840468">This API is used to querying tenant quota Information.</p>
|
|
</div>
|
|
<div class="section" id="cts_api_0331__en-us_topic_0000001167759356_section574941710"><h4 class="sectiontitle">URI</h4><p id="cts_api_0331__en-us_topic_0000001167759356_p146393348168">GET /v3/{project_id}/quotas</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="cts_api_0331__en-us_topic_0000001167759356_table141185741468" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path parameters</caption><thead align="left"><tr id="cts_api_0331__en-us_topic_0000001167759356_row144940022668"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p id="cts_api_0331__en-us_topic_0000001167759356_p153232682268">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.2"><p id="cts_api_0331__en-us_topic_0000001167759356_p105545933668">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.3"><p id="cts_api_0331__en-us_topic_0000001167759356_p118489877468">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.2.3.2.5.1.4"><p id="cts_api_0331__en-us_topic_0000001167759356_p148903194568">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="cts_api_0331__en-us_topic_0000001167759356_row133606197768"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="cts_api_0331__en-us_topic_0000001167759356_p24171399468">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="cts_api_0331__en-us_topic_0000001167759356_p166107685168">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="cts_api_0331__en-us_topic_0000001167759356_p92305343968">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="cts_api_0331__en-us_topic_0000001167759356_p31006802368">Project ID. For details, see <a href="cts_api_0005.html">Obtaining an Account ID and Project ID</a>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="cts_api_0331__en-us_topic_0000001167759356_section56810531168"><h4 class="sectiontitle">Request Parameters</h4><p id="cts_api_0331__en-us_topic_0000001167759356_p85842128368">None</p>
|
|
</div>
|
|
<div class="section" id="cts_api_0331__en-us_topic_0000001167759356_section47674392868"><h4 class="sectiontitle">Response Parameters</h4><p id="cts_api_0331__en-us_topic_0000001167759356_p171253356268"><strong id="cts_api_0331__en-us_topic_0000001167759356_b194539813616">Status code: 200</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="cts_api_0331__en-us_topic_0000001167759356_response_ListQuotasResponseBody" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Response body parameter</caption><thead align="left"><tr id="cts_api_0331__en-us_topic_0000001167759356_row101088852568"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.1"><p id="cts_api_0331__en-us_topic_0000001167759356_p87622838968">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.2"><p id="cts_api_0331__en-us_topic_0000001167759356_p46445525768">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.3.2.4.1.3"><p id="cts_api_0331__en-us_topic_0000001167759356_p120908646968">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="cts_api_0331__en-us_topic_0000001167759356_row204231888768"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="cts_api_0331__en-us_topic_0000001167759356_p175325604068">resources</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="cts_api_0331__en-us_topic_0000001167759356_p162514685668">Array of <a href="#cts_api_0331__en-us_topic_0000001167759356_response_Quota">Quota</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="cts_api_0331__en-us_topic_0000001167759356_p56691549368">List of tracker information.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="cts_api_0331__en-us_topic_0000001167759356_response_Quota"></a><a name="en-us_topic_0000001167759356_response_Quota"></a><table cellpadding="4" cellspacing="0" summary="" id="cts_api_0331__en-us_topic_0000001167759356_response_Quota" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Quota</caption><thead align="left"><tr id="cts_api_0331__en-us_topic_0000001167759356_row167248385068"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.4.1.1"><p id="cts_api_0331__en-us_topic_0000001167759356_p158047132068">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.4.1.2"><p id="cts_api_0331__en-us_topic_0000001167759356_p15333408868">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.4.2.4.1.3"><p id="cts_api_0331__en-us_topic_0000001167759356_p24900459868">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="cts_api_0331__en-us_topic_0000001167759356_row46365950868"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="cts_api_0331__en-us_topic_0000001167759356_p170568924068">type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="cts_api_0331__en-us_topic_0000001167759356_p55557678668">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="cts_api_0331__en-us_topic_0000001167759356_p30115124368">Quota resource type.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cts_api_0331__en-us_topic_0000001167759356_row134044661368"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="cts_api_0331__en-us_topic_0000001167759356_p7496662768">used</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="cts_api_0331__en-us_topic_0000001167759356_p6365760368">Long</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="cts_api_0331__en-us_topic_0000001167759356_p13429466868">Number of used resources.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cts_api_0331__en-us_topic_0000001167759356_row132432431068"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="cts_api_0331__en-us_topic_0000001167759356_p180971758268">quota</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="cts_api_0331__en-us_topic_0000001167759356_p19179273768">Long</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="cts_api_0331__en-us_topic_0000001167759356_p95828033968">Total number of resources.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="cts_api_0331__en-us_topic_0000001167759356_p150283777768"><strong id="cts_api_0331__en-us_topic_0000001167759356_b35271380368">Status code: 400</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="cts_api_0331__en-us_topic_0000001167759356_response_FailedRsp" frame="border" border="1" rules="all"><caption><b>Table 4 </b>Response body parameters</caption><thead align="left"><tr id="cts_api_0331__en-us_topic_0000001167759356_row4925336868"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.6.2.4.1.1"><p id="cts_api_0331__en-us_topic_0000001167759356_p14112046168">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.6.2.4.1.2"><p id="cts_api_0331__en-us_topic_0000001167759356_p9206817768">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.6.2.4.1.3"><p id="cts_api_0331__en-us_topic_0000001167759356_p132479138368">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="cts_api_0331__en-us_topic_0000001167759356_row197155111868"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="cts_api_0331__en-us_topic_0000001167759356_p97182341768">error_code</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="cts_api_0331__en-us_topic_0000001167759356_p190805817468">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="cts_api_0331__en-us_topic_0000001167759356_p125420973868">Error code. Format: <strong id="cts_api_0331__en-us_topic_0000001167759356_b2100669316414">CTS.</strong><em id="cts_api_0331__en-us_topic_0000001167759356_i606131406414">XXX</em>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cts_api_0331__en-us_topic_0000001167759356_row114752015668"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="cts_api_0331__en-us_topic_0000001167759356_p140705971368">error_msg</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="cts_api_0331__en-us_topic_0000001167759356_p115411751568">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="cts_api_0331__en-us_topic_0000001167759356_p145894232668">Error message.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="cts_api_0331__en-us_topic_0000001167759356_p152152558068"><strong id="cts_api_0331__en-us_topic_0000001167759356_b1756488153617">Status code: 401</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="cts_api_0331__en-us_topic_0000001167759356_table1273251090" frame="border" border="1" rules="all"><caption><b>Table 5 </b>Response body parameters</caption><thead align="left"><tr id="cts_api_0331__en-us_topic_0000001167759356_row135863944168"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.8.2.4.1.1"><p id="cts_api_0331__en-us_topic_0000001167759356_p18323010268">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.8.2.4.1.2"><p id="cts_api_0331__en-us_topic_0000001167759356_p39490779268">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.8.2.4.1.3"><p id="cts_api_0331__en-us_topic_0000001167759356_p20992933868">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="cts_api_0331__en-us_topic_0000001167759356_row97690066368"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.1 "><p id="cts_api_0331__en-us_topic_0000001167759356_p110675415768">error_code</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.2 "><p id="cts_api_0331__en-us_topic_0000001167759356_p47642543668">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.8.2.4.1.3 "><p id="cts_api_0331__en-us_topic_0000001167759356_p31417730768">Error code. Format: <strong id="cts_api_0331__en-us_topic_0000001167759356_b940457910">CTS.</strong><em id="cts_api_0331__en-us_topic_0000001167759356_i1770618187">XXX</em>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cts_api_0331__en-us_topic_0000001167759356_row69543049968"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.1 "><p id="cts_api_0331__en-us_topic_0000001167759356_p67091395168">error_msg</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.2 "><p id="cts_api_0331__en-us_topic_0000001167759356_p44483976668">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.8.2.4.1.3 "><p id="cts_api_0331__en-us_topic_0000001167759356_p92100017568">Error message.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="cts_api_0331__en-us_topic_0000001167759356_p47240410168"><strong id="cts_api_0331__en-us_topic_0000001167759356_b156011989362">Status code: 403</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="cts_api_0331__en-us_topic_0000001167759356_table381249566" frame="border" border="1" rules="all"><caption><b>Table 6 </b>Response body parameters</caption><thead align="left"><tr id="cts_api_0331__en-us_topic_0000001167759356_row63440292068"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.10.2.4.1.1"><p id="cts_api_0331__en-us_topic_0000001167759356_p79005736868">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.10.2.4.1.2"><p id="cts_api_0331__en-us_topic_0000001167759356_p52371377368">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.10.2.4.1.3"><p id="cts_api_0331__en-us_topic_0000001167759356_p36875593468">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="cts_api_0331__en-us_topic_0000001167759356_row151350904668"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.1 "><p id="cts_api_0331__en-us_topic_0000001167759356_p122278512568">error_code</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p id="cts_api_0331__en-us_topic_0000001167759356_p192950457968">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p id="cts_api_0331__en-us_topic_0000001167759356_p40717983968">Error code. Format: <strong id="cts_api_0331__en-us_topic_0000001167759356_b1256387778">CTS.</strong><em id="cts_api_0331__en-us_topic_0000001167759356_i2141810635">XXX</em>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cts_api_0331__en-us_topic_0000001167759356_row609746168"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.1 "><p id="cts_api_0331__en-us_topic_0000001167759356_p116944510268">error_msg</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p id="cts_api_0331__en-us_topic_0000001167759356_p69932766068">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p id="cts_api_0331__en-us_topic_0000001167759356_p5139350168">Error message.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="cts_api_0331__en-us_topic_0000001167759356_p115268536268"><strong id="cts_api_0331__en-us_topic_0000001167759356_b1963618813364">Status code: 404</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="cts_api_0331__en-us_topic_0000001167759356_table1803354483" frame="border" border="1" rules="all"><caption><b>Table 7 </b>Response body parameters</caption><thead align="left"><tr id="cts_api_0331__en-us_topic_0000001167759356_row191544364268"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.12.2.4.1.1"><p id="cts_api_0331__en-us_topic_0000001167759356_p114744165668">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.12.2.4.1.2"><p id="cts_api_0331__en-us_topic_0000001167759356_p41891515068">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.12.2.4.1.3"><p id="cts_api_0331__en-us_topic_0000001167759356_p60154570268">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="cts_api_0331__en-us_topic_0000001167759356_row57938642868"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.12.2.4.1.1 "><p id="cts_api_0331__en-us_topic_0000001167759356_p63941616168">error_code</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.12.2.4.1.2 "><p id="cts_api_0331__en-us_topic_0000001167759356_p110733787668">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.12.2.4.1.3 "><p id="cts_api_0331__en-us_topic_0000001167759356_p39268008968">Error code. Format: <strong id="cts_api_0331__en-us_topic_0000001167759356_b554208474">CTS.</strong><em id="cts_api_0331__en-us_topic_0000001167759356_i412597487">XXX</em>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cts_api_0331__en-us_topic_0000001167759356_row195273370968"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.12.2.4.1.1 "><p id="cts_api_0331__en-us_topic_0000001167759356_p165026124468">error_msg</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.12.2.4.1.2 "><p id="cts_api_0331__en-us_topic_0000001167759356_p96198336268">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.12.2.4.1.3 "><p id="cts_api_0331__en-us_topic_0000001167759356_p212949685368">Error message.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="cts_api_0331__en-us_topic_0000001167759356_p24571562368"><strong id="cts_api_0331__en-us_topic_0000001167759356_b26706816360">Status code: 500</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="cts_api_0331__en-us_topic_0000001167759356_table131984735" frame="border" border="1" rules="all"><caption><b>Table 8 </b>Response body parameters</caption><thead align="left"><tr id="cts_api_0331__en-us_topic_0000001167759356_row183070462968"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.14.2.4.1.1"><p id="cts_api_0331__en-us_topic_0000001167759356_p85095479468">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.14.2.4.1.2"><p id="cts_api_0331__en-us_topic_0000001167759356_p196402458468">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.14.2.4.1.3"><p id="cts_api_0331__en-us_topic_0000001167759356_p184618851668">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="cts_api_0331__en-us_topic_0000001167759356_row32450144968"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.14.2.4.1.1 "><p id="cts_api_0331__en-us_topic_0000001167759356_p60670132268">error_code</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.14.2.4.1.2 "><p id="cts_api_0331__en-us_topic_0000001167759356_p10991846968">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.14.2.4.1.3 "><p id="cts_api_0331__en-us_topic_0000001167759356_p124789625568">Error code. Format: <strong id="cts_api_0331__en-us_topic_0000001167759356_b1826237396">CTS.</strong><em id="cts_api_0331__en-us_topic_0000001167759356_i186607384">XXX</em>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cts_api_0331__en-us_topic_0000001167759356_row182124568068"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.14.2.4.1.1 "><p id="cts_api_0331__en-us_topic_0000001167759356_p42505672468">error_msg</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.14.2.4.1.2 "><p id="cts_api_0331__en-us_topic_0000001167759356_p55093664568">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.14.2.4.1.3 "><p id="cts_api_0331__en-us_topic_0000001167759356_p59489520768">Error message.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="cts_api_0331__en-us_topic_0000001167759356_p193332535068"><strong id="cts_api_0331__en-us_topic_0000001167759356_b07055863613">Status code: 503</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="cts_api_0331__en-us_topic_0000001167759356_table1863594757" frame="border" border="1" rules="all"><caption><b>Table 9 </b>Response body parameters</caption><thead align="left"><tr id="cts_api_0331__en-us_topic_0000001167759356_row155400030268"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.16.2.4.1.1"><p id="cts_api_0331__en-us_topic_0000001167759356_p188026032768">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.16.2.4.1.2"><p id="cts_api_0331__en-us_topic_0000001167759356_p73098777468">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.16.2.4.1.3"><p id="cts_api_0331__en-us_topic_0000001167759356_p28002712968">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="cts_api_0331__en-us_topic_0000001167759356_row125498944168"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.16.2.4.1.1 "><p id="cts_api_0331__en-us_topic_0000001167759356_p210447613468">error_code</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.16.2.4.1.2 "><p id="cts_api_0331__en-us_topic_0000001167759356_p144138046168">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.16.2.4.1.3 "><p id="cts_api_0331__en-us_topic_0000001167759356_p23063645568">Error code. Format: <strong id="cts_api_0331__en-us_topic_0000001167759356_b445474223">CTS.</strong><em id="cts_api_0331__en-us_topic_0000001167759356_i566721898">XXX</em>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cts_api_0331__en-us_topic_0000001167759356_row30397587268"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.16.2.4.1.1 "><p id="cts_api_0331__en-us_topic_0000001167759356_p52268948068">error_msg</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.16.2.4.1.2 "><p id="cts_api_0331__en-us_topic_0000001167759356_p162169845968">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.16.2.4.1.3 "><p id="cts_api_0331__en-us_topic_0000001167759356_p57111762568">Error message.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="cts_api_0331__en-us_topic_0000001167759356_section135598107868"><h4 class="sectiontitle">Example Request</h4><pre class="screen" id="cts_api_0331__en-us_topic_0000001167759356_screen66991620668">GET https://{endpoint}/v3/{project_id}/quotas</pre>
|
|
</div>
|
|
<div class="section" id="cts_api_0331__en-us_topic_0000001167759356_section113176654568"><h4 class="sectiontitle">Example Response</h4><p id="cts_api_0331__en-us_topic_0000001167759356_p109429340068"><strong id="cts_api_0331__en-us_topic_0000001167759356_b1375020803619">Status code: 200</strong></p>
|
|
<p id="cts_api_0331__en-us_topic_0000001167759356_p102449995668">The request is successful.</p>
|
|
<pre class="screen" id="cts_api_0331__en-us_topic_0000001167759356_screen204099710268">{
|
|
"resources": [
|
|
{
|
|
"quota": 1,
|
|
"used": 1,
|
|
"type": "system_tracker"
|
|
},
|
|
{
|
|
"quota": 100,
|
|
"used": 2,
|
|
"type": "smn_notification"
|
|
}
|
|
]
|
|
}</pre>
|
|
</div>
|
|
<div class="section" id="cts_api_0331__en-us_topic_0000001167759356_section11068066668"><h4 class="sectiontitle">Status Code</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="cts_api_0331__en-us_topic_0000001167759356_status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="cts_api_0331__en-us_topic_0000001167759356_row63544690568"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="cts_api_0331__en-us_topic_0000001167759356_p61355628668">Status Code</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.7.2.1.3.1.2"><p id="cts_api_0331__en-us_topic_0000001167759356_p86106591068">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="cts_api_0331__en-us_topic_0000001167759356_row46260542568"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="cts_api_0331__en-us_topic_0000001167759356_p47180780468">200</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="cts_api_0331__en-us_topic_0000001167759356_p66876094068">The request is successful.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cts_api_0331__en-us_topic_0000001167759356_row13744587168"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="cts_api_0331__en-us_topic_0000001167759356_p185329150168">400</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="cts_api_0331__en-us_topic_0000001167759356_p139632715068">The server failed to process the request.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cts_api_0331__en-us_topic_0000001167759356_row156188939568"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="cts_api_0331__en-us_topic_0000001167759356_p177541158568">401</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="cts_api_0331__en-us_topic_0000001167759356_p88061713268">The request is rejected due to authentication failure.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cts_api_0331__en-us_topic_0000001167759356_row130549735768"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="cts_api_0331__en-us_topic_0000001167759356_p51019360368">403</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="cts_api_0331__en-us_topic_0000001167759356_p132972462768">The server understood the request but refused to authorize it.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cts_api_0331__en-us_topic_0000001167759356_row144833716868"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="cts_api_0331__en-us_topic_0000001167759356_p62337941368">404</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="cts_api_0331__en-us_topic_0000001167759356_p27168078368">The requested resource does not exist.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cts_api_0331__en-us_topic_0000001167759356_row82097384568"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="cts_api_0331__en-us_topic_0000001167759356_p104346525368">500</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="cts_api_0331__en-us_topic_0000001167759356_p24796989068">Failed to complete the request because of an internal service error.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="cts_api_0331__en-us_topic_0000001167759356_row127443089068"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="cts_api_0331__en-us_topic_0000001167759356_p63717000468">503</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="cts_api_0331__en-us_topic_0000001167759356_p134507454168">The requested service is invalid. The client should not repeat the request without modifications.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="cts_api_0331__en-us_topic_0000001167759356_section211507543468"><h4 class="sectiontitle">Error Code</h4><p id="cts_api_0331__en-us_topic_0000001167759356_p17370946868">For details, see <a href="ErrorCode.html">Error Codes</a>.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="cts_api_0330.html">Other APIs</a></div>
|
|
</div>
|
|
</div>
|
|
|