v56

latestOpenAPI 3.0.3MITraw.githubusercontent.com2026-08-011,4581,08113.3 MB
activity

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 Enterprise Cloud 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 Enterprise Cloud.

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.

get/feeds

Response

Response

timeline_urlstring required
user_urlstring required
current_user_public_urlstring
current_user_urlstring
current_user_actor_urlstring
current_user_organization_urlstring
current_user_organization_urlsstring[]
security_advisories_urlstring
repository_discussions_urlstring

A feed of discussions for a given repository.

repository_discussions_category_urlstring

A feed of discussions for a given repository and category.

Example response

{
  "timeline_url": "https://github.com/timeline",
  "user_url": "https://github.com/{user}",
  "current_user_public_url": "https://github.com/octocat",
  "current_user_url": "https://github.com/octocat.private?token=abc123",
  "current_user_actor_url": "https://github.com/octocat.private.actor?token=abc123",
  "current_user_organization_url": "https://github.com/octocat-org",
  "current_user_organization_urls": [
    "https://github.com/organizations/github/octocat.private.atom?token=abc123"
  ],
  "security_advisories_url": "https://github.com/security-advisories",
  "repository_discussions_url": "https://github.com/{user}/{repo}/discussions",
  "repository_discussions_category_url": "https://github.com/{user}/{repo}/discussions/categories/{category}"
}