diff options
author | Roberto Hueso Gómez <rhueso@soleta.eu> | 2020-09-18 14:46:43 +0200 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2020-09-22 15:24:38 +0200 |
commit | af47a082adb12ad3e1897b0782061683df980d41 (patch) | |
tree | dab5f68dede0d4e552175a691d4586eca699ac8d /src/schedule.h | |
parent | cbd9421bae01c62c249cc390af5dfcdf19930e46 (diff) |
#1004 Add GET /client/info HTTP REST method
This method provides information about a specific client. The request
must contain exactly 1 client's IP.
Request:
GET /client/info
{"client": ["192.168.56.12"]}
Response:
200 OK
{
"boot": "19pxeADMIN",
"center": 0,
"hardware_id": 0,
"id": 2,
"ip": "192.168.56.12",
"livedir": "ogLive",
"mac": "0800280E6871",
"maintenance": true,
"name": "pc12",
"netdriver": "generic",
"netiface": "eth1",
"netmask": "255.255.255.0",
"remote": false,
"repo_id": 1,
"room": 1,
"serial_number": ""
}
Diffstat (limited to 'src/schedule.h')
0 files changed, 0 insertions, 0 deletions