{ "action": "opened", "number": 2, "pull_request": { "url": "https://api.github.com/repos/joker1007/octogate/pulls/2", "id": 13092314, "html_url": "https://github.com/joker1007/octogate/pull/2", "diff_url": "https://github.com/joker1007/octogate/pull/2.diff", "patch_url": "https://github.com/joker1007/octogate/pull/2.patch", "issue_url": "https://api.github.com/repos/joker1007/octogate/issues/2", "number": 2, "state": "open", "title": "PullRequest Eventのフックに対応する", "user": { "login": "joker1007", "id": 116996, "avatar_url": "https://avatars.githubusercontent.com/u/116996", "gravatar_id": "a5e5ee2fb9e4ce3c728ed9e3ef6e916f", "url": "https://api.github.com/users/joker1007", "html_url": "https://github.com/joker1007", "followers_url": "https://api.github.com/users/joker1007/followers", "following_url": "https://api.github.com/users/joker1007/following{/other_user}", "gists_url": "https://api.github.com/users/joker1007/gists{/gist_id}", "starred_url": "https://api.github.com/users/joker1007/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/joker1007/subscriptions", "organizations_url": "https://api.github.com/users/joker1007/orgs", "repos_url": "https://api.github.com/users/joker1007/repos", "events_url": "https://api.github.com/users/joker1007/events{/privacy}", "received_events_url": "https://api.github.com/users/joker1007/received_events", "type": "User", "site_admin": false }, "body": null, "created_at": "2014-03-02T14:09:01Z", "updated_at": "2014-03-02T14:09:01Z", "closed_at": null, "merged_at": null, "merge_commit_sha": null, "assignee": null, "milestone": null, "commits_url": "https://api.github.com/repos/joker1007/octogate/pulls/2/commits", "review_comments_url": "https://api.github.com/repos/joker1007/octogate/pulls/2/comments", "review_comment_url": "https://api.github.com/repos/joker1007/octogate/pulls/comments/{number}", "comments_url": "https://api.github.com/repos/joker1007/octogate/issues/2/comments", "statuses_url": "https://api.github.com/repos/joker1007/octogate/statuses/2e4c627e285b3c09993f5ef50fbe8de5481f48a3", "head": { "label": "joker1007:add_pull_request_event", "ref": "add_pull_request_event", "sha": "2e4c627e285b3c09993f5ef50fbe8de5481f48a3", "user": { "login": "joker1007", "id": 116996, "avatar_url": "https://avatars.githubusercontent.com/u/116996", "gravatar_id": "a5e5ee2fb9e4ce3c728ed9e3ef6e916f", "url": "https://api.github.com/users/joker1007", "html_url": "https://github.com/joker1007", "followers_url": "https://api.github.com/users/joker1007/followers", "following_url": "https://api.github.com/users/joker1007/following{/other_user}", "gists_url": "https://api.github.com/users/joker1007/gists{/gist_id}", "starred_url": "https://api.github.com/users/joker1007/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/joker1007/subscriptions", "organizations_url": "https://api.github.com/users/joker1007/orgs", "repos_url": "https://api.github.com/users/joker1007/repos", "events_url": "https://api.github.com/users/joker1007/events{/privacy}", "received_events_url": "https://api.github.com/users/joker1007/received_events", "type": "User", "site_admin": false }, "repo": { "id": 17311500, "name": "octogate", "full_name": "joker1007/octogate", "owner": { "login": "joker1007", "id": 116996, "avatar_url": "https://avatars.githubusercontent.com/u/116996", "gravatar_id": "a5e5ee2fb9e4ce3c728ed9e3ef6e916f", "url": "https://api.github.com/users/joker1007", "html_url": "https://github.com/joker1007", "followers_url": "https://api.github.com/users/joker1007/followers", "following_url": "https://api.github.com/users/joker1007/following{/other_user}", "gists_url": "https://api.github.com/users/joker1007/gists{/gist_id}", "starred_url": "https://api.github.com/users/joker1007/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/joker1007/subscriptions", "organizations_url": "https://api.github.com/users/joker1007/orgs", "repos_url": "https://api.github.com/users/joker1007/repos", "events_url": "https://api.github.com/users/joker1007/events{/privacy}", "received_events_url": "https://api.github.com/users/joker1007/received_events", "type": "User", "site_admin": false }, "private": false, "html_url": "https://github.com/joker1007/octogate", "description": "Github hook proxy server", "fork": false, "url": "https://api.github.com/repos/joker1007/octogate", "forks_url": "https://api.github.com/repos/joker1007/octogate/forks", "keys_url": "https://api.github.com/repos/joker1007/octogate/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/joker1007/octogate/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/joker1007/octogate/teams", "hooks_url": "https://api.github.com/repos/joker1007/octogate/hooks", "issue_events_url": "https://api.github.com/repos/joker1007/octogate/issues/events{/number}", "events_url": "https://api.github.com/repos/joker1007/octogate/events", "assignees_url": "https://api.github.com/repos/joker1007/octogate/assignees{/user}", "branches_url": "https://api.github.com/repos/joker1007/octogate/branches{/branch}", "tags_url": "https://api.github.com/repos/joker1007/octogate/tags", "blobs_url": "https://api.github.com/repos/joker1007/octogate/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/joker1007/octogate/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/joker1007/octogate/git/refs{/sha}", "trees_url": "https://api.github.com/repos/joker1007/octogate/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/joker1007/octogate/statuses/{sha}", "languages_url": "https://api.github.com/repos/joker1007/octogate/languages", "stargazers_url": "https://api.github.com/repos/joker1007/octogate/stargazers", "contributors_url": "https://api.github.com/repos/joker1007/octogate/contributors", "subscribers_url": "https://api.github.com/repos/joker1007/octogate/subscribers", "subscription_url": "https://api.github.com/repos/joker1007/octogate/subscription", "commits_url": "https://api.github.com/repos/joker1007/octogate/commits{/sha}", "git_commits_url": "https://api.github.com/repos/joker1007/octogate/git/commits{/sha}", "comments_url": "https://api.github.com/repos/joker1007/octogate/comments{/number}", "issue_comment_url": "https://api.github.com/repos/joker1007/octogate/issues/comments/{number}", "contents_url": "https://api.github.com/repos/joker1007/octogate/contents/{+path}", "compare_url": "https://api.github.com/repos/joker1007/octogate/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/joker1007/octogate/merges", "archive_url": "https://api.github.com/repos/joker1007/octogate/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/joker1007/octogate/downloads", "issues_url": "https://api.github.com/repos/joker1007/octogate/issues{/number}", "pulls_url": "https://api.github.com/repos/joker1007/octogate/pulls{/number}", "milestones_url": "https://api.github.com/repos/joker1007/octogate/milestones{/number}", "notifications_url": "https://api.github.com/repos/joker1007/octogate/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/joker1007/octogate/labels{/name}", "releases_url": "https://api.github.com/repos/joker1007/octogate/releases{/id}", "created_at": "2014-03-01T09:02:12Z", "updated_at": "2014-03-02T14:09:02Z", "pushed_at": "2014-03-02T14:06:51Z", "git_url": "git://github.com/joker1007/octogate.git", "ssh_url": "git@github.com:joker1007/octogate.git", "clone_url": "https://github.com/joker1007/octogate.git", "svn_url": "https://github.com/joker1007/octogate", "homepage": "", "size": 0, "stargazers_count": 0, "watchers_count": 0, "language": "Ruby", "has_issues": true, "has_downloads": true, "has_wiki": true, "forks_count": 0, "mirror_url": null, "open_issues_count": 1, "forks": 0, "open_issues": 1, "watchers": 0, "default_branch": "master", "master_branch": "master" } }, "base": { "label": "joker1007:master", "ref": "master", "sha": "e0d504451c33d160f67e6dad83f95e4c6e1c2886", "user": { "login": "joker1007", "id": 116996, "avatar_url": "https://avatars.githubusercontent.com/u/116996", "gravatar_id": "a5e5ee2fb9e4ce3c728ed9e3ef6e916f", "url": "https://api.github.com/users/joker1007", "html_url": "https://github.com/joker1007", "followers_url": "https://api.github.com/users/joker1007/followers", "following_url": "https://api.github.com/users/joker1007/following{/other_user}", "gists_url": "https://api.github.com/users/joker1007/gists{/gist_id}", "starred_url": "https://api.github.com/users/joker1007/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/joker1007/subscriptions", "organizations_url": "https://api.github.com/users/joker1007/orgs", "repos_url": "https://api.github.com/users/joker1007/repos", "events_url": "https://api.github.com/users/joker1007/events{/privacy}", "received_events_url": "https://api.github.com/users/joker1007/received_events", "type": "User", "site_admin": false }, "repo": { "id": 17311500, "name": "octogate", "full_name": "joker1007/octogate", "owner": { "login": "joker1007", "id": 116996, "avatar_url": "https://avatars.githubusercontent.com/u/116996", "gravatar_id": "a5e5ee2fb9e4ce3c728ed9e3ef6e916f", "url": "https://api.github.com/users/joker1007", "html_url": "https://github.com/joker1007", "followers_url": "https://api.github.com/users/joker1007/followers", "following_url": "https://api.github.com/users/joker1007/following{/other_user}", "gists_url": "https://api.github.com/users/joker1007/gists{/gist_id}", "starred_url": "https://api.github.com/users/joker1007/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/joker1007/subscriptions", "organizations_url": "https://api.github.com/users/joker1007/orgs", "repos_url": "https://api.github.com/users/joker1007/repos", "events_url": "https://api.github.com/users/joker1007/events{/privacy}", "received_events_url": "https://api.github.com/users/joker1007/received_events", "type": "User", "site_admin": false }, "private": false, "html_url": "https://github.com/joker1007/octogate", "description": "Github hook proxy server", "fork": false, "url": "https://api.github.com/repos/joker1007/octogate", "forks_url": "https://api.github.com/repos/joker1007/octogate/forks", "keys_url": "https://api.github.com/repos/joker1007/octogate/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/joker1007/octogate/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/joker1007/octogate/teams", "hooks_url": "https://api.github.com/repos/joker1007/octogate/hooks", "issue_events_url": "https://api.github.com/repos/joker1007/octogate/issues/events{/number}", "events_url": "https://api.github.com/repos/joker1007/octogate/events", "assignees_url": "https://api.github.com/repos/joker1007/octogate/assignees{/user}", "branches_url": "https://api.github.com/repos/joker1007/octogate/branches{/branch}", "tags_url": "https://api.github.com/repos/joker1007/octogate/tags", "blobs_url": "https://api.github.com/repos/joker1007/octogate/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/joker1007/octogate/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/joker1007/octogate/git/refs{/sha}", "trees_url": "https://api.github.com/repos/joker1007/octogate/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/joker1007/octogate/statuses/{sha}", "languages_url": "https://api.github.com/repos/joker1007/octogate/languages", "stargazers_url": "https://api.github.com/repos/joker1007/octogate/stargazers", "contributors_url": "https://api.github.com/repos/joker1007/octogate/contributors", "subscribers_url": "https://api.github.com/repos/joker1007/octogate/subscribers", "subscription_url": "https://api.github.com/repos/joker1007/octogate/subscription", "commits_url": "https://api.github.com/repos/joker1007/octogate/commits{/sha}", "git_commits_url": "https://api.github.com/repos/joker1007/octogate/git/commits{/sha}", "comments_url": "https://api.github.com/repos/joker1007/octogate/comments{/number}", "issue_comment_url": "https://api.github.com/repos/joker1007/octogate/issues/comments/{number}", "contents_url": "https://api.github.com/repos/joker1007/octogate/contents/{+path}", "compare_url": "https://api.github.com/repos/joker1007/octogate/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/joker1007/octogate/merges", "archive_url": "https://api.github.com/repos/joker1007/octogate/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/joker1007/octogate/downloads", "issues_url": "https://api.github.com/repos/joker1007/octogate/issues{/number}", "pulls_url": "https://api.github.com/repos/joker1007/octogate/pulls{/number}", "milestones_url": "https://api.github.com/repos/joker1007/octogate/milestones{/number}", "notifications_url": "https://api.github.com/repos/joker1007/octogate/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/joker1007/octogate/labels{/name}", "releases_url": "https://api.github.com/repos/joker1007/octogate/releases{/id}", "created_at": "2014-03-01T09:02:12Z", "updated_at": "2014-03-02T14:09:02Z", "pushed_at": "2014-03-02T14:06:51Z", "git_url": "git://github.com/joker1007/octogate.git", "ssh_url": "git@github.com:joker1007/octogate.git", "clone_url": "https://github.com/joker1007/octogate.git", "svn_url": "https://github.com/joker1007/octogate", "homepage": "", "size": 0, "stargazers_count": 0, "watchers_count": 0, "language": "Ruby", "has_issues": true, "has_downloads": true, "has_wiki": true, "forks_count": 0, "mirror_url": null, "open_issues_count": 1, "forks": 0, "open_issues": 1, "watchers": 0, "default_branch": "master", "master_branch": "master" } }, "_links": { "self": { "href": "https://api.github.com/repos/joker1007/octogate/pulls/2" }, "html": { "href": "https://github.com/joker1007/octogate/pull/2" }, "issue": { "href": "https://api.github.com/repos/joker1007/octogate/issues/2" }, "comments": { "href": "https://api.github.com/repos/joker1007/octogate/issues/2/comments" }, "review_comments": { "href": "https://api.github.com/repos/joker1007/octogate/pulls/2/comments" }, "review_comment": { "href": "https://api.github.com/repos/joker1007/octogate/pulls/comments/{number}" }, "commits": { "href": "https://api.github.com/repos/joker1007/octogate/pulls/2/commits" }, "statuses": { "href": "https://api.github.com/repos/joker1007/octogate/statuses/2e4c627e285b3c09993f5ef50fbe8de5481f48a3" } }, "merged": false, "mergeable": null, "mergeable_state": "unknown", "merged_by": null, "comments": 0, "review_comments": 0, "commits": 1, "additions": 68, "deletions": 1, "changed_files": 7 }, "repository": { "id": 17311500, "name": "octogate", "full_name": "joker1007/octogate", "owner": { "login": "joker1007", "id": 116996, "avatar_url": "https://avatars.githubusercontent.com/u/116996", "gravatar_id": "a5e5ee2fb9e4ce3c728ed9e3ef6e916f", "url": "https://api.github.com/users/joker1007", "html_url": "https://github.com/joker1007", "followers_url": "https://api.github.com/users/joker1007/followers", "following_url": "https://api.github.com/users/joker1007/following{/other_user}", "gists_url": "https://api.github.com/users/joker1007/gists{/gist_id}", "starred_url": "https://api.github.com/users/joker1007/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/joker1007/subscriptions", "organizations_url": "https://api.github.com/users/joker1007/orgs", "repos_url": "https://api.github.com/users/joker1007/repos", "events_url": "https://api.github.com/users/joker1007/events{/privacy}", "received_events_url": "https://api.github.com/users/joker1007/received_events", "type": "User", "site_admin": false }, "private": false, "html_url": "https://github.com/joker1007/octogate", "description": "Github hook proxy server", "fork": false, "url": "https://api.github.com/repos/joker1007/octogate", "forks_url": "https://api.github.com/repos/joker1007/octogate/forks", "keys_url": "https://api.github.com/repos/joker1007/octogate/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/joker1007/octogate/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/joker1007/octogate/teams", "hooks_url": "https://api.github.com/repos/joker1007/octogate/hooks", "issue_events_url": "https://api.github.com/repos/joker1007/octogate/issues/events{/number}", "events_url": "https://api.github.com/repos/joker1007/octogate/events", "assignees_url": "https://api.github.com/repos/joker1007/octogate/assignees{/user}", "branches_url": "https://api.github.com/repos/joker1007/octogate/branches{/branch}", "tags_url": "https://api.github.com/repos/joker1007/octogate/tags", "blobs_url": "https://api.github.com/repos/joker1007/octogate/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/joker1007/octogate/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/joker1007/octogate/git/refs{/sha}", "trees_url": "https://api.github.com/repos/joker1007/octogate/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/joker1007/octogate/statuses/{sha}", "languages_url": "https://api.github.com/repos/joker1007/octogate/languages", "stargazers_url": "https://api.github.com/repos/joker1007/octogate/stargazers", "contributors_url": "https://api.github.com/repos/joker1007/octogate/contributors", "subscribers_url": "https://api.github.com/repos/joker1007/octogate/subscribers", "subscription_url": "https://api.github.com/repos/joker1007/octogate/subscription", "commits_url": "https://api.github.com/repos/joker1007/octogate/commits{/sha}", "git_commits_url": "https://api.github.com/repos/joker1007/octogate/git/commits{/sha}", "comments_url": "https://api.github.com/repos/joker1007/octogate/comments{/number}", "issue_comment_url": "https://api.github.com/repos/joker1007/octogate/issues/comments/{number}", "contents_url": "https://api.github.com/repos/joker1007/octogate/contents/{+path}", "compare_url": "https://api.github.com/repos/joker1007/octogate/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/joker1007/octogate/merges", "archive_url": "https://api.github.com/repos/joker1007/octogate/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/joker1007/octogate/downloads", "issues_url": "https://api.github.com/repos/joker1007/octogate/issues{/number}", "pulls_url": "https://api.github.com/repos/joker1007/octogate/pulls{/number}", "milestones_url": "https://api.github.com/repos/joker1007/octogate/milestones{/number}", "notifications_url": "https://api.github.com/repos/joker1007/octogate/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/joker1007/octogate/labels{/name}", "releases_url": "https://api.github.com/repos/joker1007/octogate/releases{/id}", "created_at": "2014-03-01T09:02:12Z", "updated_at": "2014-03-02T14:09:02Z", "pushed_at": "2014-03-02T14:06:51Z", "git_url": "git://github.com/joker1007/octogate.git", "ssh_url": "git@github.com:joker1007/octogate.git", "clone_url": "https://github.com/joker1007/octogate.git", "svn_url": "https://github.com/joker1007/octogate", "homepage": "", "size": 0, "stargazers_count": 0, "watchers_count": 0, "language": "Ruby", "has_issues": true, "has_downloads": true, "has_wiki": true, "forks_count": 0, "mirror_url": null, "open_issues_count": 1, "forks": 0, "open_issues": 1, "watchers": 0, "default_branch": "master", "master_branch": "master" }, "sender": { "login": "joker1007", "id": 116996, "avatar_url": "https://avatars.githubusercontent.com/u/116996", "gravatar_id": "a5e5ee2fb9e4ce3c728ed9e3ef6e916f", "url": "https://api.github.com/users/joker1007", "html_url": "https://github.com/joker1007", "followers_url": "https://api.github.com/users/joker1007/followers", "following_url": "https://api.github.com/users/joker1007/following{/other_user}", "gists_url": "https://api.github.com/users/joker1007/gists{/gist_id}", "starred_url": "https://api.github.com/users/joker1007/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/joker1007/subscriptions", "organizations_url": "https://api.github.com/users/joker1007/orgs", "repos_url": "https://api.github.com/users/joker1007/repos", "events_url": "https://api.github.com/users/joker1007/events{/privacy}", "received_events_url": "https://api.github.com/users/joker1007/received_events", "type": "User", "site_admin": false } }