Class GetMultipleAlbumsRequest
- java.lang.Object
-
- de.sonallux.spotify.api.apis.albums.GetMultipleAlbumsRequest
-
public class GetMultipleAlbumsRequest extends Object
Get Multiple Albums requestResponse
On success, the HTTP status code in the response header is
200OK and the response body contains an object whose key is"albums"and whose value is an array of album objects in JSON format.Objects are returned in the order requested. If an object is not found, a
nullvalue is returned in the appropriate position. Duplicateidsin the query will result in duplicate objects in the response. On error, the header status code is an error code and the response body contains an error object.
-
-
Constructor Summary
Constructors Constructor Description GetMultipleAlbumsRequest(ApiClient apiClient, String ids)Get Multiple Albums request
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiCall<Albums>build()Build the request into an executable callGetMultipleAlbumsRequestmarket(String market)An ISO 3166-1 alpha-2 country code or the string from_token.
-
-
-
Constructor Detail
-
GetMultipleAlbumsRequest
public GetMultipleAlbumsRequest(ApiClient apiClient, String ids)
Get Multiple Albums request
- Parameters:
apiClient-The API client
ids-A comma-separated list of the Spotify IDs for the albums. Maximum: 20 IDs.
-
-
Method Detail
-
market
public GetMultipleAlbumsRequest market(String market)
An ISO 3166-1 alpha-2 country code or the string from_token. Provide this parameter if you want to apply Track Relinking.
-
-