Class SaveAlbumsUserRequest

java.lang.Object
de.sonallux.spotify.api.apis.albums.SaveAlbumsUserRequest

public class SaveAlbumsUserRequest extends Object

Save Albums for Current User request

Required OAuth scopes

user-library-modify

Response

The album is saved

  • Constructor Details

    • 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 the ids parameter is present in the query string, any IDs listed here in the body will be ignored.

  • Method Details

    • build

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