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

Users: Fetch Cover

Get a cover image for a user. Redirects to the cover image location if it exists.


Endpoint URL

/api/users/:user_id/images/cover


HTTP Method

GET


Authentication

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


Parameters

Name Required Description Example
user_id required Unique ID for User. 118161428304757248
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.


Errors

InvalidArgument [401]

<type> image size invalid
The supplied size param is not valid

ResourceNotFound [404]

Images: couldn't find album for requested user
Couldn't find album for requested user


Example Request

<img src="https://partner.api.beatsmusic.com/v1/api/users/97074088224358656/images/cover?client_id=[CLIENT_ID]" />

Example Response

The response is a redirect to the image location.

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

Docs Navigation