GET /api/v1/data/devices/{id}/memoryModules
Use this method to return memory-module information about a specific device.
Authentication
Authentication with username and password is required.
Resource URI
GET https://{orchestrator_server_IP}/api/v1/data/devices/{id}/memoryModules
where {id} is the ID of the device. To obtain the device IDs, use GET /api/v1/data/devices.
Query parameters
None
Request body
None
Response codes
Code | Description | Comments |
---|---|---|
200 | OK | The request completed successfully. |
404 | Not found | The resource cannot be found. A descriptive error message is returned in the response body. |
Response body
When the request is successful, the following attributes are returned. If the request fails, standard message attributes are returned (see Status messages).
Attributes | Type | Description | ||
---|---|---|---|---|
memoryModules | Array of objects | Information about each memory module in the device | ||
capacity | Integer | Capacity | ||
deviceTypeKey | String | Device type key | ||
displayName | String | Display name | ||
fruPartNumber | String | FRU part number | ||
healthState | String | Health state (translated). This can be one of the following values.
| ||
healthStateKey | String | Health state key. This can be one of the following values.
| ||
manufacturer | String | Manufacturer | ||
metrics | Object | Information about memory metric data | ||
alarmTrips | Object | Information about alarm trips | ||
model | String | Model | ||
partNumber | String | Part number | ||
present | Boolean | |||
serialNumber | String | Serial number | ||
slot | Integer | Slot | ||
speed | Integer | Number of data-transfer operations that occur in each second, in MT/s (megatransfers per second) | ||
type | String | Type | ||
_links | Object | Device URI (see Links) |
The following example is returned if the request is successful.
{
"memoryModules": [{
"capacity": 2,
"deviceTypeKey": "ddr3",
"displayName": "DIMM 21",
"fruPartNumber": "",
"healthState": "NA",
"healthStateKey": "NA",
"manufacturer": "Micron Technology",
"metrics": { "alarmTrips": {} },
"model": "DDR3",
"operatingMemoryMode": [ "Volatile" ],
"partNumber": "9KSF25672PZ-1G4M1",
"present": false,
"serialNumber": "377B770D",
"slot": 21,
"speed": 1333,
"type": "DDR3"
},
...,
{
"capacity": 16,
"deviceTypeKey": "ddr5",
"displayName": "DIMM 7",
"fruPartNumber": "",
"healthState": "NA",
"healthStateKey": "NA",
"manufacturer": "Samsung",
"metrics": { "alarmTrips": {} },
"model": "DDR5",
"operatingMemoryMode": [ "Volatile" ],
"partNumber": "M321R2GA3BB0-CQKMG",
"present": false,
"serialNumber": "80CE01214102186E41",
"slot": 7,
"speed": 4800,
"type": "DDR5"
}],
"_links": {
"rel": "self",
"uri": "/api/v1/data/devices/C7199530FEDE4FE09540DFC3D75FC56C/memoryModules"
}
}
Give documentation feedback