GET – Collection for server
Use the GET method to retrieve properties in Systems collection for Redfish service.
Request URL
GET https://<BMC_IPADDR>/redfish/v1/Systems
Request body
None
Response body
The response is a JSON object that contains the following parameters:
Field | Type | Description | |||
---|---|---|---|---|---|
Name | String | “ComputerSystemCollection”. | |||
Members | Array | Items: A reference link to an element of Systems. | |||
Description | String | A collection of ComputerSystem 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/Systems",
"Members@odata.count": 1,
"@odata.context": "/redfish/v1/$metadata#ComputerSystemCollection.ComputerSystemCollection",
"Members": [
{
"@odata.id": "/redfish/v1/Systems/1"
}
],
"@odata.type": "#ComputerSystemCollection.ComputerSystemCollection",
"@odata.etag": "\"1daba583ad7f7510727402be8f09f081\"",
"Name": "ComputerSystemCollection",
"Description": "A collection of ComputerSystem resource instances."
}
Give documentation feedback