This version of GitHub Enterprise Server will be discontinued on 2026-08-25. Discontinued releases are not supported. No patch releases will be made, even for critical security issues. For better performance, improved security, and new features in GitHub Enterprise Server, see Overview of the upgrade process. For help with the upgrade, GitHub Enterprise Support.
The REST API is now versioned. For more information, see "About API versioning."
REST API endpoints for activity
Use the REST API to list events and feeds and manage notifications, starring, and watching.
- REST API endpoints for events
- 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 endpoints for feeds
- REST API endpoints for notifications
- 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 endpoints for starring
- REST API endpoints for watching