Go to file
Roberto Hueso Gómez af47a082ad #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": ""
}
2020-09-22 15:24:38 +02:00
cfg #988 Add DB port option to ogserver.json config file 2020-07-10 16:21:58 +02:00
src #1004 Add GET /client/info HTTP REST method 2020-09-22 15:24:38 +02:00
tests #986 rename to ogserver 2020-06-19 11:19:55 +02:00
.gitignore #985 add .gitignore file 2020-06-17 18:20:32 +02:00
COPYING #985 add COPYING file 2020-06-18 16:48:20 +02:00
Makefile.am #971 split wake on lan code 2020-07-06 11:14:43 +02:00
configure.ac #986 rename to ogserver 2020-06-19 11:19:55 +02:00