An API for the ESP8266 based door controller
HTTP bearer tokens (via passport) are used for auth. We support a few methods of passing the token: https://github.com/jaredhanson/passport-http-bearer#making-authenticated-requests
All methods require auth
Returns a JSON formatted list of valid IDs:
["01020304", "05060708", "09101112", "13141516"]
Returns the number of users in the system:
4
Returns the time that user database was last updated (in milliseconds since January 1st 1970 UTC)
1645314605512
Returns the number of milliseconds since January 1st 1970 UTC:
1645314605512
- status endpoint - unlock and reboot
- Use an actual database for valid card IDs