From 86beb111d4a5496f9ab2799733421ea75822d1a6 Mon Sep 17 00:00:00 2001 From: OpenGnSys Support Team Date: Thu, 13 Jun 2024 18:56:04 +0200 Subject: rest: Add /client/move Add URI to allow a POST request to move clients to a new room/folder. Request POST /client/move: { "clients": [ "192.168.56.11" ], "room": 10, "folder_id": 0, } If folder_id is zero then that means computer is not stored in a folder. --- 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 86cb763..4880c6a 100644 --- a/src/rest.h +++ b/src/rest.h @@ -96,6 +96,7 @@ enum og_rest_uri { OG_URI_CLIENT_ADD, OG_URI_CLIENT_UPDATE, OG_URI_CLIENT_DELETE, + OG_URI_CLIENT_MOVE, OG_URI_WOL, OG_URI_SHELL_RUN, OG_URI_SHELL_OUTPUT, -- cgit v1.2.3-18-g5258