Cinder example (subtly redacted):
$ curl -i https://region-b.geo-1.block.hpcloudsvc.com/v1/123456/volumes/detail.xxx -X GET -H "X-Auth-Project-Id: <email address hidden>" -H "User-Agent: python-cinderclient" -H "Accept: application/json" -H "X-Auth-Token: HPAuth10_abcdef1234567890" HTTP/1.1 200 OK Content-Length: 340 Content-Type: application/json Date: Thu, 30 May 2013 16:26:51 GMT X-Compute-Request-Id: req-f11111b-39e9-4a2d-ab37-4d98591c4b64
{"volumes": [{"status": "available", "display_name": null, "attachments": [], "availability_zone": "az1", "bootable": "false", "created_at": "2013-05-16T13:48:11.000000", "display_description": null, "volume_type": "None", "snapshot_id": null, "source_volid": null, "metadata": {}, "id": "34a9d0cd-a74c-4b52-8067-db1234c0590f", "size": 1}]}
Cinder example (subtly redacted):
$ curl -i https:/ /region- b.geo-1. block.hpcloudsv c.com/v1/ 123456/ volumes/ detail. xxx -X GET -H "X-Auth-Project-Id: <email address hidden>" -H "User-Agent: python- cinderclient" -H "Accept: application/json" -H "X-Auth-Token: HPAuth10_ abcdef123456789 0" Request- Id: req-f11111b- 39e9-4a2d- ab37-4d98591c4b 64
HTTP/1.1 200 OK
Content-Length: 340
Content-Type: application/json
Date: Thu, 30 May 2013 16:26:51 GMT
X-Compute-
{"volumes": [{"status": "available", "display_name": null, "attachments": [], "availability_ zone": "az1", "bootable": "false", "created_at": "2013-05- 16T13:48: 11.000000" , "display_ description" : null, "volume_type": "None", "snapshot_id": null, "source_volid": null, "metadata": {}, "id": "34a9d0cd- a74c-4b52- 8067-db1234c059 0f", "size": 1}]}