How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

GitHub Activity API

The Activity API from GitHub — 25 operation(s) for activity.

GitHub Activity API is one of 350 APIs that GitHub publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.

Tagged areas include Activity. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an AsyncAPI specification, and an API reference.

This API exposes 34 operations across 25 paths, and defines 28 schemas. It is described by OpenAPI 3.2.0, at version 1.1.4.

Requests are made against 2 base URLs: {protocol}://{hostname}/api/v3, {protocol}://{hostname}.

34 operations 25 paths 28 schemas 3 DELETE25 GET1 PATCH5 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.1.4
Base URL
https://api.github.com
Authentication
HTTP Bearer
License
Terms of Service
Resource Areas
1

Authentication & Security 1

GitHub Activity API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (bearerHttpAuthentication).

  • bearerHttpAuthentication — Bearer Token

Paths & Operations 34

Across 25 paths, the API surfaces 34 operations — 3 DELETE, 25 GET, 1 PATCH, 5 PUT. Each is listed below with its method, path, parameters, and response codes.

Activity 34
GET
/events
GitHub List Public Events
activity/list-public-events 2 params → 200304403503
GET
/feeds
GitHub Get Feeds
activity/get-feeds → 200
GET
/networks/{owner}/{repo}/events
GitHub List Public Events for a Network of Repositories
activity/list-public-events-for-repo-network 4 params → 200301304403404
GET
/notifications
GitHub List Notifications for the Authenticated User
activity/list-notifications-for-authenticated-user 6 params → 200304401403422
PUT
/notifications
GitHub Mark Notifications as Read
activity/mark-notifications-as-read body → 202205304401403
GET
/notifications/threads/{thread_id}
GitHub Get a Thread
activity/get-thread 1 param → 200304401403
PATCH
/notifications/threads/{thread_id}
GitHub Mark a Thread as Read
activity/mark-thread-as-read 1 param → 205304403
GET
/notifications/threads/{thread_id}/subscription
GitHub Get a Thread Subscription for the Authenticated User
activity/get-thread-subscription-for-authenticated-user 1 param → 200304401403
PUT
/notifications/threads/{thread_id}/subscription
GitHub Set a Thread Subscription
activity/set-thread-subscription 1 param body → 200304401403
DELETE
/notifications/threads/{thread_id}/subscription
GitHub Delete a Thread Subscription
activity/delete-thread-subscription 1 param → 204304401403
GET
/orgs/{org}/events
GitHub List Public Organization Events
activity/list-public-org-events 3 params → 200
GET
/repos/{owner}/{repo}/events
GitHub List Repository Events
activity/list-repo-events 4 params → 200
GET
/repos/{owner}/{repo}/notifications
GitHub List Repository Notifications for the Authenticated User
activity/list-repo-notifications-for-authenticated-user 8 params → 200
PUT
/repos/{owner}/{repo}/notifications
GitHub Mark Repository Notifications as Read
activity/mark-repo-notifications-as-read 2 params body → 202205
GET
/repos/{owner}/{repo}/stargazers
GitHub List Stargazers
activity/list-stargazers-for-repo 4 params → 200422
GET
/repos/{owner}/{repo}/subscribers
GitHub List Watchers
activity/list-watchers-for-repo 4 params → 200
GET
/repos/{owner}/{repo}/subscription
GitHub Get a Repository Subscription
activity/get-repo-subscription 2 params → 200403404
PUT
/repos/{owner}/{repo}/subscription
GitHub Set a Repository Subscription
activity/set-repo-subscription 2 params body → 200
DELETE
/repos/{owner}/{repo}/subscription
GitHub Delete a Repository Subscription
activity/delete-repo-subscription 2 params → 204
GET
/user/starred
GitHub List Repositories Starred by the Authenticated User
activity/list-repos-starred-by-authenticated-user 4 params → 200304401403
GET
/user/starred/{owner}/{repo}
GitHub Check if a Repository is Starred by the Authenticated User
activity/check-repo-is-starred-by-authenticated-user 2 params → 204304401403404
PUT
/user/starred/{owner}/{repo}
GitHub Star a Repository for the Authenticated User
activity/star-repo-for-authenticated-user 2 params → 204304401403404
DELETE
/user/starred/{owner}/{repo}
GitHub Unstar a Repository for the Authenticated User
activity/unstar-repo-for-authenticated-user 2 params → 204304401403404
GET
/user/subscriptions
GitHub List Repositories Watched by the Authenticated User
activity/list-watched-repos-for-authenticated-user 2 params → 200304401403
GET
/users/{username}/events
GitHub List Events for the Authenticated User
activity/list-events-for-authenticated-user 3 params → 200
GET
/users/{username}/events/orgs/{org}
GitHub List Organization Events for the Authenticated User
activity/list-org-events-for-authenticated-user 4 params → 200
GET
/users/{username}/events/public
GitHub List Public Events for a User
activity/list-public-events-for-user 3 params → 200
GET
/users/{username}/received_events
GitHub List Events Received by the Authenticated User
activity/list-received-events-for-user 3 params → 200
GET
/users/{username}/received_events/public
GitHub List Public Events Received by a User
activity/list-received-public-events-for-user 3 params → 200
GET
/users/{username}/starred
GitHub List Repositories Starred by a User
activity/list-repos-starred-by-user 5 params → 200
GET
/users/{username}/subscriptions
GitHub List Repositories Watched by a User
activity/list-repos-watched-by-user 3 params → 200
GET
/repos/{owner}/{repo}/stats/code_frequency
GitHub Get the Weekly Commit Activity
getTheWeeklyCommitActivity 5 params → 200202204
GET
/repos/{owner}/{repo}/stats/commit_activity
GitHub Get the Last Year of Commit Activity
getTheLastYearOfCommitActivity 5 params → 200202204
GET
/repos/{owner}/{repo}/stats/contributors
GitHub Get All Contributor Commit Activity
getAllContributorCommitActivity 5 params → 200202204

Schemas 28

The contract defines 28 schemas that model the data the API accepts and returns. The most detailed are repository (95 properties), minimal-repository (87 properties), issue (34 properties), simple-user (21 properties). Each schema is shown below with its type and property counts.

thread
object
Thread
9 properties 9 required
nullable-milestone
objectnull
A collection of related issues and pull requests.
16 properties 16 required
code-of-conduct
object
Code Of Conduct
5 properties 4 required
minimal-repository
object
Minimal Repository
87 properties 46 required
issue-comment
object
Comments provide a way for people to collaborate on an issue.
14 properties 9 required
security-and-analysis
objectnull
3 properties
simple-user
object
A GitHub user.
21 properties 18 required
nullable-integration
objectnull
GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They…
17 properties 11 required
link-with-type
object
Hypermedia Link with Type
2 properties 2 required
repository
object
A repository on GitHub.
95 properties 73 required
validation-error
object
Validation Error
3 properties 2 required
basic-error
object
Basic Error
4 properties
nullable-license-simple
objectnull
License Simple
6 properties 5 required
repository-subscription
object
Repository invitations let you manage who you collaborate with.
6 properties 6 required
starred-repository
object
Starred Repository
2 properties 2 required
stargazer
object
Stargazer
2 properties 2 required
issue
object
Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.
34 properties 21 required
actor
object
Actor
6 properties 5 required
reaction-rollup
object
10 properties 10 required
event
object
Event
8 properties 7 required
feed
object
Feed
11 properties 3 required
author-association
string
How the author is associated with the repository.
nullable-simple-user
objectnull
A GitHub user.
21 properties 18 required
thread-subscription
object
Thread Subscription
7 properties 5 required
code-frequency-stat
array
Code Frequency Stat
commit-activity
object
Commit Activity
3 properties 3 required
contributor-activity
object
Contributor Activity
3 properties 3 required
nullable-simple-user_2
object
GitHub user.
21 properties 18 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

github-activity-api-openapi.yml Raw ↑

Other APIs GitHub publishes across the network.

GitHub Events API
GitHub Feeds API
GitHub Gists API
GitHub Issues API
GitHub Licenses API
GitHub Markdown API
GitHub Meta API
GitHub Notifications API
GitHub Octocat API
GitHub Projects API
GitHub Repos API
GitHub Search API
Where this information came from

This is an independent, third-party profile of GitHub Activity API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.