Retrieve a Tray
Get a Tray by ID.
Org must have an Infrastructure Provider entity. User must have authorization role with PROVIDER_ADMIN suffix.
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://nico-rest-api.nico.svc.cluster.local/v2/org/$ORG_NAME/nico/user/current
```
Path parameters
org
Name of the Org
id
ID of the Tray
Query parameters
siteId
ID of the Site
Response
OK
id
Unique identifier of the Tray
componentId
ID of the component
type
Type of the tray
name
Name of the tray
manufacturer
Manufacturer of the tray
model
Model of the tray
serialNumber
Serial number of the tray
description
Description of the tray
firmwareVersion
Firmware version of the tray
powerState
Current power state of the tray
operationStatus
Flow-derived operability phase of the tray
leakStatus
Whether the tray is considered leaking coolant
position
Position of the Tray within the Rack
bmcs
BMC (Baseboard Management Controller) entries for the tray
rackId
ID of the rack this tray belongs to
Errors
403
Forbidden Error
404
Not Found Error