Get User Comments
GET/users/:id/comments
Get user comment history
Request
Path Parameters
id stringrequired
A User 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
Responses
- 200
- 400
- 500
Success
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
]
Array [
Array [
]
]
]
data
object[]
id stringrequired
entity_id stringrequired
entity_type stringrequired
user_id string
message stringrequired
mentions
object[]
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
replies
object[]
id stringrequired
entity_id stringrequired
entity_type 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
parent_comment_id integer
parent_comment_id integer
{
"data": [
{
"id": "string",
"entity_id": "string",
"entity_type": "string",
"user_id": "string",
"message": "string",
"mentions": [
{
"user_id": 0,
"handle": "string"
}
],
"track_timestamp_s": 0,
"react_count": 0,
"reply_count": 0,
"is_edited": true,
"is_current_user_reacted": true,
"is_artist_reacted": true,
"is_tombstone": true,
"is_muted": true,
"created_at": "string",
"updated_at": "string",
"replies": [
{
"id": "string",
"entity_id": "string",
"entity_type": "string",
"user_id": "string",
"message": "string",
"mentions": [
{
"user_id": 0,
"handle": "string"
}
],
"track_timestamp_s": 0,
"react_count": 0,
"is_edited": true,
"is_current_user_reacted": true,
"is_artist_reacted": true,
"created_at": "string",
"updated_at": "string",
"parent_comment_id": 0
}
],
"parent_comment_id": 0
}
]
}
Bad request
Server error
Loading...