-
Notifications
You must be signed in to change notification settings - Fork 10
HTTP APIs
Matteo Piccina edited this page Mar 26, 2026
·
4 revisions
Compatible with v0.0.15 and later.
Default port 6565
| Description | Method | URL |
|---|---|---|
Start command. All parameters are optional, if called as /start it will start using the time set on UI |
GET | /<timer-id>/set/<hours>/<minutes>/<seconds> |
Set the time on SET
|
GET | /<timer-id>/start/<hours>/<minutes>/<seconds> |
| Pause command | GET | /<timer-id>/pause |
| Resume command | GET | /<timer-id>/resume |
| Toggle pause/resume command | GET | /<timer-id>/toggle-pause |
| Reset command. If the timer is going it will reset only the time, if the timer is stopped it will reset the set time. | GET | /<timer-id>/reset |
| Jog SET time command. Increment or decrement SET time (use negative values to decrement) | GET | /<timer-id>/jog-set/<hours>/<minutes>/<seconds> |
| Jog CURRENT time command. Increment or decrement CURRENT time (use negative values to decrement) | GET | /<timer-id>/jog-current/<hours>/<minutes>/<seconds> |
| Delete message | GET | /message |
| Set message | GET | /message/<message> |
| WebSocket endpoint. You can receive update events of status. See below for explanation | WS | /ws |