mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 22:13:26 +00:00
integrations: Update GitHub discussion related fixtures.
This commit is contained in:
committed by
Tim Abbott
parent
22fa5a7ee3
commit
9f01876de8
@@ -1,180 +1,187 @@
|
|||||||
{
|
{
|
||||||
"action": "created",
|
"action": "created",
|
||||||
"discussion": {
|
"discussion": {
|
||||||
"repository_url": "https://api.github.com/repos/baxterthehacker/public-repo",
|
"repository_url": "https://api.github.com/repos/sbansal1999/testing-gh",
|
||||||
"category": {
|
"category": {
|
||||||
"id": 32784361,
|
"id": 39681817,
|
||||||
"repository_id": 17273051,
|
"node_id": "DIC_kwDOJRp_V84CXX8Z",
|
||||||
|
"repository_id": 622493527,
|
||||||
"emoji": ":speech_balloon:",
|
"emoji": ":speech_balloon:",
|
||||||
"name": "General",
|
"name": "General",
|
||||||
"description": "Chat about anything and everything here",
|
"description": "Chat about anything and everything here",
|
||||||
"created_at": "2021-03-24T12:41:54.000-05:00",
|
"created_at": "2023-06-21T23:02:39.000+05:30",
|
||||||
"updated_at": "2021-03-24T12:41:54.000-05:00",
|
"updated_at": "2023-06-21T23:02:39.000+05:30",
|
||||||
"slug": "general",
|
"slug": "general",
|
||||||
"is_answerable": false
|
"is_answerable": false
|
||||||
},
|
},
|
||||||
"answer_html_url": null,
|
"answer_html_url": null,
|
||||||
"answer_chosen_at": null,
|
"answer_chosen_at": null,
|
||||||
"answer_chosen_by": null,
|
"answer_chosen_by": null,
|
||||||
"html_url": "https://github.com/baxterthehacker/public-repo/discussions/90",
|
"html_url": "https://github.com/sbansal1999/testing-gh/discussions/20",
|
||||||
"id": 3297442,
|
"id": 5357975,
|
||||||
"node_id": "MDEwOkRpc2N1c3Npb24zMjk3NDQy",
|
"node_id": "D_kwDOJRp_V84AUcGX",
|
||||||
"number": 90,
|
"number": 20,
|
||||||
"title": "Welcome to discussions!",
|
"title": "Lets discuss",
|
||||||
"user": {
|
"user": {
|
||||||
"login": "baxterthehacker",
|
"login": "sbansal1999",
|
||||||
"id": 21031067,
|
"id": 35286603,
|
||||||
"node_id": "MDQ6VXNlcjIxMDMxMDY3",
|
"node_id": "MDQ6VXNlcjM1Mjg2NjAz",
|
||||||
"avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
|
"avatar_url": "https://avatars.githubusercontent.com/u/35286603?v=4",
|
||||||
"gravatar_id": "",
|
"gravatar_id": "",
|
||||||
"url": "https://api.github.com/users/baxterthehacker",
|
"url": "https://api.github.com/users/sbansal1999",
|
||||||
"html_url": "https://github.com/baxterthehacker",
|
"html_url": "https://github.com/sbansal1999",
|
||||||
"followers_url": "https://api.github.com/users/baxterthehacker/followers",
|
"followers_url": "https://api.github.com/users/sbansal1999/followers",
|
||||||
"following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",
|
"following_url": "https://api.github.com/users/sbansal1999/following{/other_user}",
|
||||||
"gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",
|
"gists_url": "https://api.github.com/users/sbansal1999/gists{/gist_id}",
|
||||||
"starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
|
"starred_url": "https://api.github.com/users/sbansal1999/starred{/owner}{/repo}",
|
||||||
"subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",
|
"subscriptions_url": "https://api.github.com/users/sbansal1999/subscriptions",
|
||||||
"organizations_url": "https://api.github.com/users/baxterthehacker/orgs",
|
"organizations_url": "https://api.github.com/users/sbansal1999/orgs",
|
||||||
"repos_url": "https://api.github.com/users/baxterthehacker/repos",
|
"repos_url": "https://api.github.com/users/sbansal1999/repos",
|
||||||
"events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",
|
"events_url": "https://api.github.com/users/sbansal1999/events{/privacy}",
|
||||||
"received_events_url": "https://api.github.com/users/baxterthehacker/received_events",
|
"received_events_url": "https://api.github.com/users/sbansal1999/received_events",
|
||||||
"type": "User",
|
"type": "User",
|
||||||
"site_admin": false
|
"site_admin": false
|
||||||
},
|
},
|
||||||
"state": "open",
|
"state": "open",
|
||||||
|
"state_reason": null,
|
||||||
"locked": false,
|
"locked": false,
|
||||||
"comments": 0,
|
"comments": 0,
|
||||||
"created_at": "2021-03-29T14:16:08Z",
|
"created_at": "2023-07-01T13:21:16Z",
|
||||||
"updated_at": "2021-03-29T14:16:08Z",
|
"updated_at": "2023-07-01T13:21:16Z",
|
||||||
"author_association": "COLLABORATOR",
|
"author_association": "OWNER",
|
||||||
"active_lock_reason": null,
|
"active_lock_reason": null,
|
||||||
"body": "We're glad to have you here!"
|
"body": "Some random text about which no one cares.\r\n",
|
||||||
|
"reactions": {
|
||||||
|
"url": "https://api.github.com/repos/sbansal1999/testing-gh/discussions/20/reactions",
|
||||||
|
"total_count": 0,
|
||||||
|
"+1": 0,
|
||||||
|
"-1": 0,
|
||||||
|
"laugh": 0,
|
||||||
|
"hooray": 0,
|
||||||
|
"confused": 0,
|
||||||
|
"heart": 0,
|
||||||
|
"rocket": 0,
|
||||||
|
"eyes": 0
|
||||||
|
},
|
||||||
|
"timeline_url": "https://api.github.com/repos/sbansal1999/testing-gh/discussions/20/timeline"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"id": 17273051,
|
"id": 622493527,
|
||||||
"node_id": "MDEwOlJlcG9zaXRvcnkxNzI3MzA1MQ==",
|
"node_id": "R_kgDOJRp_Vw",
|
||||||
"name": "public-repo",
|
"name": "testing-gh",
|
||||||
"full_name": "baxterthehacker/public-repo",
|
"full_name": "sbansal1999/testing-gh",
|
||||||
"private": true,
|
"private": false,
|
||||||
"owner": {
|
"owner": {
|
||||||
"login": "baxterthehacker",
|
"login": "sbansal1999",
|
||||||
"id": 6811672,
|
"id": 35286603,
|
||||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjY4MTE2NzI=",
|
"node_id": "MDQ6VXNlcjM1Mjg2NjAz",
|
||||||
"avatar_url": "https://avatars.githubusercontent.com/u/6811672?v=4",
|
"avatar_url": "https://avatars.githubusercontent.com/u/35286603?v=4",
|
||||||
"gravatar_id": "",
|
"gravatar_id": "",
|
||||||
"url": "https://api.github.com/users/baxterthehacker",
|
"url": "https://api.github.com/users/sbansal1999",
|
||||||
"html_url": "https://github.com/baxterthehacker",
|
"html_url": "https://github.com/sbansal1999",
|
||||||
"followers_url": "https://api.github.com/users/baxterthehacker/followers",
|
"followers_url": "https://api.github.com/users/sbansal1999/followers",
|
||||||
"following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",
|
"following_url": "https://api.github.com/users/sbansal1999/following{/other_user}",
|
||||||
"gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",
|
"gists_url": "https://api.github.com/users/sbansal1999/gists{/gist_id}",
|
||||||
"starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
|
"starred_url": "https://api.github.com/users/sbansal1999/starred{/owner}{/repo}",
|
||||||
"subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",
|
"subscriptions_url": "https://api.github.com/users/sbansal1999/subscriptions",
|
||||||
"organizations_url": "https://api.github.com/users/baxterthehacker/orgs",
|
"organizations_url": "https://api.github.com/users/sbansal1999/orgs",
|
||||||
"repos_url": "https://api.github.com/users/baxterthehacker/repos",
|
"repos_url": "https://api.github.com/users/sbansal1999/repos",
|
||||||
"events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",
|
"events_url": "https://api.github.com/users/sbansal1999/events{/privacy}",
|
||||||
"received_events_url": "https://api.github.com/users/baxterthehacker/received_events",
|
"received_events_url": "https://api.github.com/users/sbansal1999/received_events",
|
||||||
"type": "Organization",
|
"type": "User",
|
||||||
"site_admin": false
|
"site_admin": false
|
||||||
},
|
},
|
||||||
"html_url": "https://github.com/baxterthehacker/public-repo",
|
"html_url": "https://github.com/sbansal1999/testing-gh",
|
||||||
"description": "My first repo on GitHub!",
|
"description": null,
|
||||||
"fork": false,
|
"fork": false,
|
||||||
"url": "https://api.github.com/repos/baxterthehacker/public-repo",
|
"url": "https://api.github.com/repos/sbansal1999/testing-gh",
|
||||||
"forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks",
|
"forks_url": "https://api.github.com/repos/sbansal1999/testing-gh/forks",
|
||||||
"keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}",
|
"keys_url": "https://api.github.com/repos/sbansal1999/testing-gh/keys{/key_id}",
|
||||||
"collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}",
|
"collaborators_url": "https://api.github.com/repos/sbansal1999/testing-gh/collaborators{/collaborator}",
|
||||||
"teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams",
|
"teams_url": "https://api.github.com/repos/sbansal1999/testing-gh/teams",
|
||||||
"hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks",
|
"hooks_url": "https://api.github.com/repos/sbansal1999/testing-gh/hooks",
|
||||||
"issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}",
|
"issue_events_url": "https://api.github.com/repos/sbansal1999/testing-gh/issues/events{/number}",
|
||||||
"events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events",
|
"events_url": "https://api.github.com/repos/sbansal1999/testing-gh/events",
|
||||||
"assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}",
|
"assignees_url": "https://api.github.com/repos/sbansal1999/testing-gh/assignees{/user}",
|
||||||
"branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}",
|
"branches_url": "https://api.github.com/repos/sbansal1999/testing-gh/branches{/branch}",
|
||||||
"tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags",
|
"tags_url": "https://api.github.com/repos/sbansal1999/testing-gh/tags",
|
||||||
"blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}",
|
"blobs_url": "https://api.github.com/repos/sbansal1999/testing-gh/git/blobs{/sha}",
|
||||||
"git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}",
|
"git_tags_url": "https://api.github.com/repos/sbansal1999/testing-gh/git/tags{/sha}",
|
||||||
"git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}",
|
"git_refs_url": "https://api.github.com/repos/sbansal1999/testing-gh/git/refs{/sha}",
|
||||||
"trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}",
|
"trees_url": "https://api.github.com/repos/sbansal1999/testing-gh/git/trees{/sha}",
|
||||||
"statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}",
|
"statuses_url": "https://api.github.com/repos/sbansal1999/testing-gh/statuses/{sha}",
|
||||||
"languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages",
|
"languages_url": "https://api.github.com/repos/sbansal1999/testing-gh/languages",
|
||||||
"stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers",
|
"stargazers_url": "https://api.github.com/repos/sbansal1999/testing-gh/stargazers",
|
||||||
"contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors",
|
"contributors_url": "https://api.github.com/repos/sbansal1999/testing-gh/contributors",
|
||||||
"subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers",
|
"subscribers_url": "https://api.github.com/repos/sbansal1999/testing-gh/subscribers",
|
||||||
"subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription",
|
"subscription_url": "https://api.github.com/repos/sbansal1999/testing-gh/subscription",
|
||||||
"commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}",
|
"commits_url": "https://api.github.com/repos/sbansal1999/testing-gh/commits{/sha}",
|
||||||
"git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}",
|
"git_commits_url": "https://api.github.com/repos/sbansal1999/testing-gh/git/commits{/sha}",
|
||||||
"comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}",
|
"comments_url": "https://api.github.com/repos/sbansal1999/testing-gh/comments{/number}",
|
||||||
"issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}",
|
"issue_comment_url": "https://api.github.com/repos/sbansal1999/testing-gh/issues/comments{/number}",
|
||||||
"contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}",
|
"contents_url": "https://api.github.com/repos/sbansal1999/testing-gh/contents/{+path}",
|
||||||
"compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}",
|
"compare_url": "https://api.github.com/repos/sbansal1999/testing-gh/compare/{base}...{head}",
|
||||||
"merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges",
|
"merges_url": "https://api.github.com/repos/sbansal1999/testing-gh/merges",
|
||||||
"archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}",
|
"archive_url": "https://api.github.com/repos/sbansal1999/testing-gh/{archive_format}{/ref}",
|
||||||
"downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads",
|
"downloads_url": "https://api.github.com/repos/sbansal1999/testing-gh/downloads",
|
||||||
"issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}",
|
"issues_url": "https://api.github.com/repos/sbansal1999/testing-gh/issues{/number}",
|
||||||
"pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}",
|
"pulls_url": "https://api.github.com/repos/sbansal1999/testing-gh/pulls{/number}",
|
||||||
"milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}",
|
"milestones_url": "https://api.github.com/repos/sbansal1999/testing-gh/milestones{/number}",
|
||||||
"notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",
|
"notifications_url": "https://api.github.com/repos/sbansal1999/testing-gh/notifications{?since,all,participating}",
|
||||||
"labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}",
|
"labels_url": "https://api.github.com/repos/sbansal1999/testing-gh/labels{/name}",
|
||||||
"releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}",
|
"releases_url": "https://api.github.com/repos/sbansal1999/testing-gh/releases{/id}",
|
||||||
"deployments_url": "https://api.github.com/repos/baxterthehacker/public-repo/deployments",
|
"deployments_url": "https://api.github.com/repos/sbansal1999/testing-gh/deployments",
|
||||||
"created_at": "2014-02-28T02:42:51Z",
|
"created_at": "2023-04-02T09:31:40Z",
|
||||||
"updated_at": "2021-03-11T14:54:13Z",
|
"updated_at": "2023-04-02T09:31:40Z",
|
||||||
"pushed_at": "2021-03-11T14:54:10Z",
|
"pushed_at": "2023-06-28T17:27:54Z",
|
||||||
"git_url": "git://github.com/baxterthehacker/public-repo.git",
|
"git_url": "git://github.com/sbansal1999/testing-gh.git",
|
||||||
"ssh_url": "org-6811672@github.com:baxterthehacker/public-repo.git",
|
"ssh_url": "git@github.com:sbansal1999/testing-gh.git",
|
||||||
"clone_url": "https://github.com/baxterthehacker/public-repo.git",
|
"clone_url": "https://github.com/sbansal1999/testing-gh.git",
|
||||||
"svn_url": "https://github.com/baxterthehacker/public-repo",
|
"svn_url": "https://github.com/sbansal1999/testing-gh",
|
||||||
"homepage": "",
|
"homepage": null,
|
||||||
"size": 300,
|
"size": 2,
|
||||||
"stargazers_count": 0,
|
"stargazers_count": 0,
|
||||||
"watchers_count": 0,
|
"watchers_count": 0,
|
||||||
"language": "JavaScript",
|
"language": null,
|
||||||
"has_issues": true,
|
"has_issues": true,
|
||||||
"has_projects": false,
|
"has_projects": true,
|
||||||
"has_downloads": true,
|
"has_downloads": true,
|
||||||
"has_wiki": false,
|
"has_wiki": true,
|
||||||
"has_pages": true,
|
"has_pages": false,
|
||||||
|
"has_discussions": true,
|
||||||
"forks_count": 0,
|
"forks_count": 0,
|
||||||
"mirror_url": null,
|
"mirror_url": null,
|
||||||
"archived": false,
|
"archived": false,
|
||||||
"disabled": false,
|
"disabled": false,
|
||||||
"open_issues_count": 39,
|
"open_issues_count": 9,
|
||||||
"license": null,
|
"license": null,
|
||||||
|
"allow_forking": true,
|
||||||
|
"is_template": false,
|
||||||
|
"web_commit_signoff_required": false,
|
||||||
|
"topics": [],
|
||||||
|
"visibility": "public",
|
||||||
"forks": 0,
|
"forks": 0,
|
||||||
"open_issues": 39,
|
"open_issues": 9,
|
||||||
"watchers": 0,
|
"watchers": 0,
|
||||||
"default_branch": "main"
|
"default_branch": "fixing-typo"
|
||||||
},
|
|
||||||
"organization": {
|
|
||||||
"login": "baxterthehacker",
|
|
||||||
"id": 6811672,
|
|
||||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjY4MTE2NzI=",
|
|
||||||
"url": "https://api.github.com/orgs/baxterthehacker",
|
|
||||||
"repos_url": "https://api.github.com/orgs/baxterthehacker/repos",
|
|
||||||
"events_url": "https://api.github.com/orgs/baxterthehacker/events",
|
|
||||||
"hooks_url": "https://api.github.com/orgs/baxterthehacker/hooks",
|
|
||||||
"issues_url": "https://api.github.com/orgs/baxterthehacker/issues",
|
|
||||||
"members_url": "https://api.github.com/orgs/baxterthehacker/members{/member}",
|
|
||||||
"public_members_url": "https://api.github.com/orgs/baxterthehacker/public_members{/member}",
|
|
||||||
"avatar_url": "https://avatars.githubusercontent.com/u/6811672?v=4",
|
|
||||||
"description": "Working better together!"
|
|
||||||
},
|
},
|
||||||
"sender": {
|
"sender": {
|
||||||
"login": "Codertocat",
|
"login": "sbansal1999",
|
||||||
"id": 21031067,
|
"id": 35286603,
|
||||||
"node_id": "MDQ6VXNlcjIxMDMxMDY3",
|
"node_id": "MDQ6VXNlcjM1Mjg2NjAz",
|
||||||
"avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
|
"avatar_url": "https://avatars.githubusercontent.com/u/35286603?v=4",
|
||||||
"gravatar_id": "",
|
"gravatar_id": "",
|
||||||
"url": "https://api.github.com/users/Codertocat",
|
"url": "https://api.github.com/users/sbansal1999",
|
||||||
"html_url": "https://github.com/Codertocat",
|
"html_url": "https://github.com/sbansal1999",
|
||||||
"followers_url": "https://api.github.com/users/Codertocat/followers",
|
"followers_url": "https://api.github.com/users/sbansal1999/followers",
|
||||||
"following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
|
"following_url": "https://api.github.com/users/sbansal1999/following{/other_user}",
|
||||||
"gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
|
"gists_url": "https://api.github.com/users/sbansal1999/gists{/gist_id}",
|
||||||
"starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
|
"starred_url": "https://api.github.com/users/sbansal1999/starred{/owner}{/repo}",
|
||||||
"subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
|
"subscriptions_url": "https://api.github.com/users/sbansal1999/subscriptions",
|
||||||
"organizations_url": "https://api.github.com/users/Codertocat/orgs",
|
"organizations_url": "https://api.github.com/users/sbansal1999/orgs",
|
||||||
"repos_url": "https://api.github.com/users/Codertocat/repos",
|
"repos_url": "https://api.github.com/users/sbansal1999/repos",
|
||||||
"events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
|
"events_url": "https://api.github.com/users/sbansal1999/events{/privacy}",
|
||||||
"received_events_url": "https://api.github.com/users/Codertocat/received_events",
|
"received_events_url": "https://api.github.com/users/sbansal1999/received_events",
|
||||||
"type": "User",
|
"type": "User",
|
||||||
"site_admin": false
|
"site_admin": false
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,213 +1,232 @@
|
|||||||
{
|
{
|
||||||
"action": "created",
|
"action": "created",
|
||||||
"comment": {
|
"comment": {
|
||||||
"id": 544078,
|
"id": 6332416,
|
||||||
"node_id": "MDE3OkRpc2N1c3Npb25Db21tZW50NTQ0MDc4",
|
"node_id": "DC_kwDOJRp_V84AYKAA",
|
||||||
"html_url": "https://github.com/baxterthehacker/public-repo/discussions/90#discussioncomment-544078",
|
"html_url": "https://github.com/sbansal1999/testing-gh/discussions/20#discussioncomment-6332416",
|
||||||
"parent_id": null,
|
"parent_id": null,
|
||||||
"child_comment_count": 0,
|
"child_comment_count": 0,
|
||||||
"repository_url": "baxterthehacker/public-repo",
|
"repository_url": "sbansal1999/testing-gh",
|
||||||
"discussion_id": 3297442,
|
"discussion_id": 5357975,
|
||||||
"author_association": "COLLABORATOR",
|
"author_association": "OWNER",
|
||||||
"user": {
|
"user": {
|
||||||
"login": "Codertocat",
|
"login": "sbansal1999",
|
||||||
"id": 21031067,
|
"id": 35286603,
|
||||||
"node_id": "MDQ6VXNlcjIxMDMxMDY3",
|
"node_id": "MDQ6VXNlcjM1Mjg2NjAz",
|
||||||
"avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
|
"avatar_url": "https://avatars.githubusercontent.com/u/35286603?v=4",
|
||||||
"gravatar_id": "",
|
"gravatar_id": "",
|
||||||
"url": "https://api.github.com/users/Codertocat",
|
"url": "https://api.github.com/users/sbansal1999",
|
||||||
"html_url": "https://github.com/Codertocat",
|
"html_url": "https://github.com/sbansal1999",
|
||||||
"followers_url": "https://api.github.com/users/Codertocat/followers",
|
"followers_url": "https://api.github.com/users/sbansal1999/followers",
|
||||||
"following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
|
"following_url": "https://api.github.com/users/sbansal1999/following{/other_user}",
|
||||||
"gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
|
"gists_url": "https://api.github.com/users/sbansal1999/gists{/gist_id}",
|
||||||
"starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
|
"starred_url": "https://api.github.com/users/sbansal1999/starred{/owner}{/repo}",
|
||||||
"subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
|
"subscriptions_url": "https://api.github.com/users/sbansal1999/subscriptions",
|
||||||
"organizations_url": "https://api.github.com/users/Codertocat/orgs",
|
"organizations_url": "https://api.github.com/users/sbansal1999/orgs",
|
||||||
"repos_url": "https://api.github.com/users/Codertocat/repos",
|
"repos_url": "https://api.github.com/users/sbansal1999/repos",
|
||||||
"events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
|
"events_url": "https://api.github.com/users/sbansal1999/events{/privacy}",
|
||||||
"received_events_url": "https://api.github.com/users/Codertocat/received_events",
|
"received_events_url": "https://api.github.com/users/sbansal1999/received_events",
|
||||||
"type": "User",
|
"type": "User",
|
||||||
"site_admin": false
|
"site_admin": false
|
||||||
},
|
},
|
||||||
"created_at": "2021-03-29T14:16:31Z",
|
"created_at": "2023-07-01T13:22:24Z",
|
||||||
"updated_at": "2021-03-29T14:16:31Z",
|
"updated_at": "2023-07-01T13:22:24Z",
|
||||||
"body": "I have so many questions to ask you!"
|
"body": "some random comment",
|
||||||
|
"reactions": {
|
||||||
|
"url": "https://api.github.com/repos/sbansal1999/testing-gh/issues/comments/6332416/reactions",
|
||||||
|
"total_count": 0,
|
||||||
|
"+1": 0,
|
||||||
|
"-1": 0,
|
||||||
|
"laugh": 0,
|
||||||
|
"hooray": 0,
|
||||||
|
"confused": 0,
|
||||||
|
"heart": 0,
|
||||||
|
"rocket": 0,
|
||||||
|
"eyes": 0
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"discussion": {
|
"discussion": {
|
||||||
"repository_url": "https://api.github.com/repos/baxterthehacker/public-repo",
|
"repository_url": "https://api.github.com/repos/sbansal1999/testing-gh",
|
||||||
"category": {
|
"category": {
|
||||||
"id": 32784361,
|
"id": 39681816,
|
||||||
"repository_id": 17273051,
|
"node_id": "DIC_kwDOJRp_V84CXX8Y",
|
||||||
"emoji": ":speech_balloon:",
|
"repository_id": 622493527,
|
||||||
"name": "General",
|
"emoji": ":mega:",
|
||||||
"description": "Chat about anything and everything here",
|
"name": "Announcements",
|
||||||
"created_at": "2021-03-24T12:41:54.000-05:00",
|
"description": "Updates from maintainers",
|
||||||
"updated_at": "2021-03-24T12:41:54.000-05:00",
|
"created_at": "2023-06-21T23:02:39.000+05:30",
|
||||||
"slug": "general",
|
"updated_at": "2023-06-21T23:02:39.000+05:30",
|
||||||
|
"slug": "announcements",
|
||||||
"is_answerable": false
|
"is_answerable": false
|
||||||
},
|
},
|
||||||
"answer_html_url": null,
|
"answer_html_url": null,
|
||||||
"answer_chosen_at": null,
|
"answer_chosen_at": null,
|
||||||
"answer_chosen_by": null,
|
"answer_chosen_by": null,
|
||||||
"html_url": "https://github.com/baxterthehacker/public-repo/discussions/90",
|
"html_url": "https://github.com/sbansal1999/testing-gh/discussions/20",
|
||||||
"id": 3297442,
|
"id": 5357975,
|
||||||
"node_id": "MDEwOkRpc2N1c3Npb24zMjk3NDQy",
|
"node_id": "D_kwDOJRp_V84AUcGX",
|
||||||
"number": 90,
|
"number": 20,
|
||||||
"title": "Welcome to discussions!",
|
"title": "Lets discuss",
|
||||||
"user": {
|
"user": {
|
||||||
"login": "Codertocat",
|
"login": "sbansal1999",
|
||||||
"id": 14935376,
|
"id": 35286603,
|
||||||
"node_id": "MDQ6VXNlcjE0OTM1Mzc2",
|
"node_id": "MDQ6VXNlcjM1Mjg2NjAz",
|
||||||
"avatar_url": "https://avatars.githubusercontent.com/u/14935376?v=4",
|
"avatar_url": "https://avatars.githubusercontent.com/u/35286603?v=4",
|
||||||
"gravatar_id": "",
|
"gravatar_id": "",
|
||||||
"url": "https://api.github.com/users/Codertocat",
|
"url": "https://api.github.com/users/sbansal1999",
|
||||||
"html_url": "https://github.com/Codertocat",
|
"html_url": "https://github.com/sbansal1999",
|
||||||
"followers_url": "https://api.github.com/users/Codertocat/followers",
|
"followers_url": "https://api.github.com/users/sbansal1999/followers",
|
||||||
"following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
|
"following_url": "https://api.github.com/users/sbansal1999/following{/other_user}",
|
||||||
"gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
|
"gists_url": "https://api.github.com/users/sbansal1999/gists{/gist_id}",
|
||||||
"starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
|
"starred_url": "https://api.github.com/users/sbansal1999/starred{/owner}{/repo}",
|
||||||
"subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
|
"subscriptions_url": "https://api.github.com/users/sbansal1999/subscriptions",
|
||||||
"organizations_url": "https://api.github.com/users/Codertocat/orgs",
|
"organizations_url": "https://api.github.com/users/sbansal1999/orgs",
|
||||||
"repos_url": "https://api.github.com/users/Codertocat/repos",
|
"repos_url": "https://api.github.com/users/sbansal1999/repos",
|
||||||
"events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
|
"events_url": "https://api.github.com/users/sbansal1999/events{/privacy}",
|
||||||
"received_events_url": "https://api.github.com/users/Codertocat/received_events",
|
"received_events_url": "https://api.github.com/users/sbansal1999/received_events",
|
||||||
"type": "User",
|
"type": "User",
|
||||||
"site_admin": true
|
|
||||||
},
|
|
||||||
"state": "open",
|
|
||||||
"locked": false,
|
|
||||||
"comments": 1,
|
|
||||||
"created_at": "2021-03-29T14:16:08Z",
|
|
||||||
"updated_at": "2021-03-29T14:16:31Z",
|
|
||||||
"author_association": "COLLABORATOR",
|
|
||||||
"active_lock_reason": null,
|
|
||||||
"body": "We're glad to have you here!"
|
|
||||||
},
|
|
||||||
"repository": {
|
|
||||||
"id": 17273051,
|
|
||||||
"node_id": "MDEwOlJlcG9zaXRvcnkxNzI3MzA1MQ==",
|
|
||||||
"name": "public-repo",
|
|
||||||
"full_name": "baxterthehacker/public-repo",
|
|
||||||
"private": true,
|
|
||||||
"owner": {
|
|
||||||
"login": "baxterthehacker",
|
|
||||||
"id": 6811672,
|
|
||||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjY4MTE2NzI=",
|
|
||||||
"avatar_url": "https://avatars.githubusercontent.com/u/6811672?v=4",
|
|
||||||
"gravatar_id": "",
|
|
||||||
"url": "https://api.github.com/users/baxterthehacker",
|
|
||||||
"html_url": "https://github.com/baxterthehacker",
|
|
||||||
"followers_url": "https://api.github.com/users/baxterthehacker/followers",
|
|
||||||
"following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",
|
|
||||||
"gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",
|
|
||||||
"starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
|
|
||||||
"subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",
|
|
||||||
"organizations_url": "https://api.github.com/users/baxterthehacker/orgs",
|
|
||||||
"repos_url": "https://api.github.com/users/baxterthehacker/repos",
|
|
||||||
"events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",
|
|
||||||
"received_events_url": "https://api.github.com/users/baxterthehacker/received_events",
|
|
||||||
"type": "Organization",
|
|
||||||
"site_admin": false
|
"site_admin": false
|
||||||
},
|
},
|
||||||
"html_url": "https://github.com/baxterthehacker/public-repo",
|
"state": "open",
|
||||||
"description": "My first repo on GitHub!",
|
"state_reason": null,
|
||||||
|
"locked": false,
|
||||||
|
"comments": 1,
|
||||||
|
"created_at": "2023-07-01T13:21:16Z",
|
||||||
|
"updated_at": "2023-07-01T13:22:24Z",
|
||||||
|
"author_association": "OWNER",
|
||||||
|
"active_lock_reason": null,
|
||||||
|
"body": "Some random text about which no one cares.\r\n",
|
||||||
|
"reactions": {
|
||||||
|
"url": "https://api.github.com/repos/sbansal1999/testing-gh/discussions/20/reactions",
|
||||||
|
"total_count": 0,
|
||||||
|
"+1": 0,
|
||||||
|
"-1": 0,
|
||||||
|
"laugh": 0,
|
||||||
|
"hooray": 0,
|
||||||
|
"confused": 0,
|
||||||
|
"heart": 0,
|
||||||
|
"rocket": 0,
|
||||||
|
"eyes": 0
|
||||||
|
},
|
||||||
|
"timeline_url": "https://api.github.com/repos/sbansal1999/testing-gh/discussions/20/timeline"
|
||||||
|
},
|
||||||
|
"repository": {
|
||||||
|
"id": 622493527,
|
||||||
|
"node_id": "R_kgDOJRp_Vw",
|
||||||
|
"name": "testing-gh",
|
||||||
|
"full_name": "sbansal1999/testing-gh",
|
||||||
|
"private": false,
|
||||||
|
"owner": {
|
||||||
|
"login": "sbansal1999",
|
||||||
|
"id": 35286603,
|
||||||
|
"node_id": "MDQ6VXNlcjM1Mjg2NjAz",
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/35286603?v=4",
|
||||||
|
"gravatar_id": "",
|
||||||
|
"url": "https://api.github.com/users/sbansal1999",
|
||||||
|
"html_url": "https://github.com/sbansal1999",
|
||||||
|
"followers_url": "https://api.github.com/users/sbansal1999/followers",
|
||||||
|
"following_url": "https://api.github.com/users/sbansal1999/following{/other_user}",
|
||||||
|
"gists_url": "https://api.github.com/users/sbansal1999/gists{/gist_id}",
|
||||||
|
"starred_url": "https://api.github.com/users/sbansal1999/starred{/owner}{/repo}",
|
||||||
|
"subscriptions_url": "https://api.github.com/users/sbansal1999/subscriptions",
|
||||||
|
"organizations_url": "https://api.github.com/users/sbansal1999/orgs",
|
||||||
|
"repos_url": "https://api.github.com/users/sbansal1999/repos",
|
||||||
|
"events_url": "https://api.github.com/users/sbansal1999/events{/privacy}",
|
||||||
|
"received_events_url": "https://api.github.com/users/sbansal1999/received_events",
|
||||||
|
"type": "User",
|
||||||
|
"site_admin": false
|
||||||
|
},
|
||||||
|
"html_url": "https://github.com/sbansal1999/testing-gh",
|
||||||
|
"description": null,
|
||||||
"fork": false,
|
"fork": false,
|
||||||
"url": "https://api.github.com/repos/baxterthehacker/public-repo",
|
"url": "https://api.github.com/repos/sbansal1999/testing-gh",
|
||||||
"forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks",
|
"forks_url": "https://api.github.com/repos/sbansal1999/testing-gh/forks",
|
||||||
"keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}",
|
"keys_url": "https://api.github.com/repos/sbansal1999/testing-gh/keys{/key_id}",
|
||||||
"collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}",
|
"collaborators_url": "https://api.github.com/repos/sbansal1999/testing-gh/collaborators{/collaborator}",
|
||||||
"teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams",
|
"teams_url": "https://api.github.com/repos/sbansal1999/testing-gh/teams",
|
||||||
"hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks",
|
"hooks_url": "https://api.github.com/repos/sbansal1999/testing-gh/hooks",
|
||||||
"issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}",
|
"issue_events_url": "https://api.github.com/repos/sbansal1999/testing-gh/issues/events{/number}",
|
||||||
"events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events",
|
"events_url": "https://api.github.com/repos/sbansal1999/testing-gh/events",
|
||||||
"assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}",
|
"assignees_url": "https://api.github.com/repos/sbansal1999/testing-gh/assignees{/user}",
|
||||||
"branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}",
|
"branches_url": "https://api.github.com/repos/sbansal1999/testing-gh/branches{/branch}",
|
||||||
"tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags",
|
"tags_url": "https://api.github.com/repos/sbansal1999/testing-gh/tags",
|
||||||
"blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}",
|
"blobs_url": "https://api.github.com/repos/sbansal1999/testing-gh/git/blobs{/sha}",
|
||||||
"git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}",
|
"git_tags_url": "https://api.github.com/repos/sbansal1999/testing-gh/git/tags{/sha}",
|
||||||
"git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}",
|
"git_refs_url": "https://api.github.com/repos/sbansal1999/testing-gh/git/refs{/sha}",
|
||||||
"trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}",
|
"trees_url": "https://api.github.com/repos/sbansal1999/testing-gh/git/trees{/sha}",
|
||||||
"statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}",
|
"statuses_url": "https://api.github.com/repos/sbansal1999/testing-gh/statuses/{sha}",
|
||||||
"languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages",
|
"languages_url": "https://api.github.com/repos/sbansal1999/testing-gh/languages",
|
||||||
"stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers",
|
"stargazers_url": "https://api.github.com/repos/sbansal1999/testing-gh/stargazers",
|
||||||
"contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors",
|
"contributors_url": "https://api.github.com/repos/sbansal1999/testing-gh/contributors",
|
||||||
"subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers",
|
"subscribers_url": "https://api.github.com/repos/sbansal1999/testing-gh/subscribers",
|
||||||
"subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription",
|
"subscription_url": "https://api.github.com/repos/sbansal1999/testing-gh/subscription",
|
||||||
"commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}",
|
"commits_url": "https://api.github.com/repos/sbansal1999/testing-gh/commits{/sha}",
|
||||||
"git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}",
|
"git_commits_url": "https://api.github.com/repos/sbansal1999/testing-gh/git/commits{/sha}",
|
||||||
"comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}",
|
"comments_url": "https://api.github.com/repos/sbansal1999/testing-gh/comments{/number}",
|
||||||
"issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}",
|
"issue_comment_url": "https://api.github.com/repos/sbansal1999/testing-gh/issues/comments{/number}",
|
||||||
"contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}",
|
"contents_url": "https://api.github.com/repos/sbansal1999/testing-gh/contents/{+path}",
|
||||||
"compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}",
|
"compare_url": "https://api.github.com/repos/sbansal1999/testing-gh/compare/{base}...{head}",
|
||||||
"merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges",
|
"merges_url": "https://api.github.com/repos/sbansal1999/testing-gh/merges",
|
||||||
"archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}",
|
"archive_url": "https://api.github.com/repos/sbansal1999/testing-gh/{archive_format}{/ref}",
|
||||||
"downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads",
|
"downloads_url": "https://api.github.com/repos/sbansal1999/testing-gh/downloads",
|
||||||
"issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}",
|
"issues_url": "https://api.github.com/repos/sbansal1999/testing-gh/issues{/number}",
|
||||||
"pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}",
|
"pulls_url": "https://api.github.com/repos/sbansal1999/testing-gh/pulls{/number}",
|
||||||
"milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}",
|
"milestones_url": "https://api.github.com/repos/sbansal1999/testing-gh/milestones{/number}",
|
||||||
"notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",
|
"notifications_url": "https://api.github.com/repos/sbansal1999/testing-gh/notifications{?since,all,participating}",
|
||||||
"labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}",
|
"labels_url": "https://api.github.com/repos/sbansal1999/testing-gh/labels{/name}",
|
||||||
"releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}",
|
"releases_url": "https://api.github.com/repos/sbansal1999/testing-gh/releases{/id}",
|
||||||
"deployments_url": "https://api.github.com/repos/baxterthehacker/public-repo/deployments",
|
"deployments_url": "https://api.github.com/repos/sbansal1999/testing-gh/deployments",
|
||||||
"created_at": "2014-02-28T02:42:51Z",
|
"created_at": "2023-04-02T09:31:40Z",
|
||||||
"updated_at": "2021-03-11T14:54:13Z",
|
"updated_at": "2023-04-02T09:31:40Z",
|
||||||
"pushed_at": "2021-03-11T14:54:10Z",
|
"pushed_at": "2023-06-28T17:27:54Z",
|
||||||
"git_url": "git://github.com/baxterthehacker/public-repo.git",
|
"git_url": "git://github.com/sbansal1999/testing-gh.git",
|
||||||
"ssh_url": "org-6811672@github.com:baxterthehacker/public-repo.git",
|
"ssh_url": "git@github.com:sbansal1999/testing-gh.git",
|
||||||
"clone_url": "https://github.com/baxterthehacker/public-repo.git",
|
"clone_url": "https://github.com/sbansal1999/testing-gh.git",
|
||||||
"svn_url": "https://github.com/baxterthehacker/public-repo",
|
"svn_url": "https://github.com/sbansal1999/testing-gh",
|
||||||
"homepage": "",
|
"homepage": null,
|
||||||
"size": 300,
|
"size": 2,
|
||||||
"stargazers_count": 0,
|
"stargazers_count": 0,
|
||||||
"watchers_count": 0,
|
"watchers_count": 0,
|
||||||
"language": "JavaScript",
|
"language": null,
|
||||||
"has_issues": true,
|
"has_issues": true,
|
||||||
"has_projects": false,
|
"has_projects": true,
|
||||||
"has_downloads": true,
|
"has_downloads": true,
|
||||||
"has_wiki": false,
|
"has_wiki": true,
|
||||||
"has_pages": true,
|
"has_pages": false,
|
||||||
|
"has_discussions": true,
|
||||||
"forks_count": 0,
|
"forks_count": 0,
|
||||||
"mirror_url": null,
|
"mirror_url": null,
|
||||||
"archived": false,
|
"archived": false,
|
||||||
"disabled": false,
|
"disabled": false,
|
||||||
"open_issues_count": 39,
|
"open_issues_count": 9,
|
||||||
"license": null,
|
"license": null,
|
||||||
|
"allow_forking": true,
|
||||||
|
"is_template": false,
|
||||||
|
"web_commit_signoff_required": false,
|
||||||
|
"topics": [],
|
||||||
|
"visibility": "public",
|
||||||
"forks": 0,
|
"forks": 0,
|
||||||
"open_issues": 39,
|
"open_issues": 9,
|
||||||
"watchers": 0,
|
"watchers": 0,
|
||||||
"default_branch": "main"
|
"default_branch": "fixing-typo"
|
||||||
},
|
|
||||||
"organization": {
|
|
||||||
"login": "baxterthehacker",
|
|
||||||
"id": 6811672,
|
|
||||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjY4MTE2NzI=",
|
|
||||||
"url": "https://api.github.com/orgs/baxterthehacker",
|
|
||||||
"repos_url": "https://api.github.com/orgs/baxterthehacker/repos",
|
|
||||||
"events_url": "https://api.github.com/orgs/baxterthehacker/events",
|
|
||||||
"hooks_url": "https://api.github.com/orgs/baxterthehacker/hooks",
|
|
||||||
"issues_url": "https://api.github.com/orgs/baxterthehacker/issues",
|
|
||||||
"members_url": "https://api.github.com/orgs/baxterthehacker/members{/member}",
|
|
||||||
"public_members_url": "https://api.github.com/orgs/baxterthehacker/public_members{/member}",
|
|
||||||
"avatar_url": "https://avatars.githubusercontent.com/u/6811672?v=4",
|
|
||||||
"description": "Working better together!"
|
|
||||||
},
|
},
|
||||||
"sender": {
|
"sender": {
|
||||||
"login": "Codertocat",
|
"login": "sbansal1999",
|
||||||
"id": 21031067,
|
"id": 35286603,
|
||||||
"node_id": "MDQ6VXNlcjIxMDMxMDY3",
|
"node_id": "MDQ6VXNlcjM1Mjg2NjAz",
|
||||||
"avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
|
"avatar_url": "https://avatars.githubusercontent.com/u/35286603?v=4",
|
||||||
"gravatar_id": "",
|
"gravatar_id": "",
|
||||||
"url": "https://api.github.com/users/Codertocat",
|
"url": "https://api.github.com/users/sbansal1999",
|
||||||
"html_url": "https://github.com/Codertocat",
|
"html_url": "https://github.com/sbansal1999",
|
||||||
"followers_url": "https://api.github.com/users/Codertocat/followers",
|
"followers_url": "https://api.github.com/users/sbansal1999/followers",
|
||||||
"following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
|
"following_url": "https://api.github.com/users/sbansal1999/following{/other_user}",
|
||||||
"gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
|
"gists_url": "https://api.github.com/users/sbansal1999/gists{/gist_id}",
|
||||||
"starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
|
"starred_url": "https://api.github.com/users/sbansal1999/starred{/owner}{/repo}",
|
||||||
"subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
|
"subscriptions_url": "https://api.github.com/users/sbansal1999/subscriptions",
|
||||||
"organizations_url": "https://api.github.com/users/Codertocat/orgs",
|
"organizations_url": "https://api.github.com/users/sbansal1999/orgs",
|
||||||
"repos_url": "https://api.github.com/users/Codertocat/repos",
|
"repos_url": "https://api.github.com/users/sbansal1999/repos",
|
||||||
"events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
|
"events_url": "https://api.github.com/users/sbansal1999/events{/privacy}",
|
||||||
"received_events_url": "https://api.github.com/users/Codertocat/received_events",
|
"received_events_url": "https://api.github.com/users/sbansal1999/received_events",
|
||||||
"type": "User",
|
"type": "User",
|
||||||
"site_admin": false
|
"site_admin": false
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ TOPIC_DEPLOYMENT = "public-repo / Deployment on production"
|
|||||||
TOPIC_ORGANIZATION = "baxterandthehackers organization"
|
TOPIC_ORGANIZATION = "baxterandthehackers organization"
|
||||||
TOPIC_BRANCH = "public-repo / changes"
|
TOPIC_BRANCH = "public-repo / changes"
|
||||||
TOPIC_WIKI = "public-repo / wiki pages"
|
TOPIC_WIKI = "public-repo / wiki pages"
|
||||||
TOPIC_DISCUSSION = "public-repo discussion #90: Welcome to discussions!"
|
TOPIC_DISCUSSION = "testing-gh discussion #20: Lets discuss"
|
||||||
|
|
||||||
|
|
||||||
class GitHubWebhookTest(WebhookTestCase):
|
class GitHubWebhookTest(WebhookTestCase):
|
||||||
@@ -575,9 +575,9 @@ A temporary team so that I can get some webhook fixtures!
|
|||||||
self.assertTrue(stack_info)
|
self.assertTrue(stack_info)
|
||||||
|
|
||||||
def test_discussion_msg(self) -> None:
|
def test_discussion_msg(self) -> None:
|
||||||
expected_message = "Codertocat created [discussion #90](https://github.com/baxterthehacker/public-repo/discussions/90) in General:\n\n~~~ quote\n### Welcome to discussions!\nWe're glad to have you here!\n~~~"
|
expected_message = "sbansal1999 created [discussion #20](https://github.com/sbansal1999/testing-gh/discussions/20) in General:\n\n~~~ quote\n### Lets discuss\nSome random text about which no one cares.\r\n\n~~~"
|
||||||
self.check_webhook("discussion", TOPIC_DISCUSSION, expected_message)
|
self.check_webhook("discussion", TOPIC_DISCUSSION, expected_message)
|
||||||
|
|
||||||
def test_discussion_comment_msg(self) -> None:
|
def test_discussion_comment_msg(self) -> None:
|
||||||
expected_message = "Codertocat [commented](https://github.com/baxterthehacker/public-repo/discussions/90#discussioncomment-544078) on [discussion #90](https://github.com/baxterthehacker/public-repo/discussions/90):\n\n~~~ quote\nI have so many questions to ask you!\n~~~"
|
expected_message = "sbansal1999 [commented](https://github.com/sbansal1999/testing-gh/discussions/20#discussioncomment-6332416) on [discussion #20](https://github.com/sbansal1999/testing-gh/discussions/20):\n\n~~~ quote\nsome random comment\n~~~"
|
||||||
self.check_webhook("discussion_comment", TOPIC_DISCUSSION, expected_message)
|
self.check_webhook("discussion_comment", TOPIC_DISCUSSION, expected_message)
|
||||||
|
|||||||
Reference in New Issue
Block a user