fetchComments

suspend fun fetchComments(featureRequestId: String): List<FeatureRequestComment>(source)

Fetches public comments on a feature request from GET /api/v1/feature-requests/{id}/comments.

Returns a flat list of comments including avatar URLs and threaded @reply references.

Return

List of FeatureRequestComment instances, sorted chronologically.

Parameters

featureRequestId

Throws

on network or parsing errors.

Example:

val comments = client.fetchComments("req_123")
comments.filter { !it.isHidden }.forEach { comment ->
println("${comment.authorName ?: "Anonymous"}: ${comment.body}")
}