Media trays REST API

Use this REST API to manage media trays.

Get all media trays

URI /admin/resources/media_trays
Method GET
Returns 200 Returns a list of all Media Trays
404 The Media Tray list was not found
500 Platform System Manager encountered an internal error while processing the request.

Returns a list of Media Trays.

You can use optional parameters to modify the response from the REST API call. For more information, see the Related information section.

created_time
The time at which the object is created
id
The unique ID of the object in the system.
label_key
The key for retrieving the label for the media tray
name
The name of the media tray
power_supplies
The power supply that the fan is associated with
state
The general availability of the object. If "pending" the object has been created but not activated. If "available" the object is active in the system.
updated_time
The time at which the object was last updated

Children:

vendor_informations, locations, events

Get a specific Media Tray

URI /admin/resources/media_trays/{id}
Method GET
Returns 200 The Media Tray was returned.
404 The Media Tray was not found
500 Platform System Manager encountered an internal error while processing the request.

Returns a single Media Tray identified by {id}.

You can use optional parameters to modify the response from the REST API call. For more information, see the Related information section.