GET – Collection of server memories
Use the GET method to retrieve properties in Memory collection for Redfish service.
Request URL
GET https://<BMC_IPADDR>/redfish/v1/Systems/1/Memory
Request body
None
Response body
Field | Type | Description | |||
---|---|---|---|---|---|
Name | String | Memory Collection | |||
Members | Array | Items: A reference link to an element of memory resource | |||
Description | String | A Collection of memory resource instances. |
Status code
HTTP Status Code | Error Message ID |
---|---|
500 | InternalError |
Example
The following example JSON response is returned:
{
"@odata.context": "/redfish/v1/$metadata#MemoryCollection.MemoryCollection",
"@odata.etag": "\"98E01A23\"",
"@odata.id": "/redfish/v1/Systems/1/Memory",
"@odata.type": "#MemoryCollection.MemoryCollection",
"Description": "A collection of memory resource instances.",
"Members": [
{
"@odata.id": "/redfish/v1/Systems/1/Memory/32"
},
{
"@odata.id": "/redfish/v1/Systems/1/Memory/31"
},
...
{
"@odata.id": "/redfish/v1/Systems/1/Memory/2"
},
{
"@odata.id": "/redfish/v1/Systems/1/Memory/1"
}
],
"Members@odata.count": 32,
"Name": "Memory Collection"
}
Give documentation feedback