close
The Wayback Machine - https://web.archive.org/web/20140813143533/https://developer.beatsmusic.com/docs/read/genre/Bios

Bios

Get a list of bios associated to the editorial genre.


Endpoint URL

/api/genres/:id/bios


HTTP Method

GET


Authentication

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


Parameters

Name Required Description Example
id required Unique ID of the genre. eg97074088215970048
limit optional Specifies the maximum number of records to retrieve. You are guaranteed to get at most this number of results, but you may get fewer. If set to zero or less, returns nothing. Maximum value is 200 (i.e., if greater than 200, returns only 200). If not supplied, defaults to 20. 20
offset optional Integer offset into results, 0 based. Defaults to 0. 0

Response Elements

ResponseDescription
code

Beats API response code. If successful, code is 'OK'. Otherwise it will be an error code.


Example Request

curl -X GET https://partner.api.beatsmusic.com/v1/api/genres/eg97074088215970048/bios?
    client_id=[CLIENT_ID]

Example Response

{
    data: [
    {
        type: "bio",
        content: "Before becoming one of the biggest genres in pop history... 
        ...and history of endless reinvention means that the genre will only continue to evolve.",
        headline: "",
        subject: {
            ref_type: "user",
            id: "97074088224358656"
        },
        length: "long"
    }
    ],
    info: {
        offset: 0,
        count: 1,
        total: 1
    },
    code: "OK"
}

Docs Navigation