summaryrefslogtreecommitdiffstats
path: root/src/cfg.h
diff options
context:
space:
mode:
authorRoberto Hueso Gómez <rhueso@soleta.eu>2020-09-18 14:46:43 +0200
committerOpenGnSys Support Team <soporte-og@soleta.eu>2020-09-22 15:24:38 +0200
commitaf47a082adb12ad3e1897b0782061683df980d41 (patch)
treedab5f68dede0d4e552175a691d4586eca699ac8d /src/cfg.h
parentcbd9421bae01c62c249cc390af5dfcdf19930e46 (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/cfg.h')
0 files changed, 0 insertions, 0 deletions