GET – Collection for chassis
Use the GET method to retrieve properties in Chassis collection for Redfish service.
Request URL
GET https://<BMC_IPADDR>/redfish/v1/Chassis
Request body
None
Response body
The response is a JSON object that contains the following parameters:
Field | Type | Description | |||
---|---|---|---|---|---|
Name | String | “ChassisCollection”. | |||
Members | Array | Item count: 1~2 | |||
Members[N] | Link | Links to Chassis resource instances. | |||
Description | String | A collection of Chassis resource instances. |
Status code
HTTP Status Code | Error Message ID |
---|---|
500 | InternalError |
Response example
When the request is successful, a message body similar to the following is returned:
{
"@odata.id": "/redfish/v1/Chassis",
"Name": "ChassisCollection",
"@odata.context": "/redfish/v1/$metadata#ChassisCollection.ChassisCollection",
"Members": [
{
"@odata.id": "/redfish/v1/Chassis/1"
}
],
"@odata.type": "#ChassisCollection.ChassisCollection",
"@odata.etag": "\"af5a94479815eb5f87fe91ea08fde0ac\"",
"Members@odata.count": 1,
"Description": "A collection of Chassis resource instances."
}
Give documentation feedback