6.5 HP StoreAll OS User Guide

HTTP/1.1 204 No Content
Content-Length: 0
Content-Type: text/html; charset=UTF-8
Date: Sun, 24 Nov 2013 23:48:10 GMT
Viewing a status of a user account
Only administrators can view the status at the account level.
To view that status of a user account:
curl -X HEAD -i -H "X-Auth-Token:<AUTHENTICATION_TOKEN>" <ENDPOINT>
Sample command:
curl -X HEAD -i -H "X-Auth-Token:7864e40dd3ee4910934b73d0a4a399ac"
http://15.213.70.158:8888/v1/AUTH_7b9a902423a582c9eda266dcf3ad697420c1c3ff9429b1dfd255152f3bf2098f
Sample output1 with no object and no containers created:
In this Sample output1, no objects or containers have been created by this user, so Container-Count
and Object-Count is 0.
HTTP/1.1 204 No Content
Content-Length: 0
Accept-Ranges: bytes
X-Timestamp: 1382498892.55580
X-Account-Bytes-Used: 0
X-Account-Container-Count: 0
Content-Type: text/plain; charset=utf-8
X-Account-Object-Count: 0
Date: Wed, 23 Oct 2013 04:24:47 GMT
Sample output2 with one object and one container created:
In this Sample output2, one object and one container were created by this user, so Container-Count
and Object-Count is 1.
HTTP/1.1 204 No Content
Content-Length: 0
Accept-Ranges: bytes
X-Timestamp: 1340750586.35005
X-Account-Bytes-Used: 37351
X-Account-Container-Count: 1
Content-Type: text/plain; charset=utf-8
X-Account-Object-Count: 1
Date: Wed, 23 Oct 2013 05:45:29 GMT
Listing tenants
The term “tenants” refers to user groups.
To view which user groups the user with a particular authentication token belongs to:
curl -H "X-Auth-Token:<AUTHENTICATION TOKEN>"
http://<FM_User_VIF>:<Keystone Server Public Port>/v2.0/tenants
Sample command:
curl -H "X-Auth-Token:1bb88b944f6c4c8fb7411f85d3bd6bf4"
http://10.10.104.115:5000/v2.0/tenants
150 Using Object Store