This commit is contained in:
gein@sfedu.ru 2025-02-24 20:25:24 +03:00
parent 5590a1c834
commit 8b74a90ebb

View File

@ -14,4 +14,4 @@
+ /api/text - endpoint for editing text (POST)
+ /api/led - endpint for on/off panel (POST)
+ /api/led - endpoint for check on/off panel (GET), return "{"led":"true"}" if panel ON and "{"led":"false"}" if panel OFF
+ /api/state - endpoint for swith operation modes (POST), body: ({"State" : "1"} -> static image and static text) || body: ({"State" : "2"} -> -> Text scroll -> Image ->)
+ /api/state - endpoint for swith operation modes (POST), body: ({"State" : "1"} -> static image and static text) || body: ({"State" : "2"} -> Text scroll -> Image ->)