diff options
author | Roberto Hueso Gómez <rhueso@soleta.eu> | 2020-06-29 14:09:07 +0200 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2020-06-30 16:49:11 +0200 |
commit | 608709f6206eb4061a6d59eff68babd3a8562129 (patch) | |
tree | 1df4a59715bf36d50dc262cf917681e1856720bd /src/main.c | |
parent | 37e91b2ebb14082e366ed4a9b09d76a2f6163818 (diff) |
#980 Add GET /modes REST request
This patch implements HTTP GET /modes request which returns all modes available
for clients:
Request: GET /modes HTTP/1.0
Response: 200 OK
{
"modes": [
"pxe",
"10",
"13",
"00unknown",
"11",
"19pxeADMIN",
"12"
]
}
Diffstat (limited to 'src/main.c')
0 files changed, 0 insertions, 0 deletions