Skip to main content

GET – Collection of server network interfaces

Use the GET method to retrieve properties in network interface collection resource for a server.

Request URL

GET https://<BMC_IPADDR>/redfish/v1/Systems/1/NetworkInterfaces

Request body

None

Response body

FieldTypeDescription

Members

Array

Items: A reference link of the elements of NetworkInterfaces.

Name

String

NetworkInterfacesCollection.

Description

String

A collection of NetworkInterfaces resource instances.

Status code

HTTP Status CodeError Message ID
500InternalError

Example

When the request is successful, a message body similar to the following is returned:

{
"@odata.context": "/redfish/v1/$metadata#NetworkInterfaceCollection.NetworkInterfaceCollection",
"@odata.etag": "\"F8EB33BA\"",
"@odata.id": "/redfish/v1/Systems/1/NetworkInterfaces",
"@odata.type": "#NetworkInterfaceCollection.NetworkInterfaceCollection",
"Description": "A collection of NetworkInterface resource instances.",
"Members": [
{
"@odata.id": "/redfish/v1/Systems/1/NetworkInterfaces/1"
},
{
"@odata.id": "/redfish/v1/Systems/1/NetworkInterfaces/2"
},
{
"@odata.id": "/redfish/v1/Systems/1/NetworkInterfaces/3"
},
{
"@odata.id": "/redfish/v1/Systems/1/NetworkInterfaces/4"
},
{
"@odata.id": "/redfish/v1/Systems/1/NetworkInterfaces/5"
},
{
"@odata.id": "/redfish/v1/Systems/1/NetworkInterfaces/6"
}
],
"Members@odata.count": 6,
"Name": "NetworkInterfaceCollection"
}