summaryrefslogtreecommitdiffstats
path: root/tests/clients.json
diff options
context:
space:
mode:
authorOpenGnSys Support Team <soporte-og@soleta.eu>2019-05-21 12:47:23 +0200
committerOpenGnSys Support Team <soporte-og@soleta.eu>2019-05-27 13:02:45 +0200
commit7b6fcdbc624784cb37572030895ecc48389787a0 (patch)
tree0ab11527e3ad0c5b7a4dbba3e5d919a82162c39e /tests/clients.json
parent95e6520c4f3ab53ab1491eafe38c932c66b7a4b8 (diff)
#915 add clients command to REST API in ogAdmServer
Request for existing clients: curl -X GET http://127.0.0.1:8888/clients Request: GET /clients Reply: 200 OK {"clients": [ { "addr" : "192.168.2.1", "state" : "OPG" }, { "addr" : "192.168.2.2", "state" : "OFF" }]}
Diffstat (limited to 'tests/clients.json')
-rw-r--r--tests/clients.json1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/clients.json b/tests/clients.json
new file mode 100644
index 0000000..01672ed
--- /dev/null
+++ b/tests/clients.json
@@ -0,0 +1 @@
+curl -X GET http://127.0.0.1:8888/clients