Add GET /api/teleporter

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER
2023-01-23 21:56:11 +01:00
parent 4c62a02026
commit 13168c377b
20 changed files with 266 additions and 61 deletions
+1
View File
@@ -78,6 +78,7 @@ static struct {
{ "/api/network/interfaces", "", api_network_interfaces, { false, 0 }, true, HTTP_GET },
{ "/api/network/devices", "", api_network_devices, { false, 0 }, true, HTTP_GET },
{ "/api/endpoints", "", api_endpoints, { false, 0 }, true, HTTP_GET },
{ "/api/teleporter", "", api_teleporter, { false, 0 }, false, HTTP_GET | HTTP_POST },
{ "/api/docs", "", api_docs, { false, 0 }, false, HTTP_GET },
};