GET/api/clients
List all known frames with status, IP, name, and config.
curl -s -H "Authorization: Bearer YOUR_TOKEN" http://YOUR_HOST:3030/api/clientsCopy
POST/api/clients/:id/command
Send a command to a frame. Actions: start stop next prev sleep wake refresh setSource setConfig
curl -s -X POST -H "Authorization: Bearer YOUR_TOKEN" -H "Content-Type: application/json" -d '{"action":"next"}' http://YOUR_HOST:3030/api/clients/CLIENT_ID/commandCopy
DELETE/api/clients/:id
Remove a frame from the registry.
curl -s -X DELETE -H "Authorization: Bearer YOUR_TOKEN" http://YOUR_HOST:3030/api/clients/CLIENT_IDCopy
GET/api/settings · PUT/api/settings
Read or update global settings (default source, interval, display toggles, sleep schedule). PUT requires the API token.
curl -s -X PUT -H "Authorization: Bearer YOUR_TOKEN" -H "Content-Type: application/json" -d '{"sleep":{"enabled":true,"sleepAt":"23:00","wakeAt":"06:00"}}' http://YOUR_HOST:3030/api/settingsCopy
GET/api/time
Server local time and timezone (the clock the sleep schedule uses).
curl -s http://YOUR_HOST:3030/api/timeCopy