summaryrefslogtreecommitdiffstats
path: root/src/json.c
diff options
context:
space:
mode:
authorJavier Sánchez Parra <jsanchez@soleta.eu>2021-05-10 13:02:48 +0200
committerOpenGnSys Support Team <soporte-og@soleta.eu>2021-05-10 13:39:38 +0200
commitbc9424724d5e8a2b3f252005a99fe9adf003cfcd (patch)
treeeebfba0d7baf308a9f1c9557df0f1495d31511a6 /src/json.c
parentb48707333ff46c14e2c6d1e438d6a830b5526f1a (diff)
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
Diffstat (limited to 'src/json.c')
0 files changed, 0 insertions, 0 deletions