https
POST
api.github.com
None
/repos/PyGithub/PyGithub/pulls
{'Authorization': 'token private_token_removed', 'User-Agent': 'PyGithub/Python', 'Content-Type': 'application/json'}
{"body": "Testing head_repo parameter", "head": "patch-1", "base": "main", "head_repo": "octocat/PyGithub", "title": "Pull request with head_repo"}
201
[('status', '201 Created'), ('x-ratelimit-remaining', '4963'), ('content-length', '4486'), ('server', 'nginx/1.0.13'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"1e069be7c3e3eb8b12afb1e1f5343dc9"'), ('date', 'Sun, 27 May 2012 09:25:37 GMT'), ('content-type', 'application/json; charset=utf-8'), ('location', 'https://api.github.com/repos/PyGithub/PyGithub/pulls/32')]
{"merged":false,"patch_url":"https://github.com/PyGithub/PyGithub/pull/32.patch","mergeable":null,"head":{"ref":"patch-1","label":"octocat:patch-1","repo":{"clone_url":"https://github.com/octocat/PyGithub.git","has_downloads":true,"watchers":1,"updated_at":"2012-05-27T09:09:17Z","homepage":"http://vincent-jacques.net/PyGithub","url":"https://api.github.com/repos/octocat/PyGithub","mirror_url":null,"has_wiki":false,"has_issues":false,"fork":true,"forks":0,"size":176,"private":false,"open_issues":0,"svn_url":"https://github.com/octocat/PyGithub","owner":{"url":"https://api.github.com/users/octocat","gravatar_id":"d563e337cac2fdc644e2aaaad1e23266","login":"octocat","id":1424031,"avatar_url":"https://secure.gravatar.com/avatar/d563e337cac2fdc644e2aaaad1e23266?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png"},"name":"PyGithub","language":"Python","description":"Python library implementing the full Github API v3","ssh_url":"git@github.com:octocat/PyGithub.git","pushed_at":"2012-05-27T09:09:17Z","created_at":"2012-05-27T08:50:04Z","id":4460787,"git_url":"git://github.com/octocat/PyGithub.git","html_url":"https://github.com/octocat/PyGithub","full_name":"octocat/PyGithub"},"user":{"url":"https://api.github.com/users/octocat","gravatar_id":"d563e337cac2fdc644e2aaaad1e23266","login":"octocat","id":1424031,"avatar_url":"https://secure.gravatar.com/avatar/d563e337cac2fdc644e2aaaad1e23266?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png"},"sha":"8a4f306d4b223682dd19410d4a9150636ebe4206"},"updated_at":"2012-05-27T09:25:36Z","issue_url":"https://github.com/PyGithub/PyGithub/issues/32","body":"Testing head_repo parameter","url":"https://api.github.com/repos/PyGithub/PyGithub/pulls/32","comments":0,"base":{"ref":"main","label":"jacquev6:main","repo":{"clone_url":"https://github.com/PyGithub/PyGithub.git","has_downloads":true,"watchers":15,"updated_at":"2012-05-27T08:50:04Z","homepage":"http://vincent-jacques.net/PyGithub","url":"https://api.github.com/repos/PyGithub/PyGithub","mirror_url":null,"has_wiki":false,"has_issues":true,"fork":false,"forks":3,"size":308,"private":false,"open_issues":16,"svn_url":"https://github.com/PyGithub/PyGithub","owner":{"url":"https://api.github.com/users/jacquev6","gravatar_id":"b68de5ae38616c296fa345d2b9df2225","login":"jacquev6","id":327146,"avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"name":"PyGithub","language":"Python","description":"Python library implementing the full Github API v3","ssh_url":"git@github.com:PyGithub/PyGithub.git","pushed_at":"2012-05-27T07:29:24Z","created_at":"2012-02-25T12:53:47Z","id":3544490,"git_url":"git://github.com/PyGithub/PyGithub.git","html_url":"https://github.com/PyGithub/PyGithub","full_name":"PyGithub/PyGithub"},"user":{"url":"https://api.github.com/users/jacquev6","gravatar_id":"b68de5ae38616c296fa345d2b9df2225","login":"jacquev6","id":327146,"avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"sha":"ed866fc43833802ab553e5ff8581c81bb00dd433"},"number":32,"merged_by":null,"closed_at":null,"title":"Pull request with head_repo","deletions":384,"merged_at":null,"diff_url":"https://github.com/PyGithub/PyGithub/pull/32.diff","additions":511,"_links":{"self":{"href":"https://api.github.com/repos/PyGithub/PyGithub/pulls/32"},"comments":{"href":"https://api.github.com/repos/PyGithub/PyGithub/issues/32/comments"},"issue":{"href":"https://api.github.com/repos/PyGithub/PyGithub/issues/32"},"html":{"href":"https://github.com/PyGithub/PyGithub/pull/32"},"review_comments":{"href":"https://api.github.com/repos/PyGithub/PyGithub/pulls/32/comments"}},"created_at":"2012-05-27T09:25:36Z","user":{"url":"https://api.github.com/users/jacquev6","gravatar_id":"b68de5ae38616c296fa345d2b9df2225","login":"jacquev6","id":327146,"avatar_url":"https://secure.gravatar.com/avatar/b68de5ae38616c296fa345d2b9df2225?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"state":"open","id":1436216,"review_comments":0,"commits":3,"changed_files":45,"html_url":"https://github.com/PyGithub/PyGithub/pull/32"}
