此版本的 GitHub Enterprise Server 将于以下日期停止服务 2026-03-17. 即使针对重大安全问题,也不会发布补丁。 为了获得更好的性能、更高的安全性和新功能,请升级到最新版本的 GitHub Enterprise。 如需升级帮助,请联系 GitHub Enterprise 支持。
REST API 现已经过版本控制。 有关详细信息,请参阅“关于 API 版本控制”。
反应的 REST API 终结点
使用 REST API 与 GitHub 上的反应进行交互。
- 反应的 REST API 终结点
- List reactions for a team discussion comment
 - Create reaction for a team discussion comment
 - Delete team discussion comment reaction
 - List reactions for a team discussion
 - Create reaction for a team discussion
 - Delete team discussion reaction
 - List reactions for a commit comment
 - Create reaction for a commit comment
 - Delete a commit comment reaction
 - List reactions for an issue comment
 - Create reaction for an issue comment
 - Delete an issue comment reaction
 - List reactions for an issue
 - Create reaction for an issue
 - Delete an issue reaction
 - List reactions for a pull request review comment
 - Create reaction for a pull request review comment
 - Delete a pull request comment reaction
 - List reactions for a release
 - Create reaction for a release
 - Delete a release reaction
 - List reactions for a team discussion comment (Legacy)
 - Create reaction for a team discussion comment (Legacy)
 - List reactions for a team discussion (Legacy)
 - Create reaction for a team discussion (Legacy)