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

The response is a JSON object that contains the following parameters:

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.id": "/redfish/v1/Managers/1/HostInterfaces",
"Members@odata.count": 1,
"@odata.context": "/redfish/v1/$metadata#HostInterfaceCollection.HostInterfaceCollection",
"Members": [
{
"@odata.id": "/redfish/v1/Managers/1/HostInterfaces/1"
}
],
"@odata.type": "#HostInterfaceCollection.HostInterfaceCollection",
"@odata.etag": "\"806b8bd9d1a64fa1ac993403401f40e0\"",
"Name": "HostInterfaceCollection",
"Description": "A collection of HostInterface resource instances."
}