The SpaceAPI-API for changing the door's states.
Go to file
2021-01-18 20:41:58 +01:00
config.php The init API-API 2021-01-18 20:41:58 +01:00
README.md The init API-API 2021-01-18 20:41:58 +01:00
statusTemplate.json The init API-API 2021-01-18 20:41:58 +01:00
update.php The init API-API 2021-01-18 20:41:58 +01:00

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/docker/status.chaospott.de/webroot/api/