GET – Collection of BMC ethernet interface properties
Use the GET method to retrieve properties in Ethernet interface collection resource for a BMC.
Request URL
GET https://<BMC_IPADDR>/redfish/v1/Managers/1/EthernetInterfaces
Request body
None
Response body
The response is a JSON object that contains the following parameters:
Field | Type | Description | |||
---|---|---|---|---|---|
Members | Array | Items: A reference link of the elements of EthernetInterface. | |||
Name | String | EthernetInterfaceCollection. | |||
Description | String | A collection of EthernetInterface resource instances. |
Status code
HTTP Status Code | Error Message ID |
---|---|
500 | InternalError |
Response example
The following example JSON response is returned:
{
"@odata.id": "/redfish/v1/Managers/1/EthernetInterfaces",
"Name": "EthernetInterfaceCollection",
"@odata.context": "/redfish/v1/$metadata#EthernetInterfaceCollection.EthernetInterfaceCollection",
"Members": [
{
"@odata.id": "/redfish/v1/Managers/1/EthernetInterfaces/NIC"
},
{
"@odata.id": "/redfish/v1/Managers/1/EthernetInterfaces/ToHost"
}
],
"@odata.type": "#EthernetInterfaceCollection.EthernetInterfaceCollection",
"@odata.etag": "\"3a44d9cd5c02b15baae44caebe1d29fb\"",
"Members@odata.count": 2,
"Description": "A collection of EthernetInterface resource instances."
}
Give documentation feedback