ogserver/src
Javier Sánchez Parra bc9424724d Add REST POST /room/delete method
This method deletes a room (lab) from the DB and deletes on cascade
computers and computers partitions.

Note: if the room id do not exists in the database, ogserver still
tries to delete it and replies with 200 OK.

Request:
POST /room/delete
{
  "id": "1"
}

Response:
200 OK
2021-05-10 13:39:38 +02:00
..
cfg.c ogServer is AGPLv3+ 2021-05-04 17:59:11 +02:00
cfg.h #988 remove legacy configuration 2020-10-07 11:17:00 +02:00
client.c #980 ignore unknown attributes 2021-05-04 18:29:15 +02:00
client.h #971 rename sources folder to src 2020-06-26 20:13:42 +02:00
core.c ogServer is AGPLv3+ 2021-05-04 17:59:11 +02:00
core.h #971 rename sources folder to src 2020-06-26 20:13:42 +02:00
dbi.c ogServer is AGPLv3+ 2021-05-04 17:59:11 +02:00
dbi.h #915 Add /room/add POST method 2021-04-20 12:05:42 +02:00
json.c ogServer is AGPLv3+ 2021-05-04 17:59:11 +02:00
json.h #915 Add /center/add POST method 2021-04-08 11:12:23 +02:00
list.h #971 rename sources folder to src 2020-06-26 20:13:42 +02:00
main.c ogServer is AGPLv3+ 2021-05-04 17:59:11 +02:00
ogAdmLib.c #971 remove unused contieneIP function in ogAdmLib 2020-10-07 11:18:37 +02:00
ogAdmLib.h #988 remove legacy configuration file 2020-10-05 14:49:17 +02:00
ogAdmServer.c #971 Remove sql bottleneck when removing software profiles 2021-04-16 13:31:45 +02:00
ogAdmServer.h #988 remove legacy configuration 2020-10-07 11:17:00 +02:00
rest.c Add REST POST /room/delete method 2021-05-10 13:39:38 +02:00
rest.h #995 Add link speed parsing to client probe response 2021-05-04 18:13:35 +02:00
schedule.c ogServer is AGPLv3+ 2021-05-04 17:59:11 +02:00
schedule.h #997 Set stale check flag when processing schedule/create 2021-03-11 12:22:36 +01:00
schema.c ogServer is AGPLv3+ 2021-05-04 17:59:11 +02:00
utils.c ogServer is AGPLv3+ 2021-05-04 17:59:11 +02:00
utils.h #971 rename sources folder to src 2020-06-26 20:13:42 +02:00
wol.c ogServer is AGPLv3+ 2021-05-04 17:59:11 +02:00
wol.h #1043 add WOL_SENT state 2021-04-29 11:52:32 +02:00