Retrieves replies to a specified comment with configurable tree traversal and pagination.
Path parameters
-
commentId
string Required The unique identifier of the parent comment.
Query parameters
-
flatten
boolean Required When true, returns all nested replies in a flat structure; otherwise returns direct children only.
-
offset
integer(int32) Required The number of items to skip before starting to return results (pagination offset).
-
count
integer(int32) Required The maximum number of items to return (pagination limit).
GET
/api/v1/comments/{commentId}/replies
curl \
--request GET 'https://crowdparlay.com/api/v1/comments/{commentId}/replies?flatten=true&offset=42&count=42'
Response examples (200)
{
"total_count": 42,
"items": [
{
"id": "string",
"subject_id": "string",
"content": "string",
"author": {
"id": "string",
"username": "string",
"display_name": "string",
"avatar_url": "string"
},
"created_at": "2025-05-04T09:42:00Z",
"comment_count": 42,
"last_comments_authors": [
{
"id": "string",
"username": "string",
"display_name": "string",
"avatar_url": "string"
}
],
"reaction_counters": {
"additionalProperty1": 42,
"additionalProperty2": 42
},
"viewer_reactions": [
"string"
]
}
]
}
Response examples (400)
{
"type": "string",
"title": "string",
"status": 42,
"detail": "string",
"instance": "string",
"errors": {
"additionalProperty1": [
"string"
],
"additionalProperty2": [
"string"
]
}
}
Response examples (404)
{
"type": "string",
"title": "string",
"status": 42,
"detail": "string",
"instance": "string"
}
Response examples (500)
{
"type": "string",
"title": "string",
"status": 42,
"detail": "string",
"instance": "string"
}