From 5e2b562330c63b8dbd1cea5aada5aa9b86a7f31a Mon Sep 17 00:00:00 2001 From: Javier Hernandez Date: Wed, 31 Jan 2024 13:10:15 +0100 Subject: 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. --- 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 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, -- cgit v1.2.3-18-g5258