List Topic Replies
Get a paginated list of replies for a specific topic.
Each reply includes author info, body (plain text), engagement counts, and a reply_to_id field: "0" indicates a top-level reply; any other value identifies the parent reply for nested replies.
CLIInstall CLI
bash
longbridge topic-replies 6993508780031016960
longbridge topic-replies 6993508780031016960 --page 2 --size 20SDK Links
Request
| HTTP Method | GET |
| HTTP URL | /v1/content/topics/:topic_id/comments |
Path Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| topic_id | string | YES | Topic ID (e.g. 6993508780031016960) |
Query Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| page | int32 | NO | Page number (1-based). Defaults to 1. |
| size | int32 | NO | Items per page, range 1–50. Defaults to 20. |
Request Example
Response
Response Headers
- Content-Type: application/json
Response Example
json
{
"code": 0,
"message": "success",
"data": {
"items": [
{
"id": "7001234567890123456",
"topic_id": "6993508780031016960",
"body": "Great analysis!",
"reply_to_id": "0",
"author": {
"member_id": "10087",
"name": "John Smith",
"avatar": "https://example.com/avatar2.jpg"
},
"images": [],
"likes_count": 5,
"comments_count": 2,
"created_at": "1742001500"
},
{
"id": "7001234567890123457",
"topic_id": "6993508780031016960",
"body": "I disagree on the valuation part.",
"reply_to_id": "7001234567890123456",
"author": {
"member_id": "10088",
"name": "Alice Lee",
"avatar": "https://example.com/avatar3.jpg"
},
"images": [],
"likes_count": 1,
"comments_count": 0,
"created_at": "1742001800"
}
]
}
}Response Status
| Status | Description | Schema |
|---|---|---|
| 200 | Success | topic_replies_response |
| 500 | Internal error | None |
Schemas
topic_replies_response
| Name | Type | Required | Description |
|---|---|---|---|
| items | object[] | true | List of replies |
| ∟ id | string | true | Reply ID |
| ∟ topic_id | string | true | Parent topic ID |
| ∟ body | string | false | Reply body (plain text) |
| ∟ reply_to_id | string | false | Parent reply ID; "0" = top-level reply |
| ∟ author | object | false | Author info |
| ∟∟ member_id | string | false | Author member ID |
| ∟∟ name | string | false | Author display name |
| ∟∟ avatar | string | false | Author avatar URL |
| ∟ images | object[] | false | Attached images |
| ∟∟ url | string | false | Original image URL |
| ∟∟ sm | string | false | Small thumbnail URL |
| ∟∟ lg | string | false | Large image URL |
| ∟ likes_count | int32 | false | Likes count |
| ∟ comments_count | int32 | false | Nested replies count |
| ∟ created_at | string | true | Creation time as Unix timestamp (seconds) |