feat: capabilities API

This commit is contained in:
2025-08-28 10:46:21 +02:00
parent a9fb4252da
commit 861a36bac5
3 changed files with 120 additions and 3 deletions

View File

@@ -59,7 +59,7 @@ public:
String json;
serializeJson(resp, json);
request->send(ok ? 200 : 400, "application/json", json);
});
}, std::vector<ApiServer::ParamSpec>{ ApiServer::ParamSpec{ String("state"), true, String("body"), String("string") } });
}
void turnOn() {