Storage Volume Controller Resource

The API allows you to list, view and edit storage volumes.

PUT /storage-volumes

Change storage volumes.

Request Body
media type data type description
application/json array of StorageVolumeListRecord (JSON) specify list of storage volumes with changes
Response Body
media type data type description
application/json array of StorageVolumeListRecord (JSON) updated details of storage pool

Example

Request
PUT /storage-volumes
Content-Type: application/json
Accept: application/json

                
[ {
  "guid" : "...",
  "name" : "...",
  "uuid" : "...",
  "size" : 12345,
  "present" : true,
  "excludedFromBackup" : true
} ]
                
              
Response
HTTP/1.1 204 No Content
Content-Type: application/json

                
[ {
  "guid" : "...",
  "name" : "...",
  "uuid" : "...",
  "size" : 12345,
  "present" : true,
  "excludedFromBackup" : true
} ]
                
              

GET /storage-volumes/{guid}

Returns list of storage volumes filtered by storage guid.

Request Parameters
name type description
guid path specify storage guid to filter list of storage volumes
Response Body
media type data type description
application/json array of StorageVolumeListRecord (JSON) list of storage volumes filtered by specified storage guid

Example

Request
GET /storage-volumes/{guid}
Content-Type: */*
Accept: application/json

                
...
                
              
Response
HTTP/1.1 200 OK
Content-Type: application/json

                
[ {
  "guid" : "...",
  "name" : "...",
  "uuid" : "...",
  "size" : 12345,
  "present" : true,
  "excludedFromBackup" : true
} ]