Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | #915 Add /room/add POST method | Javier Sánchez Parra | 2021-04-20 | 1 | -0/+47 |
Adds POST method to add rooms (labs), required payload parameters are name, netmask and center; any additional attributes are optional. Required JSON: { "center": 0, "name": "classroom10", "netmask": "255.255.255.0" } Full JSON: { "center": 0, "name": "classroom11", "netmask": "255.255.255.0", "group": 0, "location": "First floor", "gateway": "192.168.56.1", "ntp": "hora.cica.es", "dns": "1.1.1.1", "remote": True } This commit also adds unit tests for /room/add POST method. |