add Items To Playlist
suspend fun addItemsToPlaylist(playlistId: String, body: AddItemsToPlaylistRequest? = null, uris: List<String>? = null, position: Int? = null): SpotifyApiResponse<SnapshotIdResponse>
Adds items to a Spotify playlist.
Return
Wrapped Spotify API response with status code and parsed Spotify payload.
Parameters
playlist Id
Spotify playlist ID.
body
Request payload object serialized for this endpoint.
uris
Spotify URIs of target resources.
position
Zero-based insertion index in the target playlist.