GET – Collection of server Ethernet interfaces
Use the GET method to retrieve properties in Ethernet interface collection resource for a server.
Request URL
GET https://<BMC_IPADDR>/redfish/v1/Systems/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
When the request is successful, a message body similar to the following is returned:
{
"@odata.id": "/redfish/v1/Systems/1/EthernetInterfaces",
"Name": "EthernetInterfaceCollection",
"@odata.context": "/redfish/v1/$metadata#EthernetInterfaceCollection.EthernetInterfaceCollection",
"Members": [
{
"@odata.id": "/redfish/v1/Systems/1/EthernetInterfaces/ToManager"
},
{
"@odata.id": "/redfish/v1/Systems/1/EthernetInterfaces/NIC1"
},
{
"@odata.id": "/redfish/v1/Systems/1/EthernetInterfaces/NIC2"
}
],
"@odata.type": "#EthernetInterfaceCollection.EthernetInterfaceCollection",
"@odata.etag": "\"796d097492fa96e3f9e0be275beba605\"",
"Members@odata.count": 3,
"Description": "A collection of EthernetInterface resource instances."
}
Give documentation feedback