此版本的 GitHub Enterprise Server 将于以下日期停止服务 2026-03-17. 即使针对重大安全问题,也不会发布补丁。 为了获得更好的性能、更高的安全性和新功能,请升级到最新版本的 GitHub Enterprise。 如需升级帮助,请联系 GitHub Enterprise 支持。
REST API 现已经过版本控制。 有关详细信息,请参阅“关于 API 版本控制”。
活动的 REST API 终结点
使用 REST API 列出事件和源,并管理通知、标星和关注。
- 事件的 REST API 终结点
- List public events
- List public events for a network of repositories
- List public organization events
- List repository events
- List events for the authenticated user
- List organization events for the authenticated user
- List public events for a user
- List events received by the authenticated user
- List public events received by a user
- 源的 REST API 终结点
- 通知的 REST API 终结点
- List notifications for the authenticated user
- Mark notifications as read
- Get a thread
- Mark a thread as read
- Mark a thread as done
- Get a thread subscription for the authenticated user
- Set a thread subscription
- Delete a thread subscription
- List repository notifications for the authenticated user
- Mark repository notifications as read
- 标星的 REST API 端点
- 监视的 REST API 终结点