summaryrefslogtreecommitdiffstats
path: root/src/rest.h
diff options
context:
space:
mode:
authorJavier Hernandez <jhernandez@soleta.eu>2024-01-31 13:10:16 +0100
committerOpenGnSys Support Team <soporte-og@soleta.eu>2024-02-01 11:25:34 +0100
commit5b75df049ec6869eb598e323788bc452451799da (patch)
tree506ffd1e7b10403716757b92ac3fd40b63b858a6 /src/rest.h
parent5e2b562330c63b8dbd1cea5aada5aa9b86a7f31a (diff)
rest: Add uri to update room
Add uri to allow the change of a room's properties, such as 'name', 'gateway' or 'netmask' Reject update if new name is already being used by any room of the center where the room is located
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 c939bba..926ac8c 100644
--- a/src/rest.h
+++ b/src/rest.h
@@ -129,6 +129,7 @@ enum og_rest_uri {
OG_URI_CENTER_UPDATE,
OG_URI_CENTER_DELETE,
OG_URI_ROOM_ADD,
+ OG_URI_ROOM_UPDATE,
OG_URI_ROOM_DELETE,
OG_URI_ROOM_INFO,
OG_URI_PROC_ADD,