diff options
author | OpenGnSys Support Team <soporte-og@soleta.eu> | 2023-11-30 20:06:07 +0100 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2023-11-30 20:20:07 +0100 |
commit | edac32bb986e8dab23a14a79317c2109bc523270 (patch) | |
tree | 61354e3e6106ea9f28cf75d3c09e456376c4c213 /src/rest.h | |
parent | 1ce56240323c21e3e3251dfd6173cb45ae959574 (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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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, |