Class GetShowRequest
- java.lang.Object
-
- de.sonallux.spotify.api.apis.shows.GetShowRequest
-
public class GetShowRequest extends Object
Get a Show requestResponse
On success, the HTTP status code in the response header is
200OK and the response body contains a show object in JSON format.On error, the header status code is an error code and the response body contains an error object.
If a show is unavailable in the given
marketthe HTTP status code in the response header is404NOT FOUND.
-
-
Constructor Summary
Constructors Constructor Description GetShowRequest(ApiClient apiClient, String id)Get a Show request
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiCall<Show>build()Build the request into an executable callGetShowRequestmarket(String market)
-
-
-
Constructor Detail
-
GetShowRequest
public GetShowRequest(ApiClient apiClient, String id)
Get a Show request
- Parameters:
apiClient-The API client
id-The Spotify ID for the show.
-
-
Method Detail
-
market
public GetShowRequest market(String market)
An ISO 3166-1 alpha-2 country code. If a country code is specified, only shows and episodes that are available in that market will be returned.
If a valid user access token is specified in the request header, the country associated with the user account will take priority over this parameter.
Note: If neither market or user country are provided, the content is considered unavailable for the client.
Users can view the country that is associated with their account in the account settings.
-
-