Retrieve all Expected Power Shelves
Retrieve all Expected Power Shelves.
Org must have an Infrastructure Provider entity. User must have `FORGE_PROVIDER_ADMIN` or `FORGE_PROVIDER_VIEWER` role.
Alternatively, Tenant Admins with `TargetedInstanceCreation` capability can also retrieve Expected Power Shelves if they have an account with the Site's Infrastructure Provider (siteId query parameter is required for Tenants).
Authentication
AuthorizationBearer
```
export JWT_BEARER_TOKEN="<jwt-bearer-token>"
# Example org name: "acme-inc
export ORG_NAME=<org-name>
# Use the JWT bearer token in your API request auth header:
curl -v -X GET -H "Content-Type: application/json" -H "Authorization: Bearer $JWT_BEARER_TOKEN" https://carbide-rest-api.carbide.svc.cluster.local/v2/org/$ORG_NAME/carbide/user/current
```
Path parameters
org
Query parameters
siteId
ID of the Site to filter Expected Power Shelves by
includeRelation
Related entity to expand
Allowed values:
pageNumber
Page number for pagination query
pageSize
Page size for pagination query
orderBy
Ordering for pagination query
Response headers
X-Pagination
Pagination result in JSON format
Response
OK
id
Unique identifier for the Expected Power Shelf
siteId
ID of the site the Expected Power Shelf belongs to
bmcMacAddress
MAC address of the Expected Power Shelf’s BMC (Baseboard Management Controller)
shelfSerialNumber
Serial number of the Expected Power Shelf
ipAddress
IP address of the Expected Power Shelf
rackId
Optional rack identifier for this component
name
Display name for this component
manufacturer
Manufacturer of this component
model
Model of this component
description
Description of this component
firmwareVersion
Firmware version of this component
slotId
Slot ID within the rack
trayIdx
Tray index within the rack
hostId
Host ID within the tray
labels
User-defined key-value pairs for organizing and categorizing Expected Power Shelves
created
ISO 8601 datetime when the Expected Power Shelf was created
updated
ISO 8601 datetime when the Expected Power Shelf was last updated
Errors
400
Bad Request Error
403
Forbidden Error