Sample - GitHub REST API
GET/feeds

Get feeds

Lists the feeds available to the authenticated user. The response provides a URL for each feed. You can then get a specific feed by sending a request to one of the feed URLs.

  • Timeline: The GitHub global public timeline
  • User: The public timeline for any user, using uri_template. For more information, see "Hypermedia."
  • 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.

By default, timeline resources are returned in JSON. You can specify the application/atom+xml type in the Accept header to return timeline resources in Atom format. For more information, see "Media types."

[!NOTE] Private feeds are only returned when authenticating via Basic Auth since current feed URIs use the older, non revocable auth tokens.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

1 status code
200Response
timeline_urlstringrequired
user_urlstringrequired
current_user_public_urlstringoptional
current_user_urlstringoptional
current_user_actor_urlstringoptional
current_user_organization_urlstringoptional
current_user_organization_urlsarray<string>optional
security_advisories_urlstringoptional
repository_discussions_urlstringoptional
A feed of discussions for a given repository.
repository_discussions_category_urlstringoptional
A feed of discussions for a given repository and category.
_linksobjectrequired