{"action":"closed","number":218,"pull_request":{"url":"https://api.github.com/repos/mikedeboer/node-github/pulls/218","id":26780759,"html_url":"https://github.com/mikedeboer/node-github/pull/218","diff_url":"https://github.com/mikedeboer/node-github/pull/218.diff","patch_url":"https://github.com/mikedeboer/node-github/pull/218.patch","issue_url":"https://api.github.com/repos/mikedeboer/node-github/issues/218","number":218,"state":"closed","locked":false,"title":"Add pull request filter by head and base","user":{"login":"guilro","id":301998,"avatar_url":"https://avatars.githubusercontent.com/u/301998?v=3","gravatar_id":"","url":"https://api.github.com/users/guilro","html_url":"https://github.com/guilro","followers_url":"https://api.github.com/users/guilro/followers","following_url":"https://api.github.com/users/guilro/following{/other_user}","gists_url":"https://api.github.com/users/guilro/gists{/gist_id}","starred_url":"https://api.github.com/users/guilro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guilro/subscriptions","organizations_url":"https://api.github.com/users/guilro/orgs","repos_url":"https://api.github.com/users/guilro/repos","events_url":"https://api.github.com/users/guilro/events{/privacy}","received_events_url":"https://api.github.com/users/guilro/received_events","type":"User","site_admin":false},"body":"According to https://developer.github.com/v3/pulls/#list-pull-requests this change allow to filter PR by head and base.","created_at":"2015-01-03T08:14:41Z","updated_at":"2015-01-26T09:49:44Z","closed_at":"2015-01-26T09:49:44Z","merged_at":"2015-01-26T09:49:44Z","merge_commit_sha":"84704be4075ca8b85d4b78b0ba0654be89db2b5c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mikedeboer/node-github/pulls/218/commits","review_comments_url":"https://api.github.com/repos/mikedeboer/node-github/pulls/218/comments","review_comment_url":"https://api.github.com/repos/mikedeboer/node-github/pulls/comments/{number}","comments_url":"https://api.github.com/repos/mikedeboer/node-github/issues/218/comments","statuses_url":"https://api.github.com/repos/mikedeboer/node-github/statuses/f4ae86941edf0ed547dbd36c2758984de541a12f","head":{"label":"guilro:pull-request-filter","ref":"pull-request-filter","sha":"f4ae86941edf0ed547dbd36c2758984de541a12f","user":{"login":"guilro","id":301998,"avatar_url":"https://avatars.githubusercontent.com/u/301998?v=3","gravatar_id":"","url":"https://api.github.com/users/guilro","html_url":"https://github.com/guilro","followers_url":"https://api.github.com/users/guilro/followers","following_url":"https://api.github.com/users/guilro/following{/other_user}","gists_url":"https://api.github.com/users/guilro/gists{/gist_id}","starred_url":"https://api.github.com/users/guilro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guilro/subscriptions","organizations_url":"https://api.github.com/users/guilro/orgs","repos_url":"https://api.github.com/users/guilro/repos","events_url":"https://api.github.com/users/guilro/events{/privacy}","received_events_url":"https://api.github.com/users/guilro/received_events","type":"User","site_admin":false},"repo":{"id":28738423,"name":"node-github","full_name":"guilro/node-github","owner":{"login":"guilro","id":301998,"avatar_url":"https://avatars.githubusercontent.com/u/301998?v=3","gravatar_id":"","url":"https://api.github.com/users/guilro","html_url":"https://github.com/guilro","followers_url":"https://api.github.com/users/guilro/followers","following_url":"https://api.github.com/users/guilro/following{/other_user}","gists_url":"https://api.github.com/users/guilro/gists{/gist_id}","starred_url":"https://api.github.com/users/guilro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guilro/subscriptions","organizations_url":"https://api.github.com/users/guilro/orgs","repos_url":"https://api.github.com/users/guilro/repos","events_url":"https://api.github.com/users/guilro/events{/privacy}","received_events_url":"https://api.github.com/users/guilro/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/guilro/node-github","description":"node library to access the GitHub API","fork":true,"url":"https://api.github.com/repos/guilro/node-github","forks_url":"https://api.github.com/repos/guilro/node-github/forks","keys_url":"https://api.github.com/repos/guilro/node-github/keys{/key_id}","collaborators_url":"https://api.github.com/repos/guilro/node-github/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/guilro/node-github/teams","hooks_url":"https://api.github.com/repos/guilro/node-github/hooks","issue_events_url":"https://api.github.com/repos/guilro/node-github/issues/events{/number}","events_url":"https://api.github.com/repos/guilro/node-github/events","assignees_url":"https://api.github.com/repos/guilro/node-github/assignees{/user}","branches_url":"https://api.github.com/repos/guilro/node-github/branches{/branch}","tags_url":"https://api.github.com/repos/guilro/node-github/tags","blobs_url":"https://api.github.com/repos/guilro/node-github/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/guilro/node-github/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/guilro/node-github/git/refs{/sha}","trees_url":"https://api.github.com/repos/guilro/node-github/git/trees{/sha}","statuses_url":"https://api.github.com/repos/guilro/node-github/statuses/{sha}","languages_url":"https://api.github.com/repos/guilro/node-github/languages","stargazers_url":"https://api.github.com/repos/guilro/node-github/stargazers","contributors_url":"https://api.github.com/repos/guilro/node-github/contributors","subscribers_url":"https://api.github.com/repos/guilro/node-github/subscribers","subscription_url":"https://api.github.com/repos/guilro/node-github/subscription","commits_url":"https://api.github.com/repos/guilro/node-github/commits{/sha}","git_commits_url":"https://api.github.com/repos/guilro/node-github/git/commits{/sha}","comments_url":"https://api.github.com/repos/guilro/node-github/comments{/number}","issue_comment_url":"https://api.github.com/repos/guilro/node-github/issues/comments/{number}","contents_url":"https://api.github.com/repos/guilro/node-github/contents/{+path}","compare_url":"https://api.github.com/repos/guilro/node-github/compare/{base}...{head}","merges_url":"https://api.github.com/repos/guilro/node-github/merges","archive_url":"https://api.github.com/repos/guilro/node-github/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/guilro/node-github/downloads","issues_url":"https://api.github.com/repos/guilro/node-github/issues{/number}","pulls_url":"https://api.github.com/repos/guilro/node-github/pulls{/number}","milestones_url":"https://api.github.com/repos/guilro/node-github/milestones{/number}","notifications_url":"https://api.github.com/repos/guilro/node-github/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/guilro/node-github/labels{/name}","releases_url":"https://api.github.com/repos/guilro/node-github/releases{/id}","created_at":"2015-01-03T07:58:52Z","updated_at":"2015-01-03T07:58:53Z","pushed_at":"2015-01-03T08:00:35Z","git_url":"git://github.com/guilro/node-github.git","ssh_url":"git@github.com:guilro/node-github.git","clone_url":"https://github.com/guilro/node-github.git","svn_url":"https://github.com/guilro/node-github","homepage":"http://mikedeboer.github.com/node-github/","size":1155,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mikedeboer:master","ref":"master","sha":"f841677f3ad3bca82e8143b7b09c05d78cbc8657","user":{"login":"mikedeboer","id":141571,"avatar_url":"https://avatars.githubusercontent.com/u/141571?v=3","gravatar_id":"","url":"https://api.github.com/users/mikedeboer","html_url":"https://github.com/mikedeboer","followers_url":"https://api.github.com/users/mikedeboer/followers","following_url":"https://api.github.com/users/mikedeboer/following{/other_user}","gists_url":"https://api.github.com/users/mikedeboer/gists{/gist_id}","starred_url":"https://api.github.com/users/mikedeboer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikedeboer/subscriptions","organizations_url":"https://api.github.com/users/mikedeboer/orgs","repos_url":"https://api.github.com/users/mikedeboer/repos","events_url":"https://api.github.com/users/mikedeboer/events{/privacy}","received_events_url":"https://api.github.com/users/mikedeboer/received_events","type":"User","site_admin":false},"repo":{"id":711976,"name":"node-github","full_name":"mikedeboer/node-github","owner":{"login":"mikedeboer","id":141571,"avatar_url":"https://avatars.githubusercontent.com/u/141571?v=3","gravatar_id":"","url":"https://api.github.com/users/mikedeboer","html_url":"https://github.com/mikedeboer","followers_url":"https://api.github.com/users/mikedeboer/followers","following_url":"https://api.github.com/users/mikedeboer/following{/other_user}","gists_url":"https://api.github.com/users/mikedeboer/gists{/gist_id}","starred_url":"https://api.github.com/users/mikedeboer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikedeboer/subscriptions","organizations_url":"https://api.github.com/users/mikedeboer/orgs","repos_url":"https://api.github.com/users/mikedeboer/repos","events_url":"https://api.github.com/users/mikedeboer/events{/privacy}","received_events_url":"https://api.github.com/users/mikedeboer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mikedeboer/node-github","description":"node library to access the GitHub API","fork":false,"url":"https://api.github.com/repos/mikedeboer/node-github","forks_url":"https://api.github.com/repos/mikedeboer/node-github/forks","keys_url":"https://api.github.com/repos/mikedeboer/node-github/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mikedeboer/node-github/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mikedeboer/node-github/teams","hooks_url":"https://api.github.com/repos/mikedeboer/node-github/hooks","issue_events_url":"https://api.github.com/repos/mikedeboer/node-github/issues/events{/number}","events_url":"https://api.github.com/repos/mikedeboer/node-github/events","assignees_url":"https://api.github.com/repos/mikedeboer/node-github/assignees{/user}","branches_url":"https://api.github.com/repos/mikedeboer/node-github/branches{/branch}","tags_url":"https://api.github.com/repos/mikedeboer/node-github/tags","blobs_url":"https://api.github.com/repos/mikedeboer/node-github/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mikedeboer/node-github/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mikedeboer/node-github/git/refs{/sha}","trees_url":"https://api.github.com/repos/mikedeboer/node-github/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mikedeboer/node-github/statuses/{sha}","languages_url":"https://api.github.com/repos/mikedeboer/node-github/languages","stargazers_url":"https://api.github.com/repos/mikedeboer/node-github/stargazers","contributors_url":"https://api.github.com/repos/mikedeboer/node-github/contributors","subscribers_url":"https://api.github.com/repos/mikedeboer/node-github/subscribers","subscription_url":"https://api.github.com/repos/mikedeboer/node-github/subscription","commits_url":"https://api.github.com/repos/mikedeboer/node-github/commits{/sha}","git_commits_url":"https://api.github.com/repos/mikedeboer/node-github/git/commits{/sha}","comments_url":"https://api.github.com/repos/mikedeboer/node-github/comments{/number}","issue_comment_url":"https://api.github.com/repos/mikedeboer/node-github/issues/comments/{number}","contents_url":"https://api.github.com/repos/mikedeboer/node-github/contents/{+path}","compare_url":"https://api.github.com/repos/mikedeboer/node-github/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mikedeboer/node-github/merges","archive_url":"https://api.github.com/repos/mikedeboer/node-github/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mikedeboer/node-github/downloads","issues_url":"https://api.github.com/repos/mikedeboer/node-github/issues{/number}","pulls_url":"https://api.github.com/repos/mikedeboer/node-github/pulls{/number}","milestones_url":"https://api.github.com/repos/mikedeboer/node-github/milestones{/number}","notifications_url":"https://api.github.com/repos/mikedeboer/node-github/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mikedeboer/node-github/labels{/name}","releases_url":"https://api.github.com/repos/mikedeboer/node-github/releases{/id}","created_at":"2010-06-09T17:07:03Z","updated_at":"2015-01-26T09:48:46Z","pushed_at":"2015-01-26T09:49:44Z","git_url":"git://github.com/mikedeboer/node-github.git","ssh_url":"git@github.com:mikedeboer/node-github.git","clone_url":"https://github.com/mikedeboer/node-github.git","svn_url":"https://github.com/mikedeboer/node-github","homepage":"http://mikedeboer.github.com/node-github/","size":2840,"stargazers_count":790,"watchers_count":790,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":184,"mirror_url":null,"open_issues_count":67,"forks":184,"open_issues":67,"watchers":790,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mikedeboer/node-github/pulls/218"},"html":{"href":"https://github.com/mikedeboer/node-github/pull/218"},"issue":{"href":"https://api.github.com/repos/mikedeboer/node-github/issues/218"},"comments":{"href":"https://api.github.com/repos/mikedeboer/node-github/issues/218/comments"},"review_comments":{"href":"https://api.github.com/repos/mikedeboer/node-github/pulls/218/comments"},"review_comment":{"href":"https://api.github.com/repos/mikedeboer/node-github/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/mikedeboer/node-github/pulls/218/commits"},"statuses":{"href":"https://api.github.com/repos/mikedeboer/node-github/statuses/f4ae86941edf0ed547dbd36c2758984de541a12f"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"mikedeboer","id":141571,"avatar_url":"https://avatars.githubusercontent.com/u/141571?v=3","gravatar_id":"","url":"https://api.github.com/users/mikedeboer","html_url":"https://github.com/mikedeboer","followers_url":"https://api.github.com/users/mikedeboer/followers","following_url":"https://api.github.com/users/mikedeboer/following{/other_user}","gists_url":"https://api.github.com/users/mikedeboer/gists{/gist_id}","starred_url":"https://api.github.com/users/mikedeboer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikedeboer/subscriptions","organizations_url":"https://api.github.com/users/mikedeboer/orgs","repos_url":"https://api.github.com/users/mikedeboer/repos","events_url":"https://api.github.com/users/mikedeboer/events{/privacy}","received_events_url":"https://api.github.com/users/mikedeboer/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":6,"deletions":0,"changed_files":3}}