The API allows you to list, view and edit storage volumes.
Change storage volumes.
media type | data type | description |
---|---|---|
application/json | array of StorageVolumeListRecord (JSON) | specify list of storage volumes with changes |
media type | data type | description |
---|---|---|
application/json | array of StorageVolumeListRecord (JSON) | updated details of storage pool |
PUT /storage-volumes
Content-Type: application/json
Accept: application/json
[ {
"guid" : "...",
"name" : "...",
"uuid" : "...",
"size" : 12345,
"present" : true,
"excludedFromBackup" : true
} ]
HTTP/1.1 204 No Content
Content-Type: application/json
[ {
"guid" : "...",
"name" : "...",
"uuid" : "...",
"size" : 12345,
"present" : true,
"excludedFromBackup" : true
} ]
Returns list of storage volumes filtered by storage guid.
name | type | description |
---|---|---|
guid | path | specify storage guid to filter list of storage volumes |
media type | data type | description |
---|---|---|
application/json | array of StorageVolumeListRecord (JSON) | list of storage volumes filtered by specified storage guid |
GET /storage-volumes/{guid}
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
[ {
"guid" : "...",
"name" : "...",
"uuid" : "...",
"size" : 12345,
"present" : true,
"excludedFromBackup" : true
} ]