Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Duncan Sterken <contact@duncte123.me>
Co-authored-by: Freya Arbjerg <freya@arbjerg.dev>
  • Loading branch information
3 people authored Dec 2, 2023
1 parent c3e1f6e commit f8a5261
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/api/rest.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ When Lavalink encounters an error, it will respond with a JSON object containing
|------------|----------------------------------|-------------------------------------------------------------------------------|
| encoded | string | The base64 encoded track data |
| info | [Track Info](#track-info) object | Info about the track |
| pluginInfo | object | Addition track info provided by plugins |
| userData | object | Addition track data provided via the [Update Player](#update-player) endpoint |
| pluginInfo | object | Additional track info provided by plugins |
| userData | object | Additional track data provided via the [Update Player](#update-player) endpoint |

#### Track Info

Expand Down Expand Up @@ -695,7 +695,7 @@ Request:

| Field | Type | Description |
|---------------|---------------------------------------------|-----------------------------------------------------------------------------------------------|
| track? | [Update Player Track](#update-player-track) | The `encoded` track, `identifier` and `userData` of the track to play |
| track? | [Update Player Track](#update-player-track) | Specification for a new track to load, as well as user data to set |
| position? | int | The track position in milliseconds |
| endTime? | ?int | The track end time in milliseconds (must be > 0). `null` resets this if it was set previously |
| volume? | int | The player volume, in percentage, from 0 to 1000 |
Expand Down

0 comments on commit f8a5261

Please sign in to comment.