Get power supply information

Request syntax

GET /v1/powerSupplies
Retrieves information about all power supplies in the tape library.

GET /v1/powerSupplies/<location>
Retrieves information about the power supplies in the specified location.

Path parameters

location

A string that represents the location of the power supply in the library.

Query parameters

None.

cURL example

> GET /v1/powerSupplies/powerSupply_F1PSa
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 1903
[
     {
          "location": "powerSupply_F1PSa", 
          "state": "online"
  }, {
          . . .
     }
]

Attribute summary

Name Schema
location String (location)
state String (frame state)

Attribute descriptions

location

A string that represents the location of the power supply in the library.

state
The overall health status of the power supply last read by the LCC node card. The value might be obsolete if the LCC node card is unreachable. The following values are included in order of priority:
State Description/user action
failed The power supply is showing a failure or is unreachable. Verify that the power supply is plugged in and cabled correctly from the rear of the frame. If issue persists, contact IBM Support.
online The power supply is plugged in and supplying power to the library.

Responses

Returns 200 OK on success.