addItemToPlaylist

suspend fun addItemToPlaylist(playlistId: UUID, ids: Collection<UUID>? = emptyList(), position: Int? = null, userId: UUID? = null): Response<Unit>

Adds items to a playlist.

Parameters

playlistId

The playlist id.

ids

Item id, comma delimited.

position

Optional. 0-based index where to place the items or at the end if null.

userId

The userId.