set-theme
Added at V2.2
Use this interface to set light/dark mode.
HTTP Request
GET http://ip/usapi?method=set-theme&theme=xxx
| Parameter | Description | 
|---|---|
| method | set-theme | 
| theme | 0: light theme 1: dark theme | 
Response Body
{
  "result": 0
}
| Item | Description | 
|---|---|
| result | Returned status. 0 indicates that the request was accepted successfully. Refer to API Status Codes to find specific description for other values. |