Skip to main content

GET – Server PCIe slots

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

Request URL

GET https://<BMC_IPADDR>/redfish/v1/Chassis/1/PCIeSlots

Request body

None

Response body

FieldTypeDescription
IdString

“PCIeSlots”

NameString

“PCIe Slots”

DescriptionString

This resource shall be used to represent a set of PCIe slot information for a Redfish implementation.

SlotsObject

An array of PCI Slot information.

 LinksObject

The links to other Resources that are related to Slots.

  PCIeDeviceLink

Link to related PCIeDevice.

 HotPluggableBoolean

An indication of whether this PCIe slot supports hotplug.

 LocationObject

The location of the PCIe slot.

  PartLocationObject

The part location within the placement.

   ServiceLabelString

The label of the part location, such as PCIe X (X is the slot number).

   LocationTypeString

The type of location of the part, such as slot.

   LocationOrdinalValueString

The number that represents the location of the part.

If LocationType is `slot` and this unit is in slot 2, the LocationOrdinalValue is 2.

  InfoFormatString

The format of the Info property. Always set to “Slot X”.

  InfoString

The location of the Resource: Slot X (X is the slot number)

  Info@Redfish.DeprecatedString

The property is deprecated. Please use PartLocation instead.

  InfoFormat@Redfish.DeprecatedString

The property is deprecated. Please use PartLocation instead.

 StatusObject

The status and health of PCIeSlots.

  StateString

The known state of PCIeSlots, such as, enabled, disabled.

  HealthString

This represents the health state of this resource.

Status code

HTTP Status CodeError Message ID
500InternalError

Example

The following example JSON response is returned:

{
"Name": "PCIe Slots",
"@odata.type": "#PCIeSlots.v1_1_1.PCIeSlots",
"@odata.id": "/redfish/v1/Chassis/1/PCIeSlots",
"Id": "PCIeSlots",
"@odata.etag": "\"cc0d36eadd67a45054edfaaadfbe2893\"",
"Slots": [
{
"Location": {
"PartLocation": {
"LocationType": "Slot",
"ServiceLabel": "PCIe 4",
"LocationOrdinalValue": 4
},
"InfoFormat": "Slot X",
"Info": "Slot 4",
"Info@Redfish.Deprecated": "The property is deprecated. Please use PartLocation instead.",
"InfoFormat@Redfish.Deprecated": "The property is deprecated. Please use PartLocation instead."
},
"HotPluggable": false
"Links": {
"PCIeDevice": [
{
"@odata.id": "/redfish/v1/Chassis/1/PCIeDevices/slot_4"
}
]
},
"Status": {
"State": "Enabled",
"Health": "OK"
}
}
],
"Description": "This resource shall be used to represent an set of PCIe slot information for a Redfish implementation."
}