File: Repository.testGetDiscussions.txt

package info (click to toggle)
pygithub 2.6.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 33,476 kB
  • sloc: python: 38,409; sh: 7; makefile: 6
file content (43 lines) | stat: -rw-r--r-- 27,139 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
https
GET
api.github.com
None
/repos/PyGithub/PyGithub
{'Authorization': 'Basic login_and_password_removed', 'User-Agent': 'PyGithub/Python'}
None
200
[('Date', 'Tue, 17 Sep 2024 13:54:13 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/"c8e45d1a983f482b7c91fe66326bb90a746e7a7d4592af657e9f4076fc3c4466"'), ('Last-Modified', 'Tue, 17 Sep 2024 06:27:32 GMT'), ('X-OAuth-Scopes', 'read:discussion, read:org'), ('X-Accepted-OAuth-Scopes', 'repo'), ('github-authentication-token-expiration', '2024-10-04 11:29:00 UTC'), ('X-GitHub-Media-Type', 'github.v3; format=json'), ('x-github-api-version-selected', '2022-11-28'), ('X-RateLimit-Limit', '5000'), ('X-RateLimit-Remaining', '4978'), ('X-RateLimit-Reset', '1726582607'), ('X-RateLimit-Used', '22'), ('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', '7FBA:1BAA22:E03E49:E21E67:66E98A05')]
{"id":3544490,"node_id":"MDEwOlJlcG9zaXRvcnkzNTQ0NDkw","name":"PyGithub","full_name":"PyGithub/PyGithub","private":false,"owner":{"login":"PyGithub","id":11288996,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExMjg4OTk2","avatar_url":"https://avatars.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},"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":"2024-09-17T06:27:32Z","pushed_at":"2024-09-12T10:47:45Z","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":"https://pygithub.readthedocs.io/","size":16092,"stargazers_count":6905,"watchers_count":6905,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"has_discussions":true,"forks_count":1762,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":341,"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":["github","github-api","pygithub","python"],"visibility":"public","forks":1762,"open_issues":341,"watchers":6905,"default_branch":"main","permissions":{"admin":true,"maintain":true,"push":true,"triage":true,"pull":true},"temp_clone_token":"","custom_properties":{},"organization":{"login":"PyGithub","id":11288996,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExMjg4OTk2","avatar_url":"https://avatars.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},"network_count":1762,"subscribers_count":111}

https
POST
api.github.com
None
/graphql
{'Authorization': 'Basic login_and_password_removed', 'User-Agent': 'PyGithub/Python', 'Content-Type': 'application/json'}
{"query": "\n            query Q($repo: String!, $owner: String!, $answered: Boolean, $category_id: ID, $states: [DiscussionState!], $first: Int, $last: Int, $before: String, $after: String) {\n              repository(name: $repo, owner: $owner) {\n                discussions(answered: $answered, categoryId: $category_id, states: $states, first: $first, last: $last, before: $before, after: $after) {\n                  totalCount\n                  pageInfo {\n                    startCursor\n                    endCursor\n                    hasNextPage\n                    hasPreviousPage\n                  }\n                  nodes {\n            author { login }\n            number\n            repository {\n              owner { login }\n              name\n            }\n            title\n          }\n                }\n              }\n            }\n            ", "variables": {"repo": "PyGithub", "owner": "PyGithub", "answered": null, "category_id": null, "states": null, "first": 30}}
200
[('Date', 'Tue, 17 Sep 2024 13:54:14 GMT'), ('Content-Type', 'application/json; charset=utf-8'), ('X-OAuth-Scopes', 'read:discussion, read:org'), ('X-Accepted-OAuth-Scopes', 'repo'), ('github-authentication-token-expiration', '2024-10-04 11:29:00 UTC'), ('X-GitHub-Media-Type', 'github.v4; format=json'), ('X-RateLimit-Limit', '5000'), ('X-RateLimit-Remaining', '4987'), ('X-RateLimit-Reset', '1726582607'), ('X-RateLimit-Used', '13'), ('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', '7F75:221185:D4482D:D6286C:66E98A05')]
{"data":{"repository":{"discussions":{"totalCount":65,"pageInfo":{"startCursor":"Y3Vyc29yOnYyOpK5MjAyNC0wOS0xM1QxOToyMzowOSswMjowMM4AbYx8","endCursor":"Y3Vyc29yOnYyOpK5MjAyMy0wMy0xNFQwOTozNjoxOSswMTowMM4AQ6mO","hasNextPage":true,"hasPreviousPage":false},"nodes":[{"author":{"login":"gmishkin"},"number":3044,"repository":{"owner":{"login":"PyGithub"},"name":"PyGithub"},"title":"Automaticlly look for access tokens in standard places"},{"author":{"login":"kostrykin"},"number":3033,"repository":{"owner":{"login":"PyGithub"},"name":"PyGithub"},"title":"Possible to interact with the Discussions on a GitHub repository?"},{"author":{"login":"heitorPB"},"number":2993,"repository":{"owner":{"login":"PyGithub"},"name":"PyGithub"},"title":"How to get a list of custom repository properties?"},{"author":{"login":"EnricoMi"},"number":2205,"repository":{"owner":{"login":"PyGithub"},"name":"PyGithub"},"title":"Is the PyGithub project dead? How can the community help?"},{"author":{"login":"guymatz"},"number":2938,"repository":{"owner":{"login":"PyGithub"},"name":"PyGithub"},"title":"How can I tell if my branch has a Pull Request?"},{"author":{"login":"bobneuman"},"number":2997,"repository":{"owner":{"login":"PyGithub"},"name":"PyGithub"},"title":"Response caching"},{"author":{"login":"syang"},"number":2991,"repository":{"owner":{"login":"PyGithub"},"name":"PyGithub"},"title":"Recursively list all file names in a repo without being throttled"},{"author":{"login":"lmilbaum"},"number":2953,"repository":{"owner":{"login":"PyGithub"},"name":"PyGithub"},"title":"Can this project used for creation a GitHub app?"},{"author":{"login":"zituo-jin"},"number":2943,"repository":{"owner":{"login":"PyGithub"},"name":"PyGithub"},"title":"Operations on pull requests in merge queue"},{"author":{"login":"pn17F2DD3"},"number":2916,"repository":{"owner":{"login":"PyGithub"},"name":"PyGithub"},"title":"Count the number of 'reopened' issues in GitHub"},{"author":{"login":"bliu11"},"number":2909,"repository":{"owner":{"login":"PyGithub"},"name":"PyGithub"},"title":"long backoff time when encountering a single 403"},{"author":{"login":"andrewakl"},"number":2889,"repository":{"owner":{"login":"PyGithub"},"name":"PyGithub"},"title":"How to set the \"prevent_self_review\" param when creating/updating GitHub environment?"},{"author":{"login":"whanso"},"number":2852,"repository":{"owner":{"login":"PyGithub"},"name":"PyGithub"},"title":"Batch multiple `create_file` invocations within single commit?"},{"author":{"login":"baishuotong"},"number":2849,"repository":{"owner":{"login":"PyGithub"},"name":"PyGithub"},"title":"A research for generating PR checklists in Pull Request Template"},{"author":{"login":"marksie1988"},"number":2814,"repository":{"owner":{"login":"PyGithub"},"name":"PyGithub"},"title":"get_secret not raising an exception"},{"author":{"login":"fsadykov"},"number":2795,"repository":{"owner":{"login":"PyGithub"},"name":"PyGithub"},"title":"How to get github issue python class using url or id?"},{"author":{"login":"vsajip"},"number":2758,"repository":{"owner":{"login":"PyGithub"},"name":"PyGithub"},"title":"How do you sync a fork with its parent?"},{"author":{"login":"lokeshwarobuli"},"number":2737,"repository":{"owner":{"login":"PyGithub"},"name":"PyGithub"},"title":"How to log requests"},{"author":{"login":"aditya-samalla"},"number":2710,"repository":{"owner":{"login":"PyGithub"},"name":"PyGithub"},"title":"How to sign a commit raised via PyGithub"},{"author":{"login":"zsbeheshti"},"number":2495,"repository":{"owner":{"login":"PyGithub"},"name":"PyGithub"},"title":"Definition of the initial population for the genetic algorithm by the user"},{"author":{"login":"buhtz"},"number":2255,"repository":{"owner":{"login":"PyGithub"},"name":"PyGithub"},"title":"How to securily use access tokens?"},{"author":null,"number":2619,"repository":{"owner":{"login":"PyGithub"},"name":"PyGithub"},"title":"How do I create a new branch with PyGithub?"},{"author":{"login":"antoineKorbit"},"number":2559,"repository":{"owner":{"login":"PyGithub"},"name":"PyGithub"},"title":"Release of new version for this library"},{"author":{"login":"dougdonohoe"},"number":2104,"repository":{"owner":{"login":"PyGithub"},"name":"PyGithub"},"title":"How do I call /installation/repositories API?"},{"author":{"login":"parteekcoder"},"number":2539,"repository":{"owner":{"login":"PyGithub"},"name":"PyGithub"},"title":"Pull request accross different repository"},{"author":{"login":"jackfurr"},"number":2177,"repository":{"owner":{"login":"PyGithub"},"name":"PyGithub"},"title":"How to Revert a Merged PR"},{"author":{"login":"EnricoMi"},"number":2453,"repository":{"owner":{"login":"PyGithub"},"name":"PyGithub"},"title":"Maintainers TODO list"},{"author":{"login":"c4mmartin"},"number":2500,"repository":{"owner":{"login":"PyGithub"},"name":"PyGithub"},"title":"Trying to fire off workflow_dispatch events"},{"author":{"login":"arunanandhan"},"number":2480,"repository":{"owner":{"login":"PyGithub"},"name":"PyGithub"},"title":"Is there a way to search if a string present in default branch?"},{"author":{"login":"EnricoMi"},"number":2321,"repository":{"owner":{"login":"PyGithub"},"name":"PyGithub"},"title":"Prioritising pull requests"}]}}}}

https
POST
api.github.com
None
/graphql
{'Authorization': 'Basic login_and_password_removed', 'User-Agent': 'PyGithub/Python', 'Content-Type': 'application/json'}
{"query": "\n            query Q($repo: String!, $owner: String!, $answered: Boolean, $category_id: ID, $states: [DiscussionState!], $first: Int, $last: Int, $before: String, $after: String) {\n              repository(name: $repo, owner: $owner) {\n                discussions(answered: $answered, categoryId: $category_id, states: $states, first: $first, last: $last, before: $before, after: $after) {\n                  totalCount\n                  pageInfo {\n                    startCursor\n                    endCursor\n                    hasNextPage\n                    hasPreviousPage\n                  }\n                  nodes {\n            author { login }\n            number\n            repository {\n              owner { login }\n              name\n            }\n            title\n          }\n                }\n              }\n            }\n            ", "variables": {"repo": "PyGithub", "owner": "PyGithub", "answered": null, "category_id": null, "states": null, "first": 30, "after": "Y3Vyc29yOnYyOpK5MjAyMy0wMy0xNFQwOTozNjoxOSswMTowMM4AQ6mO"}}
200
[('Date', 'Tue, 17 Sep 2024 13:54:14 GMT'), ('Content-Type', 'application/json; charset=utf-8'), ('X-OAuth-Scopes', 'read:discussion, read:org'), ('X-Accepted-OAuth-Scopes', 'repo'), ('github-authentication-token-expiration', '2024-10-04 11:29:00 UTC'), ('X-GitHub-Media-Type', 'github.v4; format=json'), ('X-RateLimit-Limit', '5000'), ('X-RateLimit-Remaining', '4986'), ('X-RateLimit-Reset', '1726582607'), ('X-RateLimit-Used', '14'), ('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', '7F1E:39E39C:D73E82:D91A96:66E98A06')]
{"data":{"repository":{"discussions":{"totalCount":65,"pageInfo":{"startCursor":"Y3Vyc29yOnYyOpK5MjAyMy0wMi0yNlQxMzoyODo1MiswMTowMM4ASrYx","endCursor":"Y3Vyc29yOnYyOpK5MjAyMS0wNS0wMVQwNTozMzoxMCswMjowMM4AMwlT","hasNextPage":true,"hasPreviousPage":true},"nodes":[{"author":{"login":"Vuizur"},"number":2438,"repository":{"owner":{"login":"PyGithub"},"name":"PyGithub"},"title":"Uploading multiple assets to a release"},{"author":{"login":"songyuc"},"number":2368,"repository":{"owner":{"login":"PyGithub"},"name":"PyGithub"},"title":"Can I download a specifical file from my repo?"},{"author":{"login":"gitblanc"},"number":2367,"repository":{"owner":{"login":"PyGithub"},"name":"PyGithub"},"title":"ImportError: cannot import name 'Github' from 'github' (/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/github/__init__.py)"},{"author":{"login":"mmdbalkhi"},"number":2264,"repository":{"owner":{"login":"PyGithub"},"name":"PyGithub"},"title":"ssl.SSLEOFError: EOF occurred in violation of protocol (_ssl.c:2396)"},{"author":{"login":"mariolasagna007"},"number":2357,"repository":{"owner":{"login":"PyGithub"},"name":"PyGithub"},"title":"repo.get_codescan_alerts()"},{"author":{"login":"xii-yang"},"number":2318,"repository":{"owner":{"login":"PyGithub"},"name":"PyGithub"},"title":"How to search the Pull Request which first introduce a commit Sha"},{"author":{"login":"xenosdio"},"number":2306,"repository":{"owner":{"login":"PyGithub"},"name":"PyGithub"},"title":"Verify if login_or_token is correct"},{"author":{"login":"DelaporteRobin"},"number":2304,"repository":{"owner":{"login":"PyGithub"},"name":"PyGithub"},"title":"Upload files on github"},{"author":{"login":"mosheco"},"number":2298,"repository":{"owner":{"login":"PyGithub"},"name":"PyGithub"},"title":"Question: where is GithubIntegration documented ."},{"author":{"login":"ygoldsmith"},"number":2293,"repository":{"owner":{"login":"PyGithub"},"name":"PyGithub"},"title":"How to query check suite results"},{"author":{"login":"nri-xiang-liu-01"},"number":2292,"repository":{"owner":{"login":"PyGithub"},"name":"PyGithub"},"title":"How can I create a new branch by use PyGithub?"},{"author":{"login":"yoyomeng2"},"number":2153,"repository":{"owner":{"login":"PyGithub"},"name":"PyGithub"},"title":"Is there support to set bypass PR requirements users?"},{"author":{"login":"kenorb"},"number":2277,"repository":{"owner":{"login":"PyGithub"},"name":"PyGithub"},"title":"Download an artifact's file from GitHub Actions (Workflows)"},{"author":{"login":"LuisSFGH"},"number":2057,"repository":{"owner":{"login":"PyGithub"},"name":"PyGithub"},"title":"Do you have plans to add workflows features?"},{"author":{"login":"sayakpaul"},"number":2246,"repository":{"owner":{"login":"PyGithub"},"name":"PyGithub"},"title":"Question on hostname"},{"author":{"login":"sr-murthy"},"number":2242,"repository":{"owner":{"login":"PyGithub"},"name":"PyGithub"},"title":"Top repo contributors"},{"author":{"login":"kamaraj-muthupandian"},"number":2179,"repository":{"owner":{"login":"PyGithub"},"name":"PyGithub"},"title":"Connect GHE cloud using OIDC"},{"author":{"login":"xmo-odoo"},"number":2173,"repository":{"owner":{"login":"PyGithub"},"name":"PyGithub"},"title":"Dedicated builder object for review comments?"},{"author":{"login":"yoyomeng2"},"number":2155,"repository":{"owner":{"login":"PyGithub"},"name":"PyGithub"},"title":"GithubCredentials 401"},{"author":{"login":"padmashree12"},"number":2124,"repository":{"owner":{"login":"PyGithub"},"name":"PyGithub"},"title":"Star"},{"author":{"login":"simkimsia"},"number":2013,"repository":{"owner":{"login":"PyGithub"},"name":"PyGithub"},"title":"How to run tests for just 1 test case?"},{"author":{"login":"scoates"},"number":1993,"repository":{"owner":{"login":"PyGithub"},"name":"PyGithub"},"title":"Drop .pyi?"},{"author":{"login":"yoyomeng2"},"number":2023,"repository":{"owner":{"login":"PyGithub"},"name":"PyGithub"},"title":"Looking for githubstatus Object?"},{"author":{"login":"evilensky"},"number":2018,"repository":{"owner":{"login":"PyGithub"},"name":"PyGithub"},"title":"audit-log"},{"author":{"login":"orenzp"},"number":2015,"repository":{"owner":{"login":"PyGithub"},"name":"PyGithub"},"title":"PyGithub support for Team"},{"author":{"login":"Nuzair46"},"number":1864,"repository":{"owner":{"login":"PyGithub"},"name":"PyGithub"},"title":"get_contributers"},{"author":{"login":"Captain8771"},"number":1964,"repository":{"owner":{"login":"PyGithub"},"name":"PyGithub"},"title":"ModuleNotFoundError: No module named 'github' but i pip installed pygithub?"},{"author":{"login":"ssbarnea"},"number":1790,"repository":{"owner":{"login":"PyGithub"},"name":"PyGithub"},"title":"How to batch enable auto-merges on multiple repositories?"},{"author":{"login":"astrochun"},"number":1946,"repository":{"owner":{"login":"PyGithub"},"name":"PyGithub"},"title":"Exporting JSON about repositories"},{"author":{"login":"bhushanladdad"},"number":1936,"repository":{"owner":{"login":"PyGithub"},"name":"PyGithub"},"title":"get_contents thorws error UnknownObjectException"}]}}}}

https
POST
api.github.com
None
/graphql
{'Authorization': 'Basic login_and_password_removed', 'User-Agent': 'PyGithub/Python', 'Content-Type': 'application/json'}
{"query": "\n            query Q($repo: String!, $owner: String!, $answered: Boolean, $category_id: ID, $states: [DiscussionState!], $first: Int, $last: Int, $before: String, $after: String) {\n              repository(name: $repo, owner: $owner) {\n                discussions(answered: $answered, categoryId: $category_id, states: $states, first: $first, last: $last, before: $before, after: $after) {\n                  totalCount\n                  pageInfo {\n                    startCursor\n                    endCursor\n                    hasNextPage\n                    hasPreviousPage\n                  }\n                  nodes {\n            author { login }\n            number\n            repository {\n              owner { login }\n              name\n            }\n            title\n          }\n                }\n              }\n            }\n            ", "variables": {"repo": "PyGithub", "owner": "PyGithub", "answered": null, "category_id": null, "states": null, "first": 30, "after": "Y3Vyc29yOnYyOpK5MjAyMS0wNS0wMVQwNTozMzoxMCswMjowMM4AMwlT"}}
200
[('Date', 'Tue, 17 Sep 2024 13:54:15 GMT'), ('Content-Type', 'application/json; charset=utf-8'), ('X-OAuth-Scopes', 'read:discussion, read:org'), ('X-Accepted-OAuth-Scopes', 'repo'), ('github-authentication-token-expiration', '2024-10-04 11:29:00 UTC'), ('X-GitHub-Media-Type', 'github.v4; format=json'), ('X-RateLimit-Limit', '5000'), ('X-RateLimit-Remaining', '4985'), ('X-RateLimit-Reset', '1726582607'), ('X-RateLimit-Used', '15'), ('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', '7FB0:3299B4:DC961E:DE761B:66E98A06')]
{"data":{"repository":{"discussions":{"totalCount":65,"pageInfo":{"startCursor":"Y3Vyc29yOnYyOpK5MjAyMS0wMy0xOFQwMzowODowMSswMTowMM4ALjaQ","endCursor":"Y3Vyc29yOnYyOpK5MjAyMC0xMi0wOVQwNjo0NDozMiswMTowMM2_Dw==","hasNextPage":false,"hasPreviousPage":true},"nodes":[{"author":{"login":"dejokz"},"number":1848,"repository":{"owner":{"login":"PyGithub"},"name":"PyGithub"},"title":"How to get number of open and closed issue of a repo"},{"author":{"login":"MarkWilsonODS"},"number":1854,"repository":{"owner":{"login":"PyGithub"},"name":"PyGithub"},"title":"Repo visibility"},{"author":{"login":"kenorb"},"number":1819,"repository":{"owner":{"login":"PyGithub"},"name":"PyGithub"},"title":"How to access logs_url's contents?"},{"author":{"login":"henryiii"},"number":1778,"repository":{"owner":{"login":"PyGithub"},"name":"PyGithub"},"title":"Dump Issue to structured format"},{"author":{"login":"henryiii"},"number":1780,"repository":{"owner":{"login":"PyGithub"},"name":"PyGithub"},"title":"Show an example of a more advanced query"}]}}}}