summaryrefslogtreecommitdiffstats
path: root/src/rest.h
diff options
context:
space:
mode:
authorJavier Hernandez <jhernandez@soleta.eu>2024-01-31 13:10:15 +0100
committerOpenGnSys Support Team <soporte-og@soleta.eu>2024-02-01 11:23:54 +0100
commit5e2b562330c63b8dbd1cea5aada5aa9b86a7f31a (patch)
treebcf3fd8fe4a4ad001f8dda88f8ecafb0fbac78fc /src/rest.h
parent128bba364ab73661b72a2ba1ce7c0299d0b25b47 (diff)
rest: Add uri to update center
Add uri to allow the change of a center's properties such as 'name' or 'comment' Refuse to update center's name if that name is already in use by another center. This is because a center should not share name with another one.
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 faa380f..c939bba 100644
--- a/src/rest.h
+++ b/src/rest.h
@@ -126,6 +126,7 @@ enum og_rest_uri {
OG_URI_OGLIVE_LIST,
OG_URI_OGLIVE_SET,
OG_URI_CENTER_ADD,
+ OG_URI_CENTER_UPDATE,
OG_URI_CENTER_DELETE,
OG_URI_ROOM_ADD,
OG_URI_ROOM_DELETE,