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
[ { } ]
HTTP/1.1 204 No Content
Content-Type: application/json
[ { } ]
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
[ { } ]