set Client Playlist Playables Rest Action
fun setClientPlaylistPlayablesRestAction(playlist: String, vararg playables: PlayableUri): SpotifyRestAction<Unit>
Content copied to clipboard
Replace all the playables in a playlist, overwriting its existing playables. This powerful request can be useful for replacing playables, re-ordering existing playables, or clearing the playlist.
Setting playables in the current user’s public playlists requires authorization of the SpotifyScope.PLAYLIST_MODIFY_PUBLIC scope; setting playables in the current user’s private playlist (including collaborative playlists) requires the SpotifyScope.PLAYLIST_MODIFY_PRIVATE scope.
Parameters
playlist
The id or uri for the playlist.
playables
The Spotify playable uris. Maximum 100 without bulk requesting enabled.
Throws
if playlist is not found or illegal playables are provided
Sources
common source
Link copied to clipboard