-
Notifications
You must be signed in to change notification settings - Fork 0
API v1.0
Tim Weißenfels edited this page Sep 4, 2020
·
1 revision
The radio can be controlled via an API:
curl http://hostname:6969/api/v1.0/now
- get the current state:
/now
- search library:
/library/search
- arguments:
query
(string)
- arguments:
- download clip from library:
/library/download
- arguments:
file
(string)
- arguments:
- update (re-scan) library:
/library/update
- method:
PUT
- method:
- schedule clip:
/schedule
- method:
POST
- arguments:
file
(string)
- method:
- skip the current clip:
/skip
- method:
PUT
- method:
- repeat current clip:
/repeat
- method:
PUT
- method:
- toggle pause:
/pause
- method:
PUT
orPOST
- method:
- get list of extensions:
/extensions
- schedule extension content:
/extensions/<ext>/schedule
- method
PUT
- example:
/extensions/tagesschau/schedule
- method