diff options
author | Javier Hernandez <jhernandez@soleta.eu> | 2024-01-31 13:10:16 +0100 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2024-02-01 11:25:34 +0100 |
commit | 5b75df049ec6869eb598e323788bc452451799da (patch) | |
tree | 506ffd1e7b10403716757b92ac3fd40b63b858a6 /src/rest.h | |
parent | 5e2b562330c63b8dbd1cea5aada5aa9b86a7f31a (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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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, |