Skip to main content

GET – Collection of host interface

Use the GET method to retrieve properties in HostInterface collection for Redfish service.

Request URL

GET https://<BMC_IPADDR>/redfish/v1/Managers/1/HostInterfaces

Request body

None

Response body

FieldTypeDescription

Name

String

HostInterfaceCollection

Members

Array

Items: A reference link to an element of Host interface

Description

String

A collection of HostInterface resource instances.

Status code

HTTP Status CodeError Message ID
500InternalError

Example

The following example JSON response is returned:

{
"@odata.context": "/redfish/v1/$metadata#HostInterfaceCollection.HostInterfaceCollection",
"@odata.etag": "\"083A517C\"",
"@odata.id": "/redfish/v1/Managers/1/HostInterfaces/",
"@odata.type": "#HostInterfaceCollection.HostInterfaceCollection",
"Description": "A collection of HostInterface resource instances.",
"Members": [
{
"@odata.id": "/redfish/v1/Managers/1/HostInterfaces/1"
}
],
"Members@odata.count": 1,
"Name": "HostInterfaceCollection"
}