summaryrefslogtreecommitdiffstats
path: root/tests/reboot.json
diff options
context:
space:
mode:
authorOpenGnSys Support Team <soporte-og@soleta.eu>2019-05-29 12:12:46 +0200
committerOpenGnSys Support Team <soporte-og@soleta.eu>2019-05-30 15:32:18 +0200
commit5f0191d73ff5136a1a63b076f12a30a01e06f9dd (patch)
tree266b04358613595abf6477c7b7a6aa2bac343bbf /tests/reboot.json
parent23fed47639dd4dffa477b226cc9a28075511c925 (diff)
#915 add POST reboot command to REST API in ogAdmServer
Reboot a client (through POST method): curl -X POST http://127.0.0.1:8888/reboot -d @reboot.json Request POST /reboot {"clients": [ "192.168.2.1" ] } Reply: 200 OK
Diffstat (limited to 'tests/reboot.json')
-rw-r--r--tests/reboot.json1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/reboot.json b/tests/reboot.json
new file mode 100644
index 0000000..4667303
--- /dev/null
+++ b/tests/reboot.json
@@ -0,0 +1 @@
+{ "clients" : [ "192.168.2.1", "192.168.2.2" ] }