summaryrefslogtreecommitdiffstats
path: root/src/core.h
diff options
context:
space:
mode:
authorRoberto Hueso Gómez <rhueso@soleta.eu>2020-09-23 15:06:38 +0200
committerOpenGnSys Support Team <soporte-og@soleta.eu>2020-09-24 17:03:56 +0200
commit65a14e56d396a09a5fc7eca5bbdb7209269cfb40 (patch)
tree6acd1dd5918ad4a6c6ab700c4dfb53e7c65c2a4b /src/core.h
parentbdd8519d038f3d82c65a4b327ab4a394ad3f0266 (diff)
#942 Add POST /client/add HTTP REST method
This method adds a new client. This new client's IP cannot be duplicated in the DB. Request: POST /client/add { "boot": "19pxeADMIN", "center": 0, "hardware_id": 0, "id": 2, "ip": "192.168.56.12", "livedir": "ogLive", "mac": "0800270E6512", "maintenance": true, "name": "pc12", "netdriver": "generic", "netiface": "eth1", "netmask": "255.255.255.0", "remote": false, "repo_id": 1, "room": 1, "serial_number": "" } Response: 200 OK
Diffstat (limited to 'src/core.h')
0 files changed, 0 insertions, 0 deletions