Skip to content

Commit

Permalink
GitBook: [#29] No subject
Browse files Browse the repository at this point in the history
  • Loading branch information
booploops authored and gitbook-bot committed Apr 13, 2022
1 parent e578704 commit b3a7fae
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions api/rest-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@ URL: http://localhost:9000/api/

## Endpoints

### `/playback/`

`/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

{% 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 %}
{% endtabs %}

0 comments on commit b3a7fae

Please sign in to comment.