Retrieve Volume
- Name
get
- Type
- /v1/volumes/:id
- Description
You can get information about a specific volume by making a
GET
request to the volume's id endpoint.
Request
Example
curl -X GET "https://api.simplystack.com/v1/volumes/6c848d7f-0389-4fdf-95bf-7d4d58d9cc04"
-H "Content-Type: application/json"
-H "Authorization: Token d359ad9cc9422b5ff07aede0cd2707da4ff82be0"
Response
JSON object with key named volume
. The value of volumes will return the following identifiers:
Attributes
Example
json
{
"volume": {
"id": "6c848d7f-0389-4fdf-95bf-7d4d58d9cc04",
"name": "volume01",
"created_at": "2020-01-07T18:37:45.190194Z",
"task": null
"region": {
"available": true,
"features": [
"floating_ips"
],
"name": "Frankfurt",
"slug": "fra"
},
"size": 10737418240,
"size_gigabytes": 10.0,
"stacklet": null
}
}