Retrieve details for a single playlist.
Parameters
station_idinteger | stringrequiredpathidinteger<int64>requiredpathPlaylist ID
Response
Success
Response fields application/json
idintegerrequiredread onlynamestringTest Playlistdescriptionstring | nullA playlist containing my favorite songstypePlaylistTypesdefaultonce_per_x_songsonce_per_x_minutesonce_per_hourcustomsourcePlaylistSourcessongsplaylistsremote_urlrequestsorderPlaylistOrdersrandomshufflesequentialremote_urlstring | nullhttps://remote-url.example.com/stream.mp3remote_typePlaylistRemoteTypes | nullShow child attributes
remote_bufferintegerThe total time (in seconds) that Liquidsoap should buffer remote URL streams.
0is_enabledbooleantrueis_jinglebooleanIf yes, do not send jingle metadata to AutoDJ or trigger web hooks.
falseplay_per_songsinteger5play_per_minutesinteger120play_per_hour_minuteinteger15weightintegerThe relative weight of the playlist. Larger numbers play more often than playlists with lower number weights.
3include_in_requestsbooleantrueinclude_in_on_demandbooleanWhether this playlist’s media is included in ‘on demand’ download/streaming if enabled.
truebackend_optionsArray<string>interrupt,loop_once,single_track,mergeavoid_duplicatesbooleantruepreserve_queue_on_restartbooleanDon’t reset this playlist’s queue when the station is restarted or its configuration is rewritten.
falseschedule_itemsArray<any>podcastsArray<any>playlistsArray<any>linksobjectread onlyShow child attributes
[key: string]stringshort_namestringread onlyA URL-safe version of the playlist name.
num_songsinteger | nullread onlyThe number of songs in the playlist, if it is a song-based playlist.
25total_lengthnumber<float> | nullread onlyThe total length of the playlist in seconds, if it is a song-based playlist.
3600The parent groups that this playlist is a member of.
Show child attributes
idintegerrequiredThe unique identifier of the parent group.
1namestringrequiredThe name of the parent group.
My GroupAccess denied.
Response fields application/json
codeintegerrequiredThe numeric code of the error.
500typestringrequiredThe programmatic class of error.
NotLoggedInExceptionmessagestringrequiredThe text description of the error.
Error description.formatted_messagestring | nullrequiredThe HTML-formatted text description of the error.
<b>Error description.</b><br>Detailed error text.extra_dataArray<any>requiredStack traces and other supplemental data.
successbooleanrequiredUsed for API calls that expect an \Entity\Api\Status type response.
falseRecord not found.
Response fields application/json
codeintegerrequiredThe numeric code of the error.
500typestringrequiredThe programmatic class of error.
NotLoggedInExceptionmessagestringrequiredThe text description of the error.
Error description.formatted_messagestring | nullrequiredThe HTML-formatted text description of the error.
<b>Error description.</b><br>Detailed error text.extra_dataArray<any>requiredStack traces and other supplemental data.
successbooleanrequiredUsed for API calls that expect an \Entity\Api\Status type response.
falseA generic exception has occurred.
Response fields application/json
codeintegerrequiredThe numeric code of the error.
500typestringrequiredThe programmatic class of error.
NotLoggedInExceptionmessagestringrequiredThe text description of the error.
Error description.formatted_messagestring | nullrequiredThe HTML-formatted text description of the error.
<b>Error description.</b><br>Detailed error text.extra_dataArray<any>requiredStack traces and other supplemental data.
successbooleanrequiredUsed for API calls that expect an \Entity\Api\Status type response.
falseAuthorization
ApiKeyapiKey in header