---
title: "Read (List) public Topic Comments"
method: GET
path: "/api/v2/topics/:topicId/comments"
tags: ["comments"]
---

# Read (List) public Topic Comments

`GET /api/v2/topics/:topicId/comments`

returns all public topic comments

## Path parameters

- `userId` string, required
- `topicId` string, required

## Query parameters

- `orderBy` 'rating' | 'popularity' | 'date'

## Response `200`

Returns comments list

- object
  - `status` object
    - `code` integer
  - `data` object
    - `count` integer — comments count
    - `rows` CommentInList[]
      - `type` string
      - `subject` string
      - `text` integer
      - `parent` object
        - `id` string, uuid
        - `version` integer
      - `creator` object
        - `id` string
        - `name` string
        - `company` string
      - `edits` object[]
        - `createdAt` string
        - `subject` string
        - `text` string
        - `type` 'pro' | 'con' | 'reply'
      - `createdAt` string
      - `updatedAt` string
      - `deletedAt` string
      - `deletedBy` object
        - `id` string
      - `deletedReasonText` string
      - `deletedReasonType` 'abuse' | 'obscene' | 'spam' | 'hate' | 'netiquette' | 'duplicate'
      - `replies` CommentInList[]
      - `report` object
        - `id` string, uuid
      - `votes` object
        - `count` integer
        - `up` object
          - `count` integer
        - `down` object
          - `count` integer

---

[API](https://skmtc.dev/citizenos/apis/citizenos-api.md) · [All operations](https://skmtc.dev/citizenos/apis/citizenos-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/citizenos/citizenos-api/revisions/ca28908e6b75/schema)
