https
GET
api.github.com
None
/repos/PyGithub/PyGithub/pulls/538
{'Authorization': 'Basic login_and_password_removed', 'User-Agent': 'PyGithub/Python'}
None
200
[('content-length', '16870'), ('x-runtime-rack', '0.166874'), ('vary', 'Accept, Authorization, Cookie, X-GitHub-OTP, Accept-Encoding'), ('x-oauth-scopes', 'admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion'), ('x-xss-protection', '1; mode=block'), ('x-content-type-options', 'nosniff'), ('x-accepted-oauth-scopes', ''), ('etag', '"180a414bcab1173c542017fc5a03d2d6"'), ('cache-control', 'private, max-age=60, s-maxage=60'), ('referrer-policy', 'origin-when-cross-origin, strict-origin-when-cross-origin'), ('status', '200 OK'), ('x-ratelimit-remaining', '4551'), ('x-github-media-type', 'github.v3; format=json'), ('access-control-expose-headers', 'ETag, Link, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval'), ('x-github-request-id', 'DDDA:9B6E:FB5A9F:127A623:5AB118CF'), ('last-modified', 'Tue, 20 Mar 2018 14:15:45 GMT'), ('date', 'Tue, 20 Mar 2018 14:21:04 GMT'), ('access-control-allow-origin', '*'), ('content-security-policy', "default-src 'none'"), ('strict-transport-security', 'max-age=31536000; includeSubdomains; preload'), ('server', 'GitHub.com'), ('x-ratelimit-limit', '5000'), ('x-frame-options', 'deny'), ('content-type', 'application/json; charset=utf-8'), ('x-ratelimit-reset', '1521556163')]
{"url":"https://api.github.com/repos/PyGithub/PyGithub/pulls/538","id":111649703,"html_url":"https://github.com/PyGithub/PyGithub/pull/538","diff_url":"https://github.com/PyGithub/PyGithub/pull/538.diff","patch_url":"https://github.com/PyGithub/PyGithub/pull/538.patch","issue_url":"https://api.github.com/repos/PyGithub/PyGithub/issues/538","number":538,"state":"closed","locked":false,"title":"Add Support for Pull Request Reviews feature","user":{"login":"allevin","id":13543471,"avatar_url":"https://avatars2.githubusercontent.com/u/13543471?v=4","gravatar_id":"","url":"https://api.github.com/users/allevin","html_url":"https://github.com/allevin","followers_url":"https://api.github.com/users/allevin/followers","following_url":"https://api.github.com/users/allevin/following{/other_user}","gists_url":"https://api.github.com/users/allevin/gists{/gist_id}","starred_url":"https://api.github.com/users/allevin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allevin/subscriptions","organizations_url":"https://api.github.com/users/allevin/orgs","repos_url":"https://api.github.com/users/allevin/repos","events_url":"https://api.github.com/users/allevin/events{/privacy}","received_events_url":"https://api.github.com/users/allevin/received_events","type":"User","site_admin":false},"body":"Adding support to Pull Request class to access new Github API features [Pull Request reviews](https://developer.github.com/v3/pulls/reviews/) and [Pull Request Reviewer Requests](https://developer.github.com/v3/pulls/review_requests/)\r\n\r\nThe API's is still in beta.  \r\n\r\nI approached this by providing a minimal set of routines to access the list of reviews or a specific review.  Also access to get a list of Reviewer requests.   \r\n\r\nBecause the API is still early in Beta, I choose not to implement the create/delete/edit features, but the infrastructure should be in place for future improvements.\r\n\r\n","created_at":"2017-03-20T21:00:37Z","updated_at":"2018-03-20T14:15:45Z","closed_at":"2017-03-25T16:52:49Z","merged_at":"2017-03-25T16:52:49Z","merge_commit_sha":"2525515b094d7425f7018eb5b66171e21c5fbc10","assignee":null,"assignees":[],"requested_reviewers":[{"login":"jayfk","id":2930472,"avatar_url":"https://avatars2.githubusercontent.com/u/2930472?v=4","gravatar_id":"","url":"https://api.github.com/users/jayfk","html_url":"https://github.com/jayfk","followers_url":"https://api.github.com/users/jayfk/followers","following_url":"https://api.github.com/users/jayfk/following{/other_user}","gists_url":"https://api.github.com/users/jayfk/gists{/gist_id}","starred_url":"https://api.github.com/users/jayfk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jayfk/subscriptions","organizations_url":"https://api.github.com/users/jayfk/orgs","repos_url":"https://api.github.com/users/jayfk/repos","events_url":"https://api.github.com/users/jayfk/events{/privacy}","received_events_url":"https://api.github.com/users/jayfk/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/PyGithub/PyGithub/pulls/538/commits","review_comments_url":"https://api.github.com/repos/PyGithub/PyGithub/pulls/538/comments","review_comment_url":"https://api.github.com/repos/PyGithub/PyGithub/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PyGithub/PyGithub/issues/538/comments","statuses_url":"https://api.github.com/repos/PyGithub/PyGithub/statuses/b6b127d732586df5dcf0444df73621f240ca4bb2","head":{"label":"allevin:Add_Pull_Request_Reviews_Feature","ref":"Add_Pull_Request_Reviews_Feature","sha":"b6b127d732586df5dcf0444df73621f240ca4bb2","user":{"login":"allevin","id":13543471,"avatar_url":"https://avatars2.githubusercontent.com/u/13543471?v=4","gravatar_id":"","url":"https://api.github.com/users/allevin","html_url":"https://github.com/allevin","followers_url":"https://api.github.com/users/allevin/followers","following_url":"https://api.github.com/users/allevin/following{/other_user}","gists_url":"https://api.github.com/users/allevin/gists{/gist_id}","starred_url":"https://api.github.com/users/allevin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allevin/subscriptions","organizations_url":"https://api.github.com/users/allevin/orgs","repos_url":"https://api.github.com/users/allevin/repos","events_url":"https://api.github.com/users/allevin/events{/privacy}","received_events_url":"https://api.github.com/users/allevin/received_events","type":"User","site_admin":false},"repo":{"id":85619926,"name":"PyGithub","full_name":"allevin/PyGithub","owner":{"login":"allevin","id":13543471,"avatar_url":"https://avatars2.githubusercontent.com/u/13543471?v=4","gravatar_id":"","url":"https://api.github.com/users/allevin","html_url":"https://github.com/allevin","followers_url":"https://api.github.com/users/allevin/followers","following_url":"https://api.github.com/users/allevin/following{/other_user}","gists_url":"https://api.github.com/users/allevin/gists{/gist_id}","starred_url":"https://api.github.com/users/allevin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allevin/subscriptions","organizations_url":"https://api.github.com/users/allevin/orgs","repos_url":"https://api.github.com/users/allevin/repos","events_url":"https://api.github.com/users/allevin/events{/privacy}","received_events_url":"https://api.github.com/users/allevin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/allevin/PyGithub","description":"Typed interactions with the GitHub API v3","fork":true,"url":"https://api.github.com/repos/allevin/PyGithub","forks_url":"https://api.github.com/repos/allevin/PyGithub/forks","keys_url":"https://api.github.com/repos/allevin/PyGithub/keys{/key_id}","collaborators_url":"https://api.github.com/repos/allevin/PyGithub/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/allevin/PyGithub/teams","hooks_url":"https://api.github.com/repos/allevin/PyGithub/hooks","issue_events_url":"https://api.github.com/repos/allevin/PyGithub/issues/events{/number}","events_url":"https://api.github.com/repos/allevin/PyGithub/events","assignees_url":"https://api.github.com/repos/allevin/PyGithub/assignees{/user}","branches_url":"https://api.github.com/repos/allevin/PyGithub/branches{/branch}","tags_url":"https://api.github.com/repos/allevin/PyGithub/tags","blobs_url":"https://api.github.com/repos/allevin/PyGithub/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/allevin/PyGithub/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/allevin/PyGithub/git/refs{/sha}","trees_url":"https://api.github.com/repos/allevin/PyGithub/git/trees{/sha}","statuses_url":"https://api.github.com/repos/allevin/PyGithub/statuses/{sha}","languages_url":"https://api.github.com/repos/allevin/PyGithub/languages","stargazers_url":"https://api.github.com/repos/allevin/PyGithub/stargazers","contributors_url":"https://api.github.com/repos/allevin/PyGithub/contributors","subscribers_url":"https://api.github.com/repos/allevin/PyGithub/subscribers","subscription_url":"https://api.github.com/repos/allevin/PyGithub/subscription","commits_url":"https://api.github.com/repos/allevin/PyGithub/commits{/sha}","git_commits_url":"https://api.github.com/repos/allevin/PyGithub/git/commits{/sha}","comments_url":"https://api.github.com/repos/allevin/PyGithub/comments{/number}","issue_comment_url":"https://api.github.com/repos/allevin/PyGithub/issues/comments{/number}","contents_url":"https://api.github.com/repos/allevin/PyGithub/contents/{+path}","compare_url":"https://api.github.com/repos/allevin/PyGithub/compare/{base}...{head}","merges_url":"https://api.github.com/repos/allevin/PyGithub/merges","archive_url":"https://api.github.com/repos/allevin/PyGithub/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/allevin/PyGithub/downloads","issues_url":"https://api.github.com/repos/allevin/PyGithub/issues{/number}","pulls_url":"https://api.github.com/repos/allevin/PyGithub/pulls{/number}","milestones_url":"https://api.github.com/repos/allevin/PyGithub/milestones{/number}","notifications_url":"https://api.github.com/repos/allevin/PyGithub/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/allevin/PyGithub/labels{/name}","releases_url":"https://api.github.com/repos/allevin/PyGithub/releases{/id}","deployments_url":"https://api.github.com/repos/allevin/PyGithub/deployments","created_at":"2017-03-20T19:55:57Z","updated_at":"2017-03-20T19:56:01Z","pushed_at":"2017-03-24T20:45:25Z","git_url":"git://github.com/allevin/PyGithub.git","ssh_url":"git@github.com:allevin/PyGithub.git","clone_url":"https://github.com/allevin/PyGithub.git","svn_url":"https://github.com/allevin/PyGithub","homepage":"","size":12144,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"PyGithub:master","ref":"master","sha":"414f6e648f4da87f10bae7d01948a63dc82b80f8","user":{"login":"PyGithub","id":11288996,"avatar_url":"https://avatars0.githubusercontent.com/u/11288996?v=4","gravatar_id":"","url":"https://api.github.com/users/PyGithub","html_url":"https://github.com/PyGithub","followers_url":"https://api.github.com/users/PyGithub/followers","following_url":"https://api.github.com/users/PyGithub/following{/other_user}","gists_url":"https://api.github.com/users/PyGithub/gists{/gist_id}","starred_url":"https://api.github.com/users/PyGithub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PyGithub/subscriptions","organizations_url":"https://api.github.com/users/PyGithub/orgs","repos_url":"https://api.github.com/users/PyGithub/repos","events_url":"https://api.github.com/users/PyGithub/events{/privacy}","received_events_url":"https://api.github.com/users/PyGithub/received_events","type":"Organization","site_admin":false},"repo":{"id":3544490,"name":"PyGithub","full_name":"PyGithub/PyGithub","owner":{"login":"PyGithub","id":11288996,"avatar_url":"https://avatars0.githubusercontent.com/u/11288996?v=4","gravatar_id":"","url":"https://api.github.com/users/PyGithub","html_url":"https://github.com/PyGithub","followers_url":"https://api.github.com/users/PyGithub/followers","following_url":"https://api.github.com/users/PyGithub/following{/other_user}","gists_url":"https://api.github.com/users/PyGithub/gists{/gist_id}","starred_url":"https://api.github.com/users/PyGithub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PyGithub/subscriptions","organizations_url":"https://api.github.com/users/PyGithub/orgs","repos_url":"https://api.github.com/users/PyGithub/repos","events_url":"https://api.github.com/users/PyGithub/events{/privacy}","received_events_url":"https://api.github.com/users/PyGithub/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PyGithub/PyGithub","description":"Typed interactions with the GitHub API v3","fork":false,"url":"https://api.github.com/repos/PyGithub/PyGithub","forks_url":"https://api.github.com/repos/PyGithub/PyGithub/forks","keys_url":"https://api.github.com/repos/PyGithub/PyGithub/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PyGithub/PyGithub/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PyGithub/PyGithub/teams","hooks_url":"https://api.github.com/repos/PyGithub/PyGithub/hooks","issue_events_url":"https://api.github.com/repos/PyGithub/PyGithub/issues/events{/number}","events_url":"https://api.github.com/repos/PyGithub/PyGithub/events","assignees_url":"https://api.github.com/repos/PyGithub/PyGithub/assignees{/user}","branches_url":"https://api.github.com/repos/PyGithub/PyGithub/branches{/branch}","tags_url":"https://api.github.com/repos/PyGithub/PyGithub/tags","blobs_url":"https://api.github.com/repos/PyGithub/PyGithub/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PyGithub/PyGithub/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PyGithub/PyGithub/git/refs{/sha}","trees_url":"https://api.github.com/repos/PyGithub/PyGithub/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PyGithub/PyGithub/statuses/{sha}","languages_url":"https://api.github.com/repos/PyGithub/PyGithub/languages","stargazers_url":"https://api.github.com/repos/PyGithub/PyGithub/stargazers","contributors_url":"https://api.github.com/repos/PyGithub/PyGithub/contributors","subscribers_url":"https://api.github.com/repos/PyGithub/PyGithub/subscribers","subscription_url":"https://api.github.com/repos/PyGithub/PyGithub/subscription","commits_url":"https://api.github.com/repos/PyGithub/PyGithub/commits{/sha}","git_commits_url":"https://api.github.com/repos/PyGithub/PyGithub/git/commits{/sha}","comments_url":"https://api.github.com/repos/PyGithub/PyGithub/comments{/number}","issue_comment_url":"https://api.github.com/repos/PyGithub/PyGithub/issues/comments{/number}","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/{+path}","compare_url":"https://api.github.com/repos/PyGithub/PyGithub/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PyGithub/PyGithub/merges","archive_url":"https://api.github.com/repos/PyGithub/PyGithub/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PyGithub/PyGithub/downloads","issues_url":"https://api.github.com/repos/PyGithub/PyGithub/issues{/number}","pulls_url":"https://api.github.com/repos/PyGithub/PyGithub/pulls{/number}","milestones_url":"https://api.github.com/repos/PyGithub/PyGithub/milestones{/number}","notifications_url":"https://api.github.com/repos/PyGithub/PyGithub/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PyGithub/PyGithub/labels{/name}","releases_url":"https://api.github.com/repos/PyGithub/PyGithub/releases{/id}","deployments_url":"https://api.github.com/repos/PyGithub/PyGithub/deployments","created_at":"2012-02-25T12:53:47Z","updated_at":"2018-03-20T12:27:47Z","pushed_at":"2018-03-20T12:27:44Z","git_url":"git://github.com/PyGithub/PyGithub.git","ssh_url":"git@github.com:PyGithub/PyGithub.git","clone_url":"https://github.com/PyGithub/PyGithub.git","svn_url":"https://github.com/PyGithub/PyGithub","homepage":"http://pygithub.readthedocs.io/","size":10905,"stargazers_count":1719,"watchers_count":1719,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":590,"mirror_url":null,"archived":false,"open_issues_count":188,"license":{"key":"lgpl-3.0","name":"GNU Lesser General Public License v3.0","spdx_id":"LGPL-3.0","url":"https://api.github.com/licenses/lgpl-3.0"},"forks":590,"open_issues":188,"watchers":1719,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/PyGithub/PyGithub/pulls/538"},"html":{"href":"https://github.com/PyGithub/PyGithub/pull/538"},"issue":{"href":"https://api.github.com/repos/PyGithub/PyGithub/issues/538"},"comments":{"href":"https://api.github.com/repos/PyGithub/PyGithub/issues/538/comments"},"review_comments":{"href":"https://api.github.com/repos/PyGithub/PyGithub/pulls/538/comments"},"review_comment":{"href":"https://api.github.com/repos/PyGithub/PyGithub/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PyGithub/PyGithub/pulls/538/commits"},"statuses":{"href":"https://api.github.com/repos/PyGithub/PyGithub/statuses/b6b127d732586df5dcf0444df73621f240ca4bb2"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"jzelinskie","id":343539,"avatar_url":"https://avatars3.githubusercontent.com/u/343539?v=4","gravatar_id":"","url":"https://api.github.com/users/jzelinskie","html_url":"https://github.com/jzelinskie","followers_url":"https://api.github.com/users/jzelinskie/followers","following_url":"https://api.github.com/users/jzelinskie/following{/other_user}","gists_url":"https://api.github.com/users/jzelinskie/gists{/gist_id}","starred_url":"https://api.github.com/users/jzelinskie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jzelinskie/subscriptions","organizations_url":"https://api.github.com/users/jzelinskie/orgs","repos_url":"https://api.github.com/users/jzelinskie/repos","events_url":"https://api.github.com/users/jzelinskie/events{/privacy}","received_events_url":"https://api.github.com/users/jzelinskie/received_events","type":"User","site_admin":false},"comments":6,"review_comments":0,"maintainer_can_modify":false,"commits":4,"additions":372,"deletions":0,"changed_files":8}

https
GET
api.github.com
None
/repos/PyGithub/PyGithub/commits/2f0e4e55fe87e38d26efc9aa1346f56abfbd6c52
{'Authorization': 'Basic login_and_password_removed', 'User-Agent': 'PyGithub/Python'}
None
200
[('content-length', '15949'), ('x-runtime-rack', '0.069736'), ('vary', 'Accept, Authorization, Cookie, X-GitHub-OTP, Accept-Encoding'), ('x-oauth-scopes', 'admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion'), ('x-xss-protection', '1; mode=block'), ('x-content-type-options', 'nosniff'), ('x-accepted-oauth-scopes', ''), ('etag', '"061259c90f2c55f8497d7de36f6a1ba9"'), ('cache-control', 'private, max-age=60, s-maxage=60'), ('referrer-policy', 'origin-when-cross-origin, strict-origin-when-cross-origin'), ('status', '200 OK'), ('x-ratelimit-remaining', '4549'), ('x-github-media-type', 'github.v3; format=json'), ('access-control-expose-headers', 'ETag, Link, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval'), ('x-github-request-id', 'DDDB:9B6E:FB5B95:127A740:5AB118D1'), ('last-modified', 'Mon, 20 Mar 2017 20:44:26 GMT'), ('date', 'Tue, 20 Mar 2018 14:21:05 GMT'), ('access-control-allow-origin', '*'), ('content-security-policy', "default-src 'none'"), ('strict-transport-security', 'max-age=31536000; includeSubdomains; preload'), ('server', 'GitHub.com'), ('x-ratelimit-limit', '5000'), ('x-frame-options', 'deny'), ('content-type', 'application/json; charset=utf-8'), ('x-ratelimit-reset', '1521556163')]
{"sha":"2f0e4e55fe87e38d26efc9aa1346f56abfbd6c52","commit":{"author":{"name":"Aaron Levine","email":"allevin@sandia.gov","date":"2017-03-20T20:44:26Z"},"committer":{"name":"Aaron Levine","email":"allevin@sandia.gov","date":"2017-03-20T20:44:26Z"},"message":"Add Support for Pull Request Reviews feature","tree":{"sha":"d6bdfe97f73bc45f7a9bc3606f62a6f7122669c9","url":"https://api.github.com/repos/PyGithub/PyGithub/git/trees/d6bdfe97f73bc45f7a9bc3606f62a6f7122669c9"},"url":"https://api.github.com/repos/PyGithub/PyGithub/git/commits/2f0e4e55fe87e38d26efc9aa1346f56abfbd6c52","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null}},"url":"https://api.github.com/repos/PyGithub/PyGithub/commits/2f0e4e55fe87e38d26efc9aa1346f56abfbd6c52","html_url":"https://github.com/PyGithub/PyGithub/commit/2f0e4e55fe87e38d26efc9aa1346f56abfbd6c52","comments_url":"https://api.github.com/repos/PyGithub/PyGithub/commits/2f0e4e55fe87e38d26efc9aa1346f56abfbd6c52/comments","author":{"login":"allevin","id":13543471,"avatar_url":"https://avatars2.githubusercontent.com/u/13543471?v=4","gravatar_id":"","url":"https://api.github.com/users/allevin","html_url":"https://github.com/allevin","followers_url":"https://api.github.com/users/allevin/followers","following_url":"https://api.github.com/users/allevin/following{/other_user}","gists_url":"https://api.github.com/users/allevin/gists{/gist_id}","starred_url":"https://api.github.com/users/allevin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allevin/subscriptions","organizations_url":"https://api.github.com/users/allevin/orgs","repos_url":"https://api.github.com/users/allevin/repos","events_url":"https://api.github.com/users/allevin/events{/privacy}","received_events_url":"https://api.github.com/users/allevin/received_events","type":"User","site_admin":false},"committer":{"login":"allevin","id":13543471,"avatar_url":"https://avatars2.githubusercontent.com/u/13543471?v=4","gravatar_id":"","url":"https://api.github.com/users/allevin","html_url":"https://github.com/allevin","followers_url":"https://api.github.com/users/allevin/followers","following_url":"https://api.github.com/users/allevin/following{/other_user}","gists_url":"https://api.github.com/users/allevin/gists{/gist_id}","starred_url":"https://api.github.com/users/allevin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allevin/subscriptions","organizations_url":"https://api.github.com/users/allevin/orgs","repos_url":"https://api.github.com/users/allevin/repos","events_url":"https://api.github.com/users/allevin/events{/privacy}","received_events_url":"https://api.github.com/users/allevin/received_events","type":"User","site_admin":false},"parents":[{"sha":"414f6e648f4da87f10bae7d01948a63dc82b80f8","url":"https://api.github.com/repos/PyGithub/PyGithub/commits/414f6e648f4da87f10bae7d01948a63dc82b80f8","html_url":"https://github.com/PyGithub/PyGithub/commit/414f6e648f4da87f10bae7d01948a63dc82b80f8"}],"stats":{"total":231,"additions":231,"deletions":0},"files":[{"sha":"e051573885e484959370e8ac8a122a568d0c4439","filename":"github/PullRequest.py","status":"modified","additions":42,"deletions":0,"changes":42,"blob_url":"https://github.com/PyGithub/PyGithub/blob/2f0e4e55fe87e38d26efc9aa1346f56abfbd6c52/github/PullRequest.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/2f0e4e55fe87e38d26efc9aa1346f56abfbd6c52/github/PullRequest.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github/PullRequest.py?ref=2f0e4e55fe87e38d26efc9aa1346f56abfbd6c52","patch":"@@ -37,6 +37,8 @@\n import github.File\n import github.IssueComment\n import github.Commit\n+import github.PullRequestReview\n+import github.PullRequestReviewerRequests\n \n \n class PullRequest(github.GithubObject.CompletableGithubObject):\n@@ -495,6 +497,46 @@ def get_issue_comments(self):\n             None\n         )\n \n+    def get_review(self, id):\n+        \"\"\"\n+        :calls: `GET /repos/:owner/:repo/pulls/:number/reviews/:id <https://developer.github.com/v3/pulls/reviews>`_\n+        :param id: integer\n+        :rtype: :class:`github.PullRequestReview.PullRequestReview`\n+        \"\"\"\n+        assert isinstance(id, (int, long)), id\n+        headers, data = self._requester.requestJsonAndCheck(\n+            \"GET\",\n+            self.url + \"/reviews/\" + str(id),\n+            headers={'Accept': 'application/vnd.github.black-cat-preview+json'}\n+        )\n+        return github.PullRequestReview.PullRequestReview(self._requester, headers, data, completed=True)\n+\n+    def get_reviews(self):\n+        \"\"\"\n+        :calls: `GET /repos/:owner/:repo/pulls/:number/reviews <https://developer.github.com/v3/pulls/reviews/>`_\n+        :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.PullRequestReview.PullRequestReview`\n+        \"\"\"\n+        return github.PaginatedList.PaginatedList(\n+            github.PullRequestReview.PullRequestReview,\n+            self._requester,\n+            self.url + \"/reviews\",\n+            None,\n+            headers={'Accept': 'application/vnd.github.black-cat-preview+json'}\n+        )\n+\n+    def get_review_requests(self):\n+        \"\"\"\n+        :calls: `GET /repos/:owner/:repo/pulls/:number/requested_reviewers <https://developer.github.com/v3/pulls/review_requests/>`_\n+        :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.InspectionReviewers.InspectionReviewers`\n+        \"\"\"\n+        return github.PaginatedList.PaginatedList(\n+            github.PullRequestReviewerRequests.PullRequestReviewerRequests,\n+            self._requester,\n+            self.url + \"/requested_reviewers\",\n+            None,\n+            headers={'Accept': 'application/vnd.github.black-cat-preview+json'}\n+        )\n+        \n     def is_merged(self):\n         \"\"\"\n         :calls: `GET /repos/:owner/:repo/pulls/:number/merge <http://developer.github.com/v3/pulls>`_"},{"sha":"1c2189ee830731e17e596d8d6702972e6226e207","filename":"github/PullRequestReview.py","status":"added","additions":121,"deletions":0,"changes":121,"blob_url":"https://github.com/PyGithub/PyGithub/blob/2f0e4e55fe87e38d26efc9aa1346f56abfbd6c52/github/PullRequestReview.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/2f0e4e55fe87e38d26efc9aa1346f56abfbd6c52/github/PullRequestReview.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github/PullRequestReview.py?ref=2f0e4e55fe87e38d26efc9aa1346f56abfbd6c52","patch":"@@ -0,0 +1,121 @@\n+# -*- coding: utf-8 -*-\n+\n+# ########################## Copyrights and license ############################\n+#                                                                              #\n+# Copyright 2012 Vincent Jacques <vincent@vincent-jacques.net>                 #\n+# Copyright 2012 Zearin <zearin@gonk.net>                                      #\n+# Copyright 2013 AKFish <akfish@gmail.com>                                     #\n+# Copyright 2013 Michael Stead <michael.stead@gmail.com>                       #\n+# Copyright 2013 Vincent Jacques <vincent@vincent-jacques.net>                 #\n+#                                                                              #\n+# This file is part of PyGithub.                                               #\n+# http://pygithub.github.io/PyGithub/v1/index.html                             #\n+#                                                                              #\n+# PyGithub is free software: you can redistribute it and/or modify it under    #\n+# the terms of the GNU Lesser General Public License as published by the Free  #\n+# Software Foundation, either version 3 of the License, or (at your option)    #\n+# any later version.                                                           #\n+#                                                                              #\n+# PyGithub is distributed in the hope that it will be useful, but WITHOUT ANY  #\n+# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS    #\n+# FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more #\n+# details.                                                                     #\n+#                                                                              #\n+# You should have received a copy of the GNU Lesser General Public License     #\n+# along with PyGithub. If not, see <http://www.gnu.org/licenses/>.             #\n+#                                                                              #\n+# ##############################################################################\n+\n+import github.GithubObject\n+\n+import github.NamedUser\n+\n+\n+class PullRequestReview(github.GithubObject.CompletableGithubObject):\n+    \"\"\"\n+    This class represents Pull Request Reviews as returned for example by https://developer.github.com/v3/pulls/reviews/\n+    \"\"\"\n+\n+    def __repr__(self):\n+        return self.get__repr__({\"id\": self._id.value, \"user\": self._user.value})\n+\n+    @property\n+    def id(self):\n+        \"\"\"\n+        :type: integer\n+        \"\"\"\n+        self._completeIfNotSet(self._id)\n+        return self._id.value\n+\n+    @property\n+    def user(self):\n+        \"\"\"\n+        :type: :class:`github.NamedUser.NamedUser`\n+        \"\"\"\n+        self._completeIfNotSet(self._user)\n+        return self._user.value\n+\n+    @property\n+    def body(self):\n+        \"\"\"\n+        :type: string\n+        \"\"\"\n+        self._completeIfNotSet(self._body)\n+        return self._body.value\n+\n+    @property\n+    def commit_id(self):\n+        \"\"\"\n+        :type: string\n+        \"\"\"\n+        self._completeIfNotSet(self._commit_id)\n+        return self._commit_id.value\n+\n+    @property\n+    def state(self):\n+        \"\"\"\n+        :type: string\n+        \"\"\"\n+        self._completeIfNotSet(self._state)\n+        return self._state.value\n+\n+    @property\n+    def html_url(self):\n+        \"\"\"\n+        :type: string\n+        \"\"\"\n+        self._completeIfNotSet(self._html_url)\n+        return self._html_url.value\n+\n+    @property\n+    def pull_request_url(self):\n+        \"\"\"\n+        :type: string\n+        \"\"\"\n+        self._completeIfNotSet(self._pull_request_url)\n+        return self._pull_request_url.value\n+\n+    def _initAttributes(self):\n+        self._id = github.GithubObject.NotSet\n+        self._user = github.GithubObject.NotSet\n+        self._body = github.GithubObject.NotSet\n+        self._commit_id = github.GithubObject.NotSet\n+        self._state = github.GithubObject.NotSet\n+        self._html_url = github.GithubObject.NotSet\n+        self._pull_request_url = github.GithubObject.NotSet\n+\n+    def _useAttributes(self, attributes):\n+        if \"id\" in attributes:  # pragma no branch\n+            self._id = self._makeIntAttribute(attributes[\"id\"])\n+        if \"user\" in attributes:  # pragma no branch\n+            self._user = self._makeClassAttribute(github.NamedUser.NamedUser, attributes[\"user\"])\n+        if \"body\" in attributes:  # pragma no branch\n+            self._body = self._makeStringAttribute(attributes[\"body\"])\n+        if \"commit_id\" in attributes:  # pragma no branch\n+            self._commit_id = self._makeStringAttribute(attributes[\"commit_id\"])\n+        if \"state\" in attributes:  # pragma no branch\n+            self._state = self._makeStringAttribute(attributes[\"state\"])\n+        if \"html_url\" in attributes:  # pragma no branch\n+            self._html_url = self._makeStringAttribute(attributes[\"html_url\"])\n+        if \"pull_request_url\" in attributes:  # pragma no branch\n+            self._pull_request_url = self._makeStringAttribute(attributes[\"pull_request_url\"])"},{"sha":"8daf5753a10c9703b174d964e39863cf518ed5f4","filename":"github/PullRequestReviewerRequests.py","status":"added","additions":68,"deletions":0,"changes":68,"blob_url":"https://github.com/PyGithub/PyGithub/blob/2f0e4e55fe87e38d26efc9aa1346f56abfbd6c52/github/PullRequestReviewerRequests.py","raw_url":"https://github.com/PyGithub/PyGithub/raw/2f0e4e55fe87e38d26efc9aa1346f56abfbd6c52/github/PullRequestReviewerRequests.py","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/github/PullRequestReviewerRequests.py?ref=2f0e4e55fe87e38d26efc9aa1346f56abfbd6c52","patch":"@@ -0,0 +1,68 @@\n+# -*- coding: utf-8 -*-\n+\n+# ########################## Copyrights and license ############################\n+#                                                                              #\n+# Copyright 2012 Vincent Jacques <vincent@vincent-jacques.net>                 #\n+# Copyright 2012 Zearin <zearin@gonk.net>                                      #\n+# Copyright 2013 AKFish <akfish@gmail.com>                                     #\n+# Copyright 2013 Michael Stead <michael.stead@gmail.com>                       #\n+# Copyright 2013 Vincent Jacques <vincent@vincent-jacques.net>                 #\n+#                                                                              #\n+# This file is part of PyGithub.                                               #\n+# http://pygithub.github.io/PyGithub/v1/index.html                             #\n+#                                                                              #\n+# PyGithub is free software: you can redistribute it and/or modify it under    #\n+# the terms of the GNU Lesser General Public License as published by the Free  #\n+# Software Foundation, either version 3 of the License, or (at your option)    #\n+# any later version.                                                           #\n+#                                                                              #\n+# PyGithub is distributed in the hope that it will be useful, but WITHOUT ANY  #\n+# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS    #\n+# FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more #\n+# details.                                                                     #\n+#                                                                              #\n+# You should have received a copy of the GNU Lesser General Public License     #\n+# along with PyGithub. If not, see <http://www.gnu.org/licenses/>.             #\n+#                                                                              #\n+# ##############################################################################\n+\n+import github.GithubObject\n+\n+import github.NamedUser\n+\n+\n+class PullRequestReviewerRequests(github.GithubObject.CompletableGithubObject):\n+    \"\"\"\n+    This class represents Pull Request Reviewer Requests as returned for example by https://developer.github.com/v3/pulls/review_requests/\n+    \"\"\"\n+\n+    def __repr__(self):\n+        return self.get__repr__({\"id\": self._id.value, \"login\": self._login.value})\n+\n+    @property\n+    def login(self):\n+        \"\"\"\n+        :type: string\n+        \"\"\"\n+        self._completeIfNotSet(self._login)\n+        return self._login.value\n+\n+    @property\n+    def id(self):\n+        \"\"\"\n+        :type: integer\n+        \"\"\"\n+        self._completeIfNotSet(self._id)\n+        return self._id.value\n+\n+    def _initAttributes(self):\n+        self._login = github.GithubObject.NotSet\n+        self._id = github.GithubObject.NotSet\n+#        self._url = github.GithubObject.NotSet\n+#        self._html_url = github.GithubObject.NotSet\n+\n+    def _useAttributes(self, attributes):\n+        if \"login\" in attributes:  # pragma no branch\n+            self._login = self._makeStringAttribute(attributes[\"login\"])\n+        if \"id\" in attributes:  # pragma no branch\n+            self._id = self._makeIntAttribute(attributes[\"id\"])"}]}

https
POST
api.github.com
None
/repos/PyGithub/PyGithub/pulls/538/reviews
{'Content-Type': 'application/json', 'Authorization': 'Basic login_and_password_removed', 'User-Agent': 'PyGithub/Python'}
{"commit_id": "2f0e4e55fe87e38d26efc9aa1346f56abfbd6c52", "body": "Some review created by PyGithub", "event": "COMMENT", "comments": []}
200
[('content-length', '1396'), ('x-runtime-rack', '0.272465'), ('vary', 'Accept, Authorization, Cookie, X-GitHub-OTP, Accept-Encoding'), ('x-oauth-scopes', 'admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion'), ('x-xss-protection', '1; mode=block'), ('x-content-type-options', 'nosniff'), ('x-accepted-oauth-scopes', ''), ('etag', '"a49b6e67f0f63b026494e1e690811725"'), ('cache-control', 'private, max-age=60, s-maxage=60'), ('referrer-policy', 'origin-when-cross-origin, strict-origin-when-cross-origin'), ('status', '200 OK'), ('x-ratelimit-remaining', '4547'), ('x-github-media-type', 'github.v3; format=json'), ('access-control-expose-headers', 'ETag, Link, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval'), ('x-github-request-id', 'DDDC:9B6A:527B69:62442F:5AB118D2'), ('date', 'Tue, 20 Mar 2018 14:21:07 GMT'), ('access-control-allow-origin', '*'), ('content-security-policy', "default-src 'none'"), ('strict-transport-security', 'max-age=31536000; includeSubdomains; preload'), ('server', 'GitHub.com'), ('x-ratelimit-limit', '5000'), ('x-frame-options', 'deny'), ('content-type', 'application/json; charset=utf-8'), ('x-ratelimit-reset', '1521556163')]
{"id":105368184,"user":{"login":"sfdye","id":1016390,"avatar_url":"https://avatars2.githubusercontent.com/u/1016390?v=4","gravatar_id":"","url":"https://api.github.com/users/sfdye","html_url":"https://github.com/sfdye","followers_url":"https://api.github.com/users/sfdye/followers","following_url":"https://api.github.com/users/sfdye/following{/other_user}","gists_url":"https://api.github.com/users/sfdye/gists{/gist_id}","starred_url":"https://api.github.com/users/sfdye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sfdye/subscriptions","organizations_url":"https://api.github.com/users/sfdye/orgs","repos_url":"https://api.github.com/users/sfdye/repos","events_url":"https://api.github.com/users/sfdye/events{/privacy}","received_events_url":"https://api.github.com/users/sfdye/received_events","type":"User","site_admin":false},"body":"Some review created by PyGithub","state":"COMMENTED","html_url":"https://github.com/PyGithub/PyGithub/pull/538#pullrequestreview-105368184","pull_request_url":"https://api.github.com/repos/PyGithub/PyGithub/pulls/538","author_association":"MEMBER","_links":{"html":{"href":"https://github.com/PyGithub/PyGithub/pull/538#pullrequestreview-105368184"},"pull_request":{"href":"https://api.github.com/repos/PyGithub/PyGithub/pulls/538"}},"submitted_at":"2018-03-20T14:21:07Z","commit_id":"2f0e4e55fe87e38d26efc9aa1346f56abfbd6c52"}

https
GET
api.github.com
None
/repos/PyGithub/PyGithub/pulls/538/reviews/28482091
{'Authorization': 'Basic login_and_password_removed', 'User-Agent': 'PyGithub/Python'}
None
200
[('content-length', '1418'), ('x-runtime-rack', '0.166821'), ('vary', 'Accept, Authorization, Cookie, X-GitHub-OTP, Accept-Encoding'), ('x-oauth-scopes', 'admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion'), ('x-xss-protection', '1; mode=block'), ('x-content-type-options', 'nosniff'), ('x-accepted-oauth-scopes', ''), ('etag', '"d9b71d9dcbbca4b597df3b00efc8cb2a"'), ('cache-control', 'private, max-age=60, s-maxage=60'), ('referrer-policy', 'origin-when-cross-origin, strict-origin-when-cross-origin'), ('status', '200 OK'), ('x-ratelimit-remaining', '4545'), ('x-github-media-type', 'github.v3; format=json'), ('access-control-expose-headers', 'ETag, Link, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval'), ('x-github-request-id', 'DDDD:9B6D:C86D83:EADA76:5AB118D3'), ('date', 'Tue, 20 Mar 2018 14:21:09 GMT'), ('access-control-allow-origin', '*'), ('content-security-policy', "default-src 'none'"), ('strict-transport-security', 'max-age=31536000; includeSubdomains; preload'), ('server', 'GitHub.com'), ('x-ratelimit-limit', '5000'), ('x-frame-options', 'deny'), ('content-type', 'application/json; charset=utf-8'), ('x-ratelimit-reset', '1521556163')]
{"id":28482091,"user":{"login":"jzelinskie","id":343539,"avatar_url":"https://avatars3.githubusercontent.com/u/343539?v=4","gravatar_id":"","url":"https://api.github.com/users/jzelinskie","html_url":"https://github.com/jzelinskie","followers_url":"https://api.github.com/users/jzelinskie/followers","following_url":"https://api.github.com/users/jzelinskie/following{/other_user}","gists_url":"https://api.github.com/users/jzelinskie/gists{/gist_id}","starred_url":"https://api.github.com/users/jzelinskie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jzelinskie/subscriptions","organizations_url":"https://api.github.com/users/jzelinskie/orgs","repos_url":"https://api.github.com/users/jzelinskie/repos","events_url":"https://api.github.com/users/jzelinskie/events{/privacy}","received_events_url":"https://api.github.com/users/jzelinskie/received_events","type":"User","site_admin":false},"body":"","state":"APPROVED","html_url":"https://github.com/PyGithub/PyGithub/pull/538#pullrequestreview-28482091","pull_request_url":"https://api.github.com/repos/PyGithub/PyGithub/pulls/538","author_association":"OWNER","_links":{"html":{"href":"https://github.com/PyGithub/PyGithub/pull/538#pullrequestreview-28482091"},"pull_request":{"href":"https://api.github.com/repos/PyGithub/PyGithub/pulls/538"}},"submitted_at":"2017-03-22T19:06:59Z","commit_id":"7a0fcb27b7cd6c346fc3f76216ccb6e0f4ca3bcc"}
