Events
This is a read-only API to the GitHub events. These events power the various activity streams on the site.
All Events have the same response format:
Status: 200 OK
Link: <https://api.github.com/resource?page=2>; rel="next",
<https://api.github.com/resource?page=5>; rel="last"
X-RateLimit-Limit: 5000
X-RateLimit-Remaining: 4999
[
{
"type": "Event",
"public": true,
"payload": {
},
"repo": {
"id": 3,
"name": "octocat/Hello-World",
"url": "https://api.github.com/repos/octocat/Hello-World"
},
"actor": {
"login": "octocat",
"id": 1,
"avatar_url": "https://github.com/images/error/octocat_happy.gif",
"gravatar_id": "somehexcode",
"url": "https://api.github.com/users/octocat"
},
"org": {
"login": "octocat",
"id": 1,
"avatar_url": "https://github.com/images/error/octocat_happy.gif",
"gravatar_id": "somehexcode",
"url": "https://api.github.com/users/octocat"
},
"created_at": "2011-09-06T17:26:27Z"
}
]
List public events
GET /events
List repository events
GET /repos/:user/:repo/events
List issue events for a repository
GET /repos/:user/:repo/issues/events
List public events for a network of repositories
GET /networks/:user/:repo/events
List public events for an organization
GET /orgs/:org/events
List events that a user has received
These are events that you’ve received by watching repos and following users. If you are authenticated as the given user, you will see private events. Otherwise, you’ll only see public events.
GET /users/:user/received_events
List public events that a user has received
GET /users/:user/received_events/public
List events performed by a user
If you are authenticated as the given user, you will see your private events. Otherwise, you’ll only see public events.
GET /users/:user/events
List public events performed by a user
GET /users/:user/events/public
List events for an organization
This is the user’s organization dashboard. You must be authenticated as the user to view this.
GET /users/:user/events/orgs/:org