diff options
author | OpenGnSys Support Team <soporte-og@soleta.eu> | 2024-06-13 18:56:04 +0200 |
---|---|---|
committer | Alejandro Sirgo Rica <asirgo@soleta.eu> | 2024-06-17 13:35:19 +0200 |
commit | 86beb111d4a5496f9ab2799733421ea75822d1a6 (patch) | |
tree | 56fe03c4237be7d0b623be0b5e00b3e7fbd902e3 /src/rest.h | |
parent | 5103a2eacd47cd8cf2324cd2fc1c48311a4112a4 (diff) |
rest: Add /client/movev1.2.5-12
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.
Diffstat (limited to 'src/rest.h')
-rw-r--r-- | src/rest.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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, |