mirror of https://git.48k.eu/ogserver
Adds the possibility to create a procedure with commands and other procedures integrated as steps. Note: "steps" parameter is optional and "steps" array object order defines execution order. Request: POST /procedure/add { "center": "1", "name": "procedure", "description": "My procedure", "steps": [ { "command": "wol", "params": { "type": "broadcast" } }, { "procedure": 22 }, { "command": "poweroff", "params": {} } ] } Response: 200 OK This commit also updates unit tests for /procedure/add POST method to include steps. |
||
---|---|---|
cfg | ||
src | ||
tests | ||
.gitignore | ||
COPYING | ||
Makefile.am | ||
configure.ac |