close
The Wayback Machine - https://web.archive.org/web/20140813160644/https://developer.beatsmusic.com/docs/read/images/Genres_Fetch_Default

Genres: Fetch Default

Get an image for a genre. Redirects to the default image location if it exists, otherwise attempts to retrieve from Medianet.


Endpoint URL

/api/genres/:genre_id/images/default


HTTP Method

GET


Authentication

Client ID required. See how to authenticate public resources here.


Parameters

Name Required Description Example
genre_id required Unique ID for Genre. eg97074088215970048
size optional A key (string) that maps to an image size.

Valid Values (default is medium):
size param Image Size (width x height)
thumb 180x80
small 190x230
medium 375x250
large 750x500
small

Response Elements

ResponseDescription
redirect

The response is an HTTP redirect (HTTP status code 302) to the actual image location.


Example Request

<img src="https://partner.api.beatsmusic.com/v1/api/genres/eg97074088215970048/images/default?client_id=[CLIENT_ID]" />

Example Response

The response is a redirect to the image location.

http://daisy-images.s3.amazonaws.com/user/97074088224358656/medium/img135583570214389248

Docs Navigation