Class UploadCustomPlaylistCoverRequest

java.lang.Object
de.sonallux.spotify.api.apis.playlists.UploadCustomPlaylistCoverRequest

public class UploadCustomPlaylistCoverRequest extends Object

Add Custom Playlist Cover Image request

Required OAuth scopes

ugc-image-upload, playlist-modify-public, playlist-modify-private

Response

Image uploaded

  • Constructor Details

    • UploadCustomPlaylistCoverRequest

      public UploadCustomPlaylistCoverRequest(ApiClient apiClient, String playlistId, String base64Image)
      Add Custom Playlist Cover Image request
      Parameters:
      apiClient -

      The API client

      playlistId -

      The Spotify ID of the playlist.

      base64Image -

      Base64 encoded JPEG image data, maximum payload size is 256 KB.

  • Method Details

    • build

      public ApiCall<Void> build()
      Build the request into an executable api call
      Returns:
      an executable api call