The REST API is now versioned. For more information, see "About API versioning."
リアクション
REST API を使って、GitHub 上のリアクションを操作できます。
リアクションについて
GitHub 上のコメント、Issue、pull request、ディスカッションに対するリアクションを作成および管理できます。 リアクションを作成する際、content パラメーターで利用可能な値は以下の通りです (参考のため、対応する絵文字も掲載します)。
| コンテンツ | 絵文字 |
|---|---|
+1 |
👍 |
-1 |
👎 |
laugh |
😄 |
confused |
😕 |
heart |
❤️ |
hooray |
🎉 |
rocket |
🚀 |
eyes |
👀 |
List reactions for a team discussion comment
Works with GitHub Apps
List the reactions to a team discussion comment. OAuth access tokens require the read:discussion scope.
Note: You can also specify a team by org_id and team_id using the route GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions.