Class GetTrackRequest
- java.lang.Object
-
- de.sonallux.spotify.api.apis.tracks.GetTrackRequest
-
public class GetTrackRequest extends Object
Get a Track requestResponse
On success, the HTTP status code in the response header is
200OK and the response body contains a track object in JSON format. On error, the header status code is an error code and the response body contains an error object.
-
-
Constructor Summary
Constructors Constructor Description GetTrackRequest(ApiClient apiClient, String id)Get a Track request
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiCall<Track>build()Build the request into an executable callGetTrackRequestmarket(String market)An ISO 3166-1 alpha-2 country code or the stringfrom_token.
-
-
-
Constructor Detail
-
GetTrackRequest
public GetTrackRequest(ApiClient apiClient, String id)
Get a Track request
- Parameters:
apiClient-The API client
id-The Spotify ID for the track.
-
-
Method Detail
-
market
public GetTrackRequest 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.
-
-