Get feeds
GitHub Enterprise Server provides several timeline resources in Atom format. The Feeds API lists all the feeds available to the authenticated user:
- Timeline: The GitHub Enterprise Server global public timeline
- User: The public timeline for any user, using URI template
- Current user public: The public timeline for the authenticated user
- Current user: The private timeline for the authenticated user
- Current user actor: The private timeline for activity created by the authenticated user
- Current user organizations: The private timeline for the organizations the authenticated user is a member of.
- Security advisories: A collection of public announcements that provide information about security-related vulnerabilities in software on GitHub Enterprise Server.
Note: Private feeds are only returned when authenticating via Basic Auth since current feed URIs use the older, non revocable auth tokens.
Response
200 application/json
Response
Response
Feed
Feed
Example:https://github.com/timeline
Example:https://github.com/{user}
Example:https://github.com/octocat
Example:https://github.com/octocat.private?token=abc123
Example:https://github.com/octocat.private.actor?token=abc123
Example:https://github.com/octocat-org
Example:["https://github.com/organizations/github/octocat.private.atom?token=abc123"]
Show Child Parameters
List public events for a network of repositories
Query Parameters
Results per page (max 100)
Default:30
Page number of the results to fetch.
Default:1
Path Parameters
Response
application/json
Response
Response
Event
Actor
Show Child Parameters
Show Child Parameters
Actor
Show Child Parameters
Show Child Parameters
Path Parameters
Query Parameters
List notifications for the authenticated user
List all notifications for the current user, sorted by most recently updated.
Query Parameters
If true, show notifications marked as read.
Default:false
If true, only shows notifications in which the user is directly participating or mentioned.
Default:false
Only show notifications updated after the given time. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.
Only show notifications updated before the given time. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.
Results per page (max 100)
Default:30
Page number of the results to fetch.
Default:1
Response
application/json
Response
Response
Thread
Minimal Repository
Show Child Parameters
Show Child Parameters
Example:https://api.github.com/notifications/threads/2/subscription
Query Parameters
Mark notifications as read
Marks all notifications as “read” removes it from the default view on GitHub Enterprise Server. If the number of notifications is too large to complete in one request, you will receive a 202 Accepted status and GitHub Enterprise Server will run an asynchronous process to mark notifications as “read.” To check whether any “unread” notifications remain, you can use the List notifications for the authenticated user endpoint and pass the query parameter all=false.
Body
application/json
Body
Describes the last point that notifications were checked.
Whether the notification has been read.
Response
application/json
Response
Response
Body
Get a thread
Path Parameters
thread_id parameter
Response
application/json
Response
Response
Thread
Thread
Minimal Repository
Show Child Parameters
Show Child Parameters
Example:https://api.github.com/notifications/threads/2/subscription