Skip to content

Instantly share code, notes, and snippets.

@jsvd
Last active August 29, 2015 14:24
Show Gist options
  • Save jsvd/bef30e62b0b9bd599615 to your computer and use it in GitHub Desktop.
Save jsvd/bef30e62b0b9bd599615 to your computer and use it in GitHub Desktop.
{
"ref" => "refs/heads/master",
"before" => "22dc008b4a9a612ff3fc55b02fabd551a582e271",
"after" => "9046cd06b307dec789248a72c9f36630decc037a",
"created" => false,
"deleted" => false,
"forced" => false,
"base_ref" => nil,
"compare" => "https://github.com/jsvd/test-repo/compare/22dc008b4a9a...9046cd06b307",
"commits" => [
[0] {
"id" => "9046cd06b307dec789248a72c9f36630decc037a",
"distinct" => true,
"message" => "new commit",
"timestamp" => "2015-06-02T14:58:14+01:00",
"url" => "https://github.com/jsvd/test-repo/commit/9046cd06b307dec789248a72c9f36630decc037a",
"author" => {
"name" => "Joao Duarte",
"email" => "XXXXXXXXXXXX",
"username" => "jsvd"
},
"committer" => {
"name" => "Joao Duarte",
"email" => "XXXXXXXXXXXX",
"username" => "jsvd"
},
"added" => [],
"removed" => [],
"modified" => [
[0] "a"
]
}
],
"head_commit" => {
"id" => "9046cd06b307dec789248a72c9f36630decc037a",
"distinct" => true,
"message" => "new commit",
"timestamp" => "2015-06-02T14:58:14+01:00",
"url" => "https://github.com/jsvd/test-repo/commit/9046cd06b307dec789248a72c9f36630decc037a",
"author" => {
"name" => "Joao Duarte",
"email" => "XXXXXXXXXXXX",
"username" => "jsvd"
},
"committer" => {
"name" => "Joao Duarte",
"email" => "XXXXXXXXXXXX",
"username" => "jsvd"
},
"added" => [],
"removed" => [],
"modified" => [
[0] "a"
]
},
"repository" => {
"id" => 35665026,
"name" => "test-repo",
"full_name" => "jsvd/test-repo",
"owner" => {
"name" => "jsvd",
"email" => "jsvd@users.noreply.github.com"
},
"private" => false,
"html_url" => "https://github.com/jsvd/test-repo",
"description" => "",
"fork" => false,
"url" => "https://github.com/jsvd/test-repo",
"forks_url" => "https://api.github.com/repos/jsvd/test-repo/forks",
"keys_url" => "https://api.github.com/repos/jsvd/test-repo/keys{/key_id}",
"collaborators_url" => "https://api.github.com/repos/jsvd/test-repo/collaborators{/collaborator}",
"teams_url" => "https://api.github.com/repos/jsvd/test-repo/teams",
"hooks_url" => "https://api.github.com/repos/jsvd/test-repo/hooks",
"issue_events_url" => "https://api.github.com/repos/jsvd/test-repo/issues/events{/number}",
"events_url" => "https://api.github.com/repos/jsvd/test-repo/events",
"assignees_url" => "https://api.github.com/repos/jsvd/test-repo/assignees{/user}",
"branches_url" => "https://api.github.com/repos/jsvd/test-repo/branches{/branch}",
"tags_url" => "https://api.github.com/repos/jsvd/test-repo/tags",
"blobs_url" => "https://api.github.com/repos/jsvd/test-repo/git/blobs{/sha}",
"git_tags_url" => "https://api.github.com/repos/jsvd/test-repo/git/tags{/sha}",
"git_refs_url" => "https://api.github.com/repos/jsvd/test-repo/git/refs{/sha}",
"trees_url" => "https://api.github.com/repos/jsvd/test-repo/git/trees{/sha}",
"statuses_url" => "https://api.github.com/repos/jsvd/test-repo/statuses/{sha}",
"languages_url" => "https://api.github.com/repos/jsvd/test-repo/languages",
"stargazers_url" => "https://api.github.com/repos/jsvd/test-repo/stargazers",
"contributors_url" => "https://api.github.com/repos/jsvd/test-repo/contributors",
"subscribers_url" => "https://api.github.com/repos/jsvd/test-repo/subscribers",
"subscription_url" => "https://api.github.com/repos/jsvd/test-repo/subscription",
"commits_url" => "https://api.github.com/repos/jsvd/test-repo/commits{/sha}",
"git_commits_url" => "https://api.github.com/repos/jsvd/test-repo/git/commits{/sha}",
"comments_url" => "https://api.github.com/repos/jsvd/test-repo/comments{/number}",
"issue_comment_url" => "https://api.github.com/repos/jsvd/test-repo/issues/comments{/number}",
"contents_url" => "https://api.github.com/repos/jsvd/test-repo/contents/{+path}",
"compare_url" => "https://api.github.com/repos/jsvd/test-repo/compare/{base}...{head}",
"merges_url" => "https://api.github.com/repos/jsvd/test-repo/merges",
"archive_url" => "https://api.github.com/repos/jsvd/test-repo/{archive_format}{/ref}",
"downloads_url" => "https://api.github.com/repos/jsvd/test-repo/downloads",
"issues_url" => "https://api.github.com/repos/jsvd/test-repo/issues{/number}",
"pulls_url" => "https://api.github.com/repos/jsvd/test-repo/pulls{/number}",
"milestones_url" => "https://api.github.com/repos/jsvd/test-repo/milestones{/number}",
"notifications_url" => "https://api.github.com/repos/jsvd/test-repo/notifications{?since,all,participating}",
"labels_url" => "https://api.github.com/repos/jsvd/test-repo/labels{/name}",
"releases_url" => "https://api.github.com/repos/jsvd/test-repo/releases{/id}",
"created_at" => 1431681367,
"updated_at" => "2015-05-15T09:16:07Z",
"pushed_at" => 1433253498,
"git_url" => "git://github.com/jsvd/test-repo.git",
"ssh_url" => "git@github.com:jsvd/test-repo.git",
"clone_url" => "https://github.com/jsvd/test-repo.git",
"svn_url" => "https://github.com/jsvd/test-repo",
"homepage" => nil,
"size" => 144,
"stargazers_count" => 0,
"watchers_count" => 0,
"language" => nil,
"has_issues" => true,
"has_downloads" => true,
"has_wiki" => true,
"has_pages" => false,
"forks_count" => 0,
"mirror_url" => nil,
"open_issues_count" => 0,
"forks" => 0,
"open_issues" => 0,
"watchers" => 0,
"default_branch" => "master",
"stargazers" => 0,
"master_branch" => "master"
},
"pusher" => {
"name" => "jsvd",
"email" => "jsvd@users.noreply.github.com"
},
"sender" => {
"login" => "jsvd",
"id" => 31809,
"avatar_url" => "https://avatars.githubusercontent.com/u/31809?v=3",
"gravatar_id" => "",
"url" => "https://api.github.com/users/jsvd",
"html_url" => "https://github.com/jsvd",
"followers_url" => "https://api.github.com/users/jsvd/followers",
"following_url" => "https://api.github.com/users/jsvd/following{/other_user}",
"gists_url" => "https://api.github.com/users/jsvd/gists{/gist_id}",
"starred_url" => "https://api.github.com/users/jsvd/starred{/owner}{/repo}",
"subscriptions_url" => "https://api.github.com/users/jsvd/subscriptions",
"organizations_url" => "https://api.github.com/users/jsvd/orgs",
"repos_url" => "https://api.github.com/users/jsvd/repos",
"events_url" => "https://api.github.com/users/jsvd/events{/privacy}",
"received_events_url" => "https://api.github.com/users/jsvd/received_events",
"type" => "User",
"site_admin" => false
},
"@version" => "1",
"@timestamp" => "2015-06-02T13:58:18.779Z",
"headers" => {
"content_type" => "application/json",
"request_method" => "POST",
"request_path" => "/_hooks/github",
"request_uri" => "/_hooks/github",
"http_version" => "HTTP/1.1",
"http_host" => "52.17.4.180:9200",
"http_accept" => "*/*",
"http_user_agent" => "GitHub-Hookshot/1980429",
"http_x_github_event" => "push",
"http_x_github_delivery" => "6bb7f900-092f-11e5-8bab-0e12ec7214ad",
"http_x_hub_signature" => "sha1=b28a8b0f85d23c00109a177929924af7a57db7ae",
"content_length" => "5590"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment