Get the status of power module
1. API Description
This API is used to get the status of the power module.
Request mode: POST [ip]/api/chassis/get-power
| Administrator Rights | Logged-in | 
|---|---|
| No | Yes | 
2. Input Parameters
None
3. Output Parameters
| Name | Type | Description | 
|---|---|---|
| status | Int | Status code | 
| code | String | Status description | 
| power-on | Int | Power module status 0: Standby 1: Powering on 2: Power on 3: Entering standby status | 
4. Example
Getting the status of the power module.
Input Example
None
Output Example
{
    "power-on": 2,
    "status": 0,
    "code": "Success"
}
5. Error Code
No error code related to the API business logic. For other error codes, see Common Error Codes.