Skip to content

Create a new player

POST
/api/players
object
name
string

Created

object
id
string format: uuid
name
string
type
string
state
string
lastStopReason
string
volume
number format: double
isMuted
boolean
crossfadeDuration
number format: float
currentTrack
string
currentTrackPath
string
stationName
string
position
number format: double
nullable
duration
number format: double
nullable
playlistId
string format: uuid
nullable
inputDeviceId
string format: uuid
nullable
channelIndex
integer format: int32
nullable
isPflEnabled
boolean
isFavorite
boolean

Bad Request