Class GetAlbumRequest


  • public class GetAlbumRequest
    extends Object
    Get an Album request

    Response

    On success, the HTTP status code in the response header is 200 OK and the response body contains an album object in JSON format. On error, the header status code is an error code and the response body contains an error object.

    • Constructor Detail

      • GetAlbumRequest

        public GetAlbumRequest​(ApiClient apiClient,
                               String id)

        Get an Album request

        Parameters:
        apiClient -

        The API client

        id -

        The Spotify ID of the album.

    • Method Detail

      • market

        public GetAlbumRequest market​(String market)

        The market you'd like to request. Synonym for country.

      • build

        public ApiCall<Album> build()
        Build the request into an executable call