Class SaveAlbumsUserRequest
- java.lang.Object
-
- de.sonallux.spotify.api.apis.library.SaveAlbumsUserRequest
-
public class SaveAlbumsUserRequest extends Object
Save Albums for Current User requestRequired OAuth scopes
user-library-modifyResponse
On success, the HTTP status code in the response header is
201Created. On error, the header status code is an error code and the response body contains an error object. Trying to add an album when you do not have the user's authorization returns error403Forbidden.
-
-
Constructor Summary
Constructors Constructor Description SaveAlbumsUserRequest(ApiClient apiClient, List<String> ids)Save Albums for Current User request
-
-
-
Constructor Detail
-
SaveAlbumsUserRequest
public SaveAlbumsUserRequest(ApiClient apiClient, List<String> ids)
Save Albums for Current User request
- Parameters:
apiClient-The API client
ids-A JSON array of the Spotify IDs. For example:
["4iV5W9uYEdYUVa79Axb7Rh", "1301WleyT98MSxVHPZCA6M"]
A maximum of 50 items can be specified in one request. Note: if theidsparameter is present in the query string, any IDs listed here in the body will be ignored.
-
-