Persist additional head metadata for the bucket
bucketName | name of the bucket for which the metadata is to be added |
namespace | namespace of the bucket |
This call has no restrictions.
The following conditions must be met in order to call this operation.
bucket must exist
All parameters are required unless otherwise stated.
Field | Description | Type | Notes |
bucket_head_metadata | |||
head_type | The head-type of the bucket metadata (S3, SWIFT, ATMOS, HDFS, CAS, NFS, INTERNAL, DT_QUERY) | String | |
metadata |
0-* Elements |
||
name | Name of the metadata entry | String | |
value | Value of the metadata entry | String | |
namespace | Namespace of the bucket | String |
Response indicating Success or Failure of the operation
> PUT /object/bucket/mybucket/metadata?namespace=dare HTTP/1.1 > Host: 192.168.0.0:4443 > User-Agent: curl/7.43.0 > Accept: */* > X-SDS-AUTH-TOKEN: <AUTH_TOKEN> > Content-Type: application/xml > Content-Length: 183 > Expect: 100-continue > < HTTP/1.1 100 Continue * We are completely uploaded and fine
< HTTP/1.1 200 OK