Class UploadCustomPlaylistCoverRequest
- java.lang.Object
-
- de.sonallux.spotify.api.apis.playlists.UploadCustomPlaylistCoverRequest
-
public class UploadCustomPlaylistCoverRequest extends Object
Upload a Custom Playlist Cover Image requestRequired OAuth scopes
ugc-image-upload, playlist-modify-public, playlist-modify-privateNotes
The request should contain a Base64 encoded JPEG image data, maximum payload size is 256 KB.
Rate Limiting: If you get status code
429, it means that you have sent too many requests. If this happens, have a look in theRetry-Afterheader, where you will see a number displayed. This is the amount of seconds that you need to wait, before you can retry sending your requests.Response
If you get status code
429, it means that you have sent too many requests. If this happens, have a look in theRetry-Afterheader, where you will see a number displayed. This is the amount of seconds that you need to wait, before you can retry sending your requests.
-
-
Constructor Summary
Constructors Constructor Description UploadCustomPlaylistCoverRequest(ApiClient apiClient, String playlistId, String base64Image)Upload a Custom Playlist Cover Image request
-
-
-
Constructor Detail
-
UploadCustomPlaylistCoverRequest
public UploadCustomPlaylistCoverRequest(ApiClient apiClient, String playlistId, String base64Image)
Upload a Custom Playlist Cover Image request
- Parameters:
apiClient-The API client
playlistId-The Spotify ID for the playlist.
base64Image-The new cover image of the playlist as a Base64 encoded JPEG image. Maximum payload size is 256KB.
-
-