The SpaceAPI-API for changing the door's states.
config.php | ||
README.md | ||
statusTemplate.json | ||
update.php |
SpaceAPI-API
Since we've got two doors we need to do a simple OR into our Open-Status. This API manipulates our fine status.json.
- Here's the live endpoint: https://status.chaospott.de/api/update.php
- Here's where to put all this stuff: /data/status.chaospott.de/webroot/api/
- The final status.json must belong to user 1000