/
GetObjectTagging
GetObjectTagging
Retorna o conjunto de tags de um objeto. Você envia a solicitação GET no sub-recurso de marcação associado ao objeto.
Request Syntax
GET /{Key+}?tagging&VersionId=VersionId HTTP/1.1 Host: bucket-name.bigfile.brascloud.com.br:443
Response Syntax
HTTP/1.1 200 x-amz-version-id: VersionId <?xml version="1.0" encoding="UTF-8"?> <GetObjectTaggingOutput> <TagSet> <Tag> <Key>string</Key> <Value>string</Value> </Tag> </TagSet> </GetObjectTaggingOutput>
Exemplos
A solicitação a seguir retorna o conjunto de tags do objeto especificado.
Request
GET /example-object?tagging HTTP/1.1 Host: bucket.bigfile.brascloud.com.br:443 Date: Thu, 22 Sep 2016 21:33:08 GMT Authorization: authorization string
Response
HTTP/1.1 200 OK Date: Thu, 22 Sep 2016 21:33:08 GMT Connection: close Server: bigfile <?xml version="1.0" encoding="UTF-8"?> <Tagging xmlns="http://bigfile.brascloud.com.br:443/doc/2006-03-01/"> <TagSet> <Tag> <Key>tag1</Key> <Value>val1</Value> </Tag> <Tag> <Key>tag2</Key> <Value>val2</Value> </Tag> </TagSet> </Tagging>
, multiple selections available,
Related content
GetBucketTagging
GetBucketTagging
More like this
ListObjects
ListObjects
More like this
HeadObject
HeadObject
More like this
GetObjectAcl
GetObjectAcl
More like this
OPTIONS object
OPTIONS object
More like this
GetBucketMetricsConfiguration
GetBucketMetricsConfiguration
More like this