From edac32bb986e8dab23a14a79317c2109bc523270 Mon Sep 17 00:00:00 2001 From: OpenGnSys Support Team Date: Thu, 30 Nov 2023 20:06:07 +0100 Subject: 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 } --- src/rest.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/rest.h') 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, -- cgit v1.2.3-18-g5258