OBS S3 API DOC

Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: zhangyue <zhangyue164@huawei.com>
Co-committed-by: zhangyue <zhangyue164@huawei.com>
This commit is contained in:
zhangyue 2023-02-17 08:06:45 +00:00 committed by zuul
parent a64ca9cc06
commit 14f2171339
16 changed files with 885 additions and 519 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -3,19 +3,20 @@
<h1 class="topictitle1">GET Bucket Encryption</h1> <h1 class="topictitle1">GET Bucket Encryption</h1>
<div id="body0000001080550512"><p id="EN-US_TOPIC_0000001080550512__p328123010563">OBS uses the GET method to obtain the encryption configuration of a specified bucket.</p> <div id="body0000001080550512"><p id="EN-US_TOPIC_0000001080550512__p328123010563">OBS uses the GET method to obtain the encryption configuration of a specified bucket.</p>
<p id="EN-US_TOPIC_0000001080550512__p028114308563">To perform this operation, you must have the <strong id="EN-US_TOPIC_0000001080550512__b385714265271">s3:GetEncryptionConfiguration</strong> permission. By default, only the bucket owner can delete the tags of a bucket. The bucket owner can allow other users to perform this operation by setting a bucket policy or granting them the permission.</p> <p id="EN-US_TOPIC_0000001080550512__p028114308563">To perform this operation, you must have the <strong id="EN-US_TOPIC_0000001080550512__b385714265271">s3:GetEncryptionConfiguration</strong> permission. By default, only the bucket owner can delete the tags of a bucket. The bucket owner can allow other users to perform this operation by setting a bucket policy or granting them the permission.</p>
<div class="section" id="EN-US_TOPIC_0000001080550512__section57518732"><h4 class="sectiontitle">Request Syntax</h4><div class="codecoloring" codetype="Xml" id="EN-US_TOPIC_0000001080550512__screen656246211548"><table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre>1 <div class="section" id="EN-US_TOPIC_0000001080550512__section57518732"><h4 class="sectiontitle">Request Syntax</h4><div class="codecoloring" codetype="Xml" id="EN-US_TOPIC_0000001080550512__screen656246211548"><div class="highlight"><table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><span class="normal">1</span>
2 <span class="normal">2</span>
3 <span class="normal">3</span>
4 <span class="normal">4</span>
5 <span class="normal">5</span>
6</pre></div></td><td class="code"><div class="highlight"><pre><span></span>GET /?encryption HTTP/1.1 <span class="normal">6</span></pre></div></td><td class="code"><div><pre><span></span>GET<span class="w"> </span>/?encryption<span class="w"> </span>HTTP/1.1
User-Agent: curl/7.29.0 User-Agent:<span class="w"> </span>curl/7.29.0
Host: bucketname.obs.region.example.com Host:<span class="w"> </span>bucketname.obs.region.example.com
Accept: */* Accept:<span class="w"> </span>*/*
Date: date Date:<span class="w"> </span>date<span class="w"> </span>
Authorization: authorization string Authorization:<span class="w"> </span>authorization<span class="w"> </span>string
</pre></div> </pre></div></td></tr></table></div>
</td></tr></table></div>
</div>
</div> </div>
<div class="section" id="EN-US_TOPIC_0000001080550512__section47906541"><h4 class="sectiontitle">Request Parameters</h4><p id="EN-US_TOPIC_0000001080550512__p194119471237">This request contains no parameter.</p> <div class="section" id="EN-US_TOPIC_0000001080550512__section47906541"><h4 class="sectiontitle">Request Parameters</h4><p id="EN-US_TOPIC_0000001080550512__p194119471237">This request contains no parameter.</p>
</div> </div>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -6,6 +6,13 @@
<th valign="bottom" align="left" id="stentry13652467194436" width="69.36%"><p id="EN-US_TOPIC_0125560276__p55763344194436">What's New</p> <th valign="bottom" align="left" id="stentry13652467194436" width="69.36%"><p id="EN-US_TOPIC_0125560276__p55763344194436">What's New</p>
</th> </th>
</tr> </tr>
<tr id="EN-US_TOPIC_0125560276__strow123383162428"><td valign="top" id="stentry123381160425" headers="stentry41593773194436"><p id="EN-US_TOPIC_0125560276__p8775141974216">2022-10-30</p>
</td>
<td valign="top" id="stentry333911611427" headers="stentry13652467194436"><p id="EN-US_TOPIC_0125560276__p16775171918424">Updated the following content:</p>
<ul id="EN-US_TOPIC_0125560276__ul1369618124312"><li id="EN-US_TOPIC_0125560276__li119843424313"><p id="EN-US_TOPIC_0125560276__p1788511190434"><a name="EN-US_TOPIC_0125560276__li119843424313"></a><a name="li119843424313"></a>Added <a href="en-us_topic_0000001358895697.html">GET Bucket V2 (List Objects V2)</a>.</p>
</li><li id="EN-US_TOPIC_0125560276__li185782013132010">Deleted the descriptions about header <strong id="EN-US_TOPIC_0125560276__b16851212122820">x-amz-epid</strong> from <a href="en-us_topic_0125560305.html">PUT Bucket</a> and <a href="en-us_topic_0125560467.html">HEAD Bucket</a>.</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0125560276__strow2971551161516"><td valign="top" id="stentry1597165111150" headers="stentry41593773194436"><p id="EN-US_TOPIC_0125560276__p3394195913158">2022-09-07</p> <tr id="EN-US_TOPIC_0125560276__strow2971551161516"><td valign="top" id="stentry1597165111150" headers="stentry41593773194436"><p id="EN-US_TOPIC_0125560276__p3394195913158">2022-09-07</p>
</td> </td>
<td valign="top" id="stentry3971155116154" headers="stentry13652467194436"><p id="EN-US_TOPIC_0125560276__p1157013201367">Updated the following content:</p> <td valign="top" id="stentry3971155116154" headers="stentry13652467194436"><p id="EN-US_TOPIC_0125560276__p1157013201367">Updated the following content:</p>

File diff suppressed because it is too large Load Diff

View File

@ -61,7 +61,6 @@
x-obs-version: version x-obs-version: version
x-default-storage-class: staorage class x-default-storage-class: staorage class
x-amz-id-2: id x-amz-id-2: id
x-amz-epid: epid
Date: date Date: date
Content-Length: length</pre> Content-Length: length</pre>
</div> </div>
@ -117,12 +116,6 @@
<p id="EN-US_TOPIC_0125560467__p106576917236">Type: String</p> <p id="EN-US_TOPIC_0125560467__p106576917236">Type: String</p>
</td> </td>
</tr> </tr>
<tr id="EN-US_TOPIC_0125560467__row109092387564"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.7.4.2.3.1.1 "><p id="EN-US_TOPIC_0125560467__p367533910414">x-amz-epid</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.7.4.2.3.1.2 "><p id="EN-US_TOPIC_0125560467__p2676103918412">Enterprise project ID of the current bucket.</p>
<p id="EN-US_TOPIC_0125560467__p25121829174214">Type: string</p>
</td>
</tr>
</tbody> </tbody>
</table> </table>
</div> </div>
@ -147,7 +140,6 @@ Content-Type: application/xml
x-obs-version: 3.0 x-obs-version: 3.0
x-default-storage-class: STANDARD x-default-storage-class: STANDARD
x-amz-id-2: MzY3Q0I2M0EyRjI4MzA0NDk4MTI4NTQ5MjcxOTA2MEFBQUFBQUFBYmJiYmJiYmJD x-amz-id-2: MzY3Q0I2M0EyRjI4MzA0NDk4MTI4NTQ5MjcxOTA2MEFBQUFBQUFBYmJiYmJiYmJD
x-amz-epid: 9892d768-2d13-450f-aac7-ed0e44c2585f
Date: Sun, 26 Sep 2010 09:18:36 GMT Date: Sun, 26 Sep 2010 09:18:36 GMT
Content-Length: 0</pre> Content-Length: 0</pre>
</div> </div>
@ -173,7 +165,6 @@ Content-Type: text/xml
x-obs-version: 3.0 x-obs-version: 3.0
x-default-storage-class: STANDARD x-default-storage-class: STANDARD
x-amz-id-2: YkFlH3FTA2Tf/lIc2XiyuICp/EUqpVI4j1/g5hlatg75TTZdERSCYliqitChspgA x-amz-id-2: YkFlH3FTA2Tf/lIc2XiyuICp/EUqpVI4j1/g5hlatg75TTZdERSCYliqitChspgA
x-amz-epid: 9892d768-2d13-450f-aac7-ed0e44c2585f
Date: Tue, 28 Apr 2015 13:47:30 GMT Date: Tue, 28 Apr 2015 13:47:30 GMT
Content-Length: 0</pre> Content-Length: 0</pre>
</div> </div>

View File

@ -19,6 +19,8 @@
</li> </li>
<li class="ulchildlink"><strong><a href="en-us_topic_0125560273.html">GET Bucket Object versions</a></strong><br> <li class="ulchildlink"><strong><a href="en-us_topic_0125560273.html">GET Bucket Object versions</a></strong><br>
</li> </li>
<li class="ulchildlink"><strong><a href="en-us_topic_0000001358895697.html">GET Bucket V2 (List Objects V2)</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="en-us_topic_0125560292.html">List Multipart Uploads</a></strong><br> <li class="ulchildlink"><strong><a href="en-us_topic_0125560292.html">List Multipart Uploads</a></strong><br>
</li> </li>
<li class="ulchildlink"><strong><a href="en-us_topic_0125560467.html">HEAD Bucket</a></strong><br> <li class="ulchildlink"><strong><a href="en-us_topic_0125560467.html">HEAD Bucket</a></strong><br>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 68 B

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 70 B

After

Width:  |  Height:  |  Size: 1.8 KiB