HCP System Management Help


Example: Checking a container's metadata

Here's a sample HEAD request that checks the metadata of a container named finance.

Request with curl command line

curl -i -X HEAD http://api.hcp.example.com/swift/v1/AUTH_6b6884ebb6f441cfbb7e740f6a927c9e/finance -H "X-Auth-Token: dc5efec8f546455eac974e7bbfd0dd87"

Request headers

HEAD /swift/v1/AUTH_6b6884ebb6f441cfbb7e740f6a927c9e/finance HTTP/1.1
X-Auth-Token: dc5efec8f546455eac974e7bbfd0dd87

Response headers

HTTP/1.1 204 No Content
Date: Fri, 31 Oct 2014 13:07:45 GMT
Server: HCP V7.1.0.353
X-Trans-Id: 3c74e66d-9fb7-407d-9762-391d3e77014f
X-Container-Object-Count: 1
X-Container-Bytes-Used: 0
X-Container-Meta-Quota-Bytes: 10737418240
X-Container-Read:
X-Container-Write: *
Accept-Ranges: bytes
Content-Length: 0

© 2017 Hitachi Vantara Corporation. All rights reserved.