Skip to main content

GET /api/v1/data/devices/{id}/fans

Use this method to return fan 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}/fans

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

CodeDescriptionComments
200OKThe request completed successfully.
404Not foundThe 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).

AttributesTypeDescription
fansArray of objectsInformation about each fan in the device
 descriptionStringFan description
 healthStateStringFan health state (translated). This can be one of the following values.
  • Normal
  • Non-Critical
  • Warning
  • Minor-Failure
  • Major-Failure
  • Non-Recoverable
  • Critical
  • Unknown
 healthStateKeyStringFan health state key. This can be one of the following values.
  • Normal
  • Non-Critical
  • Warning
  • Minor-Failure
  • Major-Failure
  • Non-Recoverable
  • Critical
  • Unknown
 nameStringFan name
 slotsIntegerFan slot
 speedIntegerFan speed
 statusStringFan status
_linksObjectDevice URI (see Links)
The following example is returned if the request is successful.
{
"fans": [{
"description": "Logical Device for fan / cooling device 1",
"healthState": "Normal",
"healthStateKey": "Normal",
"name": "Fan 1",
"slots": 1,
"speed": 0,
"status": "OK"
},
...,
{
"description": "Logical Device for fan / cooling device 7",
"healthState": "Normal",
"healthStateKey": "Normal",
"name": "Fan 7",
"slots": 7,
"speed": 0,
"status": "OK"
}],
"_links": {
"rel": "self",
"uri": "/api/v1/data/devices/C7199530FEDE4FE09540DFC3D75FC56C/fans"
}
}