diff options
author | Roberto Hueso Gómez <rhueso@soleta.eu> | 2020-07-06 17:26:40 +0200 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2020-07-06 17:27:33 +0200 |
commit | 33b0c6f694c3365e6280b01d9253aefa892075e9 (patch) | |
tree | 2a5be232ba5edc587423f97b5265d86e065c4781 /tests/stop.json | |
parent | 96b02b5424db61c32386c48fe05ec3375d8a84f5 (diff) |
Add POST /modes REST request
This patch implements HTTP POST /modes request which can change the mode of any
particular scope.
Request: POST /modes
{
"scope": {"id": 1,
"type": "computer"},
"mode": "pxe"
}
Response: 200 OK
Diffstat (limited to 'tests/stop.json')
0 files changed, 0 insertions, 0 deletions