Retrieve all Trays
Get all Trays (components) for the specified Site.
Org must have an Infrastructure Provider entity. User must have authorization role with PROVIDER_ADMIN suffix.
Filter constraints:
- rackId and rackName are mutually exclusive
- rackId/rackName cannot be combined with id/componentId (rack-level vs component-level targeting)
- componentId requires type to be specified
- slotId restricts to trays at that rack slot, requires rackId or rackName, and composes with the rest of the query via AND
Query parameters
ID of the Site to retrieve Trays from
Filter by Rack ID
Filter by Rack name
Filter by tray type
Filter by component ID. Can be specified multiple times to filter on more than one component ID. Requires 'type' parameter.
Filter by tray UUID. Can be specified multiple times to filter on more than one tray ID.
Restrict to trays at this rack slot (matches position.slotId). Requires rackId or rackName. Composes with the rest of the filter via AND.
One-indexed page number.
Page number for pagination query
Page size for pagination query
Ordering for pagination query
Response
OK
Example response
[
{
"id": "660e8400-e29b-41d4-a716-446655440001",
"componentId": "fm100ht4v4mce2qstjnl8970nnj3ie6ecek4mtjn27pea4kre5gsa49jg0g",
"type": "Compute",
"name": "compute-tray-1",
"manufacturer": "NVIDIA",
"model": "GB200",
"serialNumber": "TSN001",
"description": "Compute tray in slot 1",
"firmwareVersion": "2.1.0",
"powerState": "on",
"position": {
"slotId": 1,
"trayIdx": 0,
"hostId": 1
},
"bmcs": [
{
"type": "BmcTypeHost",
"macAddress": "00:11:22:33:44:55",
"ipAddress": "192.168.1.100"
}
],
"rackId": "550e8400-e29b-41d4-a716-446655440000",
"nvLinkDomainId": "59202b81-65fb-45ec-b3b8-91ab0ad3f34a",
"taskStats": {
"pendingTaskCount": 3,
"activeTaskCount": 1
}
}
]Changes
Changed in 9 of the 90 revisions of this API.3513
- ○
added the required property
items/taskStatsto the response with the200statusresponse-required-property-added
- ○
- ○
added the required property
items/nvLinkDomainIdto the response with the200statusresponse-required-property-added
- ○
- ▲
removed the enum value
computefrom thequeryrequest parametertyperequest-parameter-enum-value-removed
- ▲
removed the enum value
powershelffrom thequeryrequest parametertyperequest-parameter-enum-value-removed
- ▲
removed the enum value
switchfrom thequeryrequest parametertyperequest-parameter-enum-value-removed
- ●
added the new
Computeenum value to theitems/typeresponse property for the response status200response-property-enum-value-added
- ●
added the new
NVSwitchenum value to theitems/typeresponse property for the response status200response-property-enum-value-added
- ●
added the new
PowerShelfenum value to theitems/typeresponse property for the response status200response-property-enum-value-added
- ○
added the new enum value
Computeto thequeryrequest parametertyperequest-parameter-enum-value-added
- ○
added the new enum value
NVSwitchto thequeryrequest parametertyperequest-parameter-enum-value-added
- ○
added the new enum value
PowerShelfto thequeryrequest parametertyperequest-parameter-enum-value-added
- ○
removed the
computeenum value from theitems/typeresponse property for the response status200response-property-enum-value-removed
- ○
removed the
powershelfenum value from theitems/typeresponse property for the response status200response-property-enum-value-removed
- ○
removed the
switchenum value from theitems/typeresponse property for the response status200response-property-enum-value-removed
- ▲
- ●
for the
queryrequest parameterpageNumber, the max was set to21474836.00request-parameter-max-set
- ●
- ○
added the non-success response with the status
504response-non-success-status-added
- ○
- ○
added the optional property
items/leakStatusto the response with the200statusresponse-optional-property-added
- ○
added the optional property
items/operationStatusto the response with the200statusresponse-optional-property-added
- ○
- ○
added the new optional
queryrequest parameterslotIdnew-optional-request-parameter
- ○
- ●
deleted the
queryrequest parameterslotIdrequest-parameter-removed
This revision also has 14 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ○
added the new optional
queryrequest parameterslotIdnew-optional-request-parameter
- ○