DistributorPlaylistsPlaylist_idSongs
Add song to playlist
Adds a song to a playlist.
Authorization
BearerAuth Authorization<token>
Type "Bearer" followed by a space and JWT token.
In: header
Path Parameters
playlist_id*string
Playlist ID (UUID)
Request Body
application/json
Song payload
song_id*string
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://loading/api/playlists/string/songs" \ -H "Content-Type: application/json" \ -d '{ "song_id": "00000000-0000-0000-0000-000000000000" }'{
"folders": [
{
"id": "string",
"name": "string",
"parent_folder_id": "string"
}
],
"playlists": [
{
"id": "string",
"name": "string",
"parent_folder_id": "string"
}
]
}{
"error": "Validation failed"
}{
"error": "Validation failed"
}{
"error": "Validation failed"
}