Comments
Toggle Comment Pin
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 PUT "https://example.com/v0/projects/string/comments/string/pin" \ -H "Content-Type: application/json" \ -d '{ "pinned": true }'{ "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"}pinned*boolean