Class FollowPlaylistRequest
- java.lang.Object
-
- de.sonallux.spotify.api.apis.follow.FollowPlaylistRequest
-
public class FollowPlaylistRequest extends Object
Follow a Playlist requestRequired OAuth scopes
playlist-modify-public, playlist-modify-privateResponse
On success, the HTTP status code in the response header is
200OK and the response body is empty. On error, the header status code is an error code and the response body contains an error object.
-
-
Constructor Summary
Constructors Constructor Description FollowPlaylistRequest(ApiClient apiClient, String playlistId)Follow a Playlist request
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FollowPlaylistRequest_public(boolean _public)Defaults totrue.ApiCall<Void>build()Build the request into an executable call
-
-
-
Constructor Detail
-
FollowPlaylistRequest
public FollowPlaylistRequest(ApiClient apiClient, String playlistId)
Follow a Playlist request
- Parameters:
apiClient-The API client
playlistId-The Spotify ID of the playlist. Any playlist can be followed, regardless of its public/private status, as long as you know its playlist ID.
-
-
Method Detail
-
_public
public FollowPlaylistRequest _public(boolean _public)
Defaults to
true. Iftruethe playlist will be included in user's public playlists, iffalseit will remain private.
-
-