@@ -1496,6 +1496,56 @@ public async Task<ErrorResponse> UpdatePlaylistAsync(string userId, string playl
14961496 return ( await UploadDataAsync < ErrorResponse > ( _builder . UpdatePlaylist ( userId , playlistId ) , body . ToString ( Formatting . None ) , "PUT" ) . ConfigureAwait ( false ) ) ?? new ErrorResponse ( ) ;
14971497 }
14981498
1499+ /// <summary>
1500+ /// Change a playlist’s name and public/private state. (The user must, of course, own the playlist.)
1501+ /// </summary>
1502+ /// <param name="userId">The user's Spotify user ID.</param>
1503+ /// <param name="playlistId">The Spotify ID for the playlist.</param>
1504+ /// <param name="base64EncodedJpgImage">The image as a base64 encoded string</param>
1505+ /// <returns></returns>
1506+ /// <remarks>AUTH NEEDED</remarks>
1507+ public ErrorResponse UploadPlaylistImage ( string userId , string playlistId , string base64EncodedJpgImage )
1508+ {
1509+ return UploadData < ErrorResponse > ( _builder . UploadPlaylistImage ( userId , playlistId ) , base64EncodedJpgImage , "PUT" ) ?? new ErrorResponse ( ) ;
1510+ }
1511+
1512+ /// <summary>
1513+ /// Change a playlist’s name and public/private state asynchronously. (The user must, of course, own the playlist.)
1514+ /// </summary>
1515+ /// <param name="userId">The user's Spotify user ID.</param>
1516+ /// <param name="playlistId">The Spotify ID for the playlist.</param>
1517+ /// <param name="base64EncodedJpgImage">The image as a base64 encoded string</param>
1518+ /// <returns></returns>
1519+ /// <remarks>AUTH NEEDED</remarks>
1520+ public async Task < ErrorResponse > UploadPlaylistImageAsync ( string userId , string playlistId , string base64EncodedJpgImage )
1521+ {
1522+ return ( await UploadDataAsync < ErrorResponse > ( _builder . UploadPlaylistImage ( userId , playlistId ) , base64EncodedJpgImage , "PUT" ) . ConfigureAwait ( false ) ) ?? new ErrorResponse ( ) ;
1523+ }
1524+
1525+ /// <summary>
1526+ /// Change a playlist’s name and public/private state. (The user must, of course, own the playlist.)
1527+ /// </summary>
1528+ /// <param name="playlistId">The Spotify ID for the playlist.</param>
1529+ /// <param name="base64EncodedJpgImage">The image as a base64 encoded string</param>
1530+ /// <returns></returns>
1531+ /// <remarks>AUTH NEEDED</remarks>
1532+ public ErrorResponse UploadPlaylistImage ( string playlistId , string base64EncodedJpgImage )
1533+ {
1534+ return UploadData < ErrorResponse > ( _builder . UploadPlaylistImage ( playlistId ) , base64EncodedJpgImage , "PUT" ) ?? new ErrorResponse ( ) ;
1535+ }
1536+
1537+ /// <summary>
1538+ /// Change a playlist’s name and public/private state asynchronously. (The user must, of course, own the playlist.)
1539+ /// </summary>
1540+ /// <param name="playlistId">The Spotify ID for the playlist.</param>
1541+ /// <param name="base64EncodedJpgImage">The image as a base64 encoded string</param>
1542+ /// <returns></returns>
1543+ /// <remarks>AUTH NEEDED</remarks>
1544+ public async Task < ErrorResponse > UploadPlaylistImageAsync ( string playlistId , string base64EncodedJpgImage )
1545+ {
1546+ return ( await UploadDataAsync < ErrorResponse > ( _builder . UploadPlaylistImage ( playlistId ) , base64EncodedJpgImage , "PUT" ) . ConfigureAwait ( false ) ) ?? new ErrorResponse ( ) ;
1547+ }
1548+
14991549 /// <summary>
15001550 /// Replace all the tracks in a playlist, overwriting its existing tracks. This powerful request can be useful for
15011551 /// replacing tracks, re-ordering existing tracks, or clearing the playlist.
0 commit comments