GET – Collection of PCIe Devices
Use the GET method to retrieve properties in PCIeDevice collection for Redfish service.
Request URL
GET https://<BMC_IPADDR>/redfish/v1/Chassis/1/PCIeDevices
Request body
None
Response body
| Field | Type | Description | |||
|---|---|---|---|---|---|
Name | String | “PCIeDevicesCollection” | |||
Members | Array | Items: A reference link to an element of PCIeDevices. | |||
Description | String | A collection of PCIeDevice 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/PCIeDevices/ob_1"
},
{
"@odata.id": "/redfish/v1/Chassis/1/PCIeDevices/ob_2"
},
{
"@odata.id": "/redfish/v1/Chassis/1/PCIeDevices/ob_3"
},
{
"@odata.id": "/redfish/v1/Chassis/1/PCIeDevices/ob_4"
},
{
"@odata.id": "/redfish/v1/Chassis/1/PCIeDevices/slot_2"
},
{
"@odata.id": "/redfish/v1/Chassis/1/PCIeDevices/slot_3"
},
{
"@odata.id": "/redfish/v1/Chassis/1/PCIeDevices/slot_13"
}
],
"@odata.etag": "\"4a293cc07e9e2aea4b2\"",
"@odata.context": "/redfish/v1/$metadata#PCIeDeviceCollection.PCIeDeviceCollection",
"@odata.id": "/redfish/v1/Chassis/1/PCIeDevices",
"Members@odata.count": 7,
"Description": "A collection of PCIeDevice resource instances.",
"Name": "PCIeDeviceCollection",
"@odata.type": "#PCIeDeviceCollection.PCIeDeviceCollection"
}
Give documentation feedback