GET /api/v1/data/devices/{id}/memoryModules
Use this method to return memory-module information about a specific device.
Authentication
Authentication with user name 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 | ||
displayName | String | Display name | ||
manufacturer | String | Manufacturer | ||
model | String | Model | ||
partNumber | String | Part number | ||
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) | ||
speedMBs | Integer | Amount of data that is transferred in each second, in MB/s (megabytes per second) | ||
type | String | Type | ||
_links | Object | Device URI (see Links) |
The following example is returned if the request is successful.
{
"memoryModules": [{
"capacity": 2,
"displayName": "DIMM 21",
"manufacturer": "Micron Technology",
"model": "DDR3",
"partNumber": "9KSF25672PZ-1G4M1",
"serialNumber": "377B770D",
"slot": 21,
"speed": 1333,
"speedMBs": 0,
"type": "DDR3"
},
...,
{
"capacity": 2,
"displayName": "DIMM 20",
"manufacturer": "Micron Technology",
"model": "DDR3",
"partNumber": "9KSF25672PZ-1G4M1",
"serialNumber": "377B7719",
"slot": 20,
"speed": 1333,
"speedMBs": 0,
"type": "DDR3"
}],
"_links": {
"rel": "self",
"uri": "/api/v1/data/devices/C7199530FEDE4FE09540DFC3D75FC56C/memoryModules"
}
}
Give feedback