@@ -196,5 +196,64 @@ public interface IPlaylistsClient
196196 /// </remarks>
197197 /// <returns></returns>
198198 Task < SnapshotResponse > ReorderItems ( string playlistId , PlaylistReorderItemsRequest request , CancellationToken cancel = default ) ;
199+
200+ /// <summary>
201+ /// Add one or more items to a user's playlist using the new /items endpoint.
202+ /// </summary>
203+ /// <param name="playlistId">The Spotify ID for the playlist.</param>
204+ /// <param name="request">The request-model which contains required and optional parameters.</param>
205+ /// <param name="cancel">The cancellation-token to allow to cancel the request.</param>
206+ /// <remarks>
207+ /// https://developer.spotify.com/documentation/web-api/reference/add-items-to-playlist
208+ /// </remarks>
209+ /// <returns></returns>
210+ Task < SnapshotResponse > AddPlaylistItems ( string playlistId , PlaylistAddItemsRequest request , CancellationToken cancel = default ) ;
211+
212+ /// <summary>
213+ /// Get full details of the items of a playlist using the new /items endpoint.
214+ /// </summary>
215+ /// <param name="playlistId">The Spotify ID for the playlist.</param>
216+ /// <param name="cancel">The cancellation-token to allow to cancel the request.</param>
217+ /// <remarks>
218+ /// https://developer.spotify.com/documentation/web-api/reference/get-playlists-items
219+ /// </remarks>
220+ /// <returns></returns>
221+ Task < Paging < PlaylistTrack < IPlayableItem > > > GetPlaylistItems ( string playlistId , CancellationToken cancel = default ) ;
222+
223+ /// <summary>
224+ /// Get full details of the items of a playlist using the new /items endpoint.
225+ /// </summary>
226+ /// <param name="playlistId">The Spotify ID for the playlist.</param>
227+ /// <param name="request">The request-model which contains required and optional parameters.</param>
228+ /// <param name="cancel">The cancellation-token to allow to cancel the request.</param>
229+ /// <remarks>
230+ /// https://developer.spotify.com/documentation/web-api/reference/get-playlists-items
231+ /// </remarks>
232+ /// <returns></returns>
233+ Task < Paging < PlaylistTrack < IPlayableItem > > > GetPlaylistItems ( string playlistId , PlaylistGetItemsRequest request , CancellationToken cancel = default ) ;
234+
235+ /// <summary>
236+ /// Remove one or more items from a user's playlist using the new /items endpoint.
237+ /// </summary>
238+ /// <param name="playlistId">The Spotify ID for the playlist.</param>
239+ /// <param name="request">The request-model which contains required and optional parameters.</param>
240+ /// <param name="cancel">The cancellation-token to allow to cancel the request.</param>
241+ /// <remarks>
242+ /// https://developer.spotify.com/documentation/web-api/reference/remove-items-playlist
243+ /// </remarks>
244+ /// <returns></returns>
245+ Task < SnapshotResponse > RemovePlaylistItems ( string playlistId , PlaylistRemoveItemsRequest request , CancellationToken cancel = default ) ;
246+
247+ /// <summary>
248+ /// Either reorder or replace items in a playlist using the new /items endpoint.
249+ /// </summary>
250+ /// <param name="playlistId">The Spotify ID for the playlist.</param>
251+ /// <param name="request">The request-model which contains required and optional parameters.</param>
252+ /// <param name="cancel">The cancellation-token to allow to cancel the request.</param>
253+ /// <remarks>
254+ /// https://developer.spotify.com/documentation/web-api/reference/reorder-or-replace-playlists-items
255+ /// </remarks>
256+ /// <returns></returns>
257+ Task < SnapshotResponse > UpdatePlaylistItems ( string playlistId , PlaylistReorderItemsRequest request , CancellationToken cancel = default ) ;
199258 }
200259}
0 commit comments