function getComments
getComments(dumpId: string): Comment[]

Returns every comment on dump dumpId, oldest first, for GET /api/dumps/:dumpId/comments. Deleted comments are included, emptied, so the client can keep their replies in place.

Parameters

dumpId: string

Return Type

Throws

APIException

500 when a row doesn't parse as a comment.

Usage

import { getComments } from "api/services/comment-service.ts";