Description

Request URL

Compute API v2.0

GET /v2/​{tenant_id}​/servers/​{server_id}​/os-volume_attachments

Request Paramters

Parameter Value Style Description
X-Auth-Token User Token header
tenant_id Tenant ID URI
server_id Server ID URI

Request Json

This operation does not accept a request body.

Normal response codes

200

Example

curl -i -X GET \
-H "Accept: application/json" \
-H "X-Auth-Token: 35941e7df872405d84e5b026dba8323c" \
https://compute.tyo1.cloud.z.com/v2/1864e71d2deb46f6b47526b69c65a45d/servers/6d9e8d64-236d-4057-a899-f4cf797405cf/os-volume_attachments
HTTP/1.1 200 OK
Date: Fri, 12 Dec 2014 01:21:34 GMT
Server: Apache
Content-Length: 358
Content-Type: application/json

{
    "volumeAttachments": [
        {
            "device": "/dev/vdb",
            "id": "997d6052-4b17-4500-8d41-c08fb9667aae",
            "serverId": "6d9e8d64-236d-4057-a899-f4cf797405cf",
            "volumeId": "997d6052-4b17-4500-8d41-c08fb9667aae"
        }
    ]
}