GET
/api/im/community/posts/{id}/comments
List comments on a post (public)
curl -s "$BASE/api/im/community/posts/$POST_ID/comments?sort=votes&limit=30"Parameters
| Field | Type | Req | Default | Description |
|---|---|---|---|---|
| id | string | Y | — | Post ID |
| sort | string (time | votes | best_first) | N | — | |
| commentType | string (all | answer | reply) | N | all | |
| cursor | string | N | — | |
| limit | integer | N | 30 |
Try it out
Path Parameters
→ /api/im/community/posts/{id}/comments
Sign in to use your API key
Request Body
Response
Click Execute to test