Skip to content

Instantly share code, notes, and snippets.

@drozzy drozzy/webhook_post
Created Jul 1, 2016

Embed
What would you like to do?
{
"action": "reopened",
"number": 2,
"pull_request": {
"url": "https://api.github.com/repos/chovencorp/test123/pulls/2",
"id": 75922888,
"html_url": "https://github.com/chovencorp/test123/pull/2",
"diff_url": "https://github.com/chovencorp/test123/pull/2.diff",
"patch_url": "https://github.com/chovencorp/test123/pull/2.patch",
"issue_url": "https://api.github.com/repos/chovencorp/test123/issues/2",
"number": 2,
"state": "open",
"locked": false,
"title": "Create Test123",
"user": {
"login": "drozzy",
"id": 140710,
"avatar_url": "https://avatars.githubusercontent.com/u/140710?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/drozzy",
"html_url": "https://github.com/drozzy",
"followers_url": "https://api.github.com/users/drozzy/followers",
"following_url": "https://api.github.com/users/drozzy/following{/other_user}",
"gists_url": "https://api.github.com/users/drozzy/gists{/gist_id}",
"starred_url": "https://api.github.com/users/drozzy/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/drozzy/subscriptions",
"organizations_url": "https://api.github.com/users/drozzy/orgs",
"repos_url": "https://api.github.com/users/drozzy/repos",
"events_url": "https://api.github.com/users/drozzy/events{/privacy}",
"received_events_url": "https://api.github.com/users/drozzy/received_events",
"type": "User",
"site_admin": false
},
"body": "",
"created_at": "2016-07-01T03:30:53Z",
"updated_at": "2016-07-01T03:51:48Z",
"closed_at": null,
"merged_at": null,
"merge_commit_sha": "a8d25b134a06e7dde29d57eb661fe54bfce943cc",
"assignee": null,
"assignees": [
],
"milestone": null,
"commits_url": "https://api.github.com/repos/chovencorp/test123/pulls/2/commits",
"review_comments_url": "https://api.github.com/repos/chovencorp/test123/pulls/2/comments",
"review_comment_url": "https://api.github.com/repos/chovencorp/test123/pulls/comments{/number}",
"comments_url": "https://api.github.com/repos/chovencorp/test123/issues/2/comments",
"statuses_url": "https://api.github.com/repos/chovencorp/test123/statuses/073281234fe446c7173c017abe86c874cc706ad1",
"head": {
"label": "drozzy:master",
"ref": "master",
"sha": "073281234fe446c7173c017abe86c874cc706ad1",
"user": {
"login": "drozzy",
"id": 140710,
"avatar_url": "https://avatars.githubusercontent.com/u/140710?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/drozzy",
"html_url": "https://github.com/drozzy",
"followers_url": "https://api.github.com/users/drozzy/followers",
"following_url": "https://api.github.com/users/drozzy/following{/other_user}",
"gists_url": "https://api.github.com/users/drozzy/gists{/gist_id}",
"starred_url": "https://api.github.com/users/drozzy/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/drozzy/subscriptions",
"organizations_url": "https://api.github.com/users/drozzy/orgs",
"repos_url": "https://api.github.com/users/drozzy/repos",
"events_url": "https://api.github.com/users/drozzy/events{/privacy}",
"received_events_url": "https://api.github.com/users/drozzy/received_events",
"type": "User",
"site_admin": false
},
"repo": {
"id": 62035160,
"name": "test123",
"full_name": "drozzy/test123",
"owner": {
"login": "drozzy",
"id": 140710,
"avatar_url": "https://avatars.githubusercontent.com/u/140710?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/drozzy",
"html_url": "https://github.com/drozzy",
"followers_url": "https://api.github.com/users/drozzy/followers",
"following_url": "https://api.github.com/users/drozzy/following{/other_user}",
"gists_url": "https://api.github.com/users/drozzy/gists{/gist_id}",
"starred_url": "https://api.github.com/users/drozzy/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/drozzy/subscriptions",
"organizations_url": "https://api.github.com/users/drozzy/orgs",
"repos_url": "https://api.github.com/users/drozzy/repos",
"events_url": "https://api.github.com/users/drozzy/events{/privacy}",
"received_events_url": "https://api.github.com/users/drozzy/received_events",
"type": "User",
"site_admin": false
},
"private": false,
"html_url": "https://github.com/drozzy/test123",
"description": null,
"fork": true,
"url": "https://api.github.com/repos/drozzy/test123",
"forks_url": "https://api.github.com/repos/drozzy/test123/forks",
"keys_url": "https://api.github.com/repos/drozzy/test123/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/drozzy/test123/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/drozzy/test123/teams",
"hooks_url": "https://api.github.com/repos/drozzy/test123/hooks",
"issue_events_url": "https://api.github.com/repos/drozzy/test123/issues/events{/number}",
"events_url": "https://api.github.com/repos/drozzy/test123/events",
"assignees_url": "https://api.github.com/repos/drozzy/test123/assignees{/user}",
"branches_url": "https://api.github.com/repos/drozzy/test123/branches{/branch}",
"tags_url": "https://api.github.com/repos/drozzy/test123/tags",
"blobs_url": "https://api.github.com/repos/drozzy/test123/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/drozzy/test123/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/drozzy/test123/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/drozzy/test123/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/drozzy/test123/statuses/{sha}",
"languages_url": "https://api.github.com/repos/drozzy/test123/languages",
"stargazers_url": "https://api.github.com/repos/drozzy/test123/stargazers",
"contributors_url": "https://api.github.com/repos/drozzy/test123/contributors",
"subscribers_url": "https://api.github.com/repos/drozzy/test123/subscribers",
"subscription_url": "https://api.github.com/repos/drozzy/test123/subscription",
"commits_url": "https://api.github.com/repos/drozzy/test123/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/drozzy/test123/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/drozzy/test123/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/drozzy/test123/issues/comments{/number}",
"contents_url": "https://api.github.com/repos/drozzy/test123/contents/{+path}",
"compare_url": "https://api.github.com/repos/drozzy/test123/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/drozzy/test123/merges",
"archive_url": "https://api.github.com/repos/drozzy/test123/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/drozzy/test123/downloads",
"issues_url": "https://api.github.com/repos/drozzy/test123/issues{/number}",
"pulls_url": "https://api.github.com/repos/drozzy/test123/pulls{/number}",
"milestones_url": "https://api.github.com/repos/drozzy/test123/milestones{/number}",
"notifications_url": "https://api.github.com/repos/drozzy/test123/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/drozzy/test123/labels{/name}",
"releases_url": "https://api.github.com/repos/drozzy/test123/releases{/id}",
"deployments_url": "https://api.github.com/repos/drozzy/test123/deployments",
"created_at": "2016-06-27T07:37:11Z",
"updated_at": "2016-06-27T07:36:57Z",
"pushed_at": "2016-07-01T03:30:23Z",
"git_url": "git://github.com/drozzy/test123.git",
"ssh_url": "git@github.com:drozzy/test123.git",
"clone_url": "https://github.com/drozzy/test123.git",
"svn_url": "https://github.com/drozzy/test123",
"homepage": null,
"size": 4,
"stargazers_count": 0,
"watchers_count": 0,
"language": null,
"has_issues": false,
"has_downloads": true,
"has_wiki": true,
"has_pages": false,
"forks_count": 0,
"mirror_url": null,
"open_issues_count": 0,
"forks": 0,
"open_issues": 0,
"watchers": 0,
"default_branch": "master"
}
},
"base": {
"label": "chovencorp:master",
"ref": "master",
"sha": "c57d6d11caddec788f54f1a48cb541547c2c14df",
"user": {
"login": "chovencorp",
"id": 20158289,
"avatar_url": "https://avatars.githubusercontent.com/u/20158289?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/chovencorp",
"html_url": "https://github.com/chovencorp",
"followers_url": "https://api.github.com/users/chovencorp/followers",
"following_url": "https://api.github.com/users/chovencorp/following{/other_user}",
"gists_url": "https://api.github.com/users/chovencorp/gists{/gist_id}",
"starred_url": "https://api.github.com/users/chovencorp/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/chovencorp/subscriptions",
"organizations_url": "https://api.github.com/users/chovencorp/orgs",
"repos_url": "https://api.github.com/users/chovencorp/repos",
"events_url": "https://api.github.com/users/chovencorp/events{/privacy}",
"received_events_url": "https://api.github.com/users/chovencorp/received_events",
"type": "Organization",
"site_admin": false
},
"repo": {
"id": 62035137,
"name": "test123",
"full_name": "chovencorp/test123",
"owner": {
"login": "chovencorp",
"id": 20158289,
"avatar_url": "https://avatars.githubusercontent.com/u/20158289?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/chovencorp",
"html_url": "https://github.com/chovencorp",
"followers_url": "https://api.github.com/users/chovencorp/followers",
"following_url": "https://api.github.com/users/chovencorp/following{/other_user}",
"gists_url": "https://api.github.com/users/chovencorp/gists{/gist_id}",
"starred_url": "https://api.github.com/users/chovencorp/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/chovencorp/subscriptions",
"organizations_url": "https://api.github.com/users/chovencorp/orgs",
"repos_url": "https://api.github.com/users/chovencorp/repos",
"events_url": "https://api.github.com/users/chovencorp/events{/privacy}",
"received_events_url": "https://api.github.com/users/chovencorp/received_events",
"type": "Organization",
"site_admin": false
},
"private": false,
"html_url": "https://github.com/chovencorp/test123",
"description": null,
"fork": false,
"url": "https://api.github.com/repos/chovencorp/test123",
"forks_url": "https://api.github.com/repos/chovencorp/test123/forks",
"keys_url": "https://api.github.com/repos/chovencorp/test123/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/chovencorp/test123/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/chovencorp/test123/teams",
"hooks_url": "https://api.github.com/repos/chovencorp/test123/hooks",
"issue_events_url": "https://api.github.com/repos/chovencorp/test123/issues/events{/number}",
"events_url": "https://api.github.com/repos/chovencorp/test123/events",
"assignees_url": "https://api.github.com/repos/chovencorp/test123/assignees{/user}",
"branches_url": "https://api.github.com/repos/chovencorp/test123/branches{/branch}",
"tags_url": "https://api.github.com/repos/chovencorp/test123/tags",
"blobs_url": "https://api.github.com/repos/chovencorp/test123/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/chovencorp/test123/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/chovencorp/test123/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/chovencorp/test123/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/chovencorp/test123/statuses/{sha}",
"languages_url": "https://api.github.com/repos/chovencorp/test123/languages",
"stargazers_url": "https://api.github.com/repos/chovencorp/test123/stargazers",
"contributors_url": "https://api.github.com/repos/chovencorp/test123/contributors",
"subscribers_url": "https://api.github.com/repos/chovencorp/test123/subscribers",
"subscription_url": "https://api.github.com/repos/chovencorp/test123/subscription",
"commits_url": "https://api.github.com/repos/chovencorp/test123/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/chovencorp/test123/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/chovencorp/test123/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/chovencorp/test123/issues/comments{/number}",
"contents_url": "https://api.github.com/repos/chovencorp/test123/contents/{+path}",
"compare_url": "https://api.github.com/repos/chovencorp/test123/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/chovencorp/test123/merges",
"archive_url": "https://api.github.com/repos/chovencorp/test123/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/chovencorp/test123/downloads",
"issues_url": "https://api.github.com/repos/chovencorp/test123/issues{/number}",
"pulls_url": "https://api.github.com/repos/chovencorp/test123/pulls{/number}",
"milestones_url": "https://api.github.com/repos/chovencorp/test123/milestones{/number}",
"notifications_url": "https://api.github.com/repos/chovencorp/test123/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/chovencorp/test123/labels{/name}",
"releases_url": "https://api.github.com/repos/chovencorp/test123/releases{/id}",
"deployments_url": "https://api.github.com/repos/chovencorp/test123/deployments",
"created_at": "2016-06-27T07:36:57Z",
"updated_at": "2016-06-27T07:36:57Z",
"pushed_at": "2016-07-01T03:30:53Z",
"git_url": "git://github.com/chovencorp/test123.git",
"ssh_url": "git@github.com:chovencorp/test123.git",
"clone_url": "https://github.com/chovencorp/test123.git",
"svn_url": "https://github.com/chovencorp/test123",
"homepage": null,
"size": 4,
"stargazers_count": 0,
"watchers_count": 0,
"language": null,
"has_issues": true,
"has_downloads": true,
"has_wiki": true,
"has_pages": false,
"forks_count": 1,
"mirror_url": null,
"open_issues_count": 1,
"forks": 1,
"open_issues": 1,
"watchers": 0,
"default_branch": "master"
}
},
"_links": {
"self": {
"href": "https://api.github.com/repos/chovencorp/test123/pulls/2"
},
"html": {
"href": "https://github.com/chovencorp/test123/pull/2"
},
"issue": {
"href": "https://api.github.com/repos/chovencorp/test123/issues/2"
},
"comments": {
"href": "https://api.github.com/repos/chovencorp/test123/issues/2/comments"
},
"review_comments": {
"href": "https://api.github.com/repos/chovencorp/test123/pulls/2/comments"
},
"review_comment": {
"href": "https://api.github.com/repos/chovencorp/test123/pulls/comments{/number}"
},
"commits": {
"href": "https://api.github.com/repos/chovencorp/test123/pulls/2/commits"
},
"statuses": {
"href": "https://api.github.com/repos/chovencorp/test123/statuses/073281234fe446c7173c017abe86c874cc706ad1"
}
},
"merged": false,
"mergeable": true,
"mergeable_state": "clean",
"merged_by": null,
"comments": 0,
"review_comments": 0,
"commits": 1,
"additions": 1,
"deletions": 0,
"changed_files": 1
},
"repository": {
"id": 62035137,
"name": "test123",
"full_name": "chovencorp/test123",
"owner": {
"login": "chovencorp",
"id": 20158289,
"avatar_url": "https://avatars.githubusercontent.com/u/20158289?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/chovencorp",
"html_url": "https://github.com/chovencorp",
"followers_url": "https://api.github.com/users/chovencorp/followers",
"following_url": "https://api.github.com/users/chovencorp/following{/other_user}",
"gists_url": "https://api.github.com/users/chovencorp/gists{/gist_id}",
"starred_url": "https://api.github.com/users/chovencorp/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/chovencorp/subscriptions",
"organizations_url": "https://api.github.com/users/chovencorp/orgs",
"repos_url": "https://api.github.com/users/chovencorp/repos",
"events_url": "https://api.github.com/users/chovencorp/events{/privacy}",
"received_events_url": "https://api.github.com/users/chovencorp/received_events",
"type": "Organization",
"site_admin": false
},
"private": false,
"html_url": "https://github.com/chovencorp/test123",
"description": null,
"fork": false,
"url": "https://api.github.com/repos/chovencorp/test123",
"forks_url": "https://api.github.com/repos/chovencorp/test123/forks",
"keys_url": "https://api.github.com/repos/chovencorp/test123/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/chovencorp/test123/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/chovencorp/test123/teams",
"hooks_url": "https://api.github.com/repos/chovencorp/test123/hooks",
"issue_events_url": "https://api.github.com/repos/chovencorp/test123/issues/events{/number}",
"events_url": "https://api.github.com/repos/chovencorp/test123/events",
"assignees_url": "https://api.github.com/repos/chovencorp/test123/assignees{/user}",
"branches_url": "https://api.github.com/repos/chovencorp/test123/branches{/branch}",
"tags_url": "https://api.github.com/repos/chovencorp/test123/tags",
"blobs_url": "https://api.github.com/repos/chovencorp/test123/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/chovencorp/test123/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/chovencorp/test123/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/chovencorp/test123/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/chovencorp/test123/statuses/{sha}",
"languages_url": "https://api.github.com/repos/chovencorp/test123/languages",
"stargazers_url": "https://api.github.com/repos/chovencorp/test123/stargazers",
"contributors_url": "https://api.github.com/repos/chovencorp/test123/contributors",
"subscribers_url": "https://api.github.com/repos/chovencorp/test123/subscribers",
"subscription_url": "https://api.github.com/repos/chovencorp/test123/subscription",
"commits_url": "https://api.github.com/repos/chovencorp/test123/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/chovencorp/test123/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/chovencorp/test123/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/chovencorp/test123/issues/comments{/number}",
"contents_url": "https://api.github.com/repos/chovencorp/test123/contents/{+path}",
"compare_url": "https://api.github.com/repos/chovencorp/test123/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/chovencorp/test123/merges",
"archive_url": "https://api.github.com/repos/chovencorp/test123/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/chovencorp/test123/downloads",
"issues_url": "https://api.github.com/repos/chovencorp/test123/issues{/number}",
"pulls_url": "https://api.github.com/repos/chovencorp/test123/pulls{/number}",
"milestones_url": "https://api.github.com/repos/chovencorp/test123/milestones{/number}",
"notifications_url": "https://api.github.com/repos/chovencorp/test123/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/chovencorp/test123/labels{/name}",
"releases_url": "https://api.github.com/repos/chovencorp/test123/releases{/id}",
"deployments_url": "https://api.github.com/repos/chovencorp/test123/deployments",
"created_at": "2016-06-27T07:36:57Z",
"updated_at": "2016-06-27T07:36:57Z",
"pushed_at": "2016-07-01T03:30:53Z",
"git_url": "git://github.com/chovencorp/test123.git",
"ssh_url": "git@github.com:chovencorp/test123.git",
"clone_url": "https://github.com/chovencorp/test123.git",
"svn_url": "https://github.com/chovencorp/test123",
"homepage": null,
"size": 4,
"stargazers_count": 0,
"watchers_count": 0,
"language": null,
"has_issues": true,
"has_downloads": true,
"has_wiki": true,
"has_pages": false,
"forks_count": 1,
"mirror_url": null,
"open_issues_count": 1,
"forks": 1,
"open_issues": 1,
"watchers": 0,
"default_branch": "master"
},
"organization": {
"login": "chovencorp",
"id": 20158289,
"url": "https://api.github.com/orgs/chovencorp",
"repos_url": "https://api.github.com/orgs/chovencorp/repos",
"events_url": "https://api.github.com/orgs/chovencorp/events",
"hooks_url": "https://api.github.com/orgs/chovencorp/hooks",
"issues_url": "https://api.github.com/orgs/chovencorp/issues",
"members_url": "https://api.github.com/orgs/chovencorp/members{/member}",
"public_members_url": "https://api.github.com/orgs/chovencorp/public_members{/member}",
"avatar_url": "https://avatars.githubusercontent.com/u/20158289?v=3",
"description": null
},
"sender": {
"login": "drozzy",
"id": 140710,
"avatar_url": "https://avatars.githubusercontent.com/u/140710?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/drozzy",
"html_url": "https://github.com/drozzy",
"followers_url": "https://api.github.com/users/drozzy/followers",
"following_url": "https://api.github.com/users/drozzy/following{/other_user}",
"gists_url": "https://api.github.com/users/drozzy/gists{/gist_id}",
"starred_url": "https://api.github.com/users/drozzy/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/drozzy/subscriptions",
"organizations_url": "https://api.github.com/users/drozzy/orgs",
"repos_url": "https://api.github.com/users/drozzy/repos",
"events_url": "https://api.github.com/users/drozzy/events{/privacy}",
"received_events_url": "https://api.github.com/users/drozzy/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
You can’t perform that action at this time.