GET – Collection of Network adapters
Use the GET method to retrieve properties in NetworkAdapter collection for Redfish service.
Request URL
GET https://<BMC_IPADDR>/redfish/v1/Chassis/1/NetworkAdapters
Request body
None
Response body
The response is a JSON object that contains the following parameters:
Field | Type | Description | |||
---|---|---|---|---|---|
Name | String | “NetworkAdaptersCollection”. | |||
Members | Array | Items: A reference link to an element of NetworkAdapters. | |||
Description | String | A collection of NetworkAdapter resource instances. |
Status code
HTTP Status Code | Error Message ID |
---|---|
500 | InternalError |
Example
The following example JSON response is returned:
{
"Members": [
{
"@odata.id": "/redfish/v1/Chassis/1/NetworkAdapters/slot-13"
}
],
"@odata.type": "#NetworkAdapterCollection.NetworkAdapterCollection",
"@odata.id": "/redfish/v1/Chassis/1/NetworkAdapters",
"Name": "NetworkAdapterCollection",
"@odata.etag": "\"7c4a52116d626ea10f04de562c990269\"",
"Members@odata.count": 1,
"Description": "A collection of NetworkAdapter resource instances."
}
Give documentation feedback