Comments
Edit Comment
PATCH
apiKeyAuthheader
x-api-key<token>FastStats API key. Pass it in the x-api-key header or as a Bearer token in the Authorization header.
idOrSlug*stringcommentId*stringMatch
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$Format
uuidapplication/json- body
content*stringComment
application/json- response
id*stringtargetType*stringValue in
"error_issue""session_replay"targetId*stringauthorId*stringauthorName*string|nullauthorImage*string|nullcontent*stringreplyTo*|nullanchorAt*string|nulleditedAt*string|nullpinnedAt*string|nullpinnedByUserId*string|nullcreatedAt*stringupdatedAt*stringcurl -X PATCH 'https://api.faststats.dev/v0/projects/string/comments/497f6eca-6276-4993-bfeb-53cbbbba6f08' \ -H 'Content-Type: application/json' \ -d '{ "content": "string"}'Example Response
{ "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"}curl -X PATCH 'https://api.faststats.dev/v0/projects/string/comments/497f6eca-6276-4993-bfeb-53cbbbba6f08' \
-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"
}