Example: Listing an account's metadata

Here's a sample HEAD request that lists the metadata of an account named europe.

Request with curl command line

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

Request headers

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

Response headers

HTTP/1.1 204 No Content
Date: Fri, 31 Oct 2014 12:53:19 GMT
X-Trans-Id: 47b950a0-2e0d-4c25-86a3-fbd709b55a08
X-Account-Object-Count: 7
X-Account-Container-Count: 2
X-Account-Bytes-Used: 349
Content-Length: 0

Trademarks and Legal Disclaimer

© 2016 Hitachi Data Systems Corporation. All rights reserved.