https
GET
api.github.com
None
/repos/didot/PyGithub/pulls/1
{'Authorization': 'Basic login_and_password_removed', 'User-Agent': 'PyGithub/Python'}
None
200
[('Date', 'Mon, 06 Jan 2025 09:34:25 GMT'), ('Content-Type', 'application/json; charset=utf-8'), ('Cache-Control', 'private, max-age=60, s-maxage=60'), ('Vary', 'Accept, Authorization, Cookie, X-GitHub-OTP,Accept-Encoding, Accept, X-Requested-With'), ('ETag', 'W/"23b20103c700a7567659371a9c12fdce3822bf16609cbf8a278ce3507c6ad979"'), ('Last-Modified', 'Mon, 06 Jan 2025 09:34:25 GMT'), ('X-OAuth-Scopes', 'repo'), ('X-Accepted-OAuth-Scopes', ''), ('github-authentication-token-expiration', '2025-02-05 08:39:31 UTC'), ('X-GitHub-Media-Type', 'github.v3; format=json'), ('x-github-api-version-selected', '2022-11-28'), ('X-RateLimit-Limit', '5000'), ('X-RateLimit-Remaining', '4943'), ('X-RateLimit-Reset', '1736156899'), ('X-RateLimit-Used', '57'), ('X-RateLimit-Resource', 'core'), ('Access-Control-Expose-Headers', 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset'), ('Access-Control-Allow-Origin', '*'), ('Strict-Transport-Security', 'max-age=31536000; includeSubdomains; preload'), ('X-Frame-Options', 'deny'), ('X-Content-Type-Options', 'nosniff'), ('X-XSS-Protection', '0'), ('Referrer-Policy', 'origin-when-cross-origin, strict-origin-when-cross-origin'), ('Content-Security-Policy', "default-src 'none'"), ('Content-Encoding', 'gzip'), ('Transfer-Encoding', 'chunked'), ('Server', 'github.com'), ('X-GitHub-Request-Id', 'AD66:4E297:2BFFBE92:2D1F40CE:677BA3A1')]
{"url":"https://api.github.com/repos/didot/PyGithub/pulls/1","id":2261445415,"node_id":"PR_kwDONmaxWc6Gyusn","html_url":"https://github.com/didot/PyGithub/pull/1","diff_url":"https://github.com/didot/PyGithub/pull/1.diff","patch_url":"https://github.com/didot/PyGithub/pull/1.patch","issue_url":"https://api.github.com/repos/didot/PyGithub/issues/1","number":1,"state":"open","locked":false,"title":"From 'ready' to 'draft'","user":{"login":"didot","id":1644708,"node_id":"MDQ6VXNlcjE2NDQ3MDg=","avatar_url":"https://avatars.githubusercontent.com/u/1644708?v=4","gravatar_id":"","url":"https://api.github.com/users/didot","html_url":"https://github.com/didot","followers_url":"https://api.github.com/users/didot/followers","following_url":"https://api.github.com/users/didot/following{/other_user}","gists_url":"https://api.github.com/users/didot/gists{/gist_id}","starred_url":"https://api.github.com/users/didot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/didot/subscriptions","organizations_url":"https://api.github.com/users/didot/orgs","repos_url":"https://api.github.com/users/didot/repos","events_url":"https://api.github.com/users/didot/events{/privacy}","received_events_url":"https://api.github.com/users/didot/received_events","type":"User","user_view_type":"public","site_admin":false},"body":null,"created_at":"2025-01-06T08:04:51Z","updated_at":"2025-01-06T09:34:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c7049b7bec767ea0188ee839b68b25b6d3f9df94","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"draft":false,"commits_url":"https://api.github.com/repos/didot/PyGithub/pulls/1/commits","review_comments_url":"https://api.github.com/repos/didot/PyGithub/pulls/1/comments","review_comment_url":"https://api.github.com/repos/didot/PyGithub/pulls/comments{/number}","comments_url":"https://api.github.com/repos/didot/PyGithub/issues/1/comments","statuses_url":"https://api.github.com/repos/didot/PyGithub/statuses/fc649fcb08085ec609caf01d7d3404b2b7397f59","head":{"label":"didot:test","ref":"test","sha":"fc649fcb08085ec609caf01d7d3404b2b7397f59","user":{"login":"didot","id":1644708,"node_id":"MDQ6VXNlcjE2NDQ3MDg=","avatar_url":"https://avatars.githubusercontent.com/u/1644708?v=4","gravatar_id":"","url":"https://api.github.com/users/didot","html_url":"https://github.com/didot","followers_url":"https://api.github.com/users/didot/followers","following_url":"https://api.github.com/users/didot/following{/other_user}","gists_url":"https://api.github.com/users/didot/gists{/gist_id}","starred_url":"https://api.github.com/users/didot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/didot/subscriptions","organizations_url":"https://api.github.com/users/didot/orgs","repos_url":"https://api.github.com/users/didot/repos","events_url":"https://api.github.com/users/didot/events{/privacy}","received_events_url":"https://api.github.com/users/didot/received_events","type":"User","user_view_type":"public","site_admin":false},"repo":{"id":912699737,"node_id":"R_kgDONmaxWQ","name":"PyGithub","full_name":"didot/PyGithub","private":false,"owner":{"login":"didot","id":1644708,"node_id":"MDQ6VXNlcjE2NDQ3MDg=","avatar_url":"https://avatars.githubusercontent.com/u/1644708?v=4","gravatar_id":"","url":"https://api.github.com/users/didot","html_url":"https://github.com/didot","followers_url":"https://api.github.com/users/didot/followers","following_url":"https://api.github.com/users/didot/following{/other_user}","gists_url":"https://api.github.com/users/didot/gists{/gist_id}","starred_url":"https://api.github.com/users/didot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/didot/subscriptions","organizations_url":"https://api.github.com/users/didot/orgs","repos_url":"https://api.github.com/users/didot/repos","events_url":"https://api.github.com/users/didot/events{/privacy}","received_events_url":"https://api.github.com/users/didot/received_events","type":"User","user_view_type":"public","site_admin":false},"html_url":"https://github.com/didot/PyGithub","description":"Typed interactions with the GitHub API v3","fork":true,"url":"https://api.github.com/repos/didot/PyGithub","forks_url":"https://api.github.com/repos/didot/PyGithub/forks","keys_url":"https://api.github.com/repos/didot/PyGithub/keys{/key_id}","collaborators_url":"https://api.github.com/repos/didot/PyGithub/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/didot/PyGithub/teams","hooks_url":"https://api.github.com/repos/didot/PyGithub/hooks","issue_events_url":"https://api.github.com/repos/didot/PyGithub/issues/events{/number}","events_url":"https://api.github.com/repos/didot/PyGithub/events","assignees_url":"https://api.github.com/repos/didot/PyGithub/assignees{/user}","branches_url":"https://api.github.com/repos/didot/PyGithub/branches{/branch}","tags_url":"https://api.github.com/repos/didot/PyGithub/tags","blobs_url":"https://api.github.com/repos/didot/PyGithub/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/didot/PyGithub/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/didot/PyGithub/git/refs{/sha}","trees_url":"https://api.github.com/repos/didot/PyGithub/git/trees{/sha}","statuses_url":"https://api.github.com/repos/didot/PyGithub/statuses/{sha}","languages_url":"https://api.github.com/repos/didot/PyGithub/languages","stargazers_url":"https://api.github.com/repos/didot/PyGithub/stargazers","contributors_url":"https://api.github.com/repos/didot/PyGithub/contributors","subscribers_url":"https://api.github.com/repos/didot/PyGithub/subscribers","subscription_url":"https://api.github.com/repos/didot/PyGithub/subscription","commits_url":"https://api.github.com/repos/didot/PyGithub/commits{/sha}","git_commits_url":"https://api.github.com/repos/didot/PyGithub/git/commits{/sha}","comments_url":"https://api.github.com/repos/didot/PyGithub/comments{/number}","issue_comment_url":"https://api.github.com/repos/didot/PyGithub/issues/comments{/number}","contents_url":"https://api.github.com/repos/didot/PyGithub/contents/{+path}","compare_url":"https://api.github.com/repos/didot/PyGithub/compare/{base}...{head}","merges_url":"https://api.github.com/repos/didot/PyGithub/merges","archive_url":"https://api.github.com/repos/didot/PyGithub/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/didot/PyGithub/downloads","issues_url":"https://api.github.com/repos/didot/PyGithub/issues{/number}","pulls_url":"https://api.github.com/repos/didot/PyGithub/pulls{/number}","milestones_url":"https://api.github.com/repos/didot/PyGithub/milestones{/number}","notifications_url":"https://api.github.com/repos/didot/PyGithub/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/didot/PyGithub/labels{/name}","releases_url":"https://api.github.com/repos/didot/PyGithub/releases{/id}","deployments_url":"https://api.github.com/repos/didot/PyGithub/deployments","created_at":"2025-01-06T08:03:32Z","updated_at":"2025-01-06T08:03:32Z","pushed_at":"2025-01-06T09:16:28Z","git_url":"git://github.com/didot/PyGithub.git","ssh_url":"git@github.com:didot/PyGithub.git","clone_url":"https://github.com/didot/PyGithub.git","svn_url":"https://github.com/didot/PyGithub","homepage":"https://pygithub.readthedocs.io/","size":14406,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"has_discussions":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":2,"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","node_id":"MDc6TGljZW5zZTEy"},"allow_forking":true,"is_template":false,"web_commit_signoff_required":false,"topics":[],"visibility":"public","forks":0,"open_issues":2,"watchers":0,"default_branch":"main"}},"base":{"label":"didot:main","ref":"main","sha":"3d84a47a88f6757514cb3ee91b829f53ba09e7e0","user":{"login":"didot","id":1644708,"node_id":"MDQ6VXNlcjE2NDQ3MDg=","avatar_url":"https://avatars.githubusercontent.com/u/1644708?v=4","gravatar_id":"","url":"https://api.github.com/users/didot","html_url":"https://github.com/didot","followers_url":"https://api.github.com/users/didot/followers","following_url":"https://api.github.com/users/didot/following{/other_user}","gists_url":"https://api.github.com/users/didot/gists{/gist_id}","starred_url":"https://api.github.com/users/didot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/didot/subscriptions","organizations_url":"https://api.github.com/users/didot/orgs","repos_url":"https://api.github.com/users/didot/repos","events_url":"https://api.github.com/users/didot/events{/privacy}","received_events_url":"https://api.github.com/users/didot/received_events","type":"User","user_view_type":"public","site_admin":false},"repo":{"id":912699737,"node_id":"R_kgDONmaxWQ","name":"PyGithub","full_name":"didot/PyGithub","private":false,"owner":{"login":"didot","id":1644708,"node_id":"MDQ6VXNlcjE2NDQ3MDg=","avatar_url":"https://avatars.githubusercontent.com/u/1644708?v=4","gravatar_id":"","url":"https://api.github.com/users/didot","html_url":"https://github.com/didot","followers_url":"https://api.github.com/users/didot/followers","following_url":"https://api.github.com/users/didot/following{/other_user}","gists_url":"https://api.github.com/users/didot/gists{/gist_id}","starred_url":"https://api.github.com/users/didot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/didot/subscriptions","organizations_url":"https://api.github.com/users/didot/orgs","repos_url":"https://api.github.com/users/didot/repos","events_url":"https://api.github.com/users/didot/events{/privacy}","received_events_url":"https://api.github.com/users/didot/received_events","type":"User","user_view_type":"public","site_admin":false},"html_url":"https://github.com/didot/PyGithub","description":"Typed interactions with the GitHub API v3","fork":true,"url":"https://api.github.com/repos/didot/PyGithub","forks_url":"https://api.github.com/repos/didot/PyGithub/forks","keys_url":"https://api.github.com/repos/didot/PyGithub/keys{/key_id}","collaborators_url":"https://api.github.com/repos/didot/PyGithub/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/didot/PyGithub/teams","hooks_url":"https://api.github.com/repos/didot/PyGithub/hooks","issue_events_url":"https://api.github.com/repos/didot/PyGithub/issues/events{/number}","events_url":"https://api.github.com/repos/didot/PyGithub/events","assignees_url":"https://api.github.com/repos/didot/PyGithub/assignees{/user}","branches_url":"https://api.github.com/repos/didot/PyGithub/branches{/branch}","tags_url":"https://api.github.com/repos/didot/PyGithub/tags","blobs_url":"https://api.github.com/repos/didot/PyGithub/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/didot/PyGithub/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/didot/PyGithub/git/refs{/sha}","trees_url":"https://api.github.com/repos/didot/PyGithub/git/trees{/sha}","statuses_url":"https://api.github.com/repos/didot/PyGithub/statuses/{sha}","languages_url":"https://api.github.com/repos/didot/PyGithub/languages","stargazers_url":"https://api.github.com/repos/didot/PyGithub/stargazers","contributors_url":"https://api.github.com/repos/didot/PyGithub/contributors","subscribers_url":"https://api.github.com/repos/didot/PyGithub/subscribers","subscription_url":"https://api.github.com/repos/didot/PyGithub/subscription","commits_url":"https://api.github.com/repos/didot/PyGithub/commits{/sha}","git_commits_url":"https://api.github.com/repos/didot/PyGithub/git/commits{/sha}","comments_url":"https://api.github.com/repos/didot/PyGithub/comments{/number}","issue_comment_url":"https://api.github.com/repos/didot/PyGithub/issues/comments{/number}","contents_url":"https://api.github.com/repos/didot/PyGithub/contents/{+path}","compare_url":"https://api.github.com/repos/didot/PyGithub/compare/{base}...{head}","merges_url":"https://api.github.com/repos/didot/PyGithub/merges","archive_url":"https://api.github.com/repos/didot/PyGithub/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/didot/PyGithub/downloads","issues_url":"https://api.github.com/repos/didot/PyGithub/issues{/number}","pulls_url":"https://api.github.com/repos/didot/PyGithub/pulls{/number}","milestones_url":"https://api.github.com/repos/didot/PyGithub/milestones{/number}","notifications_url":"https://api.github.com/repos/didot/PyGithub/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/didot/PyGithub/labels{/name}","releases_url":"https://api.github.com/repos/didot/PyGithub/releases{/id}","deployments_url":"https://api.github.com/repos/didot/PyGithub/deployments","created_at":"2025-01-06T08:03:32Z","updated_at":"2025-01-06T08:03:32Z","pushed_at":"2025-01-06T09:16:28Z","git_url":"git://github.com/didot/PyGithub.git","ssh_url":"git@github.com:didot/PyGithub.git","clone_url":"https://github.com/didot/PyGithub.git","svn_url":"https://github.com/didot/PyGithub","homepage":"https://pygithub.readthedocs.io/","size":14406,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"has_discussions":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":2,"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","node_id":"MDc6TGljZW5zZTEy"},"allow_forking":true,"is_template":false,"web_commit_signoff_required":false,"topics":[],"visibility":"public","forks":0,"open_issues":2,"watchers":0,"default_branch":"main"}},"_links":{"self":{"href":"https://api.github.com/repos/didot/PyGithub/pulls/1"},"html":{"href":"https://github.com/didot/PyGithub/pull/1"},"issue":{"href":"https://api.github.com/repos/didot/PyGithub/issues/1"},"comments":{"href":"https://api.github.com/repos/didot/PyGithub/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/didot/PyGithub/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/didot/PyGithub/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/didot/PyGithub/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/didot/PyGithub/statuses/fc649fcb08085ec609caf01d7d3404b2b7397f59"}},"author_association":"OWNER","auto_merge":null,"active_lock_reason":null,"merged":false,"mergeable":true,"rebaseable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":1,"deletions":0,"changed_files":1}

https
POST
api.github.com
None
/graphql
{'Authorization': 'Basic login_and_password_removed', 'User-Agent': 'PyGithub/Python', 'Content-Type': 'application/json'}
{"query": "mutation Mutation($input: ConvertPullRequestToDraftInput!) { convertPullRequestToDraft(input: $input) { clientMutationId pullRequest { isDraft } } }", "variables": {"input": {"pullRequestId": "PR_kwDONmaxWc6Gyusn"}}}
200
[('Date', 'Mon, 06 Jan 2025 09:34:25 GMT'), ('Content-Type', 'application/json; charset=utf-8'), ('X-OAuth-Scopes', 'repo'), ('X-Accepted-OAuth-Scopes', 'repo'), ('github-authentication-token-expiration', '2025-02-05 08:39:31 UTC'), ('X-GitHub-Media-Type', 'github.v4; format=json'), ('X-RateLimit-Limit', '5000'), ('X-RateLimit-Remaining', '4990'), ('X-RateLimit-Reset', '1736156959'), ('X-RateLimit-Used', '10'), ('X-RateLimit-Resource', 'graphql'), ('Access-Control-Expose-Headers', 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset'), ('Access-Control-Allow-Origin', '*'), ('Strict-Transport-Security', 'max-age=31536000; includeSubdomains; preload'), ('X-Frame-Options', 'deny'), ('X-Content-Type-Options', 'nosniff'), ('X-XSS-Protection', '0'), ('Referrer-Policy', 'origin-when-cross-origin, strict-origin-when-cross-origin'), ('Content-Security-Policy', "default-src 'none'"), ('Vary', 'Accept-Encoding, Accept, X-Requested-With'), ('Content-Encoding', 'gzip'), ('Transfer-Encoding', 'chunked'), ('Server', 'github.com'), ('X-GitHub-Request-Id', '9D73:7BB2F:2B0CB609:2C2C364D:677BA3A0')]
{"data":{"convertPullRequestToDraft":{"clientMutationId":null,"pullRequest":{"isDraft":true}}}}
