GET /api/v1/data/devices/{id}/processors
Use this method to return processor information for a specific device.
Authentication
Authentication with user name and password is required.
Resource URI
GET https://{orchestrator_server_IP}/api/v1/data/devices/{id}/processors
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 | ||
---|---|---|---|---|
processors | Array of objects | Information about each processor in the device | ||
cores | Integer | Number of cores | ||
displayName | String | Display name | ||
family | String | Family | ||
manufacturer | String | Manufacturer | ||
productVersion | String | Product version | ||
slot | Integer | Slot | ||
socket | String | Socket information For servers, this is the socket number (for example, ”Socket 1”). For scalable complexes, this is the node and socket number (for example, “Node 1 Socket 1”). | ||
speed | String | Speed | ||
_links | Object | Device URI (see Links) |
The following example is returned if the request is successful.
{
"processors": [{
"cores": 6,
"displayName": "Intel(R) Xeon(R) CPU E5-2630L 0 @ 2.00GHz",
"family": "INTEL_R_XEON_TM",
"manufacturer": "Intel(R) Corporation",
"productVersion": "Intel(R) Xeon(R) CPU E5-2630L 0 @ 2.00GHz",
"slot": 1,
"socket": "",
"speed": 2,
},
{
"cores": 6,
"displayName": "Intel(R) Xeon(R) CPU E5-2630L 0 @ 2.00GHz",
"family": "INTEL_R_XEON_TM",
"manufacturer": "Intel(R) Corporation",
"productVersion": "Intel(R) Xeon(R) CPU E5-2630L 0 @ 2.00GHz",
"slot": 2,
"socket": "",
"speed": 2,
}],
"_links": {
"rel": "self",
"uri": "/api/v1/data/devices/C7199530FEDE4FE09540DFC3D75FC56C/processors"
}
}
Give feedback