GET – Collection of Volumes managed by storage controller
Use the GET method to retrieve the Volume collection resource for a server.
Request URL
GET https://<BMC_IPADDR>/redfish/v1/Systems/1/Storage/{StorageId}/Volumes
Response body
Field | Type | Description | ||
---|---|---|---|---|
Name | String | VolumeCollection | ||
Description | String | A collection of volumes instances. | ||
Members | Array | Items: A reference link of the elements of Volumes. |
Status code
HTTP Status Code | Error Message ID |
---|---|
500 | InternalError |
Example
The following example JSON response is returned:
{
"@odata.etag": "\"13CFDD03\"",
"@odata.id": "/redfish/v1/Systems/1/Storage/controller_slot8/Volumes",
"@odata.type": "#VolumeCollection.VolumeCollection",
"Members": [
{
"@odata.id": "/redfish/v1/Systems/1/Storage/controller_slot8/Volumes/239"
},
{
"@odata.id": "/redfish/v1/Systems/1/Storage/controller_slot8/Volumes/238"
}
],
"Members@odata.count": 2,
"Name": "Volume Collection",
"Oem": {
...
}
}
}
}
Give documentation feedback