Skip to Content
Comments

List Comments

GET
/v0/projects/{idOrSlug}/comments

Authorization

apiKeyAuth
headerx-api-key<token>

FastStats API key. Pass it in the x-api-key header or as a Bearer token in the Authorization header.

Path Parameters

idOrSlug*string

Query Parameters

targetType*string
Value in"error_issue""session_replay"
targetId*string
Length1 <= length

Response Body

Success

application/json
  1. response
[index: integer]?
Example Request
curl -X GET 'https://api.faststats.dev/v0/projects/string/comments?targetType=error_issue&targetId=string'
Example Response
[
  {
    "id": "string",
    "targetType": "error_issue",
    "targetId": "string",
    "authorId": "string",
    "authorName": "string",
    "authorImage": "string",
    "content": "string",
    "source": "app",
    "replyTo": {
      "id": "string",
      "authorId": "string",
      "authorName": "string",
      "preview": "string"
    },
    "anchorAt": "string",
    "editedAt": "string",
    "pinnedAt": "string",
    "pinnedByUserId": "string",
    "createdAt": "string",
    "updatedAt": "string"
  }
]