Skip to main content

GET – Collection of Sensors

Use the GET method to retrieve properties in sensor collection for Redfish service.

Request URL

GET https://<BMC_IPADDR>/redfish/v1/Chassis/1/Sensors

Request body

None

Response body

Field

Type

Description

Name

String

“SensorsCollection”

Members

Array

Items: A reference link to an element of sensors

Members@odata.count

Number

The number of sensor elements

Description

String

A collection of sensor resource instances.

Status code

HTTP Status CodeError Message ID
500InternalError

Example

{
"Name": "SensorCollection",
"Description": "A collection of Sensor resource instances.",
"@odata.type": "#SensorCollection.SensorCollection",
"@odata.id": "/redfish/v1/Chassis/1/Sensors",
"Members": [
{
"@odata.id": "/redfish/v1/Chassis/1/Sensors/100L0"
},
{
"@odata.id": "/redfish/v1/Chassis/1/Sensors/100L3"
},
{
"@odata.id": "/redfish/v1/Chassis/1/Sensors/101L0"
},
{
"@odata.id": "/redfish/v1/Chassis/1/Sensors/101L3"
},
{
"@odata.id": "/redfish/v1/Chassis/1/Sensors/102L0"
},
{
"@odata.id": "/redfish/v1/Chassis/1/Sensors/102L3"
},
{
"@odata.id": "/redfish/v1/Chassis/1/Sensors/103L0"
},
{
"@odata.id": "/redfish/v1/Chassis/1/Sensors/103L3"
},
{
"@odata.id": "/redfish/v1/Chassis/1/Sensors/104L3"
},
{
"@odata.id": "/redfish/v1/Chassis/1/Sensors/105L3"
},
{
"@odata.id": "/redfish/v1/Chassis/1/Sensors/106L3"
},
{
"@odata.id": "/redfish/v1/Chassis/1/Sensors/107L3"
},
{
"@odata.id": "/redfish/v1/Chassis/1/Sensors/108L0"
},
{
"@odata.id": "/redfish/v1/Chassis/1/Sensors/108L3"
},
{
"@odata.id": "/redfish/v1/Chassis/1/Sensors/109L0"
},
{
"@odata.id": "/redfish/v1/Chassis/1/Sensors/109L3"
},
{
"@odata.id": "/redfish/v1/Chassis/1/Sensors/10L0"
},
{
"@odata.id": "/redfish/v1/Chassis/1/Sensors/110L0"
},
{
"@odata.id": "/redfish/v1/Chassis/1/Sensors/110L3"
},
{
"@odata.id": "/redfish/v1/Chassis/1/Sensors/111L0"
},
{
"@odata.id": "/redfish/v1/Chassis/1/Sensors/111L3"
},
……
{
"@odata.id": "/redfish/v1/Chassis/1/Sensors/96L3"
},
{
"@odata.id": "/redfish/v1/Chassis/1/Sensors/97L0"
},
{
"@odata.id": "/redfish/v1/Chassis/1/Sensors/97L3"
},
{
"@odata.id": "/redfish/v1/Chassis/1/Sensors/98L0"
},
{
"@odata.id": "/redfish/v1/Chassis/1/Sensors/98L3"
},
{
"@odata.id": "/redfish/v1/Chassis/1/Sensors/99L3"
},
{
"@odata.id": "/redfish/v1/Chassis/1/Sensors/9L0"
},
{
"@odata.id": "/redfish/v1/Chassis/1/Sensors/PSU1_InputVol"
},
{
"@odata.id": "/redfish/v1/Chassis/1/Sensors/PSU2_InputVol"
},
{
"@odata.id": "/redfish/v1/Chassis/1/Sensors/PSU3_InputVol"
},
{
"@odata.id": "/redfish/v1/Chassis/1/Sensors/PSU4_InputVol"
}
],
"@odata.etag": "\"5f07cdf91848d2f06b0db8\"",
"Members@odata.count": 280,
"@odata.context": "/redfish/v1/$metadata#SensorCollection.SensorCollection"
}