forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: zhangyue <zhangyue164@huawei.com> Co-committed-by: zhangyue <zhangyue164@huawei.com>
80 lines
5.3 KiB
HTML
80 lines
5.3 KiB
HTML
<a name="obs_03_0025"></a><a name="obs_03_0025"></a>
|
|
|
|
<h1 class="topictitle1">Request</h1>
|
|
<div id="body8662426"><div class="section" id="obs_03_0025__section3855846091844"><h4 class="sectiontitle">Method</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="obs_03_0025__table3622757091844" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Method description</caption><thead align="left"><tr id="obs_03_0025__row5885523391844"><th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.1.2.2.4.1.1"><p id="obs_03_0025__p254458491844">Method</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.1.2.2.4.1.2"><p id="obs_03_0025__p4306302491844"><strong id="obs_03_0025__b5202290091844">URI</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.1.2.2.4.1.3"><p id="obs_03_0025__p5310538591844">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="obs_03_0025__row5912023091844"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.1.2.2.4.1.1 "><p id="obs_03_0025__p2400930591844">HEAD</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.1.2.2.4.1.2 "><p id="obs_03_0025__p6570552491844">/v1/{account}</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.1.2.2.4.1.3 "><p id="obs_03_0025__p2054723291844">Shows metadata of a specified account.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="obs_03_0025__p5070736491844"><strong id="obs_03_0025__b47012596">{account}</strong> indicates the name of an account. Metadata of an account includes the number of containers, number of objects, and total number of bytes that are stored in OBS for the account.</p>
|
|
<p id="obs_03_0025__p5371309291844">This operation does not involve a request body.</p>
|
|
</div>
|
|
<div class="section" id="obs_03_0025__section1365578791844"><h4 class="sectiontitle">Example Request</h4><pre class="screen" id="obs_03_0025__screen143781110409">curl -i $publicURL -X HEAD -H "X-Auth-Token:$token"</pre>
|
|
</div>
|
|
<div class="section" id="obs_03_0025__section529000091844"><h4 class="sectiontitle">Request Query Parameters</h4><p id="obs_03_0025__p2583686191844">This operation does not include request query parameters.</p>
|
|
</div>
|
|
<div class="section" id="obs_03_0025__section187973291844"><h4 class="sectiontitle">Request Headers</h4><p id="obs_03_0025__p20492254154423">Request URI parameters</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="obs_03_0025__table50212566154423" frame="border" border="1" rules="all"><thead align="left"><tr id="obs_03_0025__row49025617154423"><th align="left" class="cellrowborder" valign="top" width="20.66%" id="mcps1.3.4.3.1.4.1.1"><p id="obs_03_0025__p11652032154423">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="14.399999999999999%" id="mcps1.3.4.3.1.4.1.2"><p id="obs_03_0025__p38615046154423">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="64.94%" id="mcps1.3.4.3.1.4.1.3"><p id="obs_03_0025__p31754770154423">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="obs_03_0025__row63778126154423"><td class="cellrowborder" valign="top" width="20.66%" headers="mcps1.3.4.3.1.4.1.1 "><p id="obs_03_0025__p65754607154423">{account}</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.399999999999999%" headers="mcps1.3.4.3.1.4.1.2 "><p id="obs_03_0025__p24522989154423">String</p>
|
|
<p id="obs_03_0025__p19380314154423">(Required)</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="64.94%" headers="mcps1.3.4.3.1.4.1.3 "><p id="obs_03_0025__p26301614154423">A unique account name. In the current version, it indicates a unique ID for the account.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="obs_03_0025__p25082980154423">Request header parameters</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="obs_03_0025__table24420230154423" frame="border" border="1" rules="all"><thead align="left"><tr id="obs_03_0025__row63928991154423"><th align="left" class="cellrowborder" valign="top" width="20.66%" id="mcps1.3.4.5.1.4.1.1"><p id="obs_03_0025__p10865822154423">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="14.399999999999999%" id="mcps1.3.4.5.1.4.1.2"><p id="obs_03_0025__p2338936154423">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="64.94%" id="mcps1.3.4.5.1.4.1.3"><p id="obs_03_0025__p27363246154423">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="obs_03_0025__row16474171154423"><td class="cellrowborder" valign="top" width="20.66%" headers="mcps1.3.4.5.1.4.1.1 "><p id="obs_03_0025__p59339488154423">X-Auth-Token</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.399999999999999%" headers="mcps1.3.4.5.1.4.1.2 "><p id="obs_03_0025__p41769209154423">String</p>
|
|
<p id="obs_03_0025__p40378565154423">(Required)</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="64.94%" headers="mcps1.3.4.5.1.4.1.3 "><p id="obs_03_0025__p49438312154423">Authentication token.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_03_0024.html">Show Account Metadata</a></div>
|
|
</div>
|
|
</div>
|
|
|