Track Comments
GET/tracks/:track_id/comments
Get a list of comments for a track
Request
Path Parameters
track_id stringrequired
A Track ID
Query Parameters
offset integer
The number of items to skip. Useful for pagination (page number * limit)
limit integer
The number of items to fetch
user_id string
The user ID of the user making the request
sort_method string
Possible values: [top
, newest
, timestamp
]
Default value: top
The sort method
Responses
- 200
- 400
- 500
Success
- application/json
- Schema
- Example
Schema
Array [
Array [
]
Array [
Array [
]
]
]
dataobject[]
id stringrequired
user_id string
message stringrequired
mentionsobject[]
user_id integerrequired
handle stringrequired
track_timestamp_s integer
react_count integerrequired
reply_count integerrequired
is_edited booleanrequired
is_current_user_reacted boolean
is_artist_reacted boolean
is_tombstone boolean
is_muted boolean
created_at stringrequired
updated_at string
repliesobject[]
id stringrequired
user_id stringrequired
message stringrequired
mentions
object[]
user_id integerrequired
handle stringrequired
track_timestamp_s integer
react_count integerrequired
is_edited booleanrequired
is_current_user_reacted boolean
is_artist_reacted boolean
created_at stringrequired
updated_at string
{
"data":[
{
"id":"ygrxbEx",
"user_id":"7eP5n",
"message":"🔥",
"mentions":[
],
"track_timestamp_s":89,
"react_count":0,
"reply_count":0,
"is_edited":false,
"is_current_user_reacted":false,
"is_artist_reacted":false,
"is_tombstone":false,
"is_muted":false,
"created_at":"2024-10-28 17:16:21",
"updated_at":"2024-10-28 17:16:21",
"replies":[
]
},
{
"id":"pV160PG",
"user_id":"79l3q",
"message":""Life up and down like a seesaw!" Put you in the box like a top fade" Haha. Nice!",
"mentions":[
],
"track_timestamp_s":85,
"react_count":0,
"reply_count":0,
"is_edited":false,
"is_current_user_reacted":false,
"is_artist_reacted":false,
"is_tombstone":false,
"is_muted":false,
"created_at":"2024-10-26 18:05:57",
"updated_at":"2024-10-26 18:05:57",
"replies":[
]
}
]
}
Bad request
Server error
Loading...