summaryrefslogtreecommitdiffstats
path: root/src/rest.h
diff options
context:
space:
mode:
authorOpenGnSys Support Team <soporte-og@soleta.eu>2023-11-30 20:06:07 +0100
committerOpenGnSys Support Team <soporte-og@soleta.eu>2023-11-30 20:20:07 +0100
commitedac32bb986e8dab23a14a79317c2109bc523270 (patch)
tree61354e3e6106ea9f28cf75d3c09e456376c4c213 /src/rest.h
parent1ce56240323c21e3e3251dfd6173cb45ae959574 (diff)
rest: add GET /room/info
Add GET /room/info to obtain room information, this includes the name, gateway and netmask. curl -X GET -H "Authorization: $API_KEY" http://127.0.0.1:8888/room/info -d '{ "id" : 1 }
Diffstat (limited to 'src/rest.h')
-rw-r--r--src/rest.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rest.h b/src/rest.h
index 6cd69be..3c1cf93 100644
--- a/src/rest.h
+++ b/src/rest.h
@@ -127,6 +127,7 @@ enum og_rest_uri {
OG_URI_CENTER_DELETE,
OG_URI_ROOM_ADD,
OG_URI_ROOM_DELETE,
+ OG_URI_ROOM_INFO,
OG_URI_PROC_ADD,
OG_URI_PROC_UPDATE,
OG_URI_PROC_RUN,