List volumes 2

Method URI Description
GET /v1.1/{tenant_id}/os-volumes Lists the volumes associated with the account.

Normal response codes: 200

Request

This table shows the URI parameters for the list volumes request:

Name Type Description
{tenant_id} String The unique identifier of the project or account.

This operation does not require a request body.

Response

Example. List volumes: JSON response


{
	"volumes": [
		{
			"id": "521752a6-acf6-4b2d-bc7a-119f9148cd8c",
			"displayName": "vol-001",
			"displayDescription": "Another volume.",
			"size": 30,
			"volumeType": "289da7f8-6440-407c-9fb4-7db01ec49164",
			"metadata": {
				"contents": "junk"
			},
			"availabilityZone": "us-east1",
			"snapshotId": null,
			"attachments": [],
			"createdAt": "2012-02-14T20:53:07Z"
		},
		{
			"id": "76b8950a-8594-4e5b-8dce-0dfa9c696358",
			"displayName": "vol-002",
			"displayDescription": "Yet another volume.",
			"size": 25,
			"volumeType": "96c3bda7-c82a-4f50-be73-ca7621794835",
			"metadata": {},
			"availabilityZone": "us-east2",
			"snapshotId": null,
			"attachments": [],
			"createdAt": "2012-03-15T19:10:03Z"
		}
	]
}