Comments

Edit Comment

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

Authorization

apiKeyAuth
x-api-key<token>

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

In: header

Path Parameters

idOrSlug*string
commentId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

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"}