GET /v1/volumes
Changed onList all storage volumes.
Request
- The document declares no server URL.
- Authnone declared
Query parameters
Requests a page size of items. Returns a number of items up to a limit value. Use the limit parameter to make an initial limited request and use the ID of the last-seen item from the response as the marker parameter value in a subsequent limited request.
Used in conjunction with limit to return a slice of items. offset is where to start in the list.
Comma-separated list of sort keys and optional sort directions in the form of key:val
The volume name
Actual ID of the storage pool in the storage backend.
Actual ID created for the volume in the storage backend.
Database ID created for a storage backend.
The volume status
Response
List volumes operation was successful
Example response
{
"volumes": [
{
"id": "084bf71e-a102-11e7-88a8-e31fe6d52248",
"created_at": "2017-07-10T14:36:58.014Z",
"updated_at": "2017-07-10T14:36:58.014Z",
"storage_id": "084bf71e-a102-11e7-88a8-e31fe6d52248",
"total_capacity": 2,
"used_capacity": 2,
"free_capacity": 2
}
]
}Changes
- info
added the optional property
///to the response with the status
- info
- warning
added the new
availableenum value to the///response property for the response status - warning
added the new
errorenum value to the///response property for the response status - info
removed the
abnormalenum value from the///response property for the response status - info
removed the
normalenum value from the///response property for the response status - info
removed the
offlineenum value from the///response property for the response status
- warning