{
@@ -3618,14 +4218,14 @@
>About wikis".
-
+
- Repository webhooks
- Organization webhooks
- GitHub Apps with the
contents
permission
-
-
- Webhook payload example
+
+ Webhook payload example
{
@@ -3857,12 +4457,12 @@ installation
integration_installation
event.
- Availability
+ Availability
-
- Webhook payload object
+
+ Webhook payload object
-
- Webhook payload example
+
+ Webhook payload example
{
@@ -4016,12 +4616,12 @@
integration_installation_repositories
event.
- Availability
+ Availability
-
- Webhook payload object
+
+ Webhook payload object
-
- Webhook payload example
+
+ Webhook payload example
{
@@ -4172,14 +4772,14 @@
>issue comments" REST API.
- Availability
+ Availability
- Repository webhooks
- Organization webhooks
- GitHub Apps with the
issues
permission
-
- Webhook payload object
+
+ Webhook payload object
-
- Webhook payload example
+
+ Webhook payload example
{
@@ -4557,14 +5157,14 @@ issues
action
property of the payload object. For more information,
see the "issues" REST API.
- Availability
+ Availability
- Repository webhooks
- Organization webhooks
- GitHub Apps with the
issues
permission
-
- Webhook payload object
+
+ Webhook payload object
@@ -4927,14 +5527,14 @@ label
action
property of the payload object. For more information,
see the "labels" REST API.
- Availability
+ Availability
- Repository webhooks
- Organization webhooks
- GitHub Apps with the
metadata
permission
-
- Webhook payload object
+
+ Webhook payload object
-
- Webhook payload example
+
+ Webhook payload example
{
@@ -5159,12 +5759,12 @@
more information, see the "GitHub Marketplace."
- Availability
+ Availability
-
- Webhook payload object
+
+ Webhook payload object
@@ -5294,14 +5894,14 @@ member
>collaborators" REST API.
- Availability
+ Availability
- Repository webhooks
- Organization webhooks
- GitHub Apps with the
members
permission
-
- Webhook payload object
+
+ Webhook payload object
-
- Webhook payload example
+
+ Webhook payload example
{
@@ -5544,13 +6144,13 @@ membership
>team members" REST API.
- Availability
+ Availability
- Organization webhooks
- GitHub Apps with the
members
permission
-
- Webhook payload object
+
+ Webhook payload object
-
- Webhook payload example
+
+ Webhook payload example
{
@@ -5704,13 +6304,13 @@ meta
Therefore, it must be selected for each hook that you'd like to receive meta
events for.
- Availability
+ Availability
- Repository webhooks
- Organization webhooks
-
- Webhook payload object
+
+ Webhook payload object
-
- Webhook payload example
+
+ Webhook payload example
{
@@ -5917,14 +6517,14 @@ milestone
see the "milestones" REST
API.
- Availability
+ Availability
- Repository webhooks
- Organization webhooks
- GitHub Apps with the
pull_requests
permission
-
- Webhook payload object
+
+ Webhook payload object
-
- Webhook payload example
+
+ Webhook payload example
{
@@ -6188,7 +6788,7 @@ organization
>organizations" REST API.
- Availability
+ Availability
-
Organization webhooks only receive the
deleted
,
@@ -6197,8 +6797,8 @@ Availability
- GitHub Apps with the
members
permission
-
- Webhook payload object
+
+ Webhook payload object
-
- Webhook payload example
+
+ Webhook payload example
{
@@ -6341,15 +6941,15 @@ org_block
>blocking organization users" REST API.
- Availability
+ Availability
- Organization webhooks
-
GitHub Apps with the
organization_administration
permission
-
- Webhook payload object
+
+ Webhook payload object
-
- Webhook payload example
+
+ Webhook payload example
{
@@ -6474,13 +7074,13 @@ package
>Managing packages with GitHub Packages" to learn more about GitHub Packages.
- Availability
+ Availability
- Repository webhooks
- Organization webhooks
-
- Webhook payload object
+
+ Webhook payload object
-
- Webhook payload example
+
+ Webhook payload example
{
@@ -6785,14 +7385,14 @@ page_build
project pages, the default branch for user and organization pages) triggers
this event.
- Availability
+ Availability
- Repository webhooks
- Organization webhooks
- GitHub Apps with the
pages
permission
-
- Webhook payload object
+
+ Webhook payload object
-
- Webhook payload example
+
+ Webhook payload example
{
@@ -7023,7 +7623,7 @@ ping
>
endpoint.
- Availability
+ Availability
- Repository webhooks
- Organization webhooks
@@ -7032,8 +7632,8 @@ Availability
register the app
-
- Webhook payload object
+
+ Webhook payload object
-
- Webhook payload example
+
+ Webhook payload example
{
@@ -7264,7 +7864,7 @@ project_card
see the "project cards" REST
API.
- Availability
+ Availability
- Repository webhooks
- Organization webhooks
@@ -7273,8 +7873,8 @@ Availability
organization_projects
permission
-
- Webhook payload object
+
+ Webhook payload object
-
- Webhook payload example
+
+ Webhook payload example
{
@@ -7530,7 +8130,7 @@ project_column
>project columns" REST API.
- Availability
+ Availability
- Repository webhooks
- Organization webhooks
@@ -7539,8 +8139,8 @@ Availability
organization_projects
permission
-
- Webhook payload object
+
+ Webhook payload object
-
- Webhook payload example
+
+ Webhook payload example
{
@@ -7773,7 +8373,7 @@ project
action
property of the payload object. For more information,
see the "projects" REST API.
- Availability
+ Availability
- Repository webhooks
- Organization webhooks
@@ -7782,8 +8382,8 @@ Availability
organization_projects
permission
-
- Webhook payload object
+
+ Webhook payload object
-
- Webhook payload example
+
+ Webhook payload example
{
@@ -8033,14 +8633,14 @@ public
When a private repository is made public. Without a doubt: the best GitHub
event.
- Availability
+ Availability
- Repository webhooks
- Organization webhooks
- GitHub Apps with the
metadata
permission
-
- Webhook payload object
+
+ Webhook payload object
-
- Webhook payload example
+
+ Webhook payload example
{
@@ -8219,14 +8819,14 @@ pull_request
action
property of the payload object. For more information,
see the "pull requests" REST API.
- Availability
+ Availability
- Repository webhooks
- Organization webhooks
- GitHub Apps with the
pull_requests
permission
-
- Webhook payload object
+
+ Webhook payload object
-
- Webhook payload example
+
+ Webhook payload example
Deliveries for review_requested
and
@@ -8804,14 +9404,14 @@
>pull request reviews" REST API.
- Availability
+ Availability
- Repository webhooks
- Organization webhooks
- GitHub Apps with the
pull_requests
permission
-
- Webhook payload object
+
+ Webhook payload object
-
- Webhook payload example
+
+ Webhook payload example
{
@@ -9394,14 +9994,14 @@
-
- Webhook payload example
+
+ Webhook payload example
{
@@ -10007,14 +10607,14 @@ push
sender
object contains more detail.
- Availability
+ Availability
- Repository webhooks
- Organization webhooks
- GitHub Apps with the
contents
permission
-
- Webhook payload object
+
+ Webhook payload object
-
- Webhook payload example
+
+ Webhook payload example
{
@@ -10307,14 +10907,14 @@ release
action
property of the payload object. For more information,
see the "releases" REST API.
- Availability
+ Availability
- Repository webhooks
- Organization webhooks
- GitHub Apps with the
contents
permission
-
- Webhook payload object
+
+ Webhook payload object
-
- Webhook payload example
+
+ Webhook payload example
{
@@ -10593,15 +11193,15 @@
>Create a repository dispatch event" endpoint.
- Availability
+ Availability
-
GitHub Apps must have the
contents
permission to receive this
webhook.
-
- Webhook payload example
+
+ Webhook payload example
{
@@ -10751,7 +11351,7 @@ repository
action
property of the payload object. For more information,
see the "repositories" REST API.
- Availability
+ Availability
-
Repository webhooks receive all event types except
deleted
@@ -10762,8 +11362,8 @@ Availability
types except deleted
-
- Webhook payload object
+
+ Webhook payload object
-
- Webhook payload example
+
+ Webhook payload example
{
@@ -10974,13 +11574,13 @@
Source imports API.
- Availability
+ Availability
- Repository webhooks
- Organization webhooks
-
- Webhook payload object
+
+ Webhook payload object
-
- Webhook payload example
+
+ Webhook payload example
{
@@ -11177,13 +11777,13 @@
>About alerts for vulnerable dependencies".
- Availability
+ Availability
- Repository webhooks
- Organization webhooks
-
- Webhook payload object
+
+ Webhook payload object
-
- Webhook payload example
+
+ Webhook payload example
{
@@ -11382,7 +11982,7 @@
>About secret scanning.”
- Availability
+ Availability
- Repository webhooks
- Organization webhooks
@@ -11390,8 +11990,8 @@ Availability
GitHub Apps with the secret_scanning_alerts:read
permission
-
- Webhook payload object
+
+ Webhook payload object
-
- Webhook payload example
+
+ Webhook payload example
{
@@ -11616,12 +12216,12 @@
>About alerts for vulnerable dependencies."
- Availability
+ Availability
- GitHub Apps with the
security_events
permission
-
- Webhook payload object
+
+ Webhook payload object
-
- Webhook payload example
+
+ Webhook payload example
{
@@ -11725,12 +12325,12 @@
>Configuring webhooks for events in your sponsored account".
- Availability
+ Availability
-
- Webhook payload object
+
+ Webhook payload object
@@ -11978,13 +12578,13 @@ star
>starring" REST API.
- Availability
+ Availability
- Repository webhooks
- Organization webhooks
-
- Webhook payload object
+
+ Webhook payload object
-
- Webhook payload example
+
+ Webhook payload example
{
@@ -12176,14 +12776,14 @@ status
>statuses" REST API.
- Availability
+ Availability
- Repository webhooks
- Organization webhooks
- GitHub Apps with the
statuses
permission
-
- Webhook payload object
+
+ Webhook payload object
-
- Webhook payload example
+
+ Webhook payload example
{
@@ -12508,13 +13108,13 @@ team
more information, see the "teams"
REST API.
- Availability
+ Availability
- Organization webhooks
- GitHub Apps with the
members
permission
-
- Webhook payload object
+
+ Webhook payload object
-
- Webhook payload example
+
+ Webhook payload example
{
@@ -12787,14 +13387,14 @@ team_add
>repository is added to a team.
- Availability
+ Availability
- Repository webhooks
- Organization webhooks
- GitHub Apps with the
members
permission
-
- Webhook payload object
+
+ Webhook payload object
-
- Webhook payload example
+
+ Webhook payload example
{
@@ -13015,14 +13615,14 @@ watch
starred a repository, and the event’s repository is the
repository that was starred.
- Availability
+ Availability
- Repository webhooks
- Organization webhooks
- GitHub Apps with the
metadata
permission
-
- Webhook payload object
+
+ Webhook payload object
-
- Webhook payload example
+
+ Webhook payload example
{
@@ -13217,15 +13817,15 @@
>Events that trigger workflows."
- Availability
+ Availability
-
GitHub Apps must have the
contents
permission to receive this
webhook.
-
- Webhook payload example
+
+ Webhook payload example
{
@@ -13372,15 +13972,15 @@ workflow_run
>Events that trigger workflows."
- Availability
+ Availability
-
GitHub Apps with the
actions
or
contents
permissions.
-
- Webhook payload object
+
+ Webhook payload object
-
- Webhook payload example
+
+ Webhook payload example
{
diff --git a/index.json b/index.json
index 4d8760266..5ccf93084 100644
--- a/index.json
+++ b/index.json
@@ -9300,6 +9300,2703 @@
}
]
},
+ {
+ "name": "discussion",
+ "description": "Activity related to a discussion. For more information, see the \"[Using the GraphQL API for discussions](/en/graphql/guides/using-the-graphql-api-for-discussions).\"",
+ "actions": [
+ "answered",
+ "category_changed",
+ "created",
+ "deleted",
+ "edited",
+ "locked",
+ "pinned",
+ "transferred",
+ "unanswered",
+ "unlocked",
+ "unpinned"
+ ],
+ "properties": {
+ "discussion": {
+ "type": "object",
+ "description": "The [`discussion`](/en/graphql/guides/using-the-graphql-api-for-discussions#discussion) resource."
+ },
+ "repository": {
+ "type": "object",
+ "description": "The [`repository`](/en/graphql/reference/objects#repository) where the event occurred."
+ },
+ "organization": {
+ "type": "object",
+ "description": "Webhook payloads contain the [`organization`](/en/graphql/reference/objects#organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization."
+ },
+ "sender": {
+ "type": "object",
+ "description": "The user that triggered the event."
+ }
+ },
+ "examples": [
+ {
+ "action": "created",
+ "discussion": {
+ "repository_url": "https://api.github.com/repos/octo-org/octo-repo",
+ "category": {
+ "id": 32784361,
+ "repository_id": 17273051,
+ "emoji": ":speech_balloon:",
+ "name": "General",
+ "description": "Chat about anything and everything here",
+ "created_at": "2021-03-24T12:41:54.000-05:00",
+ "updated_at": "2021-03-24T12:41:54.000-05:00",
+ "slug": "general",
+ "is_answerable": false
+ },
+ "answer_html_url": null,
+ "answer_chosen_at": null,
+ "answer_chosen_by": null,
+ "html_url": "https://github.com/octo-org/octo-repo/discussions/90",
+ "id": 3297442,
+ "node_id": "MDEwOkRpc2N1c3Npb24zMjk3NDQy",
+ "number": 90,
+ "title": "Welcome to discussions!",
+ "user": {
+ "login": "Codertocat",
+ "id": 21031067,
+ "node_id": "MDQ6VXNlcjIxMDMxMDY3",
+ "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "state": "open",
+ "locked": false,
+ "comments": 0,
+ "created_at": "2021-03-29T14:16:08Z",
+ "updated_at": "2021-03-29T14:16:08Z",
+ "author_association": "COLLABORATOR",
+ "active_lock_reason": null,
+ "body": "We're glad to have you here!"
+ },
+ "repository": {
+ "id": 17273051,
+ "node_id": "MDEwOlJlcG9zaXRvcnkxNzI3MzA1MQ==",
+ "name": "octo-repo",
+ "full_name": "octo-org/octo-repo",
+ "private": true,
+ "owner": {
+ "login": "octo-org",
+ "id": 6811672,
+ "node_id": "MDEyOk9yZ2FuaXphdGlvbjY4MTE2NzI=",
+ "avatar_url": "https://avatars.githubusercontent.com/u/6811672?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octo-org",
+ "html_url": "https://github.com/octo-org",
+ "followers_url": "https://api.github.com/users/octo-org/followers",
+ "following_url": "https://api.github.com/users/octo-org/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octo-org/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octo-org/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octo-org/subscriptions",
+ "organizations_url": "https://api.github.com/users/octo-org/orgs",
+ "repos_url": "https://api.github.com/users/octo-org/repos",
+ "events_url": "https://api.github.com/users/octo-org/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octo-org/received_events",
+ "type": "Organization",
+ "site_admin": false
+ },
+ "html_url": "https://github.com/octo-org/octo-repo",
+ "description": "My first repo on GitHub!",
+ "fork": false,
+ "url": "https://api.github.com/repos/octo-org/octo-repo",
+ "forks_url": "https://api.github.com/repos/octo-org/octo-repo/forks",
+ "keys_url": "https://api.github.com/repos/octo-org/octo-repo/keys{/key_id}",
+ "collaborators_url": "https://api.github.com/repos/octo-org/octo-repo/collaborators{/collaborator}",
+ "teams_url": "https://api.github.com/repos/octo-org/octo-repo/teams",
+ "hooks_url": "https://api.github.com/repos/octo-org/octo-repo/hooks",
+ "issue_events_url": "https://api.github.com/repos/octo-org/octo-repo/issues/events{/number}",
+ "events_url": "https://api.github.com/repos/octo-org/octo-repo/events",
+ "assignees_url": "https://api.github.com/repos/octo-org/octo-repo/assignees{/user}",
+ "branches_url": "https://api.github.com/repos/octo-org/octo-repo/branches{/branch}",
+ "tags_url": "https://api.github.com/repos/octo-org/octo-repo/tags",
+ "blobs_url": "https://api.github.com/repos/octo-org/octo-repo/git/blobs{/sha}",
+ "git_tags_url": "https://api.github.com/repos/octo-org/octo-repo/git/tags{/sha}",
+ "git_refs_url": "https://api.github.com/repos/octo-org/octo-repo/git/refs{/sha}",
+ "trees_url": "https://api.github.com/repos/octo-org/octo-repo/git/trees{/sha}",
+ "statuses_url": "https://api.github.com/repos/octo-org/octo-repo/statuses/{sha}",
+ "languages_url": "https://api.github.com/repos/octo-org/octo-repo/languages",
+ "stargazers_url": "https://api.github.com/repos/octo-org/octo-repo/stargazers",
+ "contributors_url": "https://api.github.com/repos/octo-org/octo-repo/contributors",
+ "subscribers_url": "https://api.github.com/repos/octo-org/octo-repo/subscribers",
+ "subscription_url": "https://api.github.com/repos/octo-org/octo-repo/subscription",
+ "commits_url": "https://api.github.com/repos/octo-org/octo-repo/commits{/sha}",
+ "git_commits_url": "https://api.github.com/repos/octo-org/octo-repo/git/commits{/sha}",
+ "comments_url": "https://api.github.com/repos/octo-org/octo-repo/comments{/number}",
+ "issue_comment_url": "https://api.github.com/repos/octo-org/octo-repo/issues/comments{/number}",
+ "contents_url": "https://api.github.com/repos/octo-org/octo-repo/contents/{+path}",
+ "compare_url": "https://api.github.com/repos/octo-org/octo-repo/compare/{base}...{head}",
+ "merges_url": "https://api.github.com/repos/octo-org/octo-repo/merges",
+ "archive_url": "https://api.github.com/repos/octo-org/octo-repo/{archive_format}{/ref}",
+ "downloads_url": "https://api.github.com/repos/octo-org/octo-repo/downloads",
+ "issues_url": "https://api.github.com/repos/octo-org/octo-repo/issues{/number}",
+ "pulls_url": "https://api.github.com/repos/octo-org/octo-repo/pulls{/number}",
+ "milestones_url": "https://api.github.com/repos/octo-org/octo-repo/milestones{/number}",
+ "notifications_url": "https://api.github.com/repos/octo-org/octo-repo/notifications{?since,all,participating}",
+ "labels_url": "https://api.github.com/repos/octo-org/octo-repo/labels{/name}",
+ "releases_url": "https://api.github.com/repos/octo-org/octo-repo/releases{/id}",
+ "deployments_url": "https://api.github.com/repos/octo-org/octo-repo/deployments",
+ "created_at": "2014-02-28T02:42:51Z",
+ "updated_at": "2021-03-11T14:54:13Z",
+ "pushed_at": "2021-03-11T14:54:10Z",
+ "git_url": "git://github.com/octo-org/octo-repo.git",
+ "ssh_url": "org-6811672@github.com:octo-org/octo-repo.git",
+ "clone_url": "https://github.com/octo-org/octo-repo.git",
+ "svn_url": "https://github.com/octo-org/octo-repo",
+ "homepage": "",
+ "size": 300,
+ "stargazers_count": 0,
+ "watchers_count": 0,
+ "language": "JavaScript",
+ "has_issues": true,
+ "has_projects": false,
+ "has_downloads": true,
+ "has_wiki": false,
+ "has_pages": true,
+ "forks_count": 0,
+ "mirror_url": null,
+ "archived": false,
+ "disabled": false,
+ "open_issues_count": 39,
+ "license": null,
+ "forks": 0,
+ "open_issues": 39,
+ "watchers": 0,
+ "default_branch": "main"
+ },
+ "organization": {
+ "login": "octo-org",
+ "id": 6811672,
+ "node_id": "MDEyOk9yZ2FuaXphdGlvbjY4MTE2NzI=",
+ "url": "https://api.github.com/orgs/octo-org",
+ "repos_url": "https://api.github.com/orgs/octo-org/repos",
+ "events_url": "https://api.github.com/orgs/octo-org/events",
+ "hooks_url": "https://api.github.com/orgs/octo-org/hooks",
+ "issues_url": "https://api.github.com/orgs/octo-org/issues",
+ "members_url": "https://api.github.com/orgs/octo-org/members{/member}",
+ "public_members_url": "https://api.github.com/orgs/octo-org/public_members{/member}",
+ "avatar_url": "https://avatars.githubusercontent.com/u/6811672?v=4",
+ "description": "Working better together!"
+ },
+ "sender": {
+ "login": "Codertocat",
+ "id": 21031067,
+ "node_id": "MDQ6VXNlcjIxMDMxMDY3",
+ "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+ },
+ {
+ "action": "answered",
+ "discussion": {
+ "repository_url": "https://api.github.com/repos/Codertocat/Hello-World",
+ "category": {
+ "id": 32809315,
+ "repository_id": 141753607,
+ "emoji": ":pray:",
+ "name": "Q&A",
+ "description": "Ask the community for help",
+ "created_at": "2021-03-30T16:09:00.000-04:00",
+ "updated_at": "2021-03-30T16:09:00.000-04:00",
+ "slug": "q-a",
+ "is_answerable": true
+ },
+ "answer_html_url": "https://github.com/Codertocat/Hello-World/discussions/4#discussioncomment-550561",
+ "answer_chosen_at": "2021-03-30T19:17:18.000-04:00",
+ "answer_chosen_by": {
+ "login": "Codertocat",
+ "id": 4595477,
+ "node_id": "MDQ6VXNlcjQ1OTU0Nzc=",
+ "avatar_url": "https://avatars.githubusercontent.com/u/4595477?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "html_url": "https://github.com/Codertocat/Hello-World/discussions/4",
+ "id": 3299614,
+ "node_id": "MDEwOkRpc2N1c3Npb24zMjk5NjE0",
+ "number": 4,
+ "title": "TEST edit",
+ "user": {
+ "login": "Codertocat",
+ "id": 4595477,
+ "node_id": "MDQ6VXNlcjQ1OTU0Nzc=",
+ "avatar_url": "https://avatars.githubusercontent.com/u/4595477?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "state": "open",
+ "locked": false,
+ "comments": 1,
+ "created_at": "2021-03-30T20:09:52Z",
+ "updated_at": "2021-03-30T23:17:18Z",
+ "author_association": "OWNER",
+ "active_lock_reason": null,
+ "body": "TEST edit"
+ },
+ "answer": {
+ "id": 550561,
+ "node_id": "MDE3OkRpc2N1c3Npb25Db21tZW50NTUwNTYx",
+ "html_url": "https://github.com/Codertocat/Hello-World/discussions/4#discussioncomment-550561",
+ "parent_id": null,
+ "child_comment_count": 0,
+ "repository_url": "Codertocat/Hello-World",
+ "discussion_id": 3299614,
+ "author_association": "NONE",
+ "user": {
+ "login": "dan2wik",
+ "id": 1253226,
+ "node_id": "MDQ6VXNlcjEyNTMyMjY=",
+ "avatar_url": "https://avatars.githubusercontent.com/u/1253226?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/dan2wik",
+ "html_url": "https://github.com/dan2wik",
+ "followers_url": "https://api.github.com/users/dan2wik/followers",
+ "following_url": "https://api.github.com/users/dan2wik/following{/other_user}",
+ "gists_url": "https://api.github.com/users/dan2wik/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/dan2wik/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/dan2wik/subscriptions",
+ "organizations_url": "https://api.github.com/users/dan2wik/orgs",
+ "repos_url": "https://api.github.com/users/dan2wik/repos",
+ "events_url": "https://api.github.com/users/dan2wik/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/dan2wik/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "created_at": "2021-03-30T23:16:42Z",
+ "updated_at": "2021-03-30T23:16:55Z",
+ "body": "Poggers"
+ },
+ "repository": {
+ "id": 186853002,
+ "node_id": "MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI=",
+ "name": "Hello-World",
+ "full_name": "Codertocat/Hello-World",
+ "private": false,
+ "owner": {
+ "login": "Codertocat",
+ "id": 21031067,
+ "node_id": "MDQ6VXNlcjIxMDMxMDY3",
+ "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "html_url": "https://github.com/Codertocat/Hello-World",
+ "description": null,
+ "fork": true,
+ "url": "https://api.github.com/repos/Codertocat/Hello-World",
+ "forks_url": "https://api.github.com/repos/Codertocat/Hello-World/forks",
+ "keys_url": "https://api.github.com/repos/Codertocat/Hello-World/keys{/key_id}",
+ "collaborators_url": "https://api.github.com/repos/Codertocat/Hello-World/collaborators{/collaborator}",
+ "teams_url": "https://api.github.com/repos/Codertocat/Hello-World/teams",
+ "hooks_url": "https://api.github.com/repos/Codertocat/Hello-World/hooks",
+ "issue_events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/events{/number}",
+ "events_url": "https://api.github.com/repos/Codertocat/Hello-World/events",
+ "assignees_url": "https://api.github.com/repos/Codertocat/Hello-World/assignees{/user}",
+ "branches_url": "https://api.github.com/repos/Codertocat/Hello-World/branches{/branch}",
+ "tags_url": "https://api.github.com/repos/Codertocat/Hello-World/tags",
+ "blobs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/blobs{/sha}",
+ "git_tags_url": "https://api.github.com/repos/Codertocat/Hello-World/git/tags{/sha}",
+ "git_refs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/refs{/sha}",
+ "trees_url": "https://api.github.com/repos/Codertocat/Hello-World/git/trees{/sha}",
+ "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/statuses/{sha}",
+ "languages_url": "https://api.github.com/repos/Codertocat/Hello-World/languages",
+ "stargazers_url": "https://api.github.com/repos/Codertocat/Hello-World/stargazers",
+ "contributors_url": "https://api.github.com/repos/Codertocat/Hello-World/contributors",
+ "subscribers_url": "https://api.github.com/repos/Codertocat/Hello-World/subscribers",
+ "subscription_url": "https://api.github.com/repos/Codertocat/Hello-World/subscription",
+ "commits_url": "https://api.github.com/repos/Codertocat/Hello-World/commits{/sha}",
+ "git_commits_url": "https://api.github.com/repos/Codertocat/Hello-World/git/commits{/sha}",
+ "comments_url": "https://api.github.com/repos/Codertocat/Hello-World/comments{/number}",
+ "issue_comment_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments{/number}",
+ "contents_url": "https://api.github.com/repos/Codertocat/Hello-World/contents/{+path}",
+ "compare_url": "https://api.github.com/repos/Codertocat/Hello-World/compare/{base}...{head}",
+ "merges_url": "https://api.github.com/repos/Codertocat/Hello-World/merges",
+ "archive_url": "https://api.github.com/repos/Codertocat/Hello-World/{archive_format}{/ref}",
+ "downloads_url": "https://api.github.com/repos/Codertocat/Hello-World/downloads",
+ "issues_url": "https://api.github.com/repos/Codertocat/Hello-World/issues{/number}",
+ "pulls_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls{/number}",
+ "milestones_url": "https://api.github.com/repos/Codertocat/Hello-World/milestones{/number}",
+ "notifications_url": "https://api.github.com/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
+ "labels_url": "https://api.github.com/repos/Codertocat/Hello-World/labels{/name}",
+ "releases_url": "https://api.github.com/repos/Codertocat/Hello-World/releases{/id}",
+ "deployments_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments",
+ "created_at": "2018-07-20T20:11:57Z",
+ "updated_at": "2021-03-30T20:08:34Z",
+ "pushed_at": "2020-07-17T00:40:51Z",
+ "git_url": "git://github.com/Codertocat/Hello-World.git",
+ "ssh_url": "git@github.com:Codertocat/Hello-World.git",
+ "clone_url": "https://github.com/Codertocat/Hello-World.git",
+ "svn_url": "https://github.com/Codertocat/Hello-World",
+ "homepage": "",
+ "size": 0,
+ "stargazers_count": 0,
+ "watchers_count": 0,
+ "language": "Ruby",
+ "has_issues": true,
+ "has_projects": true,
+ "has_downloads": true,
+ "has_wiki": true,
+ "has_pages": true,
+ "forks_count": 0,
+ "mirror_url": null,
+ "archived": false,
+ "disabled": false,
+ "open_issues_count": 2,
+ "license": null,
+ "forks": 1,
+ "open_issues": 2,
+ "watchers": 0,
+ "default_branch": "master"
+ },
+ "sender": {
+ "login": "Codertocat",
+ "id": 21031067,
+ "node_id": "MDQ6VXNlcjIxMDMxMDY3",
+ "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "installation": {
+ "id": 1,
+ "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMQ=="
+ }
+ },
+ {
+ "action": "category_changed",
+ "discussion": {
+ "repository_url": "https://api.github.com/repos/Codertocat/Hello-World",
+ "category": {
+ "id": 32809317,
+ "repository_id": 141753607,
+ "emoji": ":raised_hands:",
+ "name": "Show and tell",
+ "description": "Show off something you've made",
+ "created_at": "2021-03-30T16:09:00.000-04:00",
+ "updated_at": "2021-03-30T16:09:00.000-04:00",
+ "slug": "show-and-tell",
+ "is_answerable": false
+ },
+ "answer_html_url": null,
+ "answer_chosen_at": null,
+ "answer_chosen_by": null,
+ "html_url": "https://github.com/Codertocat/Hello-World/discussions/4",
+ "id": 3299614,
+ "node_id": "MDEwOkRpc2N1c3Npb24zMjk5NjE0",
+ "number": 4,
+ "title": "TEST edit",
+ "user": {
+ "login": "Codertocat",
+ "id": 4595477,
+ "node_id": "MDQ6VXNlcjQ1OTU0Nzc=",
+ "avatar_url": "https://avatars.githubusercontent.com/u/4595477?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "state": "locked",
+ "locked": true,
+ "comments": 0,
+ "created_at": "2021-03-30T20:09:52Z",
+ "updated_at": "2021-03-30T20:35:35Z",
+ "author_association": "OWNER",
+ "active_lock_reason": "resolved",
+ "body": "TEST edit"
+ },
+ "changes": {
+ "category": {
+ "from": {
+ "id": 32809314,
+ "repository_id": 141753607,
+ "emoji": ":speech_balloon:",
+ "name": "General",
+ "description": "Chat about anything and everything here",
+ "created_at": "2021-03-30T16:09:00.000-04:00",
+ "updated_at": "2021-03-30T16:09:00.000-04:00",
+ "slug": "general",
+ "is_answerable": false
+ }
+ }
+ },
+ "repository": {
+ "id": 186853002,
+ "node_id": "MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI=",
+ "name": "Hello-World",
+ "full_name": "Codertocat/Hello-World",
+ "private": false,
+ "owner": {
+ "login": "Codertocat",
+ "id": 21031067,
+ "node_id": "MDQ6VXNlcjIxMDMxMDY3",
+ "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "html_url": "https://github.com/Codertocat/Hello-World",
+ "description": null,
+ "fork": true,
+ "url": "https://api.github.com/repos/Codertocat/Hello-World",
+ "forks_url": "https://api.github.com/repos/Codertocat/Hello-World/forks",
+ "keys_url": "https://api.github.com/repos/Codertocat/Hello-World/keys{/key_id}",
+ "collaborators_url": "https://api.github.com/repos/Codertocat/Hello-World/collaborators{/collaborator}",
+ "teams_url": "https://api.github.com/repos/Codertocat/Hello-World/teams",
+ "hooks_url": "https://api.github.com/repos/Codertocat/Hello-World/hooks",
+ "issue_events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/events{/number}",
+ "events_url": "https://api.github.com/repos/Codertocat/Hello-World/events",
+ "assignees_url": "https://api.github.com/repos/Codertocat/Hello-World/assignees{/user}",
+ "branches_url": "https://api.github.com/repos/Codertocat/Hello-World/branches{/branch}",
+ "tags_url": "https://api.github.com/repos/Codertocat/Hello-World/tags",
+ "blobs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/blobs{/sha}",
+ "git_tags_url": "https://api.github.com/repos/Codertocat/Hello-World/git/tags{/sha}",
+ "git_refs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/refs{/sha}",
+ "trees_url": "https://api.github.com/repos/Codertocat/Hello-World/git/trees{/sha}",
+ "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/statuses/{sha}",
+ "languages_url": "https://api.github.com/repos/Codertocat/Hello-World/languages",
+ "stargazers_url": "https://api.github.com/repos/Codertocat/Hello-World/stargazers",
+ "contributors_url": "https://api.github.com/repos/Codertocat/Hello-World/contributors",
+ "subscribers_url": "https://api.github.com/repos/Codertocat/Hello-World/subscribers",
+ "subscription_url": "https://api.github.com/repos/Codertocat/Hello-World/subscription",
+ "commits_url": "https://api.github.com/repos/Codertocat/Hello-World/commits{/sha}",
+ "git_commits_url": "https://api.github.com/repos/Codertocat/Hello-World/git/commits{/sha}",
+ "comments_url": "https://api.github.com/repos/Codertocat/Hello-World/comments{/number}",
+ "issue_comment_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments{/number}",
+ "contents_url": "https://api.github.com/repos/Codertocat/Hello-World/contents/{+path}",
+ "compare_url": "https://api.github.com/repos/Codertocat/Hello-World/compare/{base}...{head}",
+ "merges_url": "https://api.github.com/repos/Codertocat/Hello-World/merges",
+ "archive_url": "https://api.github.com/repos/Codertocat/Hello-World/{archive_format}{/ref}",
+ "downloads_url": "https://api.github.com/repos/Codertocat/Hello-World/downloads",
+ "issues_url": "https://api.github.com/repos/Codertocat/Hello-World/issues{/number}",
+ "pulls_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls{/number}",
+ "milestones_url": "https://api.github.com/repos/Codertocat/Hello-World/milestones{/number}",
+ "notifications_url": "https://api.github.com/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
+ "labels_url": "https://api.github.com/repos/Codertocat/Hello-World/labels{/name}",
+ "releases_url": "https://api.github.com/repos/Codertocat/Hello-World/releases{/id}",
+ "deployments_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments",
+ "created_at": "2018-07-20T20:11:57Z",
+ "updated_at": "2021-03-30T20:08:34Z",
+ "pushed_at": "2020-07-17T00:40:51Z",
+ "git_url": "git://github.com/Codertocat/Hello-World.git",
+ "ssh_url": "git@github.com:Codertocat/Hello-World.git",
+ "clone_url": "https://github.com/Codertocat/Hello-World.git",
+ "svn_url": "https://github.com/Codertocat/Hello-World",
+ "homepage": "",
+ "size": 0,
+ "stargazers_count": 0,
+ "watchers_count": 0,
+ "language": "Ruby",
+ "has_issues": true,
+ "has_projects": true,
+ "has_downloads": true,
+ "has_wiki": true,
+ "has_pages": true,
+ "forks_count": 0,
+ "mirror_url": null,
+ "archived": false,
+ "disabled": false,
+ "open_issues_count": 2,
+ "license": null,
+ "forks": 1,
+ "open_issues": 2,
+ "watchers": 0,
+ "default_branch": "master"
+ },
+ "sender": {
+ "login": "Codertocat",
+ "id": 21031067,
+ "node_id": "MDQ6VXNlcjIxMDMxMDY3",
+ "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "installation": {
+ "id": 1,
+ "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMQ=="
+ }
+ },
+ {
+ "action": "edited",
+ "discussion": {
+ "repository_url": "https://api.github.com/repos/Codertocat/Hello-World",
+ "category": {
+ "id": 32809314,
+ "repository_id": 186853002,
+ "emoji": ":speech_balloon:",
+ "name": "General",
+ "description": "Chat about anything and everything here",
+ "created_at": "2021-03-30T16:09:00.000-04:00",
+ "updated_at": "2021-03-30T16:09:00.000-04:00",
+ "slug": "general",
+ "is_answerable": false
+ },
+ "answer_html_url": null,
+ "answer_chosen_at": null,
+ "answer_chosen_by": null,
+ "html_url": "https://github.com/Codertocat/Hello-World/discussions/4",
+ "id": 3299614,
+ "node_id": "MDEwOkRpc2N1c3Npb24zMjk5NjE0",
+ "number": 4,
+ "title": "TEST edit",
+ "user": {
+ "login": "Codertocat",
+ "id": 21031067,
+ "node_id": "MDQ6VXNlcjIxMDMxMDY3",
+ "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "state": "open",
+ "locked": false,
+ "comments": 0,
+ "created_at": "2021-03-30T20:09:52Z",
+ "updated_at": "2021-03-30T20:26:24Z",
+ "author_association": "OWNER",
+ "active_lock_reason": null,
+ "body": "TEST edit"
+ },
+ "changes": {
+ "title": {
+ "from": "TEST"
+ }
+ },
+ "repository": {
+ "id": 186853002,
+ "node_id": "MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI=",
+ "name": "Hello-World",
+ "full_name": "Codertocat/Hello-World",
+ "private": false,
+ "owner": {
+ "login": "Codertocat",
+ "id": 21031067,
+ "node_id": "MDQ6VXNlcjIxMDMxMDY3",
+ "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "html_url": "https://github.com/Codertocat/Hello-World",
+ "description": null,
+ "fork": false,
+ "url": "https://api.github.com/repos/Codertocat/Hello-World",
+ "forks_url": "https://api.github.com/repos/Codertocat/Hello-World/forks",
+ "keys_url": "https://api.github.com/repos/Codertocat/Hello-World/keys{/key_id}",
+ "collaborators_url": "https://api.github.com/repos/Codertocat/Hello-World/collaborators{/collaborator}",
+ "teams_url": "https://api.github.com/repos/Codertocat/Hello-World/teams",
+ "hooks_url": "https://api.github.com/repos/Codertocat/Hello-World/hooks",
+ "issue_events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/events{/number}",
+ "events_url": "https://api.github.com/repos/Codertocat/Hello-World/events",
+ "assignees_url": "https://api.github.com/repos/Codertocat/Hello-World/assignees{/user}",
+ "branches_url": "https://api.github.com/repos/Codertocat/Hello-World/branches{/branch}",
+ "tags_url": "https://api.github.com/repos/Codertocat/Hello-World/tags",
+ "blobs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/blobs{/sha}",
+ "git_tags_url": "https://api.github.com/repos/Codertocat/Hello-World/git/tags{/sha}",
+ "git_refs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/refs{/sha}",
+ "trees_url": "https://api.github.com/repos/Codertocat/Hello-World/git/trees{/sha}",
+ "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/statuses/{sha}",
+ "languages_url": "https://api.github.com/repos/Codertocat/Hello-World/languages",
+ "stargazers_url": "https://api.github.com/repos/Codertocat/Hello-World/stargazers",
+ "contributors_url": "https://api.github.com/repos/Codertocat/Hello-World/contributors",
+ "subscribers_url": "https://api.github.com/repos/Codertocat/Hello-World/subscribers",
+ "subscription_url": "https://api.github.com/repos/Codertocat/Hello-World/subscription",
+ "commits_url": "https://api.github.com/repos/Codertocat/Hello-World/commits{/sha}",
+ "git_commits_url": "https://api.github.com/repos/Codertocat/Hello-World/git/commits{/sha}",
+ "comments_url": "https://api.github.com/repos/Codertocat/Hello-World/comments{/number}",
+ "issue_comment_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments{/number}",
+ "contents_url": "https://api.github.com/repos/Codertocat/Hello-World/contents/{+path}",
+ "compare_url": "https://api.github.com/repos/Codertocat/Hello-World/compare/{base}...{head}",
+ "merges_url": "https://api.github.com/repos/Codertocat/Hello-World/merges",
+ "archive_url": "https://api.github.com/repos/Codertocat/Hello-World/{archive_format}{/ref}",
+ "downloads_url": "https://api.github.com/repos/Codertocat/Hello-World/downloads",
+ "issues_url": "https://api.github.com/repos/Codertocat/Hello-World/issues{/number}",
+ "pulls_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls{/number}",
+ "milestones_url": "https://api.github.com/repos/Codertocat/Hello-World/milestones{/number}",
+ "notifications_url": "https://api.github.com/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
+ "labels_url": "https://api.github.com/repos/Codertocat/Hello-World/labels{/name}",
+ "releases_url": "https://api.github.com/repos/Codertocat/Hello-World/releases{/id}",
+ "deployments_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments",
+ "created_at": "2019-05-15T15:19:25Z",
+ "updated_at": "2019-05-15T15:20:41Z",
+ "pushed_at": "2019-05-15T15:20:52Z",
+ "git_url": "git://github.com/Codertocat/Hello-World.git",
+ "ssh_url": "git@github.com:Codertocat/Hello-World.git",
+ "clone_url": "https://github.com/Codertocat/Hello-World.git",
+ "svn_url": "https://github.com/Codertocat/Hello-World",
+ "homepage": null,
+ "size": 0,
+ "stargazers_count": 0,
+ "watchers_count": 0,
+ "language": "Ruby",
+ "has_issues": true,
+ "has_projects": true,
+ "has_downloads": true,
+ "has_wiki": true,
+ "has_pages": true,
+ "forks_count": 1,
+ "mirror_url": null,
+ "archived": false,
+ "disabled": false,
+ "open_issues_count": 2,
+ "license": null,
+ "forks": 1,
+ "open_issues": 2,
+ "watchers": 0,
+ "default_branch": "master"
+ },
+ "sender": {
+ "login": "Codertocat",
+ "id": 21031067,
+ "node_id": "MDQ6VXNlcjIxMDMxMDY3",
+ "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "installation": {
+ "id": 1,
+ "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMQ=="
+ }
+ },
+ {
+ "action": "locked",
+ "discussion": {
+ "repository_url": "https://api.github.com/repos/Codertocat/Hello-World",
+ "category": {
+ "id": 32809314,
+ "repository_id": 141753607,
+ "emoji": ":speech_balloon:",
+ "name": "General",
+ "description": "Chat about anything and everything here",
+ "created_at": "2021-03-30T16:09:00.000-04:00",
+ "updated_at": "2021-03-30T16:09:00.000-04:00",
+ "slug": "general",
+ "is_answerable": false
+ },
+ "answer_html_url": null,
+ "answer_chosen_at": null,
+ "answer_chosen_by": null,
+ "html_url": "https://github.com/Codertocat/Hello-World/discussions/4",
+ "id": 3299614,
+ "node_id": "MDEwOkRpc2N1c3Npb24zMjk5NjE0",
+ "number": 4,
+ "title": "TEST",
+ "user": {
+ "login": "Codertocat",
+ "id": 21031067,
+ "node_id": "MDQ6VXNlcjIxMDMxMDY3",
+ "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "state": "locked",
+ "locked": true,
+ "comments": 0,
+ "created_at": "2021-03-30T20:09:52Z",
+ "updated_at": "2021-03-30T20:11:48Z",
+ "author_association": "OWNER",
+ "active_lock_reason": "resolved",
+ "body": "TEST"
+ },
+ "repository": {
+ "id": 186853002,
+ "node_id": "MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI=",
+ "name": "Hello-World",
+ "full_name": "Codertocat/Hello-World",
+ "private": false,
+ "owner": {
+ "login": "Codertocat",
+ "id": 21031067,
+ "node_id": "MDQ6VXNlcjIxMDMxMDY3",
+ "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "html_url": "https://github.com/Codertocat/Hello-World",
+ "description": null,
+ "fork": false,
+ "url": "https://api.github.com/repos/Codertocat/Hello-World",
+ "forks_url": "https://api.github.com/repos/Codertocat/Hello-World/forks",
+ "keys_url": "https://api.github.com/repos/Codertocat/Hello-World/keys{/key_id}",
+ "collaborators_url": "https://api.github.com/repos/Codertocat/Hello-World/collaborators{/collaborator}",
+ "teams_url": "https://api.github.com/repos/Codertocat/Hello-World/teams",
+ "hooks_url": "https://api.github.com/repos/Codertocat/Hello-World/hooks",
+ "issue_events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/events{/number}",
+ "events_url": "https://api.github.com/repos/Codertocat/Hello-World/events",
+ "assignees_url": "https://api.github.com/repos/Codertocat/Hello-World/assignees{/user}",
+ "branches_url": "https://api.github.com/repos/Codertocat/Hello-World/branches{/branch}",
+ "tags_url": "https://api.github.com/repos/Codertocat/Hello-World/tags",
+ "blobs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/blobs{/sha}",
+ "git_tags_url": "https://api.github.com/repos/Codertocat/Hello-World/git/tags{/sha}",
+ "git_refs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/refs{/sha}",
+ "trees_url": "https://api.github.com/repos/Codertocat/Hello-World/git/trees{/sha}",
+ "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/statuses/{sha}",
+ "languages_url": "https://api.github.com/repos/Codertocat/Hello-World/languages",
+ "stargazers_url": "https://api.github.com/repos/Codertocat/Hello-World/stargazers",
+ "contributors_url": "https://api.github.com/repos/Codertocat/Hello-World/contributors",
+ "subscribers_url": "https://api.github.com/repos/Codertocat/Hello-World/subscribers",
+ "subscription_url": "https://api.github.com/repos/Codertocat/Hello-World/subscription",
+ "commits_url": "https://api.github.com/repos/Codertocat/Hello-World/commits{/sha}",
+ "git_commits_url": "https://api.github.com/repos/Codertocat/Hello-World/git/commits{/sha}",
+ "comments_url": "https://api.github.com/repos/Codertocat/Hello-World/comments{/number}",
+ "issue_comment_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments{/number}",
+ "contents_url": "https://api.github.com/repos/Codertocat/Hello-World/contents/{+path}",
+ "compare_url": "https://api.github.com/repos/Codertocat/Hello-World/compare/{base}...{head}",
+ "merges_url": "https://api.github.com/repos/Codertocat/Hello-World/merges",
+ "archive_url": "https://api.github.com/repos/Codertocat/Hello-World/{archive_format}{/ref}",
+ "downloads_url": "https://api.github.com/repos/Codertocat/Hello-World/downloads",
+ "issues_url": "https://api.github.com/repos/Codertocat/Hello-World/issues{/number}",
+ "pulls_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls{/number}",
+ "milestones_url": "https://api.github.com/repos/Codertocat/Hello-World/milestones{/number}",
+ "notifications_url": "https://api.github.com/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
+ "labels_url": "https://api.github.com/repos/Codertocat/Hello-World/labels{/name}",
+ "releases_url": "https://api.github.com/repos/Codertocat/Hello-World/releases{/id}",
+ "deployments_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments",
+ "created_at": "2019-05-15T15:19:25Z",
+ "updated_at": "2019-05-15T15:20:41Z",
+ "pushed_at": "2019-05-15T15:20:52Z",
+ "git_url": "git://github.com/Codertocat/Hello-World.git",
+ "ssh_url": "git@github.com:Codertocat/Hello-World.git",
+ "clone_url": "https://github.com/Codertocat/Hello-World.git",
+ "svn_url": "https://github.com/Codertocat/Hello-World",
+ "homepage": null,
+ "size": 0,
+ "stargazers_count": 0,
+ "watchers_count": 0,
+ "language": "Ruby",
+ "has_issues": true,
+ "has_projects": true,
+ "has_downloads": true,
+ "has_wiki": true,
+ "has_pages": true,
+ "forks_count": 1,
+ "mirror_url": null,
+ "archived": false,
+ "disabled": false,
+ "open_issues_count": 2,
+ "license": null,
+ "forks": 1,
+ "open_issues": 2,
+ "watchers": 0,
+ "default_branch": "master"
+ },
+ "sender": {
+ "login": "Codertocat",
+ "id": 21031067,
+ "node_id": "MDQ6VXNlcjIxMDMxMDY3",
+ "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "installation": {
+ "id": 1,
+ "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMQ=="
+ }
+ },
+ {
+ "action": "pinned",
+ "discussion": {
+ "repository_url": "https://api.github.com/repos/Codertocat/Hello-World",
+ "category": {
+ "id": 32809314,
+ "repository_id": 186853002,
+ "emoji": ":speech_balloon:",
+ "name": "General",
+ "description": "Chat about anything and everything here",
+ "created_at": "2021-03-30T16:09:00.000-04:00",
+ "updated_at": "2021-03-30T16:09:00.000-04:00",
+ "slug": "general",
+ "is_answerable": false
+ },
+ "answer_html_url": null,
+ "answer_chosen_at": null,
+ "answer_chosen_by": null,
+ "html_url": "https://github.com/Codertocat/Hello-World/discussions/4",
+ "id": 3299614,
+ "node_id": "MDEwOkRpc2N1c3Npb24zMjk5NjE0",
+ "number": 4,
+ "title": "TEST edit",
+ "user": {
+ "login": "Codertocat",
+ "id": 21031067,
+ "node_id": "MDQ6VXNlcjIxMDMxMDY3",
+ "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "state": "open",
+ "locked": false,
+ "comments": 0,
+ "created_at": "2021-03-30T20:09:52Z",
+ "updated_at": "2021-03-30T20:26:24Z",
+ "author_association": "OWNER",
+ "active_lock_reason": null,
+ "body": "TEST edit"
+ },
+ "repository": {
+ "id": 186853002,
+ "node_id": "MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI=",
+ "name": "Hello-World",
+ "full_name": "Codertocat/Hello-World",
+ "private": false,
+ "owner": {
+ "login": "Codertocat",
+ "id": 21031067,
+ "node_id": "MDQ6VXNlcjIxMDMxMDY3",
+ "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "html_url": "https://github.com/Codertocat/Hello-World",
+ "description": null,
+ "fork": true,
+ "url": "https://api.github.com/repos/Codertocat/Hello-World",
+ "forks_url": "https://api.github.com/repos/Codertocat/Hello-World/forks",
+ "keys_url": "https://api.github.com/repos/Codertocat/Hello-World/keys{/key_id}",
+ "collaborators_url": "https://api.github.com/repos/Codertocat/Hello-World/collaborators{/collaborator}",
+ "teams_url": "https://api.github.com/repos/Codertocat/Hello-World/teams",
+ "hooks_url": "https://api.github.com/repos/Codertocat/Hello-World/hooks",
+ "issue_events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/events{/number}",
+ "events_url": "https://api.github.com/repos/Codertocat/Hello-World/events",
+ "assignees_url": "https://api.github.com/repos/Codertocat/Hello-World/assignees{/user}",
+ "branches_url": "https://api.github.com/repos/Codertocat/Hello-World/branches{/branch}",
+ "tags_url": "https://api.github.com/repos/Codertocat/Hello-World/tags",
+ "blobs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/blobs{/sha}",
+ "git_tags_url": "https://api.github.com/repos/Codertocat/Hello-World/git/tags{/sha}",
+ "git_refs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/refs{/sha}",
+ "trees_url": "https://api.github.com/repos/Codertocat/Hello-World/git/trees{/sha}",
+ "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/statuses/{sha}",
+ "languages_url": "https://api.github.com/repos/Codertocat/Hello-World/languages",
+ "stargazers_url": "https://api.github.com/repos/Codertocat/Hello-World/stargazers",
+ "contributors_url": "https://api.github.com/repos/Codertocat/Hello-World/contributors",
+ "subscribers_url": "https://api.github.com/repos/Codertocat/Hello-World/subscribers",
+ "subscription_url": "https://api.github.com/repos/Codertocat/Hello-World/subscription",
+ "commits_url": "https://api.github.com/repos/Codertocat/Hello-World/commits{/sha}",
+ "git_commits_url": "https://api.github.com/repos/Codertocat/Hello-World/git/commits{/sha}",
+ "comments_url": "https://api.github.com/repos/Codertocat/Hello-World/comments{/number}",
+ "issue_comment_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments{/number}",
+ "contents_url": "https://api.github.com/repos/Codertocat/Hello-World/contents/{+path}",
+ "compare_url": "https://api.github.com/repos/Codertocat/Hello-World/compare/{base}...{head}",
+ "merges_url": "https://api.github.com/repos/Codertocat/Hello-World/merges",
+ "archive_url": "https://api.github.com/repos/Codertocat/Hello-World/{archive_format}{/ref}",
+ "downloads_url": "https://api.github.com/repos/Codertocat/Hello-World/downloads",
+ "issues_url": "https://api.github.com/repos/Codertocat/Hello-World/issues{/number}",
+ "pulls_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls{/number}",
+ "milestones_url": "https://api.github.com/repos/Codertocat/Hello-World/milestones{/number}",
+ "notifications_url": "https://api.github.com/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
+ "labels_url": "https://api.github.com/repos/Codertocat/Hello-World/labels{/name}",
+ "releases_url": "https://api.github.com/repos/Codertocat/Hello-World/releases{/id}",
+ "deployments_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments",
+ "created_at": "2018-07-20T20:11:57Z",
+ "updated_at": "2021-03-30T20:08:34Z",
+ "pushed_at": "2020-07-17T00:40:51Z",
+ "git_url": "git://github.com/Codertocat/Hello-World.git",
+ "ssh_url": "git@github.com:Codertocat/Hello-World.git",
+ "clone_url": "https://github.com/Codertocat/Hello-World.git",
+ "svn_url": "https://github.com/Codertocat/Hello-World",
+ "homepage": "",
+ "size": 0,
+ "stargazers_count": 0,
+ "watchers_count": 0,
+ "language": "Ruby",
+ "has_issues": true,
+ "has_projects": true,
+ "has_downloads": true,
+ "has_wiki": true,
+ "has_pages": true,
+ "forks_count": 0,
+ "mirror_url": null,
+ "archived": false,
+ "disabled": false,
+ "open_issues_count": 2,
+ "license": null,
+ "forks": 1,
+ "open_issues": 2,
+ "watchers": 0,
+ "default_branch": "master"
+ },
+ "sender": {
+ "login": "Codertocat",
+ "id": 21031067,
+ "node_id": "MDQ6VXNlcjIxMDMxMDY3",
+ "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "installation": {
+ "id": 1,
+ "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMQ=="
+ }
+ },
+ {
+ "action": "transferred",
+ "discussion": {
+ "repository_url": "https://api.github.com/repos/Codertocat/Hello-World",
+ "category": {
+ "id": 32809315,
+ "repository_id": 141753607,
+ "emoji": ":pray:",
+ "name": "Q&A",
+ "description": "Ask the community for help",
+ "created_at": "2021-03-30T16:09:00.000-04:00",
+ "updated_at": "2021-03-30T16:09:00.000-04:00",
+ "slug": "q-a",
+ "is_answerable": true
+ },
+ "answer_html_url": null,
+ "answer_chosen_at": null,
+ "answer_chosen_by": null,
+ "html_url": "https://github.com/Codertocat/Hello-World/discussions/4",
+ "id": 3299614,
+ "node_id": "MDEwOkRpc2N1c3Npb24zMjk5NjE0",
+ "number": 4,
+ "title": "TEST edit",
+ "user": {
+ "login": "Codertocat",
+ "id": 4595477,
+ "node_id": "MDQ6VXNlcjQ1OTU0Nzc=",
+ "avatar_url": "https://avatars.githubusercontent.com/u/4595477?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "state": "open",
+ "locked": false,
+ "comments": 1,
+ "created_at": "2021-03-30T20:09:52Z",
+ "updated_at": "2021-03-30T23:31:48Z",
+ "author_association": "OWNER",
+ "active_lock_reason": null,
+ "body": "TEST edit"
+ },
+ "changes": {
+ "new_discussion": {
+ "repository_url": "https://api.github.com/repos/Codertocat/friendly-octo-succotash",
+ "category": {
+ "id": 32809824,
+ "repository_id": 353173080,
+ "emoji": ":pray:",
+ "name": "Q&A",
+ "description": "Ask the community for help",
+ "created_at": "2021-03-31T00:00:49.000Z",
+ "updated_at": "2021-03-31T00:00:49.000Z",
+ "slug": "q-a",
+ "is_answerable": true
+ },
+ "answer_html_url": null,
+ "answer_chosen_at": null,
+ "answer_chosen_by": null,
+ "html_url": "https://github.com/Codertocat/friendly-octo-succotash/discussions/1",
+ "id": 3299835,
+ "node_id": "MDEwOkRpc2N1c3Npb24zMjk5ODM1",
+ "number": 1,
+ "title": "TEST edit",
+ "user": {
+ "login": "Codertocat",
+ "id": 21031067,
+ "node_id": "MDQ6VXNlcjIxMDMxMDY3",
+ "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "state": "open",
+ "locked": false,
+ "comments": 1,
+ "created_at": "2021-03-30T20:09:52Z",
+ "updated_at": "2021-03-31T00:01:04Z",
+ "author_association": "OWNER",
+ "active_lock_reason": null,
+ "body": "TEST edit"
+ },
+ "new_repository": {
+ "id": 185882436,
+ "node_id": "MDEwOlJlcG9zaXRvcnkxODU4ODI0MzY=",
+ "name": "hello-world-npm",
+ "full_name": "Codertocat/hello-world-npm",
+ "private": false,
+ "owner": {
+ "login": "Codertocat",
+ "id": 21031067,
+ "node_id": "MDQ6VXNlcjIxMDMxMDY3",
+ "avatar_url": "https://avatars.githubusercontent.com/u/21031067?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "html_url": "https://github.com/Codertocat/hello-world-npm",
+ "description": "This is a simple npm package that demonstrates the Github Package Registry",
+ "fork": false,
+ "url": "https://api.github.com/repos/Codertocat/hello-world-npm",
+ "forks_url": "https://api.github.com/repos/Codertocat/hello-world-npm/forks",
+ "keys_url": "https://api.github.com/repos/Codertocat/hello-world-npm/keys{/key_id}",
+ "collaborators_url": "https://api.github.com/repos/Codertocat/hello-world-npm/collaborators{/collaborator}",
+ "teams_url": "https://api.github.com/repos/Codertocat/hello-world-npm/teams",
+ "hooks_url": "https://api.github.com/repos/Codertocat/hello-world-npm/hooks",
+ "issue_events_url": "https://api.github.com/repos/Codertocat/hello-world-npm/issues/events{/number}",
+ "events_url": "https://api.github.com/repos/Codertocat/hello-world-npm/events",
+ "assignees_url": "https://api.github.com/repos/Codertocat/hello-world-npm/assignees{/user}",
+ "branches_url": "https://api.github.com/repos/Codertocat/hello-world-npm/branches{/branch}",
+ "tags_url": "https://api.github.com/repos/Codertocat/hello-world-npm/tags",
+ "blobs_url": "https://api.github.com/repos/Codertocat/hello-world-npm/git/blobs{/sha}",
+ "git_tags_url": "https://api.github.com/repos/Codertocat/hello-world-npm/git/tags{/sha}",
+ "git_refs_url": "https://api.github.com/repos/Codertocat/hello-world-npm/git/refs{/sha}",
+ "trees_url": "https://api.github.com/repos/Codertocat/hello-world-npm/git/trees{/sha}",
+ "statuses_url": "https://api.github.com/repos/Codertocat/hello-world-npm/statuses/{sha}",
+ "languages_url": "https://api.github.com/repos/Codertocat/hello-world-npm/languages",
+ "stargazers_url": "https://api.github.com/repos/Codertocat/hello-world-npm/stargazers",
+ "contributors_url": "https://api.github.com/repos/Codertocat/hello-world-npm/contributors",
+ "subscribers_url": "https://api.github.com/repos/Codertocat/hello-world-npm/subscribers",
+ "subscription_url": "https://api.github.com/repos/Codertocat/hello-world-npm/subscription",
+ "commits_url": "https://api.github.com/repos/Codertocat/hello-world-npm/commits{/sha}",
+ "git_commits_url": "https://api.github.com/repos/Codertocat/hello-world-npm/git/commits{/sha}",
+ "comments_url": "https://api.github.com/repos/Codertocat/hello-world-npm/comments{/number}",
+ "issue_comment_url": "https://api.github.com/repos/Codertocat/hello-world-npm/issues/comments{/number}",
+ "contents_url": "https://api.github.com/repos/Codertocat/hello-world-npm/contents/{+path}",
+ "compare_url": "https://api.github.com/repos/Codertocat/hello-world-npm/compare/{base}...{head}",
+ "merges_url": "https://api.github.com/repos/Codertocat/hello-world-npm/merges",
+ "archive_url": "https://api.github.com/repos/Codertocat/hello-world-npm/{archive_format}{/ref}",
+ "downloads_url": "https://api.github.com/repos/Codertocat/hello-world-npm/downloads",
+ "issues_url": "https://api.github.com/repos/Codertocat/hello-world-npm/issues{/number}",
+ "pulls_url": "https://api.github.com/repos/Codertocat/hello-world-npm/pulls{/number}",
+ "milestones_url": "https://api.github.com/repos/Codertocat/hello-world-npm/milestones{/number}",
+ "notifications_url": "https://api.github.com/repos/Codertocat/hello-world-npm/notifications{?since,all,participating}",
+ "labels_url": "https://api.github.com/repos/Codertocat/hello-world-npm/labels{/name}",
+ "releases_url": "https://api.github.com/repos/Codertocat/hello-world-npm/releases{/id}",
+ "deployments_url": "https://api.github.com/repos/Codertocat/hello-world-npm/deployments",
+ "created_at": "2019-05-09T22:53:26Z",
+ "updated_at": "2021-03-28T20:12:09Z",
+ "pushed_at": "2020-07-06T02:49:31Z",
+ "git_url": "git://github.com/Codertocat/hello-world-npm.git",
+ "ssh_url": "git@github.com:Codertocat/hello-world-npm.git",
+ "clone_url": "https://github.com/Codertocat/hello-world-npm.git",
+ "svn_url": "https://github.com/Codertocat/hello-world-npm",
+ "homepage": "",
+ "size": 5,
+ "stargazers_count": 108,
+ "watchers_count": 108,
+ "language": "JavaScript",
+ "has_issues": true,
+ "has_projects": true,
+ "has_downloads": true,
+ "has_wiki": true,
+ "has_pages": false,
+ "forks_count": 129,
+ "mirror_url": null,
+ "archived": false,
+ "disabled": false,
+ "open_issues_count": 7,
+ "license": null,
+ "forks": 129,
+ "open_issues": 7,
+ "watchers": 108,
+ "default_branch": "master"
+ }
+ },
+ "repository": {
+ "id": 186853002,
+ "node_id": "MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI=",
+ "name": "Hello-World",
+ "full_name": "Codertocat/Hello-World",
+ "private": false,
+ "owner": {
+ "login": "Codertocat",
+ "id": 21031067,
+ "node_id": "MDQ6VXNlcjIxMDMxMDY3",
+ "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "html_url": "https://github.com/Codertocat/Hello-World",
+ "description": null,
+ "fork": true,
+ "url": "https://api.github.com/repos/Codertocat/Hello-World",
+ "forks_url": "https://api.github.com/repos/Codertocat/Hello-World/forks",
+ "keys_url": "https://api.github.com/repos/Codertocat/Hello-World/keys{/key_id}",
+ "collaborators_url": "https://api.github.com/repos/Codertocat/Hello-World/collaborators{/collaborator}",
+ "teams_url": "https://api.github.com/repos/Codertocat/Hello-World/teams",
+ "hooks_url": "https://api.github.com/repos/Codertocat/Hello-World/hooks",
+ "issue_events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/events{/number}",
+ "events_url": "https://api.github.com/repos/Codertocat/Hello-World/events",
+ "assignees_url": "https://api.github.com/repos/Codertocat/Hello-World/assignees{/user}",
+ "branches_url": "https://api.github.com/repos/Codertocat/Hello-World/branches{/branch}",
+ "tags_url": "https://api.github.com/repos/Codertocat/Hello-World/tags",
+ "blobs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/blobs{/sha}",
+ "git_tags_url": "https://api.github.com/repos/Codertocat/Hello-World/git/tags{/sha}",
+ "git_refs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/refs{/sha}",
+ "trees_url": "https://api.github.com/repos/Codertocat/Hello-World/git/trees{/sha}",
+ "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/statuses/{sha}",
+ "languages_url": "https://api.github.com/repos/Codertocat/Hello-World/languages",
+ "stargazers_url": "https://api.github.com/repos/Codertocat/Hello-World/stargazers",
+ "contributors_url": "https://api.github.com/repos/Codertocat/Hello-World/contributors",
+ "subscribers_url": "https://api.github.com/repos/Codertocat/Hello-World/subscribers",
+ "subscription_url": "https://api.github.com/repos/Codertocat/Hello-World/subscription",
+ "commits_url": "https://api.github.com/repos/Codertocat/Hello-World/commits{/sha}",
+ "git_commits_url": "https://api.github.com/repos/Codertocat/Hello-World/git/commits{/sha}",
+ "comments_url": "https://api.github.com/repos/Codertocat/Hello-World/comments{/number}",
+ "issue_comment_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments{/number}",
+ "contents_url": "https://api.github.com/repos/Codertocat/Hello-World/contents/{+path}",
+ "compare_url": "https://api.github.com/repos/Codertocat/Hello-World/compare/{base}...{head}",
+ "merges_url": "https://api.github.com/repos/Codertocat/Hello-World/merges",
+ "archive_url": "https://api.github.com/repos/Codertocat/Hello-World/{archive_format}{/ref}",
+ "downloads_url": "https://api.github.com/repos/Codertocat/Hello-World/downloads",
+ "issues_url": "https://api.github.com/repos/Codertocat/Hello-World/issues{/number}",
+ "pulls_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls{/number}",
+ "milestones_url": "https://api.github.com/repos/Codertocat/Hello-World/milestones{/number}",
+ "notifications_url": "https://api.github.com/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
+ "labels_url": "https://api.github.com/repos/Codertocat/Hello-World/labels{/name}",
+ "releases_url": "https://api.github.com/repos/Codertocat/Hello-World/releases{/id}",
+ "deployments_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments",
+ "created_at": "2018-07-20T20:11:57Z",
+ "updated_at": "2021-03-30T20:08:34Z",
+ "pushed_at": "2020-07-17T00:40:51Z",
+ "git_url": "git://github.com/Codertocat/Hello-World.git",
+ "ssh_url": "git@github.com:Codertocat/Hello-World.git",
+ "clone_url": "https://github.com/Codertocat/Hello-World.git",
+ "svn_url": "https://github.com/Codertocat/Hello-World",
+ "homepage": "",
+ "size": 0,
+ "stargazers_count": 0,
+ "watchers_count": 0,
+ "language": "Ruby",
+ "has_issues": true,
+ "has_projects": true,
+ "has_downloads": true,
+ "has_wiki": true,
+ "has_pages": true,
+ "forks_count": 0,
+ "mirror_url": null,
+ "archived": false,
+ "disabled": false,
+ "open_issues_count": 2,
+ "license": null,
+ "forks": 1,
+ "open_issues": 2,
+ "watchers": 0,
+ "default_branch": "master"
+ },
+ "sender": {
+ "login": "Codertocat",
+ "id": 21031067,
+ "node_id": "MDQ6VXNlcjIxMDMxMDY3",
+ "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "installation": {
+ "id": 1,
+ "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMQ=="
+ }
+ },
+ {
+ "action": "unanswered",
+ "discussion": {
+ "repository_url": "https://api.github.com/repos/Codertocat/Hello-World",
+ "category": {
+ "id": 32809315,
+ "repository_id": 141753607,
+ "emoji": ":pray:",
+ "name": "Q&A",
+ "description": "Ask the community for help",
+ "created_at": "2021-03-30T16:09:00.000-04:00",
+ "updated_at": "2021-03-30T16:09:00.000-04:00",
+ "slug": "q-a",
+ "is_answerable": true
+ },
+ "answer_html_url": null,
+ "answer_chosen_at": null,
+ "answer_chosen_by": null,
+ "html_url": "https://github.com/Codertocat/Hello-World/discussions/4",
+ "id": 3299614,
+ "node_id": "MDEwOkRpc2N1c3Npb24zMjk5NjE0",
+ "number": 4,
+ "title": "TEST edit",
+ "user": {
+ "login": "Codertocat",
+ "id": 4595477,
+ "node_id": "MDQ6VXNlcjQ1OTU0Nzc=",
+ "avatar_url": "https://avatars.githubusercontent.com/u/4595477?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "state": "open",
+ "locked": false,
+ "comments": 1,
+ "created_at": "2021-03-30T20:09:52Z",
+ "updated_at": "2021-03-30T23:31:48Z",
+ "author_association": "OWNER",
+ "active_lock_reason": null,
+ "body": "TEST edit"
+ },
+ "old_answer": {
+ "id": 550561,
+ "node_id": "MDE3OkRpc2N1c3Npb25Db21tZW50NTUwNTYx",
+ "html_url": "https://github.com/Codertocat/Hello-World/discussions/4#discussioncomment-550561",
+ "parent_id": null,
+ "child_comment_count": 0,
+ "repository_url": "Codertocat/Hello-World",
+ "discussion_id": 3299614,
+ "author_association": "NONE",
+ "user": {
+ "login": "Codertocat",
+ "id": 4595477,
+ "node_id": "MDQ6VXNlcjQ1OTU0Nzc=",
+ "avatar_url": "https://avatars.githubusercontent.com/u/4595477?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "created_at": "2021-03-30T23:16:42Z",
+ "updated_at": "2021-03-30T23:16:55Z",
+ "body": "Poggers"
+ },
+ "repository": {
+ "id": 186853002,
+ "node_id": "MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI=",
+ "name": "Hello-World",
+ "full_name": "Codertocat/Hello-World",
+ "private": false,
+ "owner": {
+ "login": "Codertocat",
+ "id": 21031067,
+ "node_id": "MDQ6VXNlcjIxMDMxMDY3",
+ "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "html_url": "https://github.com/Codertocat/Hello-World",
+ "description": null,
+ "fork": true,
+ "url": "https://api.github.com/repos/Codertocat/Hello-World",
+ "forks_url": "https://api.github.com/repos/Codertocat/Hello-World/forks",
+ "keys_url": "https://api.github.com/repos/Codertocat/Hello-World/keys{/key_id}",
+ "collaborators_url": "https://api.github.com/repos/Codertocat/Hello-World/collaborators{/collaborator}",
+ "teams_url": "https://api.github.com/repos/Codertocat/Hello-World/teams",
+ "hooks_url": "https://api.github.com/repos/Codertocat/Hello-World/hooks",
+ "issue_events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/events{/number}",
+ "events_url": "https://api.github.com/repos/Codertocat/Hello-World/events",
+ "assignees_url": "https://api.github.com/repos/Codertocat/Hello-World/assignees{/user}",
+ "branches_url": "https://api.github.com/repos/Codertocat/Hello-World/branches{/branch}",
+ "tags_url": "https://api.github.com/repos/Codertocat/Hello-World/tags",
+ "blobs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/blobs{/sha}",
+ "git_tags_url": "https://api.github.com/repos/Codertocat/Hello-World/git/tags{/sha}",
+ "git_refs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/refs{/sha}",
+ "trees_url": "https://api.github.com/repos/Codertocat/Hello-World/git/trees{/sha}",
+ "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/statuses/{sha}",
+ "languages_url": "https://api.github.com/repos/Codertocat/Hello-World/languages",
+ "stargazers_url": "https://api.github.com/repos/Codertocat/Hello-World/stargazers",
+ "contributors_url": "https://api.github.com/repos/Codertocat/Hello-World/contributors",
+ "subscribers_url": "https://api.github.com/repos/Codertocat/Hello-World/subscribers",
+ "subscription_url": "https://api.github.com/repos/Codertocat/Hello-World/subscription",
+ "commits_url": "https://api.github.com/repos/Codertocat/Hello-World/commits{/sha}",
+ "git_commits_url": "https://api.github.com/repos/Codertocat/Hello-World/git/commits{/sha}",
+ "comments_url": "https://api.github.com/repos/Codertocat/Hello-World/comments{/number}",
+ "issue_comment_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments{/number}",
+ "contents_url": "https://api.github.com/repos/Codertocat/Hello-World/contents/{+path}",
+ "compare_url": "https://api.github.com/repos/Codertocat/Hello-World/compare/{base}...{head}",
+ "merges_url": "https://api.github.com/repos/Codertocat/Hello-World/merges",
+ "archive_url": "https://api.github.com/repos/Codertocat/Hello-World/{archive_format}{/ref}",
+ "downloads_url": "https://api.github.com/repos/Codertocat/Hello-World/downloads",
+ "issues_url": "https://api.github.com/repos/Codertocat/Hello-World/issues{/number}",
+ "pulls_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls{/number}",
+ "milestones_url": "https://api.github.com/repos/Codertocat/Hello-World/milestones{/number}",
+ "notifications_url": "https://api.github.com/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
+ "labels_url": "https://api.github.com/repos/Codertocat/Hello-World/labels{/name}",
+ "releases_url": "https://api.github.com/repos/Codertocat/Hello-World/releases{/id}",
+ "deployments_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments",
+ "created_at": "2018-07-20T20:11:57Z",
+ "updated_at": "2021-03-30T20:08:34Z",
+ "pushed_at": "2020-07-17T00:40:51Z",
+ "git_url": "git://github.com/Codertocat/Hello-World.git",
+ "ssh_url": "git@github.com:Codertocat/Hello-World.git",
+ "clone_url": "https://github.com/Codertocat/Hello-World.git",
+ "svn_url": "https://github.com/Codertocat/Hello-World",
+ "homepage": "",
+ "size": 0,
+ "stargazers_count": 0,
+ "watchers_count": 0,
+ "language": "Ruby",
+ "has_issues": true,
+ "has_projects": true,
+ "has_downloads": true,
+ "has_wiki": true,
+ "has_pages": true,
+ "forks_count": 0,
+ "mirror_url": null,
+ "archived": false,
+ "disabled": false,
+ "open_issues_count": 2,
+ "license": null,
+ "forks": 1,
+ "open_issues": 2,
+ "watchers": 0,
+ "default_branch": "master"
+ },
+ "sender": {
+ "login": "Codertocat",
+ "id": 21031067,
+ "node_id": "MDQ6VXNlcjIxMDMxMDY3",
+ "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "installation": {
+ "id": 1,
+ "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMQ=="
+ }
+ },
+ {
+ "action": "unlocked",
+ "discussion": {
+ "repository_url": "https://api.github.com/repos/Codertocat/Hello-World",
+ "category": {
+ "id": 32809314,
+ "repository_id": 141753607,
+ "emoji": ":speech_balloon:",
+ "name": "General",
+ "description": "Chat about anything and everything here",
+ "created_at": "2021-03-30T16:09:00.000-04:00",
+ "updated_at": "2021-03-30T16:09:00.000-04:00",
+ "slug": "general",
+ "is_answerable": false
+ },
+ "answer_html_url": null,
+ "answer_chosen_at": null,
+ "answer_chosen_by": null,
+ "html_url": "https://github.com/Codertocat/Hello-World/discussions/4",
+ "id": 3299614,
+ "node_id": "MDEwOkRpc2N1c3Npb24zMjk5NjE0",
+ "number": 4,
+ "title": "TEST",
+ "user": {
+ "login": "Codertocat",
+ "id": 21031067,
+ "node_id": "MDQ6VXNlcjIxMDMxMDY3",
+ "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "state": "open",
+ "locked": false,
+ "comments": 0,
+ "created_at": "2021-03-30T20:09:52Z",
+ "updated_at": "2021-03-30T20:11:48Z",
+ "author_association": "OWNER",
+ "active_lock_reason": "resolved",
+ "body": "TEST"
+ },
+ "repository": {
+ "id": 186853002,
+ "node_id": "MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI=",
+ "name": "Hello-World",
+ "full_name": "Codertocat/Hello-World",
+ "private": false,
+ "owner": {
+ "login": "Codertocat",
+ "id": 21031067,
+ "node_id": "MDQ6VXNlcjIxMDMxMDY3",
+ "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "html_url": "https://github.com/Codertocat/Hello-World",
+ "description": null,
+ "fork": false,
+ "url": "https://api.github.com/repos/Codertocat/Hello-World",
+ "forks_url": "https://api.github.com/repos/Codertocat/Hello-World/forks",
+ "keys_url": "https://api.github.com/repos/Codertocat/Hello-World/keys{/key_id}",
+ "collaborators_url": "https://api.github.com/repos/Codertocat/Hello-World/collaborators{/collaborator}",
+ "teams_url": "https://api.github.com/repos/Codertocat/Hello-World/teams",
+ "hooks_url": "https://api.github.com/repos/Codertocat/Hello-World/hooks",
+ "issue_events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/events{/number}",
+ "events_url": "https://api.github.com/repos/Codertocat/Hello-World/events",
+ "assignees_url": "https://api.github.com/repos/Codertocat/Hello-World/assignees{/user}",
+ "branches_url": "https://api.github.com/repos/Codertocat/Hello-World/branches{/branch}",
+ "tags_url": "https://api.github.com/repos/Codertocat/Hello-World/tags",
+ "blobs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/blobs{/sha}",
+ "git_tags_url": "https://api.github.com/repos/Codertocat/Hello-World/git/tags{/sha}",
+ "git_refs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/refs{/sha}",
+ "trees_url": "https://api.github.com/repos/Codertocat/Hello-World/git/trees{/sha}",
+ "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/statuses/{sha}",
+ "languages_url": "https://api.github.com/repos/Codertocat/Hello-World/languages",
+ "stargazers_url": "https://api.github.com/repos/Codertocat/Hello-World/stargazers",
+ "contributors_url": "https://api.github.com/repos/Codertocat/Hello-World/contributors",
+ "subscribers_url": "https://api.github.com/repos/Codertocat/Hello-World/subscribers",
+ "subscription_url": "https://api.github.com/repos/Codertocat/Hello-World/subscription",
+ "commits_url": "https://api.github.com/repos/Codertocat/Hello-World/commits{/sha}",
+ "git_commits_url": "https://api.github.com/repos/Codertocat/Hello-World/git/commits{/sha}",
+ "comments_url": "https://api.github.com/repos/Codertocat/Hello-World/comments{/number}",
+ "issue_comment_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments{/number}",
+ "contents_url": "https://api.github.com/repos/Codertocat/Hello-World/contents/{+path}",
+ "compare_url": "https://api.github.com/repos/Codertocat/Hello-World/compare/{base}...{head}",
+ "merges_url": "https://api.github.com/repos/Codertocat/Hello-World/merges",
+ "archive_url": "https://api.github.com/repos/Codertocat/Hello-World/{archive_format}{/ref}",
+ "downloads_url": "https://api.github.com/repos/Codertocat/Hello-World/downloads",
+ "issues_url": "https://api.github.com/repos/Codertocat/Hello-World/issues{/number}",
+ "pulls_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls{/number}",
+ "milestones_url": "https://api.github.com/repos/Codertocat/Hello-World/milestones{/number}",
+ "notifications_url": "https://api.github.com/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
+ "labels_url": "https://api.github.com/repos/Codertocat/Hello-World/labels{/name}",
+ "releases_url": "https://api.github.com/repos/Codertocat/Hello-World/releases{/id}",
+ "deployments_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments",
+ "created_at": "2019-05-15T15:19:25Z",
+ "updated_at": "2019-05-15T15:20:41Z",
+ "pushed_at": "2019-05-15T15:20:52Z",
+ "git_url": "git://github.com/Codertocat/Hello-World.git",
+ "ssh_url": "git@github.com:Codertocat/Hello-World.git",
+ "clone_url": "https://github.com/Codertocat/Hello-World.git",
+ "svn_url": "https://github.com/Codertocat/Hello-World",
+ "homepage": null,
+ "size": 0,
+ "stargazers_count": 0,
+ "watchers_count": 0,
+ "language": "Ruby",
+ "has_issues": true,
+ "has_projects": true,
+ "has_downloads": true,
+ "has_wiki": true,
+ "has_pages": true,
+ "forks_count": 1,
+ "mirror_url": null,
+ "archived": false,
+ "disabled": false,
+ "open_issues_count": 2,
+ "license": null,
+ "forks": 1,
+ "open_issues": 2,
+ "watchers": 0,
+ "default_branch": "master"
+ },
+ "sender": {
+ "login": "Codertocat",
+ "id": 21031067,
+ "node_id": "MDQ6VXNlcjIxMDMxMDY3",
+ "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "installation": {
+ "id": 1,
+ "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMQ=="
+ }
+ }
+ ]
+ },
+ {
+ "name": "discussion_comment",
+ "description": "Activity related to a comment in a discussion. For more information, see \"[Using the GraphQL API for discussions](/en/graphql/guides/using-the-graphql-api-for-discussions).\"",
+ "actions": ["created", "deleted", "edited"],
+ "properties": {
+ "comment": {
+ "type": "object",
+ "description": "The [`discussion comment`](/en/graphql/guides/using-the-graphql-api-for-discussions#discussioncomment) resource."
+ },
+ "discussion": {
+ "type": "object",
+ "description": "The [`discussion`](/en/graphql/guides/using-the-graphql-api-for-discussions#discussion) resource."
+ },
+ "repository": {
+ "type": "object",
+ "description": "The [`repository`](/en/graphql/reference/objects#repository) where the event occurred."
+ },
+ "organization": {
+ "type": "object",
+ "description": "Webhook payloads contain the [`organization`](/en/graphql/reference/objects#organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization."
+ },
+ "sender": {
+ "type": "object",
+ "description": "The user that triggered the event."
+ }
+ },
+ "examples": [
+ {
+ "action": "created",
+ "comment": {
+ "id": 544078,
+ "node_id": "MDE3OkRpc2N1c3Npb25Db21tZW50NTQ0MDc4",
+ "html_url": "https://github.com/octo-org/octo-repo/discussions/90#discussioncomment-544078",
+ "parent_id": null,
+ "child_comment_count": 0,
+ "repository_url": "octo-org/octo-repo",
+ "discussion_id": 3297442,
+ "author_association": "COLLABORATOR",
+ "user": {
+ "login": "Codertocat",
+ "id": 21031067,
+ "node_id": "MDQ6VXNlcjIxMDMxMDY3",
+ "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "created_at": "2021-03-29T14:16:31Z",
+ "updated_at": "2021-03-29T14:16:31Z",
+ "body": "I have so many questions to ask you!"
+ },
+ "discussion": {
+ "repository_url": "https://api.github.com/repos/octo-org/octo-repo",
+ "category": {
+ "id": 32784361,
+ "repository_id": 17273051,
+ "emoji": ":speech_balloon:",
+ "name": "General",
+ "description": "Chat about anything and everything here",
+ "created_at": "2021-03-24T12:41:54.000-05:00",
+ "updated_at": "2021-03-24T12:41:54.000-05:00",
+ "slug": "general",
+ "is_answerable": false
+ },
+ "answer_html_url": null,
+ "answer_chosen_at": null,
+ "answer_chosen_by": null,
+ "html_url": "https://github.com/octo-org/octo-repo/discussions/90",
+ "id": 3297442,
+ "node_id": "MDEwOkRpc2N1c3Npb24zMjk3NDQy",
+ "number": 90,
+ "title": "Welcome to discussions!",
+ "user": {
+ "login": "Codertocat",
+ "id": 14935376,
+ "node_id": "MDQ6VXNlcjE0OTM1Mzc2",
+ "avatar_url": "https://avatars.githubusercontent.com/u/14935376?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "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": "octo-repo",
+ "full_name": "octo-org/octo-repo",
+ "private": true,
+ "owner": {
+ "login": "octo-org",
+ "id": 6811672,
+ "node_id": "MDEyOk9yZ2FuaXphdGlvbjY4MTE2NzI=",
+ "avatar_url": "https://avatars.githubusercontent.com/u/6811672?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octo-org",
+ "html_url": "https://github.com/octo-org",
+ "followers_url": "https://api.github.com/users/octo-org/followers",
+ "following_url": "https://api.github.com/users/octo-org/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octo-org/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octo-org/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octo-org/subscriptions",
+ "organizations_url": "https://api.github.com/users/octo-org/orgs",
+ "repos_url": "https://api.github.com/users/octo-org/repos",
+ "events_url": "https://api.github.com/users/octo-org/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octo-org/received_events",
+ "type": "Organization",
+ "site_admin": false
+ },
+ "html_url": "https://github.com/octo-org/octo-repo",
+ "description": "My first repo on GitHub!",
+ "fork": false,
+ "url": "https://api.github.com/repos/octo-org/octo-repo",
+ "forks_url": "https://api.github.com/repos/octo-org/octo-repo/forks",
+ "keys_url": "https://api.github.com/repos/octo-org/octo-repo/keys{/key_id}",
+ "collaborators_url": "https://api.github.com/repos/octo-org/octo-repo/collaborators{/collaborator}",
+ "teams_url": "https://api.github.com/repos/octo-org/octo-repo/teams",
+ "hooks_url": "https://api.github.com/repos/octo-org/octo-repo/hooks",
+ "issue_events_url": "https://api.github.com/repos/octo-org/octo-repo/issues/events{/number}",
+ "events_url": "https://api.github.com/repos/octo-org/octo-repo/events",
+ "assignees_url": "https://api.github.com/repos/octo-org/octo-repo/assignees{/user}",
+ "branches_url": "https://api.github.com/repos/octo-org/octo-repo/branches{/branch}",
+ "tags_url": "https://api.github.com/repos/octo-org/octo-repo/tags",
+ "blobs_url": "https://api.github.com/repos/octo-org/octo-repo/git/blobs{/sha}",
+ "git_tags_url": "https://api.github.com/repos/octo-org/octo-repo/git/tags{/sha}",
+ "git_refs_url": "https://api.github.com/repos/octo-org/octo-repo/git/refs{/sha}",
+ "trees_url": "https://api.github.com/repos/octo-org/octo-repo/git/trees{/sha}",
+ "statuses_url": "https://api.github.com/repos/octo-org/octo-repo/statuses/{sha}",
+ "languages_url": "https://api.github.com/repos/octo-org/octo-repo/languages",
+ "stargazers_url": "https://api.github.com/repos/octo-org/octo-repo/stargazers",
+ "contributors_url": "https://api.github.com/repos/octo-org/octo-repo/contributors",
+ "subscribers_url": "https://api.github.com/repos/octo-org/octo-repo/subscribers",
+ "subscription_url": "https://api.github.com/repos/octo-org/octo-repo/subscription",
+ "commits_url": "https://api.github.com/repos/octo-org/octo-repo/commits{/sha}",
+ "git_commits_url": "https://api.github.com/repos/octo-org/octo-repo/git/commits{/sha}",
+ "comments_url": "https://api.github.com/repos/octo-org/octo-repo/comments{/number}",
+ "issue_comment_url": "https://api.github.com/repos/octo-org/octo-repo/issues/comments{/number}",
+ "contents_url": "https://api.github.com/repos/octo-org/octo-repo/contents/{+path}",
+ "compare_url": "https://api.github.com/repos/octo-org/octo-repo/compare/{base}...{head}",
+ "merges_url": "https://api.github.com/repos/octo-org/octo-repo/merges",
+ "archive_url": "https://api.github.com/repos/octo-org/octo-repo/{archive_format}{/ref}",
+ "downloads_url": "https://api.github.com/repos/octo-org/octo-repo/downloads",
+ "issues_url": "https://api.github.com/repos/octo-org/octo-repo/issues{/number}",
+ "pulls_url": "https://api.github.com/repos/octo-org/octo-repo/pulls{/number}",
+ "milestones_url": "https://api.github.com/repos/octo-org/octo-repo/milestones{/number}",
+ "notifications_url": "https://api.github.com/repos/octo-org/octo-repo/notifications{?since,all,participating}",
+ "labels_url": "https://api.github.com/repos/octo-org/octo-repo/labels{/name}",
+ "releases_url": "https://api.github.com/repos/octo-org/octo-repo/releases{/id}",
+ "deployments_url": "https://api.github.com/repos/octo-org/octo-repo/deployments",
+ "created_at": "2014-02-28T02:42:51Z",
+ "updated_at": "2021-03-11T14:54:13Z",
+ "pushed_at": "2021-03-11T14:54:10Z",
+ "git_url": "git://github.com/octo-org/octo-repo.git",
+ "ssh_url": "org-6811672@github.com:octo-org/octo-repo.git",
+ "clone_url": "https://github.com/octo-org/octo-repo.git",
+ "svn_url": "https://github.com/octo-org/octo-repo",
+ "homepage": "",
+ "size": 300,
+ "stargazers_count": 0,
+ "watchers_count": 0,
+ "language": "JavaScript",
+ "has_issues": true,
+ "has_projects": false,
+ "has_downloads": true,
+ "has_wiki": false,
+ "has_pages": true,
+ "forks_count": 0,
+ "mirror_url": null,
+ "archived": false,
+ "disabled": false,
+ "open_issues_count": 39,
+ "license": null,
+ "forks": 0,
+ "open_issues": 39,
+ "watchers": 0,
+ "default_branch": "main"
+ },
+ "organization": {
+ "login": "octo-org",
+ "id": 6811672,
+ "node_id": "MDEyOk9yZ2FuaXphdGlvbjY4MTE2NzI=",
+ "url": "https://api.github.com/orgs/octo-org",
+ "repos_url": "https://api.github.com/orgs/octo-org/repos",
+ "events_url": "https://api.github.com/orgs/octo-org/events",
+ "hooks_url": "https://api.github.com/orgs/octo-org/hooks",
+ "issues_url": "https://api.github.com/orgs/octo-org/issues",
+ "members_url": "https://api.github.com/orgs/octo-org/members{/member}",
+ "public_members_url": "https://api.github.com/orgs/octo-org/public_members{/member}",
+ "avatar_url": "https://avatars.githubusercontent.com/u/6811672?v=4",
+ "description": "Working better together!"
+ },
+ "sender": {
+ "login": "Codertocat",
+ "id": 21031067,
+ "node_id": "MDQ6VXNlcjIxMDMxMDY3",
+ "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+ },
+ {
+ "action": "created",
+ "comment": {
+ "id": 550062,
+ "node_id": "MDE3OkRpc2N1c3Npb25Db21tZW50NTUwMDYy",
+ "html_url": "https://github.com/Codertocat/Hello-World/discussions/4#discussioncomment-550062",
+ "parent_id": null,
+ "child_comment_count": 0,
+ "repository_url": "Codertocat/Hello-World",
+ "discussion_id": 3299614,
+ "author_association": "OWNER",
+ "user": {
+ "login": "Codertocat",
+ "id": 21031067,
+ "node_id": "MDQ6VXNlcjIxMDMxMDY3",
+ "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "created_at": "2021-03-30T20:21:30Z",
+ "updated_at": "2021-03-30T20:21:30Z",
+ "body": "ANSWER"
+ },
+ "discussion": {
+ "repository_url": "https://api.github.com/repos/Codertocat/Hello-World",
+ "category": {
+ "id": 32809314,
+ "repository_id": 186853002,
+ "emoji": ":speech_balloon:",
+ "name": "General",
+ "description": "Chat about anything and everything here",
+ "created_at": "2021-03-30T16:09:00.000-04:00",
+ "updated_at": "2021-03-30T16:09:00.000-04:00",
+ "slug": "general",
+ "is_answerable": false
+ },
+ "answer_html_url": null,
+ "answer_chosen_at": null,
+ "answer_chosen_by": null,
+ "html_url": "https://github.com/Codertocat/Hello-World/discussions/4",
+ "id": 3299614,
+ "node_id": "MDEwOkRpc2N1c3Npb24zMjk5NjE0",
+ "number": 4,
+ "title": "TEST edit",
+ "user": {
+ "login": "Codertocat",
+ "id": 21031067,
+ "node_id": "MDQ6VXNlcjIxMDMxMDY3",
+ "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "state": "open",
+ "locked": false,
+ "comments": 0,
+ "created_at": "2021-03-30T20:09:52Z",
+ "updated_at": "2021-03-30T20:26:24Z",
+ "author_association": "OWNER",
+ "active_lock_reason": null,
+ "body": "TEST edit"
+ },
+ "repository": {
+ "id": 186853002,
+ "node_id": "MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI=",
+ "name": "Hello-World",
+ "full_name": "Codertocat/Hello-World",
+ "private": false,
+ "owner": {
+ "login": "Codertocat",
+ "id": 21031067,
+ "node_id": "MDQ6VXNlcjIxMDMxMDY3",
+ "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "html_url": "https://github.com/Codertocat/Hello-World",
+ "description": null,
+ "fork": false,
+ "url": "https://api.github.com/repos/Codertocat/Hello-World",
+ "forks_url": "https://api.github.com/repos/Codertocat/Hello-World/forks",
+ "keys_url": "https://api.github.com/repos/Codertocat/Hello-World/keys{/key_id}",
+ "collaborators_url": "https://api.github.com/repos/Codertocat/Hello-World/collaborators{/collaborator}",
+ "teams_url": "https://api.github.com/repos/Codertocat/Hello-World/teams",
+ "hooks_url": "https://api.github.com/repos/Codertocat/Hello-World/hooks",
+ "issue_events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/events{/number}",
+ "events_url": "https://api.github.com/repos/Codertocat/Hello-World/events",
+ "assignees_url": "https://api.github.com/repos/Codertocat/Hello-World/assignees{/user}",
+ "branches_url": "https://api.github.com/repos/Codertocat/Hello-World/branches{/branch}",
+ "tags_url": "https://api.github.com/repos/Codertocat/Hello-World/tags",
+ "blobs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/blobs{/sha}",
+ "git_tags_url": "https://api.github.com/repos/Codertocat/Hello-World/git/tags{/sha}",
+ "git_refs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/refs{/sha}",
+ "trees_url": "https://api.github.com/repos/Codertocat/Hello-World/git/trees{/sha}",
+ "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/statuses/{sha}",
+ "languages_url": "https://api.github.com/repos/Codertocat/Hello-World/languages",
+ "stargazers_url": "https://api.github.com/repos/Codertocat/Hello-World/stargazers",
+ "contributors_url": "https://api.github.com/repos/Codertocat/Hello-World/contributors",
+ "subscribers_url": "https://api.github.com/repos/Codertocat/Hello-World/subscribers",
+ "subscription_url": "https://api.github.com/repos/Codertocat/Hello-World/subscription",
+ "commits_url": "https://api.github.com/repos/Codertocat/Hello-World/commits{/sha}",
+ "git_commits_url": "https://api.github.com/repos/Codertocat/Hello-World/git/commits{/sha}",
+ "comments_url": "https://api.github.com/repos/Codertocat/Hello-World/comments{/number}",
+ "issue_comment_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments{/number}",
+ "contents_url": "https://api.github.com/repos/Codertocat/Hello-World/contents/{+path}",
+ "compare_url": "https://api.github.com/repos/Codertocat/Hello-World/compare/{base}...{head}",
+ "merges_url": "https://api.github.com/repos/Codertocat/Hello-World/merges",
+ "archive_url": "https://api.github.com/repos/Codertocat/Hello-World/{archive_format}{/ref}",
+ "downloads_url": "https://api.github.com/repos/Codertocat/Hello-World/downloads",
+ "issues_url": "https://api.github.com/repos/Codertocat/Hello-World/issues{/number}",
+ "pulls_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls{/number}",
+ "milestones_url": "https://api.github.com/repos/Codertocat/Hello-World/milestones{/number}",
+ "notifications_url": "https://api.github.com/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
+ "labels_url": "https://api.github.com/repos/Codertocat/Hello-World/labels{/name}",
+ "releases_url": "https://api.github.com/repos/Codertocat/Hello-World/releases{/id}",
+ "deployments_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments",
+ "created_at": "2019-05-15T15:19:25Z",
+ "updated_at": "2019-05-15T15:20:41Z",
+ "pushed_at": "2019-05-15T15:20:52Z",
+ "git_url": "git://github.com/Codertocat/Hello-World.git",
+ "ssh_url": "git@github.com:Codertocat/Hello-World.git",
+ "clone_url": "https://github.com/Codertocat/Hello-World.git",
+ "svn_url": "https://github.com/Codertocat/Hello-World",
+ "homepage": null,
+ "size": 0,
+ "stargazers_count": 0,
+ "watchers_count": 0,
+ "language": "Ruby",
+ "has_issues": true,
+ "has_projects": true,
+ "has_downloads": true,
+ "has_wiki": true,
+ "has_pages": true,
+ "forks_count": 1,
+ "mirror_url": null,
+ "archived": false,
+ "disabled": false,
+ "open_issues_count": 2,
+ "license": null,
+ "forks": 1,
+ "open_issues": 2,
+ "watchers": 0,
+ "default_branch": "master"
+ },
+ "sender": {
+ "login": "Codertocat",
+ "id": 21031067,
+ "node_id": "MDQ6VXNlcjIxMDMxMDY3",
+ "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "installation": {
+ "id": 1,
+ "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMQ=="
+ }
+ },
+ {
+ "action": "deleted",
+ "comment": {
+ "id": 550062,
+ "node_id": "MDE3OkRpc2N1c3Npb25Db21tZW50NTUwMDYy",
+ "html_url": "https://github.com/Codertocat/Hello-World/discussions/4#discussioncomment-550062",
+ "parent_id": null,
+ "child_comment_count": 0,
+ "repository_url": "Codertocat/Hello-World",
+ "discussion_id": 3299614,
+ "author_association": "OWNER",
+ "user": {
+ "login": "Codertocat",
+ "id": 21031067,
+ "node_id": "MDQ6VXNlcjIxMDMxMDY3",
+ "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "created_at": "2021-03-30T20:21:30Z",
+ "updated_at": "2021-03-30T20:21:30Z",
+ "body": "ANSWER"
+ },
+ "discussion": {
+ "repository_url": "https://api.github.com/repos/Codertocat/Hello-World",
+ "category": {
+ "id": 32809314,
+ "repository_id": 186853002,
+ "emoji": ":speech_balloon:",
+ "name": "General",
+ "description": "Chat about anything and everything here",
+ "created_at": "2021-03-30T16:09:00.000-04:00",
+ "updated_at": "2021-03-30T16:09:00.000-04:00",
+ "slug": "general",
+ "is_answerable": false
+ },
+ "answer_html_url": null,
+ "answer_chosen_at": null,
+ "answer_chosen_by": null,
+ "html_url": "https://github.com/Codertocat/Hello-World/discussions/4",
+ "id": 3299614,
+ "node_id": "MDEwOkRpc2N1c3Npb24zMjk5NjE0",
+ "number": 4,
+ "title": "TEST edit",
+ "user": {
+ "login": "Codertocat",
+ "id": 21031067,
+ "node_id": "MDQ6VXNlcjIxMDMxMDY3",
+ "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "state": "open",
+ "locked": false,
+ "comments": 0,
+ "created_at": "2021-03-30T20:09:52Z",
+ "updated_at": "2021-03-30T20:26:24Z",
+ "author_association": "OWNER",
+ "active_lock_reason": null,
+ "body": "TEST edit"
+ },
+ "repository": {
+ "id": 186853002,
+ "node_id": "MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI=",
+ "name": "Hello-World",
+ "full_name": "Codertocat/Hello-World",
+ "private": false,
+ "owner": {
+ "login": "Codertocat",
+ "id": 21031067,
+ "node_id": "MDQ6VXNlcjIxMDMxMDY3",
+ "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "html_url": "https://github.com/Codertocat/Hello-World",
+ "description": null,
+ "fork": false,
+ "url": "https://api.github.com/repos/Codertocat/Hello-World",
+ "forks_url": "https://api.github.com/repos/Codertocat/Hello-World/forks",
+ "keys_url": "https://api.github.com/repos/Codertocat/Hello-World/keys{/key_id}",
+ "collaborators_url": "https://api.github.com/repos/Codertocat/Hello-World/collaborators{/collaborator}",
+ "teams_url": "https://api.github.com/repos/Codertocat/Hello-World/teams",
+ "hooks_url": "https://api.github.com/repos/Codertocat/Hello-World/hooks",
+ "issue_events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/events{/number}",
+ "events_url": "https://api.github.com/repos/Codertocat/Hello-World/events",
+ "assignees_url": "https://api.github.com/repos/Codertocat/Hello-World/assignees{/user}",
+ "branches_url": "https://api.github.com/repos/Codertocat/Hello-World/branches{/branch}",
+ "tags_url": "https://api.github.com/repos/Codertocat/Hello-World/tags",
+ "blobs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/blobs{/sha}",
+ "git_tags_url": "https://api.github.com/repos/Codertocat/Hello-World/git/tags{/sha}",
+ "git_refs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/refs{/sha}",
+ "trees_url": "https://api.github.com/repos/Codertocat/Hello-World/git/trees{/sha}",
+ "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/statuses/{sha}",
+ "languages_url": "https://api.github.com/repos/Codertocat/Hello-World/languages",
+ "stargazers_url": "https://api.github.com/repos/Codertocat/Hello-World/stargazers",
+ "contributors_url": "https://api.github.com/repos/Codertocat/Hello-World/contributors",
+ "subscribers_url": "https://api.github.com/repos/Codertocat/Hello-World/subscribers",
+ "subscription_url": "https://api.github.com/repos/Codertocat/Hello-World/subscription",
+ "commits_url": "https://api.github.com/repos/Codertocat/Hello-World/commits{/sha}",
+ "git_commits_url": "https://api.github.com/repos/Codertocat/Hello-World/git/commits{/sha}",
+ "comments_url": "https://api.github.com/repos/Codertocat/Hello-World/comments{/number}",
+ "issue_comment_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments{/number}",
+ "contents_url": "https://api.github.com/repos/Codertocat/Hello-World/contents/{+path}",
+ "compare_url": "https://api.github.com/repos/Codertocat/Hello-World/compare/{base}...{head}",
+ "merges_url": "https://api.github.com/repos/Codertocat/Hello-World/merges",
+ "archive_url": "https://api.github.com/repos/Codertocat/Hello-World/{archive_format}{/ref}",
+ "downloads_url": "https://api.github.com/repos/Codertocat/Hello-World/downloads",
+ "issues_url": "https://api.github.com/repos/Codertocat/Hello-World/issues{/number}",
+ "pulls_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls{/number}",
+ "milestones_url": "https://api.github.com/repos/Codertocat/Hello-World/milestones{/number}",
+ "notifications_url": "https://api.github.com/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
+ "labels_url": "https://api.github.com/repos/Codertocat/Hello-World/labels{/name}",
+ "releases_url": "https://api.github.com/repos/Codertocat/Hello-World/releases{/id}",
+ "deployments_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments",
+ "created_at": "2019-05-15T15:19:25Z",
+ "updated_at": "2019-05-15T15:20:41Z",
+ "pushed_at": "2019-05-15T15:20:52Z",
+ "git_url": "git://github.com/Codertocat/Hello-World.git",
+ "ssh_url": "git@github.com:Codertocat/Hello-World.git",
+ "clone_url": "https://github.com/Codertocat/Hello-World.git",
+ "svn_url": "https://github.com/Codertocat/Hello-World",
+ "homepage": null,
+ "size": 0,
+ "stargazers_count": 0,
+ "watchers_count": 0,
+ "language": "Ruby",
+ "has_issues": true,
+ "has_projects": true,
+ "has_downloads": true,
+ "has_wiki": true,
+ "has_pages": true,
+ "forks_count": 1,
+ "mirror_url": null,
+ "archived": false,
+ "disabled": false,
+ "open_issues_count": 2,
+ "license": null,
+ "forks": 1,
+ "open_issues": 2,
+ "watchers": 0,
+ "default_branch": "master"
+ },
+ "sender": {
+ "login": "Codertocat",
+ "id": 21031067,
+ "node_id": "MDQ6VXNlcjIxMDMxMDY3",
+ "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "installation": {
+ "id": 1,
+ "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMQ=="
+ }
+ },
+ {
+ "action": "edited",
+ "changes": {
+ "body": {
+ "from": "ANSWER"
+ }
+ },
+ "comment": {
+ "id": 550062,
+ "node_id": "MDE3OkRpc2N1c3Npb25Db21tZW50NTUwMDYy",
+ "html_url": "https://github.com/Codertocat/Hello-World/discussions/4#discussioncomment-550062",
+ "parent_id": null,
+ "child_comment_count": 0,
+ "repository_url": "Codertocat/Hello-World",
+ "discussion_id": 3299614,
+ "author_association": "OWNER",
+ "user": {
+ "login": "Codertocat",
+ "id": 21031067,
+ "node_id": "MDQ6VXNlcjIxMDMxMDY3",
+ "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "created_at": "2021-03-30T20:21:30Z",
+ "updated_at": "2021-03-30T20:21:30Z",
+ "body": "ANSWER"
+ },
+ "discussion": {
+ "repository_url": "https://api.github.com/repos/Codertocat/Hello-World",
+ "category": {
+ "id": 32809314,
+ "repository_id": 186853002,
+ "emoji": ":speech_balloon:",
+ "name": "General",
+ "description": "Chat about anything and everything here",
+ "created_at": "2021-03-30T16:09:00.000-04:00",
+ "updated_at": "2021-03-30T16:09:00.000-04:00",
+ "slug": "general",
+ "is_answerable": false
+ },
+ "answer_html_url": null,
+ "answer_chosen_at": null,
+ "answer_chosen_by": null,
+ "html_url": "https://github.com/Codertocat/Hello-World/discussions/4",
+ "id": 3299614,
+ "node_id": "MDEwOkRpc2N1c3Npb24zMjk5NjE0",
+ "number": 4,
+ "title": "TEST edit",
+ "user": {
+ "login": "Codertocat",
+ "id": 21031067,
+ "node_id": "MDQ6VXNlcjIxMDMxMDY3",
+ "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "state": "open",
+ "locked": false,
+ "comments": 0,
+ "created_at": "2021-03-30T20:09:52Z",
+ "updated_at": "2021-03-30T20:26:24Z",
+ "author_association": "OWNER",
+ "active_lock_reason": null,
+ "body": "TEST edit"
+ },
+ "repository": {
+ "id": 186853002,
+ "node_id": "MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI=",
+ "name": "Hello-World",
+ "full_name": "Codertocat/Hello-World",
+ "private": false,
+ "owner": {
+ "login": "Codertocat",
+ "id": 21031067,
+ "node_id": "MDQ6VXNlcjIxMDMxMDY3",
+ "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "html_url": "https://github.com/Codertocat/Hello-World",
+ "description": null,
+ "fork": false,
+ "url": "https://api.github.com/repos/Codertocat/Hello-World",
+ "forks_url": "https://api.github.com/repos/Codertocat/Hello-World/forks",
+ "keys_url": "https://api.github.com/repos/Codertocat/Hello-World/keys{/key_id}",
+ "collaborators_url": "https://api.github.com/repos/Codertocat/Hello-World/collaborators{/collaborator}",
+ "teams_url": "https://api.github.com/repos/Codertocat/Hello-World/teams",
+ "hooks_url": "https://api.github.com/repos/Codertocat/Hello-World/hooks",
+ "issue_events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/events{/number}",
+ "events_url": "https://api.github.com/repos/Codertocat/Hello-World/events",
+ "assignees_url": "https://api.github.com/repos/Codertocat/Hello-World/assignees{/user}",
+ "branches_url": "https://api.github.com/repos/Codertocat/Hello-World/branches{/branch}",
+ "tags_url": "https://api.github.com/repos/Codertocat/Hello-World/tags",
+ "blobs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/blobs{/sha}",
+ "git_tags_url": "https://api.github.com/repos/Codertocat/Hello-World/git/tags{/sha}",
+ "git_refs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/refs{/sha}",
+ "trees_url": "https://api.github.com/repos/Codertocat/Hello-World/git/trees{/sha}",
+ "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/statuses/{sha}",
+ "languages_url": "https://api.github.com/repos/Codertocat/Hello-World/languages",
+ "stargazers_url": "https://api.github.com/repos/Codertocat/Hello-World/stargazers",
+ "contributors_url": "https://api.github.com/repos/Codertocat/Hello-World/contributors",
+ "subscribers_url": "https://api.github.com/repos/Codertocat/Hello-World/subscribers",
+ "subscription_url": "https://api.github.com/repos/Codertocat/Hello-World/subscription",
+ "commits_url": "https://api.github.com/repos/Codertocat/Hello-World/commits{/sha}",
+ "git_commits_url": "https://api.github.com/repos/Codertocat/Hello-World/git/commits{/sha}",
+ "comments_url": "https://api.github.com/repos/Codertocat/Hello-World/comments{/number}",
+ "issue_comment_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments{/number}",
+ "contents_url": "https://api.github.com/repos/Codertocat/Hello-World/contents/{+path}",
+ "compare_url": "https://api.github.com/repos/Codertocat/Hello-World/compare/{base}...{head}",
+ "merges_url": "https://api.github.com/repos/Codertocat/Hello-World/merges",
+ "archive_url": "https://api.github.com/repos/Codertocat/Hello-World/{archive_format}{/ref}",
+ "downloads_url": "https://api.github.com/repos/Codertocat/Hello-World/downloads",
+ "issues_url": "https://api.github.com/repos/Codertocat/Hello-World/issues{/number}",
+ "pulls_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls{/number}",
+ "milestones_url": "https://api.github.com/repos/Codertocat/Hello-World/milestones{/number}",
+ "notifications_url": "https://api.github.com/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
+ "labels_url": "https://api.github.com/repos/Codertocat/Hello-World/labels{/name}",
+ "releases_url": "https://api.github.com/repos/Codertocat/Hello-World/releases{/id}",
+ "deployments_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments",
+ "created_at": "2019-05-15T15:19:25Z",
+ "updated_at": "2019-05-15T15:20:41Z",
+ "pushed_at": "2019-05-15T15:20:52Z",
+ "git_url": "git://github.com/Codertocat/Hello-World.git",
+ "ssh_url": "git@github.com:Codertocat/Hello-World.git",
+ "clone_url": "https://github.com/Codertocat/Hello-World.git",
+ "svn_url": "https://github.com/Codertocat/Hello-World",
+ "homepage": null,
+ "size": 0,
+ "stargazers_count": 0,
+ "watchers_count": 0,
+ "language": "Ruby",
+ "has_issues": true,
+ "has_projects": true,
+ "has_downloads": true,
+ "has_wiki": true,
+ "has_pages": true,
+ "forks_count": 1,
+ "mirror_url": null,
+ "archived": false,
+ "disabled": false,
+ "open_issues_count": 2,
+ "license": null,
+ "forks": 1,
+ "open_issues": 2,
+ "watchers": 0,
+ "default_branch": "master"
+ },
+ "sender": {
+ "login": "Codertocat",
+ "id": 21031067,
+ "node_id": "MDQ6VXNlcjIxMDMxMDY3",
+ "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "installation": {
+ "id": 1,
+ "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMQ=="
+ }
+ }
+ ]
+ },
{
"name": "fork",
"description": "A user forks a repository. For more information, see the \"[forks](https://docs.github.com/en/rest/reference/repos#forks)\" REST API.",
diff --git a/payload-examples/api.github.com/discussion/answered.payload.json b/payload-examples/api.github.com/discussion/answered.payload.json
new file mode 100644
index 000000000..7ff2fccb6
--- /dev/null
+++ b/payload-examples/api.github.com/discussion/answered.payload.json
@@ -0,0 +1,223 @@
+{
+ "action": "answered",
+ "discussion": {
+ "repository_url": "https://api.github.com/repos/Codertocat/Hello-World",
+ "category": {
+ "id": 32809315,
+ "repository_id": 141753607,
+ "emoji": ":pray:",
+ "name": "Q&A",
+ "description": "Ask the community for help",
+ "created_at": "2021-03-30T16:09:00.000-04:00",
+ "updated_at": "2021-03-30T16:09:00.000-04:00",
+ "slug": "q-a",
+ "is_answerable": true
+ },
+ "answer_html_url": "https://github.com/Codertocat/Hello-World/discussions/4#discussioncomment-550561",
+ "answer_chosen_at": "2021-03-30T19:17:18.000-04:00",
+ "answer_chosen_by": {
+ "login": "Codertocat",
+ "id": 4595477,
+ "node_id": "MDQ6VXNlcjQ1OTU0Nzc=",
+ "avatar_url": "https://avatars.githubusercontent.com/u/4595477?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "html_url": "https://github.com/Codertocat/Hello-World/discussions/4",
+ "id": 3299614,
+ "node_id": "MDEwOkRpc2N1c3Npb24zMjk5NjE0",
+ "number": 4,
+ "title": "TEST edit",
+ "user": {
+ "login": "Codertocat",
+ "id": 4595477,
+ "node_id": "MDQ6VXNlcjQ1OTU0Nzc=",
+ "avatar_url": "https://avatars.githubusercontent.com/u/4595477?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "state": "open",
+ "locked": false,
+ "comments": 1,
+ "created_at": "2021-03-30T20:09:52Z",
+ "updated_at": "2021-03-30T23:17:18Z",
+ "author_association": "OWNER",
+ "active_lock_reason": null,
+ "body": "TEST edit"
+ },
+ "answer": {
+ "id": 550561,
+ "node_id": "MDE3OkRpc2N1c3Npb25Db21tZW50NTUwNTYx",
+ "html_url": "https://github.com/Codertocat/Hello-World/discussions/4#discussioncomment-550561",
+ "parent_id": null,
+ "child_comment_count": 0,
+ "repository_url": "Codertocat/Hello-World",
+ "discussion_id": 3299614,
+ "author_association": "NONE",
+ "user": {
+ "login": "dan2wik",
+ "id": 1253226,
+ "node_id": "MDQ6VXNlcjEyNTMyMjY=",
+ "avatar_url": "https://avatars.githubusercontent.com/u/1253226?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/dan2wik",
+ "html_url": "https://github.com/dan2wik",
+ "followers_url": "https://api.github.com/users/dan2wik/followers",
+ "following_url": "https://api.github.com/users/dan2wik/following{/other_user}",
+ "gists_url": "https://api.github.com/users/dan2wik/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/dan2wik/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/dan2wik/subscriptions",
+ "organizations_url": "https://api.github.com/users/dan2wik/orgs",
+ "repos_url": "https://api.github.com/users/dan2wik/repos",
+ "events_url": "https://api.github.com/users/dan2wik/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/dan2wik/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "created_at": "2021-03-30T23:16:42Z",
+ "updated_at": "2021-03-30T23:16:55Z",
+ "body": "Poggers"
+ },
+ "repository": {
+ "id": 186853002,
+ "node_id": "MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI=",
+ "name": "Hello-World",
+ "full_name": "Codertocat/Hello-World",
+ "private": false,
+ "owner": {
+ "login": "Codertocat",
+ "id": 21031067,
+ "node_id": "MDQ6VXNlcjIxMDMxMDY3",
+ "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "html_url": "https://github.com/Codertocat/Hello-World",
+ "description": null,
+ "fork": true,
+ "url": "https://api.github.com/repos/Codertocat/Hello-World",
+ "forks_url": "https://api.github.com/repos/Codertocat/Hello-World/forks",
+ "keys_url": "https://api.github.com/repos/Codertocat/Hello-World/keys{/key_id}",
+ "collaborators_url": "https://api.github.com/repos/Codertocat/Hello-World/collaborators{/collaborator}",
+ "teams_url": "https://api.github.com/repos/Codertocat/Hello-World/teams",
+ "hooks_url": "https://api.github.com/repos/Codertocat/Hello-World/hooks",
+ "issue_events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/events{/number}",
+ "events_url": "https://api.github.com/repos/Codertocat/Hello-World/events",
+ "assignees_url": "https://api.github.com/repos/Codertocat/Hello-World/assignees{/user}",
+ "branches_url": "https://api.github.com/repos/Codertocat/Hello-World/branches{/branch}",
+ "tags_url": "https://api.github.com/repos/Codertocat/Hello-World/tags",
+ "blobs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/blobs{/sha}",
+ "git_tags_url": "https://api.github.com/repos/Codertocat/Hello-World/git/tags{/sha}",
+ "git_refs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/refs{/sha}",
+ "trees_url": "https://api.github.com/repos/Codertocat/Hello-World/git/trees{/sha}",
+ "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/statuses/{sha}",
+ "languages_url": "https://api.github.com/repos/Codertocat/Hello-World/languages",
+ "stargazers_url": "https://api.github.com/repos/Codertocat/Hello-World/stargazers",
+ "contributors_url": "https://api.github.com/repos/Codertocat/Hello-World/contributors",
+ "subscribers_url": "https://api.github.com/repos/Codertocat/Hello-World/subscribers",
+ "subscription_url": "https://api.github.com/repos/Codertocat/Hello-World/subscription",
+ "commits_url": "https://api.github.com/repos/Codertocat/Hello-World/commits{/sha}",
+ "git_commits_url": "https://api.github.com/repos/Codertocat/Hello-World/git/commits{/sha}",
+ "comments_url": "https://api.github.com/repos/Codertocat/Hello-World/comments{/number}",
+ "issue_comment_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments{/number}",
+ "contents_url": "https://api.github.com/repos/Codertocat/Hello-World/contents/{+path}",
+ "compare_url": "https://api.github.com/repos/Codertocat/Hello-World/compare/{base}...{head}",
+ "merges_url": "https://api.github.com/repos/Codertocat/Hello-World/merges",
+ "archive_url": "https://api.github.com/repos/Codertocat/Hello-World/{archive_format}{/ref}",
+ "downloads_url": "https://api.github.com/repos/Codertocat/Hello-World/downloads",
+ "issues_url": "https://api.github.com/repos/Codertocat/Hello-World/issues{/number}",
+ "pulls_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls{/number}",
+ "milestones_url": "https://api.github.com/repos/Codertocat/Hello-World/milestones{/number}",
+ "notifications_url": "https://api.github.com/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
+ "labels_url": "https://api.github.com/repos/Codertocat/Hello-World/labels{/name}",
+ "releases_url": "https://api.github.com/repos/Codertocat/Hello-World/releases{/id}",
+ "deployments_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments",
+ "created_at": "2018-07-20T20:11:57Z",
+ "updated_at": "2021-03-30T20:08:34Z",
+ "pushed_at": "2020-07-17T00:40:51Z",
+ "git_url": "git://github.com/Codertocat/Hello-World.git",
+ "ssh_url": "git@github.com:Codertocat/Hello-World.git",
+ "clone_url": "https://github.com/Codertocat/Hello-World.git",
+ "svn_url": "https://github.com/Codertocat/Hello-World",
+ "homepage": "",
+ "size": 0,
+ "stargazers_count": 0,
+ "watchers_count": 0,
+ "language": "Ruby",
+ "has_issues": true,
+ "has_projects": true,
+ "has_downloads": true,
+ "has_wiki": true,
+ "has_pages": true,
+ "forks_count": 0,
+ "mirror_url": null,
+ "archived": false,
+ "disabled": false,
+ "open_issues_count": 2,
+ "license": null,
+ "forks": 1,
+ "open_issues": 2,
+ "watchers": 0,
+ "default_branch": "master"
+ },
+ "sender": {
+ "login": "Codertocat",
+ "id": 21031067,
+ "node_id": "MDQ6VXNlcjIxMDMxMDY3",
+ "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "installation": {
+ "id": 1,
+ "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMQ=="
+ }
+}
diff --git a/payload-examples/api.github.com/discussion/category_changed.payload.json b/payload-examples/api.github.com/discussion/category_changed.payload.json
new file mode 100644
index 000000000..7848cd684
--- /dev/null
+++ b/payload-examples/api.github.com/discussion/category_changed.payload.json
@@ -0,0 +1,186 @@
+{
+ "action": "category_changed",
+ "discussion": {
+ "repository_url": "https://api.github.com/repos/Codertocat/Hello-World",
+ "category": {
+ "id": 32809317,
+ "repository_id": 141753607,
+ "emoji": ":raised_hands:",
+ "name": "Show and tell",
+ "description": "Show off something you've made",
+ "created_at": "2021-03-30T16:09:00.000-04:00",
+ "updated_at": "2021-03-30T16:09:00.000-04:00",
+ "slug": "show-and-tell",
+ "is_answerable": false
+ },
+ "answer_html_url": null,
+ "answer_chosen_at": null,
+ "answer_chosen_by": null,
+ "html_url": "https://github.com/Codertocat/Hello-World/discussions/4",
+ "id": 3299614,
+ "node_id": "MDEwOkRpc2N1c3Npb24zMjk5NjE0",
+ "number": 4,
+ "title": "TEST edit",
+ "user": {
+ "login": "Codertocat",
+ "id": 4595477,
+ "node_id": "MDQ6VXNlcjQ1OTU0Nzc=",
+ "avatar_url": "https://avatars.githubusercontent.com/u/4595477?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "state": "locked",
+ "locked": true,
+ "comments": 0,
+ "created_at": "2021-03-30T20:09:52Z",
+ "updated_at": "2021-03-30T20:35:35Z",
+ "author_association": "OWNER",
+ "active_lock_reason": "resolved",
+ "body": "TEST edit"
+ },
+ "changes": {
+ "category": {
+ "from": {
+ "id": 32809314,
+ "repository_id": 141753607,
+ "emoji": ":speech_balloon:",
+ "name": "General",
+ "description": "Chat about anything and everything here",
+ "created_at": "2021-03-30T16:09:00.000-04:00",
+ "updated_at": "2021-03-30T16:09:00.000-04:00",
+ "slug": "general",
+ "is_answerable": false
+ }
+ }
+ },
+ "repository": {
+ "id": 186853002,
+ "node_id": "MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI=",
+ "name": "Hello-World",
+ "full_name": "Codertocat/Hello-World",
+ "private": false,
+ "owner": {
+ "login": "Codertocat",
+ "id": 21031067,
+ "node_id": "MDQ6VXNlcjIxMDMxMDY3",
+ "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "html_url": "https://github.com/Codertocat/Hello-World",
+ "description": null,
+ "fork": true,
+ "url": "https://api.github.com/repos/Codertocat/Hello-World",
+ "forks_url": "https://api.github.com/repos/Codertocat/Hello-World/forks",
+ "keys_url": "https://api.github.com/repos/Codertocat/Hello-World/keys{/key_id}",
+ "collaborators_url": "https://api.github.com/repos/Codertocat/Hello-World/collaborators{/collaborator}",
+ "teams_url": "https://api.github.com/repos/Codertocat/Hello-World/teams",
+ "hooks_url": "https://api.github.com/repos/Codertocat/Hello-World/hooks",
+ "issue_events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/events{/number}",
+ "events_url": "https://api.github.com/repos/Codertocat/Hello-World/events",
+ "assignees_url": "https://api.github.com/repos/Codertocat/Hello-World/assignees{/user}",
+ "branches_url": "https://api.github.com/repos/Codertocat/Hello-World/branches{/branch}",
+ "tags_url": "https://api.github.com/repos/Codertocat/Hello-World/tags",
+ "blobs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/blobs{/sha}",
+ "git_tags_url": "https://api.github.com/repos/Codertocat/Hello-World/git/tags{/sha}",
+ "git_refs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/refs{/sha}",
+ "trees_url": "https://api.github.com/repos/Codertocat/Hello-World/git/trees{/sha}",
+ "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/statuses/{sha}",
+ "languages_url": "https://api.github.com/repos/Codertocat/Hello-World/languages",
+ "stargazers_url": "https://api.github.com/repos/Codertocat/Hello-World/stargazers",
+ "contributors_url": "https://api.github.com/repos/Codertocat/Hello-World/contributors",
+ "subscribers_url": "https://api.github.com/repos/Codertocat/Hello-World/subscribers",
+ "subscription_url": "https://api.github.com/repos/Codertocat/Hello-World/subscription",
+ "commits_url": "https://api.github.com/repos/Codertocat/Hello-World/commits{/sha}",
+ "git_commits_url": "https://api.github.com/repos/Codertocat/Hello-World/git/commits{/sha}",
+ "comments_url": "https://api.github.com/repos/Codertocat/Hello-World/comments{/number}",
+ "issue_comment_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments{/number}",
+ "contents_url": "https://api.github.com/repos/Codertocat/Hello-World/contents/{+path}",
+ "compare_url": "https://api.github.com/repos/Codertocat/Hello-World/compare/{base}...{head}",
+ "merges_url": "https://api.github.com/repos/Codertocat/Hello-World/merges",
+ "archive_url": "https://api.github.com/repos/Codertocat/Hello-World/{archive_format}{/ref}",
+ "downloads_url": "https://api.github.com/repos/Codertocat/Hello-World/downloads",
+ "issues_url": "https://api.github.com/repos/Codertocat/Hello-World/issues{/number}",
+ "pulls_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls{/number}",
+ "milestones_url": "https://api.github.com/repos/Codertocat/Hello-World/milestones{/number}",
+ "notifications_url": "https://api.github.com/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
+ "labels_url": "https://api.github.com/repos/Codertocat/Hello-World/labels{/name}",
+ "releases_url": "https://api.github.com/repos/Codertocat/Hello-World/releases{/id}",
+ "deployments_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments",
+ "created_at": "2018-07-20T20:11:57Z",
+ "updated_at": "2021-03-30T20:08:34Z",
+ "pushed_at": "2020-07-17T00:40:51Z",
+ "git_url": "git://github.com/Codertocat/Hello-World.git",
+ "ssh_url": "git@github.com:Codertocat/Hello-World.git",
+ "clone_url": "https://github.com/Codertocat/Hello-World.git",
+ "svn_url": "https://github.com/Codertocat/Hello-World",
+ "homepage": "",
+ "size": 0,
+ "stargazers_count": 0,
+ "watchers_count": 0,
+ "language": "Ruby",
+ "has_issues": true,
+ "has_projects": true,
+ "has_downloads": true,
+ "has_wiki": true,
+ "has_pages": true,
+ "forks_count": 0,
+ "mirror_url": null,
+ "archived": false,
+ "disabled": false,
+ "open_issues_count": 2,
+ "license": null,
+ "forks": 1,
+ "open_issues": 2,
+ "watchers": 0,
+ "default_branch": "master"
+ },
+ "sender": {
+ "login": "Codertocat",
+ "id": 21031067,
+ "node_id": "MDQ6VXNlcjIxMDMxMDY3",
+ "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "installation": {
+ "id": 1,
+ "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMQ=="
+ }
+}
diff --git a/payload-examples/api.github.com/discussion/edited.payload.json b/payload-examples/api.github.com/discussion/edited.payload.json
new file mode 100644
index 000000000..0c7af148c
--- /dev/null
+++ b/payload-examples/api.github.com/discussion/edited.payload.json
@@ -0,0 +1,172 @@
+{
+ "action": "edited",
+ "discussion": {
+ "repository_url": "https://api.github.com/repos/Codertocat/Hello-World",
+ "category": {
+ "id": 32809314,
+ "repository_id": 186853002,
+ "emoji": ":speech_balloon:",
+ "name": "General",
+ "description": "Chat about anything and everything here",
+ "created_at": "2021-03-30T16:09:00.000-04:00",
+ "updated_at": "2021-03-30T16:09:00.000-04:00",
+ "slug": "general",
+ "is_answerable": false
+ },
+ "answer_html_url": null,
+ "answer_chosen_at": null,
+ "answer_chosen_by": null,
+ "html_url": "https://github.com/Codertocat/Hello-World/discussions/4",
+ "id": 3299614,
+ "node_id": "MDEwOkRpc2N1c3Npb24zMjk5NjE0",
+ "number": 4,
+ "title": "TEST edit",
+ "user": {
+ "login": "Codertocat",
+ "id": 21031067,
+ "node_id": "MDQ6VXNlcjIxMDMxMDY3",
+ "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "state": "open",
+ "locked": false,
+ "comments": 0,
+ "created_at": "2021-03-30T20:09:52Z",
+ "updated_at": "2021-03-30T20:26:24Z",
+ "author_association": "OWNER",
+ "active_lock_reason": null,
+ "body": "TEST edit"
+ },
+ "changes": { "title": { "from": "TEST" } },
+ "repository": {
+ "id": 186853002,
+ "node_id": "MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI=",
+ "name": "Hello-World",
+ "full_name": "Codertocat/Hello-World",
+ "private": false,
+ "owner": {
+ "login": "Codertocat",
+ "id": 21031067,
+ "node_id": "MDQ6VXNlcjIxMDMxMDY3",
+ "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "html_url": "https://github.com/Codertocat/Hello-World",
+ "description": null,
+ "fork": false,
+ "url": "https://api.github.com/repos/Codertocat/Hello-World",
+ "forks_url": "https://api.github.com/repos/Codertocat/Hello-World/forks",
+ "keys_url": "https://api.github.com/repos/Codertocat/Hello-World/keys{/key_id}",
+ "collaborators_url": "https://api.github.com/repos/Codertocat/Hello-World/collaborators{/collaborator}",
+ "teams_url": "https://api.github.com/repos/Codertocat/Hello-World/teams",
+ "hooks_url": "https://api.github.com/repos/Codertocat/Hello-World/hooks",
+ "issue_events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/events{/number}",
+ "events_url": "https://api.github.com/repos/Codertocat/Hello-World/events",
+ "assignees_url": "https://api.github.com/repos/Codertocat/Hello-World/assignees{/user}",
+ "branches_url": "https://api.github.com/repos/Codertocat/Hello-World/branches{/branch}",
+ "tags_url": "https://api.github.com/repos/Codertocat/Hello-World/tags",
+ "blobs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/blobs{/sha}",
+ "git_tags_url": "https://api.github.com/repos/Codertocat/Hello-World/git/tags{/sha}",
+ "git_refs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/refs{/sha}",
+ "trees_url": "https://api.github.com/repos/Codertocat/Hello-World/git/trees{/sha}",
+ "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/statuses/{sha}",
+ "languages_url": "https://api.github.com/repos/Codertocat/Hello-World/languages",
+ "stargazers_url": "https://api.github.com/repos/Codertocat/Hello-World/stargazers",
+ "contributors_url": "https://api.github.com/repos/Codertocat/Hello-World/contributors",
+ "subscribers_url": "https://api.github.com/repos/Codertocat/Hello-World/subscribers",
+ "subscription_url": "https://api.github.com/repos/Codertocat/Hello-World/subscription",
+ "commits_url": "https://api.github.com/repos/Codertocat/Hello-World/commits{/sha}",
+ "git_commits_url": "https://api.github.com/repos/Codertocat/Hello-World/git/commits{/sha}",
+ "comments_url": "https://api.github.com/repos/Codertocat/Hello-World/comments{/number}",
+ "issue_comment_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments{/number}",
+ "contents_url": "https://api.github.com/repos/Codertocat/Hello-World/contents/{+path}",
+ "compare_url": "https://api.github.com/repos/Codertocat/Hello-World/compare/{base}...{head}",
+ "merges_url": "https://api.github.com/repos/Codertocat/Hello-World/merges",
+ "archive_url": "https://api.github.com/repos/Codertocat/Hello-World/{archive_format}{/ref}",
+ "downloads_url": "https://api.github.com/repos/Codertocat/Hello-World/downloads",
+ "issues_url": "https://api.github.com/repos/Codertocat/Hello-World/issues{/number}",
+ "pulls_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls{/number}",
+ "milestones_url": "https://api.github.com/repos/Codertocat/Hello-World/milestones{/number}",
+ "notifications_url": "https://api.github.com/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
+ "labels_url": "https://api.github.com/repos/Codertocat/Hello-World/labels{/name}",
+ "releases_url": "https://api.github.com/repos/Codertocat/Hello-World/releases{/id}",
+ "deployments_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments",
+ "created_at": "2019-05-15T15:19:25Z",
+ "updated_at": "2019-05-15T15:20:41Z",
+ "pushed_at": "2019-05-15T15:20:52Z",
+ "git_url": "git://github.com/Codertocat/Hello-World.git",
+ "ssh_url": "git@github.com:Codertocat/Hello-World.git",
+ "clone_url": "https://github.com/Codertocat/Hello-World.git",
+ "svn_url": "https://github.com/Codertocat/Hello-World",
+ "homepage": null,
+ "size": 0,
+ "stargazers_count": 0,
+ "watchers_count": 0,
+ "language": "Ruby",
+ "has_issues": true,
+ "has_projects": true,
+ "has_downloads": true,
+ "has_wiki": true,
+ "has_pages": true,
+ "forks_count": 1,
+ "mirror_url": null,
+ "archived": false,
+ "disabled": false,
+ "open_issues_count": 2,
+ "license": null,
+ "forks": 1,
+ "open_issues": 2,
+ "watchers": 0,
+ "default_branch": "master"
+ },
+ "sender": {
+ "login": "Codertocat",
+ "id": 21031067,
+ "node_id": "MDQ6VXNlcjIxMDMxMDY3",
+ "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "installation": {
+ "id": 1,
+ "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMQ=="
+ }
+}
diff --git a/payload-examples/api.github.com/discussion/locked.payload.json b/payload-examples/api.github.com/discussion/locked.payload.json
new file mode 100644
index 000000000..aea836f00
--- /dev/null
+++ b/payload-examples/api.github.com/discussion/locked.payload.json
@@ -0,0 +1,171 @@
+{
+ "action": "locked",
+ "discussion": {
+ "repository_url": "https://api.github.com/repos/Codertocat/Hello-World",
+ "category": {
+ "id": 32809314,
+ "repository_id": 141753607,
+ "emoji": ":speech_balloon:",
+ "name": "General",
+ "description": "Chat about anything and everything here",
+ "created_at": "2021-03-30T16:09:00.000-04:00",
+ "updated_at": "2021-03-30T16:09:00.000-04:00",
+ "slug": "general",
+ "is_answerable": false
+ },
+ "answer_html_url": null,
+ "answer_chosen_at": null,
+ "answer_chosen_by": null,
+ "html_url": "https://github.com/Codertocat/Hello-World/discussions/4",
+ "id": 3299614,
+ "node_id": "MDEwOkRpc2N1c3Npb24zMjk5NjE0",
+ "number": 4,
+ "title": "TEST",
+ "user": {
+ "login": "Codertocat",
+ "id": 21031067,
+ "node_id": "MDQ6VXNlcjIxMDMxMDY3",
+ "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "state": "locked",
+ "locked": true,
+ "comments": 0,
+ "created_at": "2021-03-30T20:09:52Z",
+ "updated_at": "2021-03-30T20:11:48Z",
+ "author_association": "OWNER",
+ "active_lock_reason": "resolved",
+ "body": "TEST"
+ },
+ "repository": {
+ "id": 186853002,
+ "node_id": "MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI=",
+ "name": "Hello-World",
+ "full_name": "Codertocat/Hello-World",
+ "private": false,
+ "owner": {
+ "login": "Codertocat",
+ "id": 21031067,
+ "node_id": "MDQ6VXNlcjIxMDMxMDY3",
+ "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "html_url": "https://github.com/Codertocat/Hello-World",
+ "description": null,
+ "fork": false,
+ "url": "https://api.github.com/repos/Codertocat/Hello-World",
+ "forks_url": "https://api.github.com/repos/Codertocat/Hello-World/forks",
+ "keys_url": "https://api.github.com/repos/Codertocat/Hello-World/keys{/key_id}",
+ "collaborators_url": "https://api.github.com/repos/Codertocat/Hello-World/collaborators{/collaborator}",
+ "teams_url": "https://api.github.com/repos/Codertocat/Hello-World/teams",
+ "hooks_url": "https://api.github.com/repos/Codertocat/Hello-World/hooks",
+ "issue_events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/events{/number}",
+ "events_url": "https://api.github.com/repos/Codertocat/Hello-World/events",
+ "assignees_url": "https://api.github.com/repos/Codertocat/Hello-World/assignees{/user}",
+ "branches_url": "https://api.github.com/repos/Codertocat/Hello-World/branches{/branch}",
+ "tags_url": "https://api.github.com/repos/Codertocat/Hello-World/tags",
+ "blobs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/blobs{/sha}",
+ "git_tags_url": "https://api.github.com/repos/Codertocat/Hello-World/git/tags{/sha}",
+ "git_refs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/refs{/sha}",
+ "trees_url": "https://api.github.com/repos/Codertocat/Hello-World/git/trees{/sha}",
+ "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/statuses/{sha}",
+ "languages_url": "https://api.github.com/repos/Codertocat/Hello-World/languages",
+ "stargazers_url": "https://api.github.com/repos/Codertocat/Hello-World/stargazers",
+ "contributors_url": "https://api.github.com/repos/Codertocat/Hello-World/contributors",
+ "subscribers_url": "https://api.github.com/repos/Codertocat/Hello-World/subscribers",
+ "subscription_url": "https://api.github.com/repos/Codertocat/Hello-World/subscription",
+ "commits_url": "https://api.github.com/repos/Codertocat/Hello-World/commits{/sha}",
+ "git_commits_url": "https://api.github.com/repos/Codertocat/Hello-World/git/commits{/sha}",
+ "comments_url": "https://api.github.com/repos/Codertocat/Hello-World/comments{/number}",
+ "issue_comment_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments{/number}",
+ "contents_url": "https://api.github.com/repos/Codertocat/Hello-World/contents/{+path}",
+ "compare_url": "https://api.github.com/repos/Codertocat/Hello-World/compare/{base}...{head}",
+ "merges_url": "https://api.github.com/repos/Codertocat/Hello-World/merges",
+ "archive_url": "https://api.github.com/repos/Codertocat/Hello-World/{archive_format}{/ref}",
+ "downloads_url": "https://api.github.com/repos/Codertocat/Hello-World/downloads",
+ "issues_url": "https://api.github.com/repos/Codertocat/Hello-World/issues{/number}",
+ "pulls_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls{/number}",
+ "milestones_url": "https://api.github.com/repos/Codertocat/Hello-World/milestones{/number}",
+ "notifications_url": "https://api.github.com/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
+ "labels_url": "https://api.github.com/repos/Codertocat/Hello-World/labels{/name}",
+ "releases_url": "https://api.github.com/repos/Codertocat/Hello-World/releases{/id}",
+ "deployments_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments",
+ "created_at": "2019-05-15T15:19:25Z",
+ "updated_at": "2019-05-15T15:20:41Z",
+ "pushed_at": "2019-05-15T15:20:52Z",
+ "git_url": "git://github.com/Codertocat/Hello-World.git",
+ "ssh_url": "git@github.com:Codertocat/Hello-World.git",
+ "clone_url": "https://github.com/Codertocat/Hello-World.git",
+ "svn_url": "https://github.com/Codertocat/Hello-World",
+ "homepage": null,
+ "size": 0,
+ "stargazers_count": 0,
+ "watchers_count": 0,
+ "language": "Ruby",
+ "has_issues": true,
+ "has_projects": true,
+ "has_downloads": true,
+ "has_wiki": true,
+ "has_pages": true,
+ "forks_count": 1,
+ "mirror_url": null,
+ "archived": false,
+ "disabled": false,
+ "open_issues_count": 2,
+ "license": null,
+ "forks": 1,
+ "open_issues": 2,
+ "watchers": 0,
+ "default_branch": "master"
+ },
+ "sender": {
+ "login": "Codertocat",
+ "id": 21031067,
+ "node_id": "MDQ6VXNlcjIxMDMxMDY3",
+ "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "installation": {
+ "id": 1,
+ "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMQ=="
+ }
+}
diff --git a/payload-examples/api.github.com/discussion/pinned.payload.json b/payload-examples/api.github.com/discussion/pinned.payload.json
new file mode 100644
index 000000000..b1df85706
--- /dev/null
+++ b/payload-examples/api.github.com/discussion/pinned.payload.json
@@ -0,0 +1,171 @@
+{
+ "action": "pinned",
+ "discussion": {
+ "repository_url": "https://api.github.com/repos/Codertocat/Hello-World",
+ "category": {
+ "id": 32809314,
+ "repository_id": 186853002,
+ "emoji": ":speech_balloon:",
+ "name": "General",
+ "description": "Chat about anything and everything here",
+ "created_at": "2021-03-30T16:09:00.000-04:00",
+ "updated_at": "2021-03-30T16:09:00.000-04:00",
+ "slug": "general",
+ "is_answerable": false
+ },
+ "answer_html_url": null,
+ "answer_chosen_at": null,
+ "answer_chosen_by": null,
+ "html_url": "https://github.com/Codertocat/Hello-World/discussions/4",
+ "id": 3299614,
+ "node_id": "MDEwOkRpc2N1c3Npb24zMjk5NjE0",
+ "number": 4,
+ "title": "TEST edit",
+ "user": {
+ "login": "Codertocat",
+ "id": 21031067,
+ "node_id": "MDQ6VXNlcjIxMDMxMDY3",
+ "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "state": "open",
+ "locked": false,
+ "comments": 0,
+ "created_at": "2021-03-30T20:09:52Z",
+ "updated_at": "2021-03-30T20:26:24Z",
+ "author_association": "OWNER",
+ "active_lock_reason": null,
+ "body": "TEST edit"
+ },
+ "repository": {
+ "id": 186853002,
+ "node_id": "MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI=",
+ "name": "Hello-World",
+ "full_name": "Codertocat/Hello-World",
+ "private": false,
+ "owner": {
+ "login": "Codertocat",
+ "id": 21031067,
+ "node_id": "MDQ6VXNlcjIxMDMxMDY3",
+ "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "html_url": "https://github.com/Codertocat/Hello-World",
+ "description": null,
+ "fork": true,
+ "url": "https://api.github.com/repos/Codertocat/Hello-World",
+ "forks_url": "https://api.github.com/repos/Codertocat/Hello-World/forks",
+ "keys_url": "https://api.github.com/repos/Codertocat/Hello-World/keys{/key_id}",
+ "collaborators_url": "https://api.github.com/repos/Codertocat/Hello-World/collaborators{/collaborator}",
+ "teams_url": "https://api.github.com/repos/Codertocat/Hello-World/teams",
+ "hooks_url": "https://api.github.com/repos/Codertocat/Hello-World/hooks",
+ "issue_events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/events{/number}",
+ "events_url": "https://api.github.com/repos/Codertocat/Hello-World/events",
+ "assignees_url": "https://api.github.com/repos/Codertocat/Hello-World/assignees{/user}",
+ "branches_url": "https://api.github.com/repos/Codertocat/Hello-World/branches{/branch}",
+ "tags_url": "https://api.github.com/repos/Codertocat/Hello-World/tags",
+ "blobs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/blobs{/sha}",
+ "git_tags_url": "https://api.github.com/repos/Codertocat/Hello-World/git/tags{/sha}",
+ "git_refs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/refs{/sha}",
+ "trees_url": "https://api.github.com/repos/Codertocat/Hello-World/git/trees{/sha}",
+ "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/statuses/{sha}",
+ "languages_url": "https://api.github.com/repos/Codertocat/Hello-World/languages",
+ "stargazers_url": "https://api.github.com/repos/Codertocat/Hello-World/stargazers",
+ "contributors_url": "https://api.github.com/repos/Codertocat/Hello-World/contributors",
+ "subscribers_url": "https://api.github.com/repos/Codertocat/Hello-World/subscribers",
+ "subscription_url": "https://api.github.com/repos/Codertocat/Hello-World/subscription",
+ "commits_url": "https://api.github.com/repos/Codertocat/Hello-World/commits{/sha}",
+ "git_commits_url": "https://api.github.com/repos/Codertocat/Hello-World/git/commits{/sha}",
+ "comments_url": "https://api.github.com/repos/Codertocat/Hello-World/comments{/number}",
+ "issue_comment_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments{/number}",
+ "contents_url": "https://api.github.com/repos/Codertocat/Hello-World/contents/{+path}",
+ "compare_url": "https://api.github.com/repos/Codertocat/Hello-World/compare/{base}...{head}",
+ "merges_url": "https://api.github.com/repos/Codertocat/Hello-World/merges",
+ "archive_url": "https://api.github.com/repos/Codertocat/Hello-World/{archive_format}{/ref}",
+ "downloads_url": "https://api.github.com/repos/Codertocat/Hello-World/downloads",
+ "issues_url": "https://api.github.com/repos/Codertocat/Hello-World/issues{/number}",
+ "pulls_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls{/number}",
+ "milestones_url": "https://api.github.com/repos/Codertocat/Hello-World/milestones{/number}",
+ "notifications_url": "https://api.github.com/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
+ "labels_url": "https://api.github.com/repos/Codertocat/Hello-World/labels{/name}",
+ "releases_url": "https://api.github.com/repos/Codertocat/Hello-World/releases{/id}",
+ "deployments_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments",
+ "created_at": "2018-07-20T20:11:57Z",
+ "updated_at": "2021-03-30T20:08:34Z",
+ "pushed_at": "2020-07-17T00:40:51Z",
+ "git_url": "git://github.com/Codertocat/Hello-World.git",
+ "ssh_url": "git@github.com:Codertocat/Hello-World.git",
+ "clone_url": "https://github.com/Codertocat/Hello-World.git",
+ "svn_url": "https://github.com/Codertocat/Hello-World",
+ "homepage": "",
+ "size": 0,
+ "stargazers_count": 0,
+ "watchers_count": 0,
+ "language": "Ruby",
+ "has_issues": true,
+ "has_projects": true,
+ "has_downloads": true,
+ "has_wiki": true,
+ "has_pages": true,
+ "forks_count": 0,
+ "mirror_url": null,
+ "archived": false,
+ "disabled": false,
+ "open_issues_count": 2,
+ "license": null,
+ "forks": 1,
+ "open_issues": 2,
+ "watchers": 0,
+ "default_branch": "master"
+ },
+ "sender": {
+ "login": "Codertocat",
+ "id": 21031067,
+ "node_id": "MDQ6VXNlcjIxMDMxMDY3",
+ "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "installation": {
+ "id": 1,
+ "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMQ=="
+ }
+}
diff --git a/payload-examples/api.github.com/discussion/transferred.payload.json b/payload-examples/api.github.com/discussion/transferred.payload.json
new file mode 100644
index 000000000..40c45ac4a
--- /dev/null
+++ b/payload-examples/api.github.com/discussion/transferred.payload.json
@@ -0,0 +1,317 @@
+{
+ "action": "transferred",
+ "discussion": {
+ "repository_url": "https://api.github.com/repos/Codertocat/Hello-World",
+ "category": {
+ "id": 32809315,
+ "repository_id": 141753607,
+ "emoji": ":pray:",
+ "name": "Q&A",
+ "description": "Ask the community for help",
+ "created_at": "2021-03-30T16:09:00.000-04:00",
+ "updated_at": "2021-03-30T16:09:00.000-04:00",
+ "slug": "q-a",
+ "is_answerable": true
+ },
+ "answer_html_url": null,
+ "answer_chosen_at": null,
+ "answer_chosen_by": null,
+ "html_url": "https://github.com/Codertocat/Hello-World/discussions/4",
+ "id": 3299614,
+ "node_id": "MDEwOkRpc2N1c3Npb24zMjk5NjE0",
+ "number": 4,
+ "title": "TEST edit",
+ "user": {
+ "login": "Codertocat",
+ "id": 4595477,
+ "node_id": "MDQ6VXNlcjQ1OTU0Nzc=",
+ "avatar_url": "https://avatars.githubusercontent.com/u/4595477?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "state": "open",
+ "locked": false,
+ "comments": 1,
+ "created_at": "2021-03-30T20:09:52Z",
+ "updated_at": "2021-03-30T23:31:48Z",
+ "author_association": "OWNER",
+ "active_lock_reason": null,
+ "body": "TEST edit"
+ },
+ "changes": {
+ "new_discussion": {
+ "repository_url": "https://api.github.com/repos/Codertocat/friendly-octo-succotash",
+ "category": {
+ "id": 32809824,
+ "repository_id": 353173080,
+ "emoji": ":pray:",
+ "name": "Q&A",
+ "description": "Ask the community for help",
+ "created_at": "2021-03-31T00:00:49.000Z",
+ "updated_at": "2021-03-31T00:00:49.000Z",
+ "slug": "q-a",
+ "is_answerable": true
+ },
+ "answer_html_url": null,
+ "answer_chosen_at": null,
+ "answer_chosen_by": null,
+ "html_url": "https://github.com/Codertocat/friendly-octo-succotash/discussions/1",
+ "id": 3299835,
+ "node_id": "MDEwOkRpc2N1c3Npb24zMjk5ODM1",
+ "number": 1,
+ "title": "TEST edit",
+ "user": {
+ "login": "Codertocat",
+ "id": 21031067,
+ "node_id": "MDQ6VXNlcjIxMDMxMDY3",
+ "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "state": "open",
+ "locked": false,
+ "comments": 1,
+ "created_at": "2021-03-30T20:09:52Z",
+ "updated_at": "2021-03-31T00:01:04Z",
+ "author_association": "OWNER",
+ "active_lock_reason": null,
+ "body": "TEST edit"
+ },
+ "new_repository": {
+ "id": 185882436,
+ "node_id": "MDEwOlJlcG9zaXRvcnkxODU4ODI0MzY=",
+ "name": "hello-world-npm",
+ "full_name": "Codertocat/hello-world-npm",
+ "private": false,
+ "owner": {
+ "login": "Codertocat",
+ "id": 21031067,
+ "node_id": "MDQ6VXNlcjIxMDMxMDY3",
+ "avatar_url": "https://avatars.githubusercontent.com/u/21031067?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "html_url": "https://github.com/Codertocat/hello-world-npm",
+ "description": "This is a simple npm package that demonstrates the Github Package Registry",
+ "fork": false,
+ "url": "https://api.github.com/repos/Codertocat/hello-world-npm",
+ "forks_url": "https://api.github.com/repos/Codertocat/hello-world-npm/forks",
+ "keys_url": "https://api.github.com/repos/Codertocat/hello-world-npm/keys{/key_id}",
+ "collaborators_url": "https://api.github.com/repos/Codertocat/hello-world-npm/collaborators{/collaborator}",
+ "teams_url": "https://api.github.com/repos/Codertocat/hello-world-npm/teams",
+ "hooks_url": "https://api.github.com/repos/Codertocat/hello-world-npm/hooks",
+ "issue_events_url": "https://api.github.com/repos/Codertocat/hello-world-npm/issues/events{/number}",
+ "events_url": "https://api.github.com/repos/Codertocat/hello-world-npm/events",
+ "assignees_url": "https://api.github.com/repos/Codertocat/hello-world-npm/assignees{/user}",
+ "branches_url": "https://api.github.com/repos/Codertocat/hello-world-npm/branches{/branch}",
+ "tags_url": "https://api.github.com/repos/Codertocat/hello-world-npm/tags",
+ "blobs_url": "https://api.github.com/repos/Codertocat/hello-world-npm/git/blobs{/sha}",
+ "git_tags_url": "https://api.github.com/repos/Codertocat/hello-world-npm/git/tags{/sha}",
+ "git_refs_url": "https://api.github.com/repos/Codertocat/hello-world-npm/git/refs{/sha}",
+ "trees_url": "https://api.github.com/repos/Codertocat/hello-world-npm/git/trees{/sha}",
+ "statuses_url": "https://api.github.com/repos/Codertocat/hello-world-npm/statuses/{sha}",
+ "languages_url": "https://api.github.com/repos/Codertocat/hello-world-npm/languages",
+ "stargazers_url": "https://api.github.com/repos/Codertocat/hello-world-npm/stargazers",
+ "contributors_url": "https://api.github.com/repos/Codertocat/hello-world-npm/contributors",
+ "subscribers_url": "https://api.github.com/repos/Codertocat/hello-world-npm/subscribers",
+ "subscription_url": "https://api.github.com/repos/Codertocat/hello-world-npm/subscription",
+ "commits_url": "https://api.github.com/repos/Codertocat/hello-world-npm/commits{/sha}",
+ "git_commits_url": "https://api.github.com/repos/Codertocat/hello-world-npm/git/commits{/sha}",
+ "comments_url": "https://api.github.com/repos/Codertocat/hello-world-npm/comments{/number}",
+ "issue_comment_url": "https://api.github.com/repos/Codertocat/hello-world-npm/issues/comments{/number}",
+ "contents_url": "https://api.github.com/repos/Codertocat/hello-world-npm/contents/{+path}",
+ "compare_url": "https://api.github.com/repos/Codertocat/hello-world-npm/compare/{base}...{head}",
+ "merges_url": "https://api.github.com/repos/Codertocat/hello-world-npm/merges",
+ "archive_url": "https://api.github.com/repos/Codertocat/hello-world-npm/{archive_format}{/ref}",
+ "downloads_url": "https://api.github.com/repos/Codertocat/hello-world-npm/downloads",
+ "issues_url": "https://api.github.com/repos/Codertocat/hello-world-npm/issues{/number}",
+ "pulls_url": "https://api.github.com/repos/Codertocat/hello-world-npm/pulls{/number}",
+ "milestones_url": "https://api.github.com/repos/Codertocat/hello-world-npm/milestones{/number}",
+ "notifications_url": "https://api.github.com/repos/Codertocat/hello-world-npm/notifications{?since,all,participating}",
+ "labels_url": "https://api.github.com/repos/Codertocat/hello-world-npm/labels{/name}",
+ "releases_url": "https://api.github.com/repos/Codertocat/hello-world-npm/releases{/id}",
+ "deployments_url": "https://api.github.com/repos/Codertocat/hello-world-npm/deployments",
+ "created_at": "2019-05-09T22:53:26Z",
+ "updated_at": "2021-03-28T20:12:09Z",
+ "pushed_at": "2020-07-06T02:49:31Z",
+ "git_url": "git://github.com/Codertocat/hello-world-npm.git",
+ "ssh_url": "git@github.com:Codertocat/hello-world-npm.git",
+ "clone_url": "https://github.com/Codertocat/hello-world-npm.git",
+ "svn_url": "https://github.com/Codertocat/hello-world-npm",
+ "homepage": "",
+ "size": 5,
+ "stargazers_count": 108,
+ "watchers_count": 108,
+ "language": "JavaScript",
+ "has_issues": true,
+ "has_projects": true,
+ "has_downloads": true,
+ "has_wiki": true,
+ "has_pages": false,
+ "forks_count": 129,
+ "mirror_url": null,
+ "archived": false,
+ "disabled": false,
+ "open_issues_count": 7,
+ "license": null,
+ "forks": 129,
+ "open_issues": 7,
+ "watchers": 108,
+ "default_branch": "master"
+ }
+ },
+ "repository": {
+ "id": 186853002,
+ "node_id": "MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI=",
+ "name": "Hello-World",
+ "full_name": "Codertocat/Hello-World",
+ "private": false,
+ "owner": {
+ "login": "Codertocat",
+ "id": 21031067,
+ "node_id": "MDQ6VXNlcjIxMDMxMDY3",
+ "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "html_url": "https://github.com/Codertocat/Hello-World",
+ "description": null,
+ "fork": true,
+ "url": "https://api.github.com/repos/Codertocat/Hello-World",
+ "forks_url": "https://api.github.com/repos/Codertocat/Hello-World/forks",
+ "keys_url": "https://api.github.com/repos/Codertocat/Hello-World/keys{/key_id}",
+ "collaborators_url": "https://api.github.com/repos/Codertocat/Hello-World/collaborators{/collaborator}",
+ "teams_url": "https://api.github.com/repos/Codertocat/Hello-World/teams",
+ "hooks_url": "https://api.github.com/repos/Codertocat/Hello-World/hooks",
+ "issue_events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/events{/number}",
+ "events_url": "https://api.github.com/repos/Codertocat/Hello-World/events",
+ "assignees_url": "https://api.github.com/repos/Codertocat/Hello-World/assignees{/user}",
+ "branches_url": "https://api.github.com/repos/Codertocat/Hello-World/branches{/branch}",
+ "tags_url": "https://api.github.com/repos/Codertocat/Hello-World/tags",
+ "blobs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/blobs{/sha}",
+ "git_tags_url": "https://api.github.com/repos/Codertocat/Hello-World/git/tags{/sha}",
+ "git_refs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/refs{/sha}",
+ "trees_url": "https://api.github.com/repos/Codertocat/Hello-World/git/trees{/sha}",
+ "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/statuses/{sha}",
+ "languages_url": "https://api.github.com/repos/Codertocat/Hello-World/languages",
+ "stargazers_url": "https://api.github.com/repos/Codertocat/Hello-World/stargazers",
+ "contributors_url": "https://api.github.com/repos/Codertocat/Hello-World/contributors",
+ "subscribers_url": "https://api.github.com/repos/Codertocat/Hello-World/subscribers",
+ "subscription_url": "https://api.github.com/repos/Codertocat/Hello-World/subscription",
+ "commits_url": "https://api.github.com/repos/Codertocat/Hello-World/commits{/sha}",
+ "git_commits_url": "https://api.github.com/repos/Codertocat/Hello-World/git/commits{/sha}",
+ "comments_url": "https://api.github.com/repos/Codertocat/Hello-World/comments{/number}",
+ "issue_comment_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments{/number}",
+ "contents_url": "https://api.github.com/repos/Codertocat/Hello-World/contents/{+path}",
+ "compare_url": "https://api.github.com/repos/Codertocat/Hello-World/compare/{base}...{head}",
+ "merges_url": "https://api.github.com/repos/Codertocat/Hello-World/merges",
+ "archive_url": "https://api.github.com/repos/Codertocat/Hello-World/{archive_format}{/ref}",
+ "downloads_url": "https://api.github.com/repos/Codertocat/Hello-World/downloads",
+ "issues_url": "https://api.github.com/repos/Codertocat/Hello-World/issues{/number}",
+ "pulls_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls{/number}",
+ "milestones_url": "https://api.github.com/repos/Codertocat/Hello-World/milestones{/number}",
+ "notifications_url": "https://api.github.com/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
+ "labels_url": "https://api.github.com/repos/Codertocat/Hello-World/labels{/name}",
+ "releases_url": "https://api.github.com/repos/Codertocat/Hello-World/releases{/id}",
+ "deployments_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments",
+ "created_at": "2018-07-20T20:11:57Z",
+ "updated_at": "2021-03-30T20:08:34Z",
+ "pushed_at": "2020-07-17T00:40:51Z",
+ "git_url": "git://github.com/Codertocat/Hello-World.git",
+ "ssh_url": "git@github.com:Codertocat/Hello-World.git",
+ "clone_url": "https://github.com/Codertocat/Hello-World.git",
+ "svn_url": "https://github.com/Codertocat/Hello-World",
+ "homepage": "",
+ "size": 0,
+ "stargazers_count": 0,
+ "watchers_count": 0,
+ "language": "Ruby",
+ "has_issues": true,
+ "has_projects": true,
+ "has_downloads": true,
+ "has_wiki": true,
+ "has_pages": true,
+ "forks_count": 0,
+ "mirror_url": null,
+ "archived": false,
+ "disabled": false,
+ "open_issues_count": 2,
+ "license": null,
+ "forks": 1,
+ "open_issues": 2,
+ "watchers": 0,
+ "default_branch": "master"
+ },
+ "sender": {
+ "login": "Codertocat",
+ "id": 21031067,
+ "node_id": "MDQ6VXNlcjIxMDMxMDY3",
+ "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "installation": {
+ "id": 1,
+ "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMQ=="
+ }
+}
diff --git a/payload-examples/api.github.com/discussion/unanswered.payload.json b/payload-examples/api.github.com/discussion/unanswered.payload.json
new file mode 100644
index 000000000..7f7422560
--- /dev/null
+++ b/payload-examples/api.github.com/discussion/unanswered.payload.json
@@ -0,0 +1,204 @@
+{
+ "action": "unanswered",
+ "discussion": {
+ "repository_url": "https://api.github.com/repos/Codertocat/Hello-World",
+ "category": {
+ "id": 32809315,
+ "repository_id": 141753607,
+ "emoji": ":pray:",
+ "name": "Q&A",
+ "description": "Ask the community for help",
+ "created_at": "2021-03-30T16:09:00.000-04:00",
+ "updated_at": "2021-03-30T16:09:00.000-04:00",
+ "slug": "q-a",
+ "is_answerable": true
+ },
+ "answer_html_url": null,
+ "answer_chosen_at": null,
+ "answer_chosen_by": null,
+ "html_url": "https://github.com/Codertocat/Hello-World/discussions/4",
+ "id": 3299614,
+ "node_id": "MDEwOkRpc2N1c3Npb24zMjk5NjE0",
+ "number": 4,
+ "title": "TEST edit",
+ "user": {
+ "login": "Codertocat",
+ "id": 4595477,
+ "node_id": "MDQ6VXNlcjQ1OTU0Nzc=",
+ "avatar_url": "https://avatars.githubusercontent.com/u/4595477?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "state": "open",
+ "locked": false,
+ "comments": 1,
+ "created_at": "2021-03-30T20:09:52Z",
+ "updated_at": "2021-03-30T23:31:48Z",
+ "author_association": "OWNER",
+ "active_lock_reason": null,
+ "body": "TEST edit"
+ },
+ "old_answer": {
+ "id": 550561,
+ "node_id": "MDE3OkRpc2N1c3Npb25Db21tZW50NTUwNTYx",
+ "html_url": "https://github.com/Codertocat/Hello-World/discussions/4#discussioncomment-550561",
+ "parent_id": null,
+ "child_comment_count": 0,
+ "repository_url": "Codertocat/Hello-World",
+ "discussion_id": 3299614,
+ "author_association": "NONE",
+ "user": {
+ "login": "Codertocat",
+ "id": 4595477,
+ "node_id": "MDQ6VXNlcjQ1OTU0Nzc=",
+ "avatar_url": "https://avatars.githubusercontent.com/u/4595477?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "created_at": "2021-03-30T23:16:42Z",
+ "updated_at": "2021-03-30T23:16:55Z",
+ "body": "Poggers"
+ },
+ "repository": {
+ "id": 186853002,
+ "node_id": "MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI=",
+ "name": "Hello-World",
+ "full_name": "Codertocat/Hello-World",
+ "private": false,
+ "owner": {
+ "login": "Codertocat",
+ "id": 21031067,
+ "node_id": "MDQ6VXNlcjIxMDMxMDY3",
+ "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "html_url": "https://github.com/Codertocat/Hello-World",
+ "description": null,
+ "fork": true,
+ "url": "https://api.github.com/repos/Codertocat/Hello-World",
+ "forks_url": "https://api.github.com/repos/Codertocat/Hello-World/forks",
+ "keys_url": "https://api.github.com/repos/Codertocat/Hello-World/keys{/key_id}",
+ "collaborators_url": "https://api.github.com/repos/Codertocat/Hello-World/collaborators{/collaborator}",
+ "teams_url": "https://api.github.com/repos/Codertocat/Hello-World/teams",
+ "hooks_url": "https://api.github.com/repos/Codertocat/Hello-World/hooks",
+ "issue_events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/events{/number}",
+ "events_url": "https://api.github.com/repos/Codertocat/Hello-World/events",
+ "assignees_url": "https://api.github.com/repos/Codertocat/Hello-World/assignees{/user}",
+ "branches_url": "https://api.github.com/repos/Codertocat/Hello-World/branches{/branch}",
+ "tags_url": "https://api.github.com/repos/Codertocat/Hello-World/tags",
+ "blobs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/blobs{/sha}",
+ "git_tags_url": "https://api.github.com/repos/Codertocat/Hello-World/git/tags{/sha}",
+ "git_refs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/refs{/sha}",
+ "trees_url": "https://api.github.com/repos/Codertocat/Hello-World/git/trees{/sha}",
+ "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/statuses/{sha}",
+ "languages_url": "https://api.github.com/repos/Codertocat/Hello-World/languages",
+ "stargazers_url": "https://api.github.com/repos/Codertocat/Hello-World/stargazers",
+ "contributors_url": "https://api.github.com/repos/Codertocat/Hello-World/contributors",
+ "subscribers_url": "https://api.github.com/repos/Codertocat/Hello-World/subscribers",
+ "subscription_url": "https://api.github.com/repos/Codertocat/Hello-World/subscription",
+ "commits_url": "https://api.github.com/repos/Codertocat/Hello-World/commits{/sha}",
+ "git_commits_url": "https://api.github.com/repos/Codertocat/Hello-World/git/commits{/sha}",
+ "comments_url": "https://api.github.com/repos/Codertocat/Hello-World/comments{/number}",
+ "issue_comment_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments{/number}",
+ "contents_url": "https://api.github.com/repos/Codertocat/Hello-World/contents/{+path}",
+ "compare_url": "https://api.github.com/repos/Codertocat/Hello-World/compare/{base}...{head}",
+ "merges_url": "https://api.github.com/repos/Codertocat/Hello-World/merges",
+ "archive_url": "https://api.github.com/repos/Codertocat/Hello-World/{archive_format}{/ref}",
+ "downloads_url": "https://api.github.com/repos/Codertocat/Hello-World/downloads",
+ "issues_url": "https://api.github.com/repos/Codertocat/Hello-World/issues{/number}",
+ "pulls_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls{/number}",
+ "milestones_url": "https://api.github.com/repos/Codertocat/Hello-World/milestones{/number}",
+ "notifications_url": "https://api.github.com/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
+ "labels_url": "https://api.github.com/repos/Codertocat/Hello-World/labels{/name}",
+ "releases_url": "https://api.github.com/repos/Codertocat/Hello-World/releases{/id}",
+ "deployments_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments",
+ "created_at": "2018-07-20T20:11:57Z",
+ "updated_at": "2021-03-30T20:08:34Z",
+ "pushed_at": "2020-07-17T00:40:51Z",
+ "git_url": "git://github.com/Codertocat/Hello-World.git",
+ "ssh_url": "git@github.com:Codertocat/Hello-World.git",
+ "clone_url": "https://github.com/Codertocat/Hello-World.git",
+ "svn_url": "https://github.com/Codertocat/Hello-World",
+ "homepage": "",
+ "size": 0,
+ "stargazers_count": 0,
+ "watchers_count": 0,
+ "language": "Ruby",
+ "has_issues": true,
+ "has_projects": true,
+ "has_downloads": true,
+ "has_wiki": true,
+ "has_pages": true,
+ "forks_count": 0,
+ "mirror_url": null,
+ "archived": false,
+ "disabled": false,
+ "open_issues_count": 2,
+ "license": null,
+ "forks": 1,
+ "open_issues": 2,
+ "watchers": 0,
+ "default_branch": "master"
+ },
+ "sender": {
+ "login": "Codertocat",
+ "id": 21031067,
+ "node_id": "MDQ6VXNlcjIxMDMxMDY3",
+ "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "installation": {
+ "id": 1,
+ "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMQ=="
+ }
+}
diff --git a/payload-examples/api.github.com/discussion/unlocked.payload.json b/payload-examples/api.github.com/discussion/unlocked.payload.json
new file mode 100644
index 000000000..337dc2446
--- /dev/null
+++ b/payload-examples/api.github.com/discussion/unlocked.payload.json
@@ -0,0 +1,171 @@
+{
+ "action": "unlocked",
+ "discussion": {
+ "repository_url": "https://api.github.com/repos/Codertocat/Hello-World",
+ "category": {
+ "id": 32809314,
+ "repository_id": 141753607,
+ "emoji": ":speech_balloon:",
+ "name": "General",
+ "description": "Chat about anything and everything here",
+ "created_at": "2021-03-30T16:09:00.000-04:00",
+ "updated_at": "2021-03-30T16:09:00.000-04:00",
+ "slug": "general",
+ "is_answerable": false
+ },
+ "answer_html_url": null,
+ "answer_chosen_at": null,
+ "answer_chosen_by": null,
+ "html_url": "https://github.com/Codertocat/Hello-World/discussions/4",
+ "id": 3299614,
+ "node_id": "MDEwOkRpc2N1c3Npb24zMjk5NjE0",
+ "number": 4,
+ "title": "TEST",
+ "user": {
+ "login": "Codertocat",
+ "id": 21031067,
+ "node_id": "MDQ6VXNlcjIxMDMxMDY3",
+ "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "state": "open",
+ "locked": false,
+ "comments": 0,
+ "created_at": "2021-03-30T20:09:52Z",
+ "updated_at": "2021-03-30T20:11:48Z",
+ "author_association": "OWNER",
+ "active_lock_reason": "resolved",
+ "body": "TEST"
+ },
+ "repository": {
+ "id": 186853002,
+ "node_id": "MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI=",
+ "name": "Hello-World",
+ "full_name": "Codertocat/Hello-World",
+ "private": false,
+ "owner": {
+ "login": "Codertocat",
+ "id": 21031067,
+ "node_id": "MDQ6VXNlcjIxMDMxMDY3",
+ "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "html_url": "https://github.com/Codertocat/Hello-World",
+ "description": null,
+ "fork": false,
+ "url": "https://api.github.com/repos/Codertocat/Hello-World",
+ "forks_url": "https://api.github.com/repos/Codertocat/Hello-World/forks",
+ "keys_url": "https://api.github.com/repos/Codertocat/Hello-World/keys{/key_id}",
+ "collaborators_url": "https://api.github.com/repos/Codertocat/Hello-World/collaborators{/collaborator}",
+ "teams_url": "https://api.github.com/repos/Codertocat/Hello-World/teams",
+ "hooks_url": "https://api.github.com/repos/Codertocat/Hello-World/hooks",
+ "issue_events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/events{/number}",
+ "events_url": "https://api.github.com/repos/Codertocat/Hello-World/events",
+ "assignees_url": "https://api.github.com/repos/Codertocat/Hello-World/assignees{/user}",
+ "branches_url": "https://api.github.com/repos/Codertocat/Hello-World/branches{/branch}",
+ "tags_url": "https://api.github.com/repos/Codertocat/Hello-World/tags",
+ "blobs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/blobs{/sha}",
+ "git_tags_url": "https://api.github.com/repos/Codertocat/Hello-World/git/tags{/sha}",
+ "git_refs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/refs{/sha}",
+ "trees_url": "https://api.github.com/repos/Codertocat/Hello-World/git/trees{/sha}",
+ "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/statuses/{sha}",
+ "languages_url": "https://api.github.com/repos/Codertocat/Hello-World/languages",
+ "stargazers_url": "https://api.github.com/repos/Codertocat/Hello-World/stargazers",
+ "contributors_url": "https://api.github.com/repos/Codertocat/Hello-World/contributors",
+ "subscribers_url": "https://api.github.com/repos/Codertocat/Hello-World/subscribers",
+ "subscription_url": "https://api.github.com/repos/Codertocat/Hello-World/subscription",
+ "commits_url": "https://api.github.com/repos/Codertocat/Hello-World/commits{/sha}",
+ "git_commits_url": "https://api.github.com/repos/Codertocat/Hello-World/git/commits{/sha}",
+ "comments_url": "https://api.github.com/repos/Codertocat/Hello-World/comments{/number}",
+ "issue_comment_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments{/number}",
+ "contents_url": "https://api.github.com/repos/Codertocat/Hello-World/contents/{+path}",
+ "compare_url": "https://api.github.com/repos/Codertocat/Hello-World/compare/{base}...{head}",
+ "merges_url": "https://api.github.com/repos/Codertocat/Hello-World/merges",
+ "archive_url": "https://api.github.com/repos/Codertocat/Hello-World/{archive_format}{/ref}",
+ "downloads_url": "https://api.github.com/repos/Codertocat/Hello-World/downloads",
+ "issues_url": "https://api.github.com/repos/Codertocat/Hello-World/issues{/number}",
+ "pulls_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls{/number}",
+ "milestones_url": "https://api.github.com/repos/Codertocat/Hello-World/milestones{/number}",
+ "notifications_url": "https://api.github.com/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
+ "labels_url": "https://api.github.com/repos/Codertocat/Hello-World/labels{/name}",
+ "releases_url": "https://api.github.com/repos/Codertocat/Hello-World/releases{/id}",
+ "deployments_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments",
+ "created_at": "2019-05-15T15:19:25Z",
+ "updated_at": "2019-05-15T15:20:41Z",
+ "pushed_at": "2019-05-15T15:20:52Z",
+ "git_url": "git://github.com/Codertocat/Hello-World.git",
+ "ssh_url": "git@github.com:Codertocat/Hello-World.git",
+ "clone_url": "https://github.com/Codertocat/Hello-World.git",
+ "svn_url": "https://github.com/Codertocat/Hello-World",
+ "homepage": null,
+ "size": 0,
+ "stargazers_count": 0,
+ "watchers_count": 0,
+ "language": "Ruby",
+ "has_issues": true,
+ "has_projects": true,
+ "has_downloads": true,
+ "has_wiki": true,
+ "has_pages": true,
+ "forks_count": 1,
+ "mirror_url": null,
+ "archived": false,
+ "disabled": false,
+ "open_issues_count": 2,
+ "license": null,
+ "forks": 1,
+ "open_issues": 2,
+ "watchers": 0,
+ "default_branch": "master"
+ },
+ "sender": {
+ "login": "Codertocat",
+ "id": 21031067,
+ "node_id": "MDQ6VXNlcjIxMDMxMDY3",
+ "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "installation": {
+ "id": 1,
+ "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMQ=="
+ }
+}
diff --git a/payload-examples/api.github.com/discussion_comment/created.payload.json b/payload-examples/api.github.com/discussion_comment/created.payload.json
new file mode 100644
index 000000000..72fd43b95
--- /dev/null
+++ b/payload-examples/api.github.com/discussion_comment/created.payload.json
@@ -0,0 +1,204 @@
+{
+ "action": "created",
+ "comment": {
+ "id": 550062,
+ "node_id": "MDE3OkRpc2N1c3Npb25Db21tZW50NTUwMDYy",
+ "html_url": "https://github.com/Codertocat/Hello-World/discussions/4#discussioncomment-550062",
+ "parent_id": null,
+ "child_comment_count": 0,
+ "repository_url": "Codertocat/Hello-World",
+ "discussion_id": 3299614,
+ "author_association": "OWNER",
+ "user": {
+ "login": "Codertocat",
+ "id": 21031067,
+ "node_id": "MDQ6VXNlcjIxMDMxMDY3",
+ "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "created_at": "2021-03-30T20:21:30Z",
+ "updated_at": "2021-03-30T20:21:30Z",
+ "body": "ANSWER"
+ },
+ "discussion": {
+ "repository_url": "https://api.github.com/repos/Codertocat/Hello-World",
+ "category": {
+ "id": 32809314,
+ "repository_id": 186853002,
+ "emoji": ":speech_balloon:",
+ "name": "General",
+ "description": "Chat about anything and everything here",
+ "created_at": "2021-03-30T16:09:00.000-04:00",
+ "updated_at": "2021-03-30T16:09:00.000-04:00",
+ "slug": "general",
+ "is_answerable": false
+ },
+ "answer_html_url": null,
+ "answer_chosen_at": null,
+ "answer_chosen_by": null,
+ "html_url": "https://github.com/Codertocat/Hello-World/discussions/4",
+ "id": 3299614,
+ "node_id": "MDEwOkRpc2N1c3Npb24zMjk5NjE0",
+ "number": 4,
+ "title": "TEST edit",
+ "user": {
+ "login": "Codertocat",
+ "id": 21031067,
+ "node_id": "MDQ6VXNlcjIxMDMxMDY3",
+ "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "state": "open",
+ "locked": false,
+ "comments": 0,
+ "created_at": "2021-03-30T20:09:52Z",
+ "updated_at": "2021-03-30T20:26:24Z",
+ "author_association": "OWNER",
+ "active_lock_reason": null,
+ "body": "TEST edit"
+ },
+ "repository": {
+ "id": 186853002,
+ "node_id": "MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI=",
+ "name": "Hello-World",
+ "full_name": "Codertocat/Hello-World",
+ "private": false,
+ "owner": {
+ "login": "Codertocat",
+ "id": 21031067,
+ "node_id": "MDQ6VXNlcjIxMDMxMDY3",
+ "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "html_url": "https://github.com/Codertocat/Hello-World",
+ "description": null,
+ "fork": false,
+ "url": "https://api.github.com/repos/Codertocat/Hello-World",
+ "forks_url": "https://api.github.com/repos/Codertocat/Hello-World/forks",
+ "keys_url": "https://api.github.com/repos/Codertocat/Hello-World/keys{/key_id}",
+ "collaborators_url": "https://api.github.com/repos/Codertocat/Hello-World/collaborators{/collaborator}",
+ "teams_url": "https://api.github.com/repos/Codertocat/Hello-World/teams",
+ "hooks_url": "https://api.github.com/repos/Codertocat/Hello-World/hooks",
+ "issue_events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/events{/number}",
+ "events_url": "https://api.github.com/repos/Codertocat/Hello-World/events",
+ "assignees_url": "https://api.github.com/repos/Codertocat/Hello-World/assignees{/user}",
+ "branches_url": "https://api.github.com/repos/Codertocat/Hello-World/branches{/branch}",
+ "tags_url": "https://api.github.com/repos/Codertocat/Hello-World/tags",
+ "blobs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/blobs{/sha}",
+ "git_tags_url": "https://api.github.com/repos/Codertocat/Hello-World/git/tags{/sha}",
+ "git_refs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/refs{/sha}",
+ "trees_url": "https://api.github.com/repos/Codertocat/Hello-World/git/trees{/sha}",
+ "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/statuses/{sha}",
+ "languages_url": "https://api.github.com/repos/Codertocat/Hello-World/languages",
+ "stargazers_url": "https://api.github.com/repos/Codertocat/Hello-World/stargazers",
+ "contributors_url": "https://api.github.com/repos/Codertocat/Hello-World/contributors",
+ "subscribers_url": "https://api.github.com/repos/Codertocat/Hello-World/subscribers",
+ "subscription_url": "https://api.github.com/repos/Codertocat/Hello-World/subscription",
+ "commits_url": "https://api.github.com/repos/Codertocat/Hello-World/commits{/sha}",
+ "git_commits_url": "https://api.github.com/repos/Codertocat/Hello-World/git/commits{/sha}",
+ "comments_url": "https://api.github.com/repos/Codertocat/Hello-World/comments{/number}",
+ "issue_comment_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments{/number}",
+ "contents_url": "https://api.github.com/repos/Codertocat/Hello-World/contents/{+path}",
+ "compare_url": "https://api.github.com/repos/Codertocat/Hello-World/compare/{base}...{head}",
+ "merges_url": "https://api.github.com/repos/Codertocat/Hello-World/merges",
+ "archive_url": "https://api.github.com/repos/Codertocat/Hello-World/{archive_format}{/ref}",
+ "downloads_url": "https://api.github.com/repos/Codertocat/Hello-World/downloads",
+ "issues_url": "https://api.github.com/repos/Codertocat/Hello-World/issues{/number}",
+ "pulls_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls{/number}",
+ "milestones_url": "https://api.github.com/repos/Codertocat/Hello-World/milestones{/number}",
+ "notifications_url": "https://api.github.com/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
+ "labels_url": "https://api.github.com/repos/Codertocat/Hello-World/labels{/name}",
+ "releases_url": "https://api.github.com/repos/Codertocat/Hello-World/releases{/id}",
+ "deployments_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments",
+ "created_at": "2019-05-15T15:19:25Z",
+ "updated_at": "2019-05-15T15:20:41Z",
+ "pushed_at": "2019-05-15T15:20:52Z",
+ "git_url": "git://github.com/Codertocat/Hello-World.git",
+ "ssh_url": "git@github.com:Codertocat/Hello-World.git",
+ "clone_url": "https://github.com/Codertocat/Hello-World.git",
+ "svn_url": "https://github.com/Codertocat/Hello-World",
+ "homepage": null,
+ "size": 0,
+ "stargazers_count": 0,
+ "watchers_count": 0,
+ "language": "Ruby",
+ "has_issues": true,
+ "has_projects": true,
+ "has_downloads": true,
+ "has_wiki": true,
+ "has_pages": true,
+ "forks_count": 1,
+ "mirror_url": null,
+ "archived": false,
+ "disabled": false,
+ "open_issues_count": 2,
+ "license": null,
+ "forks": 1,
+ "open_issues": 2,
+ "watchers": 0,
+ "default_branch": "master"
+ },
+ "sender": {
+ "login": "Codertocat",
+ "id": 21031067,
+ "node_id": "MDQ6VXNlcjIxMDMxMDY3",
+ "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "installation": {
+ "id": 1,
+ "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMQ=="
+ }
+}
diff --git a/payload-examples/api.github.com/discussion_comment/deleted.payload.json b/payload-examples/api.github.com/discussion_comment/deleted.payload.json
new file mode 100644
index 000000000..34783419a
--- /dev/null
+++ b/payload-examples/api.github.com/discussion_comment/deleted.payload.json
@@ -0,0 +1,204 @@
+{
+ "action": "deleted",
+ "comment": {
+ "id": 550062,
+ "node_id": "MDE3OkRpc2N1c3Npb25Db21tZW50NTUwMDYy",
+ "html_url": "https://github.com/Codertocat/Hello-World/discussions/4#discussioncomment-550062",
+ "parent_id": null,
+ "child_comment_count": 0,
+ "repository_url": "Codertocat/Hello-World",
+ "discussion_id": 3299614,
+ "author_association": "OWNER",
+ "user": {
+ "login": "Codertocat",
+ "id": 21031067,
+ "node_id": "MDQ6VXNlcjIxMDMxMDY3",
+ "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "created_at": "2021-03-30T20:21:30Z",
+ "updated_at": "2021-03-30T20:21:30Z",
+ "body": "ANSWER"
+ },
+ "discussion": {
+ "repository_url": "https://api.github.com/repos/Codertocat/Hello-World",
+ "category": {
+ "id": 32809314,
+ "repository_id": 186853002,
+ "emoji": ":speech_balloon:",
+ "name": "General",
+ "description": "Chat about anything and everything here",
+ "created_at": "2021-03-30T16:09:00.000-04:00",
+ "updated_at": "2021-03-30T16:09:00.000-04:00",
+ "slug": "general",
+ "is_answerable": false
+ },
+ "answer_html_url": null,
+ "answer_chosen_at": null,
+ "answer_chosen_by": null,
+ "html_url": "https://github.com/Codertocat/Hello-World/discussions/4",
+ "id": 3299614,
+ "node_id": "MDEwOkRpc2N1c3Npb24zMjk5NjE0",
+ "number": 4,
+ "title": "TEST edit",
+ "user": {
+ "login": "Codertocat",
+ "id": 21031067,
+ "node_id": "MDQ6VXNlcjIxMDMxMDY3",
+ "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "state": "open",
+ "locked": false,
+ "comments": 0,
+ "created_at": "2021-03-30T20:09:52Z",
+ "updated_at": "2021-03-30T20:26:24Z",
+ "author_association": "OWNER",
+ "active_lock_reason": null,
+ "body": "TEST edit"
+ },
+ "repository": {
+ "id": 186853002,
+ "node_id": "MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI=",
+ "name": "Hello-World",
+ "full_name": "Codertocat/Hello-World",
+ "private": false,
+ "owner": {
+ "login": "Codertocat",
+ "id": 21031067,
+ "node_id": "MDQ6VXNlcjIxMDMxMDY3",
+ "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "html_url": "https://github.com/Codertocat/Hello-World",
+ "description": null,
+ "fork": false,
+ "url": "https://api.github.com/repos/Codertocat/Hello-World",
+ "forks_url": "https://api.github.com/repos/Codertocat/Hello-World/forks",
+ "keys_url": "https://api.github.com/repos/Codertocat/Hello-World/keys{/key_id}",
+ "collaborators_url": "https://api.github.com/repos/Codertocat/Hello-World/collaborators{/collaborator}",
+ "teams_url": "https://api.github.com/repos/Codertocat/Hello-World/teams",
+ "hooks_url": "https://api.github.com/repos/Codertocat/Hello-World/hooks",
+ "issue_events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/events{/number}",
+ "events_url": "https://api.github.com/repos/Codertocat/Hello-World/events",
+ "assignees_url": "https://api.github.com/repos/Codertocat/Hello-World/assignees{/user}",
+ "branches_url": "https://api.github.com/repos/Codertocat/Hello-World/branches{/branch}",
+ "tags_url": "https://api.github.com/repos/Codertocat/Hello-World/tags",
+ "blobs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/blobs{/sha}",
+ "git_tags_url": "https://api.github.com/repos/Codertocat/Hello-World/git/tags{/sha}",
+ "git_refs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/refs{/sha}",
+ "trees_url": "https://api.github.com/repos/Codertocat/Hello-World/git/trees{/sha}",
+ "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/statuses/{sha}",
+ "languages_url": "https://api.github.com/repos/Codertocat/Hello-World/languages",
+ "stargazers_url": "https://api.github.com/repos/Codertocat/Hello-World/stargazers",
+ "contributors_url": "https://api.github.com/repos/Codertocat/Hello-World/contributors",
+ "subscribers_url": "https://api.github.com/repos/Codertocat/Hello-World/subscribers",
+ "subscription_url": "https://api.github.com/repos/Codertocat/Hello-World/subscription",
+ "commits_url": "https://api.github.com/repos/Codertocat/Hello-World/commits{/sha}",
+ "git_commits_url": "https://api.github.com/repos/Codertocat/Hello-World/git/commits{/sha}",
+ "comments_url": "https://api.github.com/repos/Codertocat/Hello-World/comments{/number}",
+ "issue_comment_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments{/number}",
+ "contents_url": "https://api.github.com/repos/Codertocat/Hello-World/contents/{+path}",
+ "compare_url": "https://api.github.com/repos/Codertocat/Hello-World/compare/{base}...{head}",
+ "merges_url": "https://api.github.com/repos/Codertocat/Hello-World/merges",
+ "archive_url": "https://api.github.com/repos/Codertocat/Hello-World/{archive_format}{/ref}",
+ "downloads_url": "https://api.github.com/repos/Codertocat/Hello-World/downloads",
+ "issues_url": "https://api.github.com/repos/Codertocat/Hello-World/issues{/number}",
+ "pulls_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls{/number}",
+ "milestones_url": "https://api.github.com/repos/Codertocat/Hello-World/milestones{/number}",
+ "notifications_url": "https://api.github.com/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
+ "labels_url": "https://api.github.com/repos/Codertocat/Hello-World/labels{/name}",
+ "releases_url": "https://api.github.com/repos/Codertocat/Hello-World/releases{/id}",
+ "deployments_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments",
+ "created_at": "2019-05-15T15:19:25Z",
+ "updated_at": "2019-05-15T15:20:41Z",
+ "pushed_at": "2019-05-15T15:20:52Z",
+ "git_url": "git://github.com/Codertocat/Hello-World.git",
+ "ssh_url": "git@github.com:Codertocat/Hello-World.git",
+ "clone_url": "https://github.com/Codertocat/Hello-World.git",
+ "svn_url": "https://github.com/Codertocat/Hello-World",
+ "homepage": null,
+ "size": 0,
+ "stargazers_count": 0,
+ "watchers_count": 0,
+ "language": "Ruby",
+ "has_issues": true,
+ "has_projects": true,
+ "has_downloads": true,
+ "has_wiki": true,
+ "has_pages": true,
+ "forks_count": 1,
+ "mirror_url": null,
+ "archived": false,
+ "disabled": false,
+ "open_issues_count": 2,
+ "license": null,
+ "forks": 1,
+ "open_issues": 2,
+ "watchers": 0,
+ "default_branch": "master"
+ },
+ "sender": {
+ "login": "Codertocat",
+ "id": 21031067,
+ "node_id": "MDQ6VXNlcjIxMDMxMDY3",
+ "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "installation": {
+ "id": 1,
+ "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMQ=="
+ }
+}
diff --git a/payload-examples/api.github.com/discussion_comment/edited.payload.json b/payload-examples/api.github.com/discussion_comment/edited.payload.json
new file mode 100644
index 000000000..2db4dc03a
--- /dev/null
+++ b/payload-examples/api.github.com/discussion_comment/edited.payload.json
@@ -0,0 +1,205 @@
+{
+ "action": "edited",
+ "changes": { "body": { "from": "ANSWER" } },
+ "comment": {
+ "id": 550062,
+ "node_id": "MDE3OkRpc2N1c3Npb25Db21tZW50NTUwMDYy",
+ "html_url": "https://github.com/Codertocat/Hello-World/discussions/4#discussioncomment-550062",
+ "parent_id": null,
+ "child_comment_count": 0,
+ "repository_url": "Codertocat/Hello-World",
+ "discussion_id": 3299614,
+ "author_association": "OWNER",
+ "user": {
+ "login": "Codertocat",
+ "id": 21031067,
+ "node_id": "MDQ6VXNlcjIxMDMxMDY3",
+ "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "created_at": "2021-03-30T20:21:30Z",
+ "updated_at": "2021-03-30T20:21:30Z",
+ "body": "ANSWER"
+ },
+ "discussion": {
+ "repository_url": "https://api.github.com/repos/Codertocat/Hello-World",
+ "category": {
+ "id": 32809314,
+ "repository_id": 186853002,
+ "emoji": ":speech_balloon:",
+ "name": "General",
+ "description": "Chat about anything and everything here",
+ "created_at": "2021-03-30T16:09:00.000-04:00",
+ "updated_at": "2021-03-30T16:09:00.000-04:00",
+ "slug": "general",
+ "is_answerable": false
+ },
+ "answer_html_url": null,
+ "answer_chosen_at": null,
+ "answer_chosen_by": null,
+ "html_url": "https://github.com/Codertocat/Hello-World/discussions/4",
+ "id": 3299614,
+ "node_id": "MDEwOkRpc2N1c3Npb24zMjk5NjE0",
+ "number": 4,
+ "title": "TEST edit",
+ "user": {
+ "login": "Codertocat",
+ "id": 21031067,
+ "node_id": "MDQ6VXNlcjIxMDMxMDY3",
+ "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "state": "open",
+ "locked": false,
+ "comments": 0,
+ "created_at": "2021-03-30T20:09:52Z",
+ "updated_at": "2021-03-30T20:26:24Z",
+ "author_association": "OWNER",
+ "active_lock_reason": null,
+ "body": "TEST edit"
+ },
+ "repository": {
+ "id": 186853002,
+ "node_id": "MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI=",
+ "name": "Hello-World",
+ "full_name": "Codertocat/Hello-World",
+ "private": false,
+ "owner": {
+ "login": "Codertocat",
+ "id": 21031067,
+ "node_id": "MDQ6VXNlcjIxMDMxMDY3",
+ "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "html_url": "https://github.com/Codertocat/Hello-World",
+ "description": null,
+ "fork": false,
+ "url": "https://api.github.com/repos/Codertocat/Hello-World",
+ "forks_url": "https://api.github.com/repos/Codertocat/Hello-World/forks",
+ "keys_url": "https://api.github.com/repos/Codertocat/Hello-World/keys{/key_id}",
+ "collaborators_url": "https://api.github.com/repos/Codertocat/Hello-World/collaborators{/collaborator}",
+ "teams_url": "https://api.github.com/repos/Codertocat/Hello-World/teams",
+ "hooks_url": "https://api.github.com/repos/Codertocat/Hello-World/hooks",
+ "issue_events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/events{/number}",
+ "events_url": "https://api.github.com/repos/Codertocat/Hello-World/events",
+ "assignees_url": "https://api.github.com/repos/Codertocat/Hello-World/assignees{/user}",
+ "branches_url": "https://api.github.com/repos/Codertocat/Hello-World/branches{/branch}",
+ "tags_url": "https://api.github.com/repos/Codertocat/Hello-World/tags",
+ "blobs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/blobs{/sha}",
+ "git_tags_url": "https://api.github.com/repos/Codertocat/Hello-World/git/tags{/sha}",
+ "git_refs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/refs{/sha}",
+ "trees_url": "https://api.github.com/repos/Codertocat/Hello-World/git/trees{/sha}",
+ "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/statuses/{sha}",
+ "languages_url": "https://api.github.com/repos/Codertocat/Hello-World/languages",
+ "stargazers_url": "https://api.github.com/repos/Codertocat/Hello-World/stargazers",
+ "contributors_url": "https://api.github.com/repos/Codertocat/Hello-World/contributors",
+ "subscribers_url": "https://api.github.com/repos/Codertocat/Hello-World/subscribers",
+ "subscription_url": "https://api.github.com/repos/Codertocat/Hello-World/subscription",
+ "commits_url": "https://api.github.com/repos/Codertocat/Hello-World/commits{/sha}",
+ "git_commits_url": "https://api.github.com/repos/Codertocat/Hello-World/git/commits{/sha}",
+ "comments_url": "https://api.github.com/repos/Codertocat/Hello-World/comments{/number}",
+ "issue_comment_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments{/number}",
+ "contents_url": "https://api.github.com/repos/Codertocat/Hello-World/contents/{+path}",
+ "compare_url": "https://api.github.com/repos/Codertocat/Hello-World/compare/{base}...{head}",
+ "merges_url": "https://api.github.com/repos/Codertocat/Hello-World/merges",
+ "archive_url": "https://api.github.com/repos/Codertocat/Hello-World/{archive_format}{/ref}",
+ "downloads_url": "https://api.github.com/repos/Codertocat/Hello-World/downloads",
+ "issues_url": "https://api.github.com/repos/Codertocat/Hello-World/issues{/number}",
+ "pulls_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls{/number}",
+ "milestones_url": "https://api.github.com/repos/Codertocat/Hello-World/milestones{/number}",
+ "notifications_url": "https://api.github.com/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
+ "labels_url": "https://api.github.com/repos/Codertocat/Hello-World/labels{/name}",
+ "releases_url": "https://api.github.com/repos/Codertocat/Hello-World/releases{/id}",
+ "deployments_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments",
+ "created_at": "2019-05-15T15:19:25Z",
+ "updated_at": "2019-05-15T15:20:41Z",
+ "pushed_at": "2019-05-15T15:20:52Z",
+ "git_url": "git://github.com/Codertocat/Hello-World.git",
+ "ssh_url": "git@github.com:Codertocat/Hello-World.git",
+ "clone_url": "https://github.com/Codertocat/Hello-World.git",
+ "svn_url": "https://github.com/Codertocat/Hello-World",
+ "homepage": null,
+ "size": 0,
+ "stargazers_count": 0,
+ "watchers_count": 0,
+ "language": "Ruby",
+ "has_issues": true,
+ "has_projects": true,
+ "has_downloads": true,
+ "has_wiki": true,
+ "has_pages": true,
+ "forks_count": 1,
+ "mirror_url": null,
+ "archived": false,
+ "disabled": false,
+ "open_issues_count": 2,
+ "license": null,
+ "forks": 1,
+ "open_issues": 2,
+ "watchers": 0,
+ "default_branch": "master"
+ },
+ "sender": {
+ "login": "Codertocat",
+ "id": 21031067,
+ "node_id": "MDQ6VXNlcjIxMDMxMDY3",
+ "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/Codertocat",
+ "html_url": "https://github.com/Codertocat",
+ "followers_url": "https://api.github.com/users/Codertocat/followers",
+ "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/Codertocat/orgs",
+ "repos_url": "https://api.github.com/users/Codertocat/repos",
+ "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/Codertocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "installation": {
+ "id": 1,
+ "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMQ=="
+ }
+}
diff --git a/payload-schemas/schemas/common/discussion.schema.json b/payload-schemas/schemas/common/discussion.schema.json
new file mode 100644
index 000000000..62d4c6723
--- /dev/null
+++ b/payload-schemas/schemas/common/discussion.schema.json
@@ -0,0 +1,76 @@
+{
+ "$schema": "http://json-schema.org/draft-07/schema",
+ "$id": "common/discussion.schema.json",
+ "required": [
+ "repository_url",
+ "category",
+ "answer_html_url",
+ "answer_chosen_at",
+ "answer_chosen_by",
+ "html_url",
+ "id",
+ "node_id",
+ "number",
+ "title",
+ "user",
+ "state",
+ "locked",
+ "comments",
+ "created_at",
+ "updated_at",
+ "author_association",
+ "active_lock_reason",
+ "body"
+ ],
+ "type": "object",
+ "properties": {
+ "repository_url": { "type": "string" },
+ "category": {
+ "type": "object",
+ "required": [
+ "id",
+ "repository_id",
+ "emoji",
+ "name",
+ "description",
+ "created_at",
+ "updated_at",
+ "slug",
+ "is_answerable"
+ ],
+ "properties": {
+ "id": { "type": "integer" },
+ "repository_id": { "type": "integer" },
+ "emoji": { "type": "string" },
+ "name": { "type": "string" },
+ "description": { "type": "string" },
+ "created_at": { "type": "string", "format": "date-time" },
+ "updated_at": { "type": "string" },
+ "slug": { "type": "string" },
+ "is_answerable": { "type": "boolean" }
+ },
+ "additionalProperties": false
+ },
+ "answer_html_url": { "type": ["string", "null"] },
+ "answer_chosen_at": { "type": ["string", "null"] },
+ "answer_chosen_by": {
+ "oneOf": [{ "$ref": "user.schema.json" }, { "type": "null" }]
+ },
+ "html_url": { "type": "string" },
+ "id": { "type": "integer" },
+ "node_id": { "type": "string" },
+ "number": { "type": "integer" },
+ "title": { "type": "string" },
+ "user": { "$ref": "user.schema.json" },
+ "state": { "type": "string", "enum": ["open", "locked"] },
+ "locked": { "type": "boolean" },
+ "comments": { "type": "integer" },
+ "created_at": { "type": "string", "format": "date-time" },
+ "updated_at": { "type": "string", "format": "date-time" },
+ "author_association": { "$ref": "author_association.schema.json" },
+ "active_lock_reason": { "type": ["string", "null"] },
+ "body": { "type": "string" }
+ },
+ "additionalProperties": false,
+ "title": "Discussion"
+}
diff --git a/payload-schemas/schemas/discussion/answered.schema.json b/payload-schemas/schemas/discussion/answered.schema.json
new file mode 100644
index 000000000..8570ba35c
--- /dev/null
+++ b/payload-schemas/schemas/discussion/answered.schema.json
@@ -0,0 +1,77 @@
+{
+ "$schema": "http://json-schema.org/draft-07/schema",
+ "$id": "discussion$answered",
+ "type": "object",
+ "required": ["action", "discussion", "answer", "repository", "sender"],
+ "properties": {
+ "action": { "type": "string", "enum": ["answered"] },
+ "discussion": {
+ "allOf": [
+ { "$ref": "common/discussion.schema.json" },
+ {
+ "type": "object",
+ "required": [
+ "category",
+ "answer_html_url",
+ "answer_chosen_at",
+ "answer_chosen_by"
+ ],
+ "properties": {
+ "category": {
+ "type": "object",
+ "required": ["is_answerable"],
+ "properties": {
+ "is_answerable": { "type": "boolean", "enum": [true] }
+ },
+ "tsAdditionalProperties": false
+ },
+ "answer_html_url": { "type": "string", "format": "uri" },
+ "answer_chosen_at": { "type": "string", "format": "date-time" },
+ "answer_chosen_by": { "$ref": "common/user.schema.json" }
+ },
+ "tsAdditionalProperties": false
+ }
+ ]
+ },
+ "answer": {
+ "type": "object",
+ "required": [
+ "id",
+ "node_id",
+ "html_url",
+ "parent_id",
+ "child_comment_count",
+ "repository_url",
+ "discussion_id",
+ "author_association",
+ "user",
+ "created_at",
+ "updated_at",
+ "body"
+ ],
+ "properties": {
+ "id": { "type": "integer" },
+ "node_id": { "type": "string" },
+ "html_url": { "type": "string" },
+ "parent_id": { "type": "null" },
+ "child_comment_count": { "type": "integer" },
+ "repository_url": { "type": "string" },
+ "discussion_id": { "type": "integer" },
+ "author_association": {
+ "$ref": "common/author_association.schema.json"
+ },
+ "user": { "$ref": "common/user.schema.json" },
+ "created_at": { "type": "string", "format": "date-time" },
+ "updated_at": { "type": "string", "format": "date-time" },
+ "body": { "type": "string" }
+ },
+ "additionalProperties": false
+ },
+ "repository": { "$ref": "common/repository.schema.json" },
+ "sender": { "$ref": "common/user.schema.json" },
+ "installation": { "$ref": "common/installation-lite.schema.json" },
+ "organization": { "$ref": "common/organization.schema.json" }
+ },
+ "additionalProperties": false,
+ "title": "discussion answered event"
+}
diff --git a/payload-schemas/schemas/discussion/category_changed.schema.json b/payload-schemas/schemas/discussion/category_changed.schema.json
new file mode 100644
index 000000000..eb60e13b2
--- /dev/null
+++ b/payload-schemas/schemas/discussion/category_changed.schema.json
@@ -0,0 +1,56 @@
+{
+ "$schema": "http://json-schema.org/draft-07/schema",
+ "$id": "discussion$category_changed",
+ "type": "object",
+ "required": ["action", "changes", "discussion", "repository", "sender"],
+ "properties": {
+ "changes": {
+ "type": "object",
+ "required": ["category"],
+ "properties": {
+ "category": {
+ "type": "object",
+ "required": ["from"],
+ "properties": {
+ "from": {
+ "type": "object",
+ "required": [
+ "id",
+ "repository_id",
+ "emoji",
+ "name",
+ "description",
+ "created_at",
+ "updated_at",
+ "slug",
+ "is_answerable"
+ ],
+ "properties": {
+ "id": { "type": "integer" },
+ "repository_id": { "type": "integer" },
+ "emoji": { "type": "string" },
+ "name": { "type": "string" },
+ "description": { "type": "string" },
+ "created_at": { "type": "string", "format": "date-time" },
+ "updated_at": { "type": "string" },
+ "slug": { "type": "string" },
+ "is_answerable": { "type": "boolean" }
+ },
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false
+ },
+ "action": { "type": "string", "enum": ["category_changed"] },
+ "discussion": { "$ref": "common/discussion.schema.json" },
+ "repository": { "$ref": "common/repository.schema.json" },
+ "sender": { "$ref": "common/user.schema.json" },
+ "installation": { "$ref": "common/installation-lite.schema.json" },
+ "organization": { "$ref": "common/organization.schema.json" }
+ },
+ "additionalProperties": false,
+ "title": "discussion category changed event"
+}
diff --git a/payload-schemas/schemas/discussion/created.schema.json b/payload-schemas/schemas/discussion/created.schema.json
new file mode 100644
index 000000000..2423c9503
--- /dev/null
+++ b/payload-schemas/schemas/discussion/created.schema.json
@@ -0,0 +1,38 @@
+{
+ "$schema": "http://json-schema.org/draft-07/schema",
+ "$id": "discussion$created",
+ "type": "object",
+ "required": ["action", "discussion", "repository", "sender"],
+ "properties": {
+ "action": { "type": "string", "enum": ["created"] },
+ "discussion": {
+ "allOf": [
+ { "$ref": "common/discussion.schema.json" },
+ {
+ "type": "object",
+ "required": [
+ "state",
+ "locked",
+ "answer_html_url",
+ "answer_chosen_at",
+ "answer_chosen_by"
+ ],
+ "properties": {
+ "state": { "type": "string", "enum": ["open"] },
+ "locked": { "type": "boolean", "enum": [false] },
+ "answer_html_url": { "type": "null" },
+ "answer_chosen_at": { "type": "null" },
+ "answer_chosen_by": { "type": "null" }
+ },
+ "tsAdditionalProperties": false
+ }
+ ]
+ },
+ "repository": { "$ref": "common/repository.schema.json" },
+ "sender": { "$ref": "common/user.schema.json" },
+ "installation": { "$ref": "common/installation-lite.schema.json" },
+ "organization": { "$ref": "common/organization.schema.json" }
+ },
+ "additionalProperties": false,
+ "title": "discussion created event"
+}
diff --git a/payload-schemas/schemas/discussion/deleted.schema.json b/payload-schemas/schemas/discussion/deleted.schema.json
new file mode 100644
index 000000000..04331c224
--- /dev/null
+++ b/payload-schemas/schemas/discussion/deleted.schema.json
@@ -0,0 +1,16 @@
+{
+ "$schema": "http://json-schema.org/draft-07/schema",
+ "$id": "discussion$deleted",
+ "type": "object",
+ "required": ["action", "discussion", "repository", "sender"],
+ "properties": {
+ "action": { "type": "string", "enum": ["deleted"] },
+ "discussion": { "$ref": "common/discussion.schema.json" },
+ "repository": { "$ref": "common/repository.schema.json" },
+ "sender": { "$ref": "common/user.schema.json" },
+ "installation": { "$ref": "common/installation-lite.schema.json" },
+ "organization": { "$ref": "common/organization.schema.json" }
+ },
+ "additionalProperties": false,
+ "title": "discussion deleted event"
+}
diff --git a/payload-schemas/schemas/discussion/edited.schema.json b/payload-schemas/schemas/discussion/edited.schema.json
new file mode 100644
index 000000000..a513bf8a6
--- /dev/null
+++ b/payload-schemas/schemas/discussion/edited.schema.json
@@ -0,0 +1,34 @@
+{
+ "$schema": "http://json-schema.org/draft-07/schema",
+ "$id": "discussion$edited",
+ "type": "object",
+ "required": ["action", "discussion", "repository", "sender"],
+ "properties": {
+ "changes": {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "object",
+ "required": ["from"],
+ "properties": { "from": { "type": "string" } },
+ "additionalProperties": false
+ },
+ "body": {
+ "type": "object",
+ "required": ["from"],
+ "properties": { "from": { "type": "string" } },
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false
+ },
+ "action": { "type": "string", "enum": ["edited"] },
+ "discussion": { "$ref": "common/discussion.schema.json" },
+ "repository": { "$ref": "common/repository.schema.json" },
+ "sender": { "$ref": "common/user.schema.json" },
+ "installation": { "$ref": "common/installation-lite.schema.json" },
+ "organization": { "$ref": "common/organization.schema.json" }
+ },
+ "additionalProperties": false,
+ "title": "discussion edited event"
+}
diff --git a/payload-schemas/schemas/discussion/locked.schema.json b/payload-schemas/schemas/discussion/locked.schema.json
new file mode 100644
index 000000000..a23137f89
--- /dev/null
+++ b/payload-schemas/schemas/discussion/locked.schema.json
@@ -0,0 +1,29 @@
+{
+ "$schema": "http://json-schema.org/draft-07/schema",
+ "$id": "discussion$locked",
+ "type": "object",
+ "required": ["action", "discussion", "repository", "sender"],
+ "properties": {
+ "action": { "type": "string", "enum": ["locked"] },
+ "discussion": {
+ "allOf": [
+ { "$ref": "common/discussion.schema.json" },
+ {
+ "type": "object",
+ "required": ["state", "locked"],
+ "properties": {
+ "state": { "type": "string", "enum": ["locked"] },
+ "locked": { "type": "boolean", "enum": [true] }
+ },
+ "tsAdditionalProperties": false
+ }
+ ]
+ },
+ "repository": { "$ref": "common/repository.schema.json" },
+ "sender": { "$ref": "common/user.schema.json" },
+ "installation": { "$ref": "common/installation-lite.schema.json" },
+ "organization": { "$ref": "common/organization.schema.json" }
+ },
+ "additionalProperties": false,
+ "title": "discussion locked event"
+}
diff --git a/payload-schemas/schemas/discussion/pinned.schema.json b/payload-schemas/schemas/discussion/pinned.schema.json
new file mode 100644
index 000000000..dd4e191eb
--- /dev/null
+++ b/payload-schemas/schemas/discussion/pinned.schema.json
@@ -0,0 +1,16 @@
+{
+ "$schema": "http://json-schema.org/draft-07/schema",
+ "$id": "discussion$pinned",
+ "type": "object",
+ "required": ["action", "discussion", "repository", "sender"],
+ "properties": {
+ "action": { "type": "string", "enum": ["pinned"] },
+ "discussion": { "$ref": "common/discussion.schema.json" },
+ "repository": { "$ref": "common/repository.schema.json" },
+ "sender": { "$ref": "common/user.schema.json" },
+ "installation": { "$ref": "common/installation-lite.schema.json" },
+ "organization": { "$ref": "common/organization.schema.json" }
+ },
+ "additionalProperties": false,
+ "title": "discussion pinned event"
+}
diff --git a/payload-schemas/schemas/discussion/transferred.schema.json b/payload-schemas/schemas/discussion/transferred.schema.json
new file mode 100644
index 000000000..0b8b844c2
--- /dev/null
+++ b/payload-schemas/schemas/discussion/transferred.schema.json
@@ -0,0 +1,25 @@
+{
+ "$schema": "http://json-schema.org/draft-07/schema",
+ "$id": "discussion$transfered",
+ "type": "object",
+ "required": ["action", "changes", "discussion", "repository", "sender"],
+ "properties": {
+ "changes": {
+ "type": "object",
+ "required": ["new_discussion", "new_repository"],
+ "properties": {
+ "new_discussion": { "$ref": "common/discussion.schema.json" },
+ "new_repository": { "$ref": "common/repository.schema.json" }
+ },
+ "additionalProperties": false
+ },
+ "action": { "type": "string", "enum": ["transferred"] },
+ "discussion": { "$ref": "common/discussion.schema.json" },
+ "repository": { "$ref": "common/repository.schema.json" },
+ "sender": { "$ref": "common/user.schema.json" },
+ "installation": { "$ref": "common/installation-lite.schema.json" },
+ "organization": { "$ref": "common/organization.schema.json" }
+ },
+ "additionalProperties": false,
+ "title": "discussion transferred event"
+}
diff --git a/payload-schemas/schemas/discussion/unanswered.schema.json b/payload-schemas/schemas/discussion/unanswered.schema.json
new file mode 100644
index 000000000..fc5204a72
--- /dev/null
+++ b/payload-schemas/schemas/discussion/unanswered.schema.json
@@ -0,0 +1,77 @@
+{
+ "$schema": "http://json-schema.org/draft-07/schema",
+ "$id": "discussion$unanswered",
+ "type": "object",
+ "required": ["action", "discussion", "old_answer", "repository", "sender"],
+ "properties": {
+ "action": { "type": "string", "enum": ["unanswered"] },
+ "discussion": {
+ "allOf": [
+ { "$ref": "common/discussion.schema.json" },
+ {
+ "type": "object",
+ "required": [
+ "category",
+ "answer_html_url",
+ "answer_chosen_at",
+ "answer_chosen_by"
+ ],
+ "properties": {
+ "category": {
+ "type": "object",
+ "required": ["is_answerable"],
+ "properties": {
+ "is_answerable": { "type": "boolean", "enum": [true] }
+ },
+ "tsAdditionalProperties": false
+ },
+ "answer_html_url": { "type": "null" },
+ "answer_chosen_at": { "type": "null" },
+ "answer_chosen_by": { "type": "null" }
+ },
+ "tsAdditionalProperties": false
+ }
+ ]
+ },
+ "old_answer": {
+ "type": "object",
+ "required": [
+ "id",
+ "node_id",
+ "html_url",
+ "parent_id",
+ "child_comment_count",
+ "repository_url",
+ "discussion_id",
+ "author_association",
+ "user",
+ "created_at",
+ "updated_at",
+ "body"
+ ],
+ "properties": {
+ "id": { "type": "integer" },
+ "node_id": { "type": "string" },
+ "html_url": { "type": "string" },
+ "parent_id": { "type": "null" },
+ "child_comment_count": { "type": "integer" },
+ "repository_url": { "type": "string" },
+ "discussion_id": { "type": "integer" },
+ "author_association": {
+ "$ref": "common/author_association.schema.json"
+ },
+ "user": { "$ref": "common/user.schema.json" },
+ "created_at": { "type": "string", "format": "date-time" },
+ "updated_at": { "type": "string", "format": "date-time" },
+ "body": { "type": "string" }
+ },
+ "additionalProperties": false
+ },
+ "repository": { "$ref": "common/repository.schema.json" },
+ "sender": { "$ref": "common/user.schema.json" },
+ "installation": { "$ref": "common/installation-lite.schema.json" },
+ "organization": { "$ref": "common/organization.schema.json" }
+ },
+ "additionalProperties": false,
+ "title": "discussion unanswered event"
+}
diff --git a/payload-schemas/schemas/discussion/unlocked.schema.json b/payload-schemas/schemas/discussion/unlocked.schema.json
new file mode 100644
index 000000000..56a1a0a4c
--- /dev/null
+++ b/payload-schemas/schemas/discussion/unlocked.schema.json
@@ -0,0 +1,29 @@
+{
+ "$schema": "http://json-schema.org/draft-07/schema",
+ "$id": "discussion$unlocked",
+ "type": "object",
+ "required": ["action", "discussion", "repository", "sender"],
+ "properties": {
+ "action": { "type": "string", "enum": ["unlocked"] },
+ "discussion": {
+ "allOf": [
+ { "$ref": "common/discussion.schema.json" },
+ {
+ "type": "object",
+ "required": ["state", "locked"],
+ "properties": {
+ "state": { "type": "string", "enum": ["open"] },
+ "locked": { "type": "boolean", "enum": [false] }
+ },
+ "tsAdditionalProperties": false
+ }
+ ]
+ },
+ "repository": { "$ref": "common/repository.schema.json" },
+ "sender": { "$ref": "common/user.schema.json" },
+ "installation": { "$ref": "common/installation-lite.schema.json" },
+ "organization": { "$ref": "common/organization.schema.json" }
+ },
+ "additionalProperties": false,
+ "title": "discussion unlocked event"
+}
diff --git a/payload-schemas/schemas/discussion/unpinned.schema.json b/payload-schemas/schemas/discussion/unpinned.schema.json
new file mode 100644
index 000000000..d4701c88d
--- /dev/null
+++ b/payload-schemas/schemas/discussion/unpinned.schema.json
@@ -0,0 +1,16 @@
+{
+ "$schema": "http://json-schema.org/draft-07/schema",
+ "$id": "discussion$unpinned",
+ "type": "object",
+ "required": ["action", "discussion", "repository", "sender"],
+ "properties": {
+ "action": { "type": "string", "enum": ["unpinned"] },
+ "discussion": { "$ref": "common/discussion.schema.json" },
+ "repository": { "$ref": "common/repository.schema.json" },
+ "sender": { "$ref": "common/user.schema.json" },
+ "installation": { "$ref": "common/installation-lite.schema.json" },
+ "organization": { "$ref": "common/organization.schema.json" }
+ },
+ "additionalProperties": false,
+ "title": "discussion unpinned event"
+}
diff --git a/payload-schemas/schemas/discussion_comment/created.schema.json b/payload-schemas/schemas/discussion_comment/created.schema.json
new file mode 100644
index 000000000..588c334f2
--- /dev/null
+++ b/payload-schemas/schemas/discussion_comment/created.schema.json
@@ -0,0 +1,57 @@
+{
+ "$schema": "http://json-schema.org/draft-07/schema",
+ "$id": "discussion_comment$created",
+ "type": "object",
+ "required": [
+ "action",
+ "comment",
+ "discussion",
+ "repository",
+ "sender",
+ "installation"
+ ],
+ "properties": {
+ "action": { "type": "string", "enum": ["created"] },
+ "comment": {
+ "type": "object",
+ "required": [
+ "id",
+ "node_id",
+ "html_url",
+ "parent_id",
+ "child_comment_count",
+ "repository_url",
+ "discussion_id",
+ "author_association",
+ "user",
+ "created_at",
+ "updated_at",
+ "body"
+ ],
+ "properties": {
+ "id": { "type": "integer" },
+ "node_id": { "type": "string" },
+ "html_url": { "type": "string" },
+ "parent_id": { "type": ["integer", "null"] },
+ "child_comment_count": { "type": "integer" },
+ "repository_url": { "type": "string" },
+ "discussion_id": { "type": "integer" },
+ "author_association": {
+ "$ref": "common/author_association.schema.json"
+ },
+ "user": { "$ref": "common/user.schema.json" },
+ "created_at": { "type": "string" },
+ "updated_at": { "type": "string" },
+ "body": { "type": "string" }
+ },
+ "additionalProperties": false
+ },
+ "discussion": { "$ref": "common/discussion.schema.json" },
+ "repository": { "$ref": "common/repository.schema.json" },
+ "sender": { "$ref": "common/user.schema.json" },
+ "installation": { "$ref": "common/installation-lite.schema.json" },
+ "organization": { "$ref": "common/organization.schema.json" }
+ },
+ "additionalProperties": false,
+ "title": "discussion_comment created event"
+}
diff --git a/payload-schemas/schemas/discussion_comment/deleted.schema.json b/payload-schemas/schemas/discussion_comment/deleted.schema.json
new file mode 100644
index 000000000..413ba37b6
--- /dev/null
+++ b/payload-schemas/schemas/discussion_comment/deleted.schema.json
@@ -0,0 +1,57 @@
+{
+ "$schema": "http://json-schema.org/draft-07/schema",
+ "$id": "discussion_comment$deleted",
+ "type": "object",
+ "required": [
+ "action",
+ "comment",
+ "discussion",
+ "repository",
+ "sender",
+ "installation"
+ ],
+ "properties": {
+ "action": { "type": "string", "enum": ["deleted"] },
+ "comment": {
+ "type": "object",
+ "required": [
+ "id",
+ "node_id",
+ "html_url",
+ "parent_id",
+ "child_comment_count",
+ "repository_url",
+ "discussion_id",
+ "author_association",
+ "user",
+ "created_at",
+ "updated_at",
+ "body"
+ ],
+ "properties": {
+ "id": { "type": "integer" },
+ "node_id": { "type": "string" },
+ "html_url": { "type": "string" },
+ "parent_id": { "type": ["integer", "null"] },
+ "child_comment_count": { "type": "integer" },
+ "repository_url": { "type": "string" },
+ "discussion_id": { "type": "integer" },
+ "author_association": {
+ "$ref": "common/author_association.schema.json"
+ },
+ "user": { "$ref": "common/user.schema.json" },
+ "created_at": { "type": "string" },
+ "updated_at": { "type": "string" },
+ "body": { "type": "string" }
+ },
+ "additionalProperties": false
+ },
+ "discussion": { "$ref": "common/discussion.schema.json" },
+ "repository": { "$ref": "common/repository.schema.json" },
+ "sender": { "$ref": "common/user.schema.json" },
+ "installation": { "$ref": "common/installation-lite.schema.json" },
+ "organization": { "$ref": "common/organization.schema.json" }
+ },
+ "additionalProperties": false,
+ "title": "discussion_comment deleted event"
+}
diff --git a/payload-schemas/schemas/discussion_comment/edited.schema.json b/payload-schemas/schemas/discussion_comment/edited.schema.json
new file mode 100644
index 000000000..9505ddcd0
--- /dev/null
+++ b/payload-schemas/schemas/discussion_comment/edited.schema.json
@@ -0,0 +1,71 @@
+{
+ "$schema": "http://json-schema.org/draft-07/schema",
+ "$id": "discussion_comment$edited",
+ "type": "object",
+ "required": [
+ "action",
+ "changes",
+ "comment",
+ "discussion",
+ "repository",
+ "sender",
+ "installation"
+ ],
+ "properties": {
+ "changes": {
+ "type": "object",
+ "required": ["body"],
+ "properties": {
+ "body": {
+ "type": "object",
+ "required": ["from"],
+ "properties": { "from": { "type": "string" } },
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false
+ },
+ "action": { "type": "string", "enum": ["edited"] },
+ "comment": {
+ "type": "object",
+ "required": [
+ "id",
+ "node_id",
+ "html_url",
+ "parent_id",
+ "child_comment_count",
+ "repository_url",
+ "discussion_id",
+ "author_association",
+ "user",
+ "created_at",
+ "updated_at",
+ "body"
+ ],
+ "properties": {
+ "id": { "type": "integer" },
+ "node_id": { "type": "string" },
+ "html_url": { "type": "string" },
+ "parent_id": { "type": ["integer", "null"] },
+ "child_comment_count": { "type": "integer" },
+ "repository_url": { "type": "string" },
+ "discussion_id": { "type": "integer" },
+ "author_association": {
+ "$ref": "common/author_association.schema.json"
+ },
+ "user": { "$ref": "common/user.schema.json" },
+ "created_at": { "type": "string" },
+ "updated_at": { "type": "string" },
+ "body": { "type": "string" }
+ },
+ "additionalProperties": false
+ },
+ "discussion": { "$ref": "common/discussion.schema.json" },
+ "repository": { "$ref": "common/repository.schema.json" },
+ "sender": { "$ref": "common/user.schema.json" },
+ "installation": { "$ref": "common/installation-lite.schema.json" },
+ "organization": { "$ref": "common/organization.schema.json" }
+ },
+ "additionalProperties": false,
+ "title": "discussion_comment edited event"
+}
diff --git a/schema.d.ts b/schema.d.ts
index e482301df..b3bcdc881 100644
--- a/schema.d.ts
+++ b/schema.d.ts
@@ -16,6 +16,8 @@ export type Schema =
| DeployKeyEvent
| DeploymentEvent
| DeploymentStatusEvent
+ | DiscussionEvent
+ | DiscussionCommentEvent
| ForkEvent
| GithubAppAuthorizationEvent
| GollumEvent
@@ -90,6 +92,22 @@ export type ContentReferenceEvent = ContentReferenceCreatedEvent;
export type DeployKeyEvent = DeployKeyCreatedEvent | DeployKeyDeletedEvent;
export type DeploymentEvent = DeploymentCreatedEvent;
export type DeploymentStatusEvent = DeploymentStatusCreatedEvent;
+export type DiscussionEvent =
+ | DiscussionAnsweredEvent
+ | DiscussionCategoryChangedEvent
+ | DiscussionCreatedEvent
+ | DiscussionDeletedEvent
+ | DiscussionEditedEvent
+ | DiscussionLockedEvent
+ | DiscussionPinnedEvent
+ | DiscussionTransferredEvent
+ | DiscussionUnansweredEvent
+ | DiscussionUnlockedEvent
+ | DiscussionUnpinnedEvent;
+export type DiscussionCommentEvent =
+ | DiscussionCommentCreatedEvent
+ | DiscussionCommentDeletedEvent
+ | DiscussionCommentEditedEvent;
export type GithubAppAuthorizationEvent = GithubAppAuthorizationRevokedEvent;
export type InstallationEvent =
| InstallationCreatedEvent
@@ -1862,6 +1880,277 @@ export interface DeploymentStatusCreatedEvent {
installation?: InstallationLite;
organization?: Organization;
}
+export interface DiscussionAnsweredEvent {
+ action: "answered";
+ discussion: Discussion & {
+ category: {
+ is_answerable: true;
+ };
+ answer_html_url: string;
+ answer_chosen_at: string;
+ answer_chosen_by: User;
+ };
+ answer: {
+ id: number;
+ node_id: string;
+ html_url: string;
+ parent_id: null;
+ child_comment_count: number;
+ repository_url: string;
+ discussion_id: number;
+ author_association: AuthorAssociation;
+ user: User;
+ created_at: string;
+ updated_at: string;
+ body: string;
+ };
+ repository: Repository;
+ sender: User;
+ installation?: InstallationLite;
+ organization?: Organization;
+}
+export interface Discussion {
+ repository_url: string;
+ category: {
+ id: number;
+ repository_id: number;
+ emoji: string;
+ name: string;
+ description: string;
+ created_at: string;
+ updated_at: string;
+ slug: string;
+ is_answerable: boolean;
+ };
+ answer_html_url: string | null;
+ answer_chosen_at: string | null;
+ answer_chosen_by: User | null;
+ html_url: string;
+ id: number;
+ node_id: string;
+ number: number;
+ title: string;
+ user: User;
+ state: "open" | "locked";
+ locked: boolean;
+ comments: number;
+ created_at: string;
+ updated_at: string;
+ author_association: AuthorAssociation;
+ active_lock_reason: string | null;
+ body: string;
+}
+export interface DiscussionCategoryChangedEvent {
+ changes: {
+ category: {
+ from: {
+ id: number;
+ repository_id: number;
+ emoji: string;
+ name: string;
+ description: string;
+ created_at: string;
+ updated_at: string;
+ slug: string;
+ is_answerable: boolean;
+ };
+ };
+ };
+ action: "category_changed";
+ discussion: Discussion;
+ repository: Repository;
+ sender: User;
+ installation?: InstallationLite;
+ organization?: Organization;
+}
+export interface DiscussionCreatedEvent {
+ action: "created";
+ discussion: Discussion & {
+ state: "open";
+ locked: false;
+ answer_html_url: null;
+ answer_chosen_at: null;
+ answer_chosen_by: null;
+ };
+ repository: Repository;
+ sender: User;
+ installation?: InstallationLite;
+ organization?: Organization;
+}
+export interface DiscussionDeletedEvent {
+ action: "deleted";
+ discussion: Discussion;
+ repository: Repository;
+ sender: User;
+ installation?: InstallationLite;
+ organization?: Organization;
+}
+export interface DiscussionEditedEvent {
+ changes?: {
+ title?: {
+ from: string;
+ };
+ body?: {
+ from: string;
+ };
+ };
+ action: "edited";
+ discussion: Discussion;
+ repository: Repository;
+ sender: User;
+ installation?: InstallationLite;
+ organization?: Organization;
+}
+export interface DiscussionLockedEvent {
+ action: "locked";
+ discussion: Discussion & {
+ state: "locked";
+ locked: true;
+ };
+ repository: Repository;
+ sender: User;
+ installation?: InstallationLite;
+ organization?: Organization;
+}
+export interface DiscussionPinnedEvent {
+ action: "pinned";
+ discussion: Discussion;
+ repository: Repository;
+ sender: User;
+ installation?: InstallationLite;
+ organization?: Organization;
+}
+export interface DiscussionTransferredEvent {
+ changes: {
+ new_discussion: Discussion;
+ new_repository: Repository;
+ };
+ action: "transferred";
+ discussion: Discussion;
+ repository: Repository;
+ sender: User;
+ installation?: InstallationLite;
+ organization?: Organization;
+}
+export interface DiscussionUnansweredEvent {
+ action: "unanswered";
+ discussion: Discussion & {
+ category: {
+ is_answerable: true;
+ };
+ answer_html_url: null;
+ answer_chosen_at: null;
+ answer_chosen_by: null;
+ };
+ old_answer: {
+ id: number;
+ node_id: string;
+ html_url: string;
+ parent_id: null;
+ child_comment_count: number;
+ repository_url: string;
+ discussion_id: number;
+ author_association: AuthorAssociation;
+ user: User;
+ created_at: string;
+ updated_at: string;
+ body: string;
+ };
+ repository: Repository;
+ sender: User;
+ installation?: InstallationLite;
+ organization?: Organization;
+}
+export interface DiscussionUnlockedEvent {
+ action: "unlocked";
+ discussion: Discussion & {
+ state: "open";
+ locked: false;
+ };
+ repository: Repository;
+ sender: User;
+ installation?: InstallationLite;
+ organization?: Organization;
+}
+export interface DiscussionUnpinnedEvent {
+ action: "unpinned";
+ discussion: Discussion;
+ repository: Repository;
+ sender: User;
+ installation?: InstallationLite;
+ organization?: Organization;
+}
+export interface DiscussionCommentCreatedEvent {
+ action: "created";
+ comment: {
+ id: number;
+ node_id: string;
+ html_url: string;
+ parent_id: number | null;
+ child_comment_count: number;
+ repository_url: string;
+ discussion_id: number;
+ author_association: AuthorAssociation;
+ user: User;
+ created_at: string;
+ updated_at: string;
+ body: string;
+ };
+ discussion: Discussion;
+ repository: Repository;
+ sender: User;
+ installation: InstallationLite;
+ organization?: Organization;
+}
+export interface DiscussionCommentDeletedEvent {
+ action: "deleted";
+ comment: {
+ id: number;
+ node_id: string;
+ html_url: string;
+ parent_id: number | null;
+ child_comment_count: number;
+ repository_url: string;
+ discussion_id: number;
+ author_association: AuthorAssociation;
+ user: User;
+ created_at: string;
+ updated_at: string;
+ body: string;
+ };
+ discussion: Discussion;
+ repository: Repository;
+ sender: User;
+ installation: InstallationLite;
+ organization?: Organization;
+}
+export interface DiscussionCommentEditedEvent {
+ changes: {
+ body: {
+ from: string;
+ };
+ };
+ action: "edited";
+ comment: {
+ id: number;
+ node_id: string;
+ html_url: string;
+ parent_id: number | null;
+ child_comment_count: number;
+ repository_url: string;
+ discussion_id: number;
+ author_association: AuthorAssociation;
+ user: User;
+ created_at: string;
+ updated_at: string;
+ body: string;
+ };
+ discussion: Discussion;
+ repository: Repository;
+ sender: User;
+ installation: InstallationLite;
+ organization?: Organization;
+}
/**
* A user forks a repository.
*/
@@ -5666,6 +5955,8 @@ export interface EventPayloadMap {
deploy_key: DeployKeyEvent;
deployment: DeploymentEvent;
deployment_status: DeploymentStatusEvent;
+ discussion: DiscussionEvent;
+ discussion_comment: DiscussionCommentEvent;
fork: ForkEvent;
github_app_authorization: GithubAppAuthorizationEvent;
gollum: GollumEvent;