diff options
author | Roberto Hueso Gómez <rhueso@soleta.eu> | 2020-10-20 14:54:49 +0200 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2020-10-20 15:34:15 +0200 |
commit | 7f5ab4ac35613c86401397412ab7b4832d1631ea (patch) | |
tree | 390a85e11cf6616d8174ef894d658d3514bd3937 /tests/config/ogserver.json | |
parent | 2958d23db2e7938905ce351d2737aec6be9ac158 (diff) |
#942 Add GET /session REST API function
This function returns the installed and available OSs in a client to be
booted from.
Request:
GET /session
{
"client": ["192.168.56.11"]
}
Response
200 OK
{
"sessions": [
{
"disk": 1,
"name": "Ubuntu 18.04.4 LTS",
"partition": 1
}
]
}
Diffstat (limited to 'tests/config/ogserver.json')
0 files changed, 0 insertions, 0 deletions