Bios
Get a list of bios associated to the user.
Endpoint URL
/api/users/:id/bios
HTTP Method
GET
Authentication
OAuth 2.0: Access token required. See Authentication for examples and details.
Parameters
| Name | Required | Description | Example | ||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| user_id | required | Unique ID for User. | 97074088224358656 | ||||||||||||||||||||||||||||
| fields | optional | An array of object fields to include in the response. Only the given fields will be returned. Default is to return all fields. | |||||||||||||||||||||||||||||
| offset | optional | Integer offset into results, 0 based. Defaults to 0. | 0 | ||||||||||||||||||||||||||||
| 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 | ||||||||||||||||||||||||||||
| order_by | optional | Indicates how the results set should be ordered. Defaults to "name asc". Valid Values (default name is name asc):
|
name |
Response Elements
| Response | Description |
|---|---|
| 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/users/97074088224358656/bios?
access_token=[ACCESS_TOKEN]"
Example Response
{
data: [
{
type: "bio",
content: "Before becoming one of the biggest genres in pop history...",
headline: "",
subject: {
ref_type: "user",
id: "97074088224358656"
},
length: "long"
}
],
info: {
offset: 0,
count: 1,
total: 1
},
code: "OK"
}

