CommentReactionSummary
The reactions on one comment, one entry per emoji.
Shape
- comment_idCommentId (string · uuid)
reactionsarray of ReactionGroup
- The ReactionGroup schema
- countinteger · int320–∞
- mebooleanWhether you placed this reaction.
- reactionReactionTypethumbs_upthumbs_downlaughhoorayconfusedheartrocketeyesThe emoji reactions that can be placed on a comment — the same set GitHub offers.
reactorsarray of ActorSummaryWho placed this reaction.
- The ActorSummary schema
- emailstring
- idstring
- usernamestring
- avatar_urlstring or nulloptional
Example
Synthesized example{
"comment_id": "c36fc867-4e0d-4526-ba5b-24c8038bf131",
"reactions": [
{
"count": 3,
"me": false,
"reaction": "thumbs_up",
"reactors": []
},
{
"count": 1,
"me": false,
"reaction": "thumbs_up",
"reactors": []
}
]
}
Graph
Used inside
No schema contains this one.
Contains
Used by
Sent by 0 operations
No operation takes it as a request body.
Returned by 6 operations
- GETList the reactions on a comment on a group-scoped work item/groups/{group_id}/issues/{issue_id}/comments/{comment_id}/reactions
- POSTReact to a comment on a group-scoped work item/groups/{group_id}/issues/{issue_id}/comments/{comment_id}/reactions
- GETList the reactions on a comment on a work item/repositories/{repo_id}/issues/{issue_id}/comments/{comment_id}/reactions
- POSTReact to a comment on a work item/repositories/{repo_id}/issues/{issue_id}/comments/{comment_id}/reactions
- GETList the reactions on a merge-request comment/repositories/{repo_id}/merge-requests/{mr_id}/comments/{comment_id}/reactions
- POSTAdd an emoji reaction to a merge-request comment/repositories/{repo_id}/merge-requests/{mr_id}/comments/{comment_id}/reactions