diff options
author | Javier Sánchez Parra <jsanchez@soleta.eu> | 2021-06-14 13:39:12 +0200 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2021-06-15 12:11:16 +0200 |
commit | c03b87dcc6d78eefb77f7155160f92d20b6e9ea3 (patch) | |
tree | 4311e09aae78e6a2a9d2f9182df0ae859307a331 /tests/clients.json | |
parent | 830c321062f55ca2f58789e746e67aabb79fe8b2 (diff) |
#915 Add POST /procedure/run method
Add ogServer support procedure execution. Now users can send a procedure
and a list of clients to ogServer, then ogServer breaks down the
procedure into commands (formerly actions) and queues them for each
indicated client.
TODO: Do not reply 200 OK when the procedure do not exist.
Request:
POST /procedure/run
{
"clients": ["192.168.56.11", "192.168.56.12"],
"procedure": "33"
}
Response:
200 OK
Diffstat (limited to 'tests/clients.json')
0 files changed, 0 insertions, 0 deletions