getBucketTagging method
Written by
Updated at March 19, 2025
Returns bucket labels.
Note
Yandex Cloud uses labels to logically identify resources. However, Object Storage supports compatibility with Amazon S3 API
For more information on getting started with the API and the general request format, see How to use the S3 API.
Request
GET /{bucket}?tagging HTTP/2
Path parameters
Parameter | Description |
---|---|
bucket |
Bucket name. |
Request parameters
Parameter | Description |
---|---|
tagging |
Required parameter that indicates the type of operation. |
Headers
Use common headers in your requests.
Response
Headers
Responses can only contain common headers.
Response codes
For a list of possible responses, see Responses.
A successful response contains additional data in XML format with the schema described below.
Data schema
<?xml version="1.0" encoding="UTF-8" ?>
<Tagging xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<TagSet>
<Tag>
<Key>string</Key>
<Value>string</Value>
</Tag>
</TagSet>
</Tagging>
Element | Description |
---|---|
Tagging |
Root element. |
TagSet |
Array of labels. |
Tag |
Container for a label. |
Key |
Label key. Type: String. |
Value |
Label value. Type: String. |