2.1.3. List Volume Details

Verb URI Description
GET /volumes/details List detailed information of all volumes defined in Cinder that are accessible to the tenant who submits the request.
 

Example 2.5. List Volumes: Request

GET /v1/volumes/details
Accept: application/json
        

 

Example 2.6. List Volumes: JSON Response

          {
    "volumes": [
        {
            "attachments": [],
            "availability_zone": "us-east1",
            "bootable": "false",
            "created_at": "2013-02-18T23:47:37.000000",
            "display_description": "yet another volume",
            "display_name": "vol-002",
            "id": "dfd9dd41-1353-450a-b5ac-a6037ee43cd8",
            "metadata": {
                "contents": "some more junk"
            },
            "size": 30,
            "snapshot_id": null,
            "source_volid": null,
            "status": "available",
            "volume_type": "SATA"
        },
        {
            "attachments": [],
            "availability_zone": "us-east1",
            "bootable": "false",
            "created_at": "2013-02-18T23:44:47.000000",
            "display_description": "another volume",
            "display_name": "vol-001",
            "id": "da450d0c-0920-4785-80dd-b024515200ce",
            "metadata": {
                "contents": "junk"
            },
            "size": 10,
            "snapshot_id": null,
            "source_volid": null,
            "status": "available",
            "volume_type": "SATA"
        }
    ]
}

        

Returns status code 200 on success

Questions? Discuss on ask.openstack.org
Found an error? Report a bug against this page