API Permission levels
Currently, wearers have one API key that allows both setting the time remaining, and maximum time. This makes it irresponsible to use the key in 3rd party software.
Why is it needed
Adding different levels of permissions to the API allows for freer use of the API. Different levels could include:
- Allowed to get current status
- Allowed to increase the remaining time
- Allowed to set min, max time
The wearer could be allowed to generate multiple keys, and can choose the permissions in the process.