Get public User data
GET
http
https://api.atomic.radio/users/:userId/publichttps://api.atomic.radio/users/:userId/publicReturns a public user object for a given user ID.
Public User Structure
| Field | Type | Description |
|---|---|---|
| id | String | The id of the user |
| username | String | The username of the user |
| avatar_hash | String | The hash of the avatar of the user. See here for more information. |
| avatar | String | The url of the avatar of the user. See here for more information. |
| display_role | Role | The display role of the user |
| created_at | Date | When the user registered |
Example Public User Structure
json
{
"id": "6863157683894095872",
"username": "VocalZero 一真",
"avatar_hash": "g_213e9aeb5302537dcb14e6b24a140843",
"avatar": "https://assets.atomic.radio/avatars/6863157683894095872/g_213e9aeb5302537dcb14e6b24a140843.gif",
"display_role": {
"id": "6945705399425175553",
"name": "Staff",
"priority": 50,
"updated_at": "2022-07-04T18:49:10.768Z",
"created_at": "2022-07-04T18:49:10.768Z"
},
"created_at": "2022-07-04T18:49:10.768Z"
}{
"id": "6863157683894095872",
"username": "VocalZero 一真",
"avatar_hash": "g_213e9aeb5302537dcb14e6b24a140843",
"avatar": "https://assets.atomic.radio/avatars/6863157683894095872/g_213e9aeb5302537dcb14e6b24a140843.gif",
"display_role": {
"id": "6945705399425175553",
"name": "Staff",
"priority": 50,
"updated_at": "2022-07-04T18:49:10.768Z",
"created_at": "2022-07-04T18:49:10.768Z"
},
"created_at": "2022-07-04T18:49:10.768Z"
}
Documentation