diff options
author | OpenGnSys Support Team <soporte-og@soleta.eu> | 2019-05-21 12:47:23 +0200 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2019-05-27 13:02:45 +0200 |
commit | 7b6fcdbc624784cb37572030895ecc48389787a0 (patch) | |
tree | 0ab11527e3ad0c5b7a4dbba3e5d919a82162c39e /sources/ogAdmServer.h | |
parent | 95e6520c4f3ab53ab1491eafe38c932c66b7a4b8 (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 'sources/ogAdmServer.h')
0 files changed, 0 insertions, 0 deletions