GET – Collection of storage controllers
Use the GET method to retrieve the properties storage collection resource for a server.
Request URL
GET https://<BMC_IPADDR>/redfish/v1/Systems/1/Storage
Request body
None
Response body
The response is a JSON object that contains the following parameters:
Field | Type | Description | |||
---|---|---|---|---|---|
Members | Array | Items: A reference link of the elements of Storage. | |||
Name | String | StorageCollection | |||
Description | String | A collection of storage resource instances. |
Status code
HTTP Status Code | Error Message ID |
---|---|
500 | InternalError |
Example
The following example JSON response is returned:
{
"Members": [
{
"@odata.id": "/redfish/v1/Systems/1/Storage/RAID_Slot1"
},
{
"@odata.id": "/redfish/v1/Systems/1/Storage/HBA_Slot10"
},
{
"@odata.id": "/redfish/v1/Systems/1/Storage/7MM "
},
{
"@odata.id": "/redfish/v1/Systems/1/Storage/M.2 "
},
{
"@odata.id": "/redfish/v1/Systems/1/Storage/Direct_Attached_NVMe"
}
],
"@odata.type": "#StorageCollection.StorageCollection",
"@odata.id": "/redfish/v1/Systems/1/Storage",
"Name": "StorageCollection",
"@odata.etag": "\"3fe649519a8f27e9c28\"",
"Members@odata.count": 5,
"Description": "A collection of storage resource instances"
}
Give documentation feedback