diff options
author | Roberto Hueso Gómez <rhueso@soleta.eu> | 2020-09-09 14:14:35 +0200 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2020-09-14 12:13:06 +0200 |
commit | b59ff7c604fed8dc540668677a17bf03d7fbe6c1 (patch) | |
tree | d35e53597bc7853fd501597683bf7a7ece4a9077 /tests/poweroff.json | |
parent | 280e23f8ee554a932c6d9e1fe141e235b80b113f (diff) |
#1004 Add GET /client/setup HTTP REST method
This method provides the partitions setup for a specific client. The
request must contain exactly 1 client's IP.
Request:
GET /client/setup
{'client': ['192.168.56.12']}
Response:
200 OK
{
"partitions": [
{
"disk": 1,
"partition": 0,
"code": 0,
"size": 20971520,
"used_size": 0,
"filesystem": 0,
"os": 0,
"image": 0,
"software": 0
}
]
}
Diffstat (limited to 'tests/poweroff.json')
0 files changed, 0 insertions, 0 deletions