Comments

Edit Comment

PATCH
/v0/projects/{idOrSlug}/comments/{commentId}

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
commentId*string

Request Body

application/json
  1. body
content*string

Response Body

Comment

application/json
  1. response
id*string
targetType*string
Value in"error_issue""session_replay"
targetId*string
authorId*string
authorName*string|null
authorImage*string|null
content*string
replyTo*|null
anchorAt*string|null
editedAt*string|null
pinnedAt*string|null
pinnedByUserId*string|null
createdAt*string
updatedAt*string
curl -X PATCH "https://example.com/v0/projects/string/comments/string" \  -H "Content-Type: application/json" \  -d '{    "content": "string"  }'
{  "id": "string",  "targetType": "error_issue",  "targetId": "string",  "authorId": "string",  "authorName": "string",  "authorImage": "string",  "content": "string",  "replyTo": {    "id": "string",    "authorId": "string",    "authorName": "string",    "preview": "string"  },  "anchorAt": "string",  "editedAt": "string",  "pinnedAt": "string",  "pinnedByUserId": "string",  "createdAt": "string",  "updatedAt": "string"}