3.4 Display
Získání aktuálního nastavení
Získá aktuální informaci o nastavení displeje.
URL: | https://{{ip_addr}}/api/v1/display |
HTTP Metoda: | GET |
Response code: | Standardní HTTP response code, ošetřuje syntaktické chyby. |
Response data: | {
"data": {
"brightness": 100,
"isBlueLedNotificationActive": true,
"turnOffDisplayDelay": 2
}
}
|
Nastavení sekce
URL: | https://{{ip_addr}}/api/v1/display |
HTTP Metoda: | PUT |
Response code: | Standardní HTTP response code, ošetřuje syntaktické chyby. |
| Request body: | {
"brightness": 37,
"isBlueLedNotificationActive": true,
"turnOffDisplayDelay": 1
}
|
Response data: | {
"data": {
"brightness": 37,
"isBlueLedNotificationActive": true,
"turnOffDisplayDelay": 1
}
}
|
