Skip to content

Instantly share code, notes, and snippets.

@DikangGu
Created November 9, 2016 19:19
Show Gist options
  • Save DikangGu/a27cf7209cc70a1a043cf3545f41d176 to your computer and use it in GitHub Desktop.
Save DikangGu/a27cf7209cc70a1a043cf3545f41d176 to your computer and use it in GitHub Desktop.
request
Headers
Request URL: http://cassci.datastax.com/github-webhook/
Request method: POST
content-type: application/json
Expect:
User-Agent: GitHub-Hookshot/d83765d
X-GitHub-Delivery: 316c9280-a6b1-11e6-9613-1bffb2af29ad
X-GitHub-Event: create
X-Hub-Signature: sha1=62a7d2480172dc8ded4ea5aa546ef17fc8182f77
Payload
{
"ref": "apache_trunk_ci_test",
"ref_type": "branch",
"master_branch": "trunk",
"description": "Mirror of Apache Cassandra (incubating)",
"pusher_type": "user",
"repository": {
"id": 33232574,
"name": "cassandra",
"full_name": "DikangGu/cassandra",
"owner": {
"login": "DikangGu",
"id": 214786,
"avatar_url": "https://avatars.githubusercontent.com/u/214786?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/DikangGu",
"html_url": "https://github.com/DikangGu",
"followers_url": "https://api.github.com/users/DikangGu/followers",
"following_url": "https://api.github.com/users/DikangGu/following{/other_user}",
"gists_url": "https://api.github.com/users/DikangGu/gists{/gist_id}",
"starred_url": "https://api.github.com/users/DikangGu/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/DikangGu/subscriptions",
"organizations_url": "https://api.github.com/users/DikangGu/orgs",
"repos_url": "https://api.github.com/users/DikangGu/repos",
"events_url": "https://api.github.com/users/DikangGu/events{/privacy}",
"received_events_url": "https://api.github.com/users/DikangGu/received_events",
"type": "User",
"site_admin": false
},
"private": false,
"html_url": "https://github.com/DikangGu/cassandra",
"description": "Mirror of Apache Cassandra (incubating)",
"fork": true,
"url": "https://api.github.com/repos/DikangGu/cassandra",
"forks_url": "https://api.github.com/repos/DikangGu/cassandra/forks",
"keys_url": "https://api.github.com/repos/DikangGu/cassandra/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/DikangGu/cassandra/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/DikangGu/cassandra/teams",
"hooks_url": "https://api.github.com/repos/DikangGu/cassandra/hooks",
"issue_events_url": "https://api.github.com/repos/DikangGu/cassandra/issues/events{/number}",
"events_url": "https://api.github.com/repos/DikangGu/cassandra/events",
"assignees_url": "https://api.github.com/repos/DikangGu/cassandra/assignees{/user}",
"branches_url": "https://api.github.com/repos/DikangGu/cassandra/branches{/branch}",
"tags_url": "https://api.github.com/repos/DikangGu/cassandra/tags",
"blobs_url": "https://api.github.com/repos/DikangGu/cassandra/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/DikangGu/cassandra/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/DikangGu/cassandra/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/DikangGu/cassandra/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/DikangGu/cassandra/statuses/{sha}",
"languages_url": "https://api.github.com/repos/DikangGu/cassandra/languages",
"stargazers_url": "https://api.github.com/repos/DikangGu/cassandra/stargazers",
"contributors_url": "https://api.github.com/repos/DikangGu/cassandra/contributors",
"subscribers_url": "https://api.github.com/repos/DikangGu/cassandra/subscribers",
"subscription_url": "https://api.github.com/repos/DikangGu/cassandra/subscription",
"commits_url": "https://api.github.com/repos/DikangGu/cassandra/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/DikangGu/cassandra/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/DikangGu/cassandra/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/DikangGu/cassandra/issues/comments{/number}",
"contents_url": "https://api.github.com/repos/DikangGu/cassandra/contents/{+path}",
"compare_url": "https://api.github.com/repos/DikangGu/cassandra/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/DikangGu/cassandra/merges",
"archive_url": "https://api.github.com/repos/DikangGu/cassandra/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/DikangGu/cassandra/downloads",
"issues_url": "https://api.github.com/repos/DikangGu/cassandra/issues{/number}",
"pulls_url": "https://api.github.com/repos/DikangGu/cassandra/pulls{/number}",
"milestones_url": "https://api.github.com/repos/DikangGu/cassandra/milestones{/number}",
"notifications_url": "https://api.github.com/repos/DikangGu/cassandra/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/DikangGu/cassandra/labels{/name}",
"releases_url": "https://api.github.com/repos/DikangGu/cassandra/releases{/id}",
"deployments_url": "https://api.github.com/repos/DikangGu/cassandra/deployments",
"created_at": "2015-04-01T07:17:35Z",
"updated_at": "2016-04-07T22:33:07Z",
"pushed_at": "2016-11-09T19:17:44Z",
"git_url": "git://github.com/DikangGu/cassandra.git",
"ssh_url": "git@github.com:DikangGu/cassandra.git",
"clone_url": "https://github.com/DikangGu/cassandra.git",
"svn_url": "https://github.com/DikangGu/cassandra",
"homepage": null,
"size": 224877,
"stargazers_count": 0,
"watchers_count": 0,
"language": "Java",
"has_issues": false,
"has_downloads": true,
"has_wiki": false,
"has_pages": false,
"forks_count": 0,
"mirror_url": null,
"open_issues_count": 0,
"forks": 0,
"open_issues": 0,
"watchers": 0,
"default_branch": "trunk"
},
"sender": {
"login": "DikangGu",
"id": 214786,
"avatar_url": "https://avatars.githubusercontent.com/u/214786?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/DikangGu",
"html_url": "https://github.com/DikangGu",
"followers_url": "https://api.github.com/users/DikangGu/followers",
"following_url": "https://api.github.com/users/DikangGu/following{/other_user}",
"gists_url": "https://api.github.com/users/DikangGu/gists{/gist_id}",
"starred_url": "https://api.github.com/users/DikangGu/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/DikangGu/subscriptions",
"organizations_url": "https://api.github.com/users/DikangGu/orgs",
"repos_url": "https://api.github.com/users/DikangGu/repos",
"events_url": "https://api.github.com/users/DikangGu/events{/privacy}",
"received_events_url": "https://api.github.com/users/DikangGu/received_events",
"type": "User",
"site_admin": false
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment