Github API

Getting access, Developing, Testing

Back to Github

Get feeds

GitHub provides several timeline resources in Atom format. The Feeds API lists all the feeds available to the authenticated user:

  • Timeline: The GitHub 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.

Note: Private feeds are only returned when authenticating via Basic Auth since current feed URIs use the older, non revocable auth tokens.

Output

type: object title: Feed properties: timeline_url: type: string example: https://github.com/timeline user_url: type: string example: https://github.com/{user} current_user_public_url: type: string example: https://github.com/octocat current_user_url: type: string example: https://github.com/octocat.private?token=abc123 current_user_actor_url: type: string example: https://github.com/octocat.private.actor?token=abc123 current_user_organization_url: type: string example: https://github.com/octocat-org current_user_organization_urls: type: array items: type: string security_advisories_url: type: string example: https://github.com/security-advisories repository_discussions_url: type: string example: https://github.com/{user}/{repo}/discussions description: A feed of discussions for a given repository. repository_discussions_category_url: type: string example: https://github.com/{user}/{repo}/discussions/categories/{category} description: A feed of discussions for a given repository and category. _links: type: object properties: timeline: type: object title: Link With Type properties: href: type: string type: type: string user: type: object title: Link With Type properties: href: type: string type: type: string security_advisories: type: object title: Link With Type properties: href: type: string type: type: string current_user: type: object title: Link With Type properties: href: type: string type: type: string current_user_public: type: object title: Link With Type properties: href: type: string type: type: string current_user_actor: type: object title: Link With Type properties: href: type: string type: type: string current_user_organization: type: object title: Link With Type properties: href: type: string type: type: string current_user_organizations: type: array items: type: object title: Link With Type properties: href: type: string type: type: string repository_discussions: type: object title: Link With Type properties: href: type: string type: type: string repository_discussions_category: type: object title: Link With Type properties: href: type: string type: type: string