REST API
Cider offers a simple REST API to remotely control the app.
URL: http://localhost:9000/api/
Endpoints
{% tabs %} {% tab title="/playback" %}
Endpoint | Description |
---|---|
/playpause | Toggle between play and pause |
/play | Play |
/pause | Pause |
/stop | Stop the current song |
/next | Skip to the next song in the queue |
/previous | Go back to the previous song in the queue |
{% endtab %}
{% tab title="/musickit" %}
Endpoint | Method | Description | Usage |
---|---|---|---|
/v3 | POST | Access the MusicKit instance and use the v3 API routes | Takes 3 parameters. |
{% endtab %} | |||
{% endtabs %} |