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 129 APIs that GitHub publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.

This API exposes 6 JSON Schema definitions.

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

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

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

34 operations 24 paths 76 schemas 4 DELETE24 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
Contact
License
Terms of Service
Resource Areas
1

Paths & Operations 34

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

Activity 34

Activity APIs provide access to notifications, subscriptions, and timelines.

GET
/events
List public events
activity/list-public-events 2 params → 200304403503
GET
/feeds
Get feeds
activity/get-feeds → 200
GET
/networks/{owner}/{repo}/events
List public events for a network of repositories
activity/list-public-events-for-repo-network 4 params → 200404403304301
GET
/notifications
List notifications for the authenticated user
activity/list-notifications-for-authenticated-user 6 params → 200304403401422
PUT
/notifications
Mark notifications as read
activity/mark-notifications-as-read body → 202205304403401
GET
/notifications/threads/{thread_id}
Get a thread
activity/get-thread 1 param → 200304403401
PATCH
/notifications/threads/{thread_id}
Mark a thread as read
activity/mark-thread-as-read 1 param → 205304403
DELETE
/notifications/threads/{thread_id}
Mark a thread as done
activity/mark-thread-as-done 1 param → 204
GET
/notifications/threads/{thread_id}/subscription
Get a thread subscription for the authenticated user
activity/get-thread-subscription-for-authenticated-user 1 param → 200304403401
PUT
/notifications/threads/{thread_id}/subscription
Set a thread subscription
activity/set-thread-subscription 1 param body → 200304403401
DELETE
/notifications/threads/{thread_id}/subscription
Delete a thread subscription
activity/delete-thread-subscription 1 param → 204304403401
GET
/orgs/{org}/events
List public organization events
activity/list-public-org-events 3 params → 200
GET
/repos/{owner}/{repo}/events
List repository events
activity/list-repo-events 4 params → 200
GET
/repos/{owner}/{repo}/notifications
List repository notifications for the authenticated user
activity/list-repo-notifications-for-authenticated-user 8 params → 200
PUT
/repos/{owner}/{repo}/notifications
Mark repository notifications as read
activity/mark-repo-notifications-as-read 2 params body → 202205
GET
/repos/{owner}/{repo}/stargazers
List stargazers
activity/list-stargazers-for-repo 4 params → 200422
GET
/repos/{owner}/{repo}/stargazers/count
Get stargazer count
activity/get-stargazer-count-for-repo 2 params → 200404
GET
/repos/{owner}/{repo}/stargazers/history
Get repository star history
activity/get-stargazer-history-for-repo 4 params → 200422
GET
/repos/{owner}/{repo}/subscribers
List watchers
activity/list-watchers-for-repo 4 params → 200
GET
/repos/{owner}/{repo}/subscription
Get a repository subscription
activity/get-repo-subscription 2 params → 200404403
PUT
/repos/{owner}/{repo}/subscription
Set a repository subscription
activity/set-repo-subscription 2 params body → 200
DELETE
/repos/{owner}/{repo}/subscription
Delete a repository subscription
activity/delete-repo-subscription 2 params → 204
GET
/user/starred
List repositories starred by the authenticated user
activity/list-repos-starred-by-authenticated-user 4 params → 200304403401
GET
/user/starred/{owner}/{repo}
Check if a repository is starred by the authenticated user
activity/check-repo-is-starred-by-authenticated-user 2 params → 204404401304403
PUT
/user/starred/{owner}/{repo}
Star a repository for the authenticated user
activity/star-repo-for-authenticated-user 2 params → 204403404401304
DELETE
/user/starred/{owner}/{repo}
Unstar a repository for the authenticated user
activity/unstar-repo-for-authenticated-user 2 params → 204404401304403
GET
/user/subscriptions
List repositories watched by the authenticated user
activity/list-watched-repos-for-authenticated-user 2 params → 200304403401
GET
/users/{username}/events
List events for the authenticated user
activity/list-events-for-authenticated-user 3 params → 200
GET
/users/{username}/events/orgs/{org}
List organization events for the authenticated user
activity/list-org-events-for-authenticated-user 4 params → 200
GET
/users/{username}/events/public
List public events for a user
activity/list-public-events-for-user 3 params → 200
GET
/users/{username}/received_events
List events received by the authenticated user
activity/list-received-events-for-user 3 params → 200
GET
/users/{username}/received_events/public
List public events received by a user
activity/list-received-public-events-for-user 3 params → 200
GET
/users/{username}/starred
List repositories starred by a user
activity/list-repos-starred-by-user 5 params → 200
GET
/users/{username}/subscriptions
List repositories watched by a user
activity/list-repos-watched-by-user 3 params → 200

Schemas 76

The contract defines 76 schemas that model the data the API accepts and returns. The most detailed are repository (98 properties), repository_2 (95 properties), minimal-repository (90 properties), minimal-repository_2 (87 properties). Each schema is shown below with its type and property counts.

security-and-analysis
objectnull
10 properties
repository-subscription
object
Repository invitations let you manage who you collaborate with.
6 properties 6 required
delete-event
object
4 properties 4 required
basic-error
object
Basic Error
4 properties
public-event
object
feed
object
Feed
11 properties 3 required
issue-comment
object
Comments provide a way for people to collaborate on an issue.
16 properties 8 required
commit-comment-event
object
2 properties 2 required
push-event
object
5 properties 5 required
milestone
object
A collection of related issues and pull requests.
16 properties 16 required
author-association
string
How the author is associated with the repository.
actor
object
Actor
6 properties 5 required
issue
object
Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.
40 properties 20 required
thread
object
Thread
9 properties 9 required
link-with-type
object
Hypermedia Link with Type
2 properties 2 required
watch-event
object
1 property 1 required
starred-repository
object
Starred Repository
2 properties 2 required
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…
14 properties 11 required
pull-request-review-event
object
3 properties 3 required
repository
object
A repository on GitHub.
98 properties 73 required
pull-request-review-comment-event
object
3 properties 3 required
label
object
Color-coded labels help you categorize and filter your issues (just like labels in Gmail).
9 properties 9 required
release-asset
object
Data related to a release.
14 properties 14 required
issues-event
object
6 properties 2 required
event
object
Event
8 properties 7 required
release
object
A release.
25 properties 17 required
release-event
object
2 properties 2 required
pull-request-minimal
object
5 properties 5 required
code-of-conduct
object
Code Of Conduct
5 properties 4 required
sub-issues-summary
object
3 properties 3 required
pull-request-event
object
7 properties 3 required
enterprise
object
An enterprise on GitHub.
10 properties 8 required
validation-error
object
Validation Error
3 properties 2 required
issue-comment-event
object
3 properties 3 required
issue-dependencies-summary
object
4 properties 4 required
stargazer
object
Stargazer
2 properties 2 required
simple-user
object
A GitHub user.
22 properties 18 required
issue-comment-minimized
object
Details about why an issue comment was minimized.
1 property 1 required
pinned-issue-comment
object
Context around who pinned an issue comment and when it was pinned.
2 properties 2 required
member-event
object
2 properties 2 required
fork-event
object
2 properties 2 required
reaction-rollup
object
10 properties 10 required
gollum-event
object
1 property 1 required
issue-field-value
object
A value assigned to an issue field
7 properties 4 required
discussion-event
object
2 properties 2 required
issue-type
objectnull
The type assigned to the issue. This is only present for issues in repositories where issue types are supported.
8 properties 4 required
create-event
object
6 properties 5 required
minimal-repository
object
Minimal Repository
90 properties 46 required
license-simple
object
License Simple
6 properties 5 required
stargazer-history
object
Stargazer History
3 properties 3 required
thread-subscription
object
Thread Subscription
7 properties 5 required
discussion
object
A Discussion in a repository.
23 properties 19 required
security-and-analysis_2
objectnull
3 properties
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
repository-subscription_2
object
Repository invitations let you manage who you collaborate with.
6 properties 6 required
basic-error_2
object
Basic Error
4 properties
feed_2
object
Feed
11 properties 3 required
validation-error_2
object
Validation Error
3 properties 2 required
issue-comment_2
object
Comments provide a way for people to collaborate on an issue.
14 properties 9 required
event_2
object
Event
8 properties 7 required
stargazer_2
object
Stargazer
2 properties 2 required
reaction-rollup_2
object
10 properties 10 required
nullable-license-simple
objectnull
License Simple
6 properties 5 required
author-association_2
string
How the author is associated with the repository.
nullable-simple-user
objectnull
A GitHub user.
21 properties 18 required
nullable-milestone
objectnull
A collection of related issues and pull requests.
16 properties 16 required
issue_2
object
Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.
34 properties 21 required
actor_2
object
Actor
6 properties 5 required
minimal-repository_2
object
Minimal Repository
87 properties 46 required
simple-user_2
object
A GitHub user.
21 properties 18 required
code-of-conduct_2
object
Code Of Conduct
5 properties 4 required
thread_2
object
Thread
9 properties 9 required
thread-subscription_2
object
Thread Subscription
7 properties 5 required
link-with-type_2
object
Hypermedia Link with Type
2 properties 2 required
starred-repository_2
object
Starred Repository
2 properties 2 required
repository_2
object
A repository on GitHub.
95 properties 73 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 Gists API
GitHub Issues API
GitHub Licenses API
GitHub Markdown API
GitHub Meta API
GitHub Projects API
GitHub Repos API
GitHub Search API
GitHub User API
GitHub Deployments API
GitHub Releases API
GitHub Pages 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.