diff options
author | Javier Sánchez Parra <jsanchez@soleta.eu> | 2021-12-14 10:19:29 +0100 |
---|---|---|
committer | Javier Sánchez Parra <jsanchez@soleta.eu> | 2021-12-17 10:31:41 +0100 |
commit | dd578a944e08ff17805a95aff67d707dc6d02424 (patch) | |
tree | 898be63ea5ea74a22aa2b932a26d4415f750c233 /src/utils.c | |
parent | ff9dbd9033cf12670e855c3f6164976b049224d7 (diff) |
#915 Add POST /oglive/set REST request
This patch allows you to update clients' database entry and PXE boot
file with the specified ogLive.
If you specify either an incorrect or unexisting ogLive, then, clients
use the default ogLive image. You can query ogLives installed on the
server with ogServer's GET /oglive/list API.
If you set the oglive field to "default", then the default ogLive is
used.
Request: POST /oglive/set
{
"clients": ["192.168.56.11", "192.168.56.12"],
"name": "ogLive-5.4.0-r20200629"
}
Response: 200 OK
Diffstat (limited to 'src/utils.c')
0 files changed, 0 insertions, 0 deletions