summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole/includes/restfunctions.php
diff options
context:
space:
mode:
authorRoberto Hueso Gómez <rhueso@soleta.eu>2019-09-30 16:16:44 +0200
committerOpenGnSys Support Team <soporte-og@soleta.eu>2019-10-01 12:56:10 +0200
commitfc15dd10ce13f7ea9a4e8fa944ebb857223e77f8 (patch)
tree9b0117592dda3856b59f02d098822409b3a42aaf /admin/WebConsole/includes/restfunctions.php
parentb636e61b6e923326ba125b8ae695b1cfc09444a5 (diff)
#915: Add POST /image/restore command to REST API in ogAdmServer
This patch implements the command "image/create" that creates an image in a client. Request: POST /image/restore { "clients" : [ "192.168.56.11" ], "disk" : "1", "partition" : "1", "name" : "test", "repository" : "192.168.56.10", "type" : "UNICAST", "filesystem": "1", "image_id": "1"} Reply: 200 OK
Diffstat (limited to 'admin/WebConsole/includes/restfunctions.php')
0 files changed, 0 insertions, 0 deletions