Skip to content

Commit 2ce9972

Browse files
authored
fix: add event examples with installation key that don't have them yet (#195)
1 parent a3c92be commit 2ce9972

31 files changed

+10131
-1601
lines changed

index.json

Lines changed: 5864 additions & 1599 deletions
Large diffs are not rendered by default.

payload-examples/api.github.com/check_run.rerequested.payload.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,7 @@
221221
"site_admin": false
222222
},
223223
"installation": {
224-
"id": 1
224+
"id": 1,
225+
"node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMQ=="
225226
}
226227
}

payload-examples/api.github.com/check_run.rerequested.with-organization.payload.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,7 @@
238238
"site_admin": false
239239
},
240240
"installation": {
241-
"id": 1
241+
"id": 1,
242+
"node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMQ=="
242243
}
243244
}
Lines changed: 144 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,144 @@
1+
{
2+
"action": "reopened",
3+
"alert": {
4+
"number": 10,
5+
"created_at": "2020-07-22T14:06:31Z",
6+
"url": "https://api.github.com/repos/Codertocat/Hello-World/code-scanning/alerts/10",
7+
"html_url": "https://github.com/Codertocat/Hello-World/security/code-scanning/10",
8+
"instances": [
9+
{
10+
"ref": "refs/heads/master",
11+
"analysis_key": ".github/workflows/workflow.yml:upload",
12+
"environment": "{}",
13+
"state": "open"
14+
}
15+
],
16+
"state": "open",
17+
"dismissed_by": null,
18+
"dismissed_at": null,
19+
"dismissed_reason": null,
20+
"rule": {
21+
"id": "Style/FrozenStringLiteralComment",
22+
"severity": "note",
23+
"description": "Add the frozen_string_literal comment to the top of files to help transition to frozen string literals by default."
24+
},
25+
"tool": {
26+
"name": "Rubocop",
27+
"version": null
28+
}
29+
},
30+
"ref": "refs/heads/master",
31+
"commit_oid": "d6e4c75c141dbacecc279b721b8b9393d5405795",
32+
"repository": {
33+
"id": 186853002,
34+
"node_id": "MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI=",
35+
"name": "Hello-World",
36+
"full_name": "Codertocat/Hello-World",
37+
"private": false,
38+
"owner": {
39+
"login": "Codertocat",
40+
"id": 21031067,
41+
"node_id": "MDQ6VXNlcjIxMDMxMDY3",
42+
"avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
43+
"gravatar_id": "",
44+
"url": "https://api.github.com/users/Codertocat",
45+
"html_url": "https://github.com/Codertocat",
46+
"followers_url": "https://api.github.com/users/Codertocat/followers",
47+
"following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
48+
"gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
49+
"starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
50+
"subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
51+
"organizations_url": "https://api.github.com/users/Codertocat/orgs",
52+
"repos_url": "https://api.github.com/users/Codertocat/repos",
53+
"events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
54+
"received_events_url": "https://api.github.com/users/Codertocat/received_events",
55+
"type": "User",
56+
"site_admin": false
57+
},
58+
"html_url": "https://github.com/Codertocat/Hello-World",
59+
"description": null,
60+
"fork": false,
61+
"url": "https://api.github.com/repos/Codertocat/Hello-World",
62+
"forks_url": "https://api.github.com/repos/Codertocat/Hello-World/forks",
63+
"keys_url": "https://api.github.com/repos/Codertocat/Hello-World/keys{/key_id}",
64+
"collaborators_url": "https://api.github.com/repos/Codertocat/Hello-World/collaborators{/collaborator}",
65+
"teams_url": "https://api.github.com/repos/Codertocat/Hello-World/teams",
66+
"hooks_url": "https://api.github.com/repos/Codertocat/Hello-World/hooks",
67+
"issue_events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/events{/number}",
68+
"events_url": "https://api.github.com/repos/Codertocat/Hello-World/events",
69+
"assignees_url": "https://api.github.com/repos/Codertocat/Hello-World/assignees{/user}",
70+
"branches_url": "https://api.github.com/repos/Codertocat/Hello-World/branches{/branch}",
71+
"tags_url": "https://api.github.com/repos/Codertocat/Hello-World/tags",
72+
"blobs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/blobs{/sha}",
73+
"git_tags_url": "https://api.github.com/repos/Codertocat/Hello-World/git/tags{/sha}",
74+
"git_refs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/refs{/sha}",
75+
"trees_url": "https://api.github.com/repos/Codertocat/Hello-World/git/trees{/sha}",
76+
"statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/statuses/{sha}",
77+
"languages_url": "https://api.github.com/repos/Codertocat/Hello-World/languages",
78+
"stargazers_url": "https://api.github.com/repos/Codertocat/Hello-World/stargazers",
79+
"contributors_url": "https://api.github.com/repos/Codertocat/Hello-World/contributors",
80+
"subscribers_url": "https://api.github.com/repos/Codertocat/Hello-World/subscribers",
81+
"subscription_url": "https://api.github.com/repos/Codertocat/Hello-World/subscription",
82+
"commits_url": "https://api.github.com/repos/Codertocat/Hello-World/commits{/sha}",
83+
"git_commits_url": "https://api.github.com/repos/Codertocat/Hello-World/git/commits{/sha}",
84+
"comments_url": "https://api.github.com/repos/Codertocat/Hello-World/comments{/number}",
85+
"issue_comment_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments{/number}",
86+
"contents_url": "https://api.github.com/repos/Codertocat/Hello-World/contents/{+path}",
87+
"compare_url": "https://api.github.com/repos/Codertocat/Hello-World/compare/{base}...{head}",
88+
"merges_url": "https://api.github.com/repos/Codertocat/Hello-World/merges",
89+
"archive_url": "https://api.github.com/repos/Codertocat/Hello-World/{archive_format}{/ref}",
90+
"downloads_url": "https://api.github.com/repos/Codertocat/Hello-World/downloads",
91+
"issues_url": "https://api.github.com/repos/Codertocat/Hello-World/issues{/number}",
92+
"pulls_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls{/number}",
93+
"milestones_url": "https://api.github.com/repos/Codertocat/Hello-World/milestones{/number}",
94+
"notifications_url": "https://api.github.com/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
95+
"labels_url": "https://api.github.com/repos/Codertocat/Hello-World/labels{/name}",
96+
"releases_url": "https://api.github.com/repos/Codertocat/Hello-World/releases{/id}",
97+
"deployments_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments",
98+
"created_at": "2019-05-15T15:19:25Z",
99+
"updated_at": "2019-05-15T15:19:27Z",
100+
"pushed_at": "2019-05-15T15:20:32Z",
101+
"git_url": "git://github.com/Codertocat/Hello-World.git",
102+
"ssh_url": "git@github.com:Codertocat/Hello-World.git",
103+
"clone_url": "https://github.com/Codertocat/Hello-World.git",
104+
"svn_url": "https://github.com/Codertocat/Hello-World",
105+
"homepage": null,
106+
"size": 0,
107+
"stargazers_count": 0,
108+
"watchers_count": 0,
109+
"language": null,
110+
"has_issues": true,
111+
"has_projects": true,
112+
"has_downloads": true,
113+
"has_wiki": true,
114+
"has_pages": true,
115+
"forks_count": 0,
116+
"mirror_url": null,
117+
"archived": false,
118+
"disabled": false,
119+
"open_issues_count": 2,
120+
"license": null,
121+
"forks": 0,
122+
"open_issues": 2,
123+
"watchers": 0,
124+
"default_branch": "master"
125+
},
126+
"organization": {
127+
"login": "Octocoders",
128+
"id": 6,
129+
"node_id": "MDEyOk9yZ2FuaXphdGlvbjY=",
130+
"url": "https://api.github.com/orgs/Octocoders",
131+
"repos_url": "https://api.github.com/orgs/Octocoders/repos",
132+
"events_url": "https://api.github.com/orgs/Octocoders/events",
133+
"hooks_url": "https://api.github.com/orgs/Octocoders/hooks",
134+
"issues_url": "https://api.github.com/orgs/Octocoders/issues",
135+
"members_url": "https://api.github.com/orgs/Octocoders/members{/member}",
136+
"public_members_url": "https://api.github.com/orgs/Octocoders/public_members{/member}",
137+
"avatar_url": "https://avatars0.githubusercontent.com/u/6?",
138+
"description": ""
139+
},
140+
"installation": {
141+
"id": 1,
142+
"node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMQ=="
143+
}
144+
}
Lines changed: 140 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,140 @@
1+
{
2+
"action": "reopened",
3+
"alert": {
4+
"number": 10,
5+
"created_at": "2020-07-22T14:06:31Z",
6+
"url": "https://api.github.com/repos/Codertocat/Hello-World/code-scanning/alerts/10",
7+
"html_url": "https://github.com/Codertocat/Hello-World/security/code-scanning/10",
8+
"instances": [
9+
{
10+
"ref": "refs/heads/master",
11+
"analysis_key": ".github/workflows/workflow.yml:upload",
12+
"environment": "{}",
13+
"state": "open"
14+
}
15+
],
16+
"state": "open",
17+
"dismissed_by": null,
18+
"dismissed_at": null,
19+
"dismissed_reason": null,
20+
"rule": {
21+
"id": "Style/FrozenStringLiteralComment",
22+
"severity": "note",
23+
"description": "Add the frozen_string_literal comment to the top of files to help transition to frozen string literals by default."
24+
},
25+
"tool": {
26+
"name": "Rubocop",
27+
"version": null
28+
}
29+
},
30+
"ref": "refs/heads/master",
31+
"commit_oid": "d6e4c75c141dbacecc279b721b8b9393d5405795",
32+
"repository": {
33+
"id": 186853002,
34+
"node_id": "MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI=",
35+
"name": "Hello-World",
36+
"full_name": "Codertocat/Hello-World",
37+
"private": false,
38+
"owner": {
39+
"login": "Codertocat",
40+
"id": 21031067,
41+
"node_id": "MDQ6VXNlcjIxMDMxMDY3",
42+
"avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
43+
"gravatar_id": "",
44+
"url": "https://api.github.com/users/Codertocat",
45+
"html_url": "https://github.com/Codertocat",
46+
"followers_url": "https://api.github.com/users/Codertocat/followers",
47+
"following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
48+
"gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
49+
"starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
50+
"subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
51+
"organizations_url": "https://api.github.com/users/Codertocat/orgs",
52+
"repos_url": "https://api.github.com/users/Codertocat/repos",
53+
"events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
54+
"received_events_url": "https://api.github.com/users/Codertocat/received_events",
55+
"type": "User",
56+
"site_admin": false
57+
},
58+
"html_url": "https://github.com/Codertocat/Hello-World",
59+
"description": null,
60+
"fork": false,
61+
"url": "https://api.github.com/repos/Codertocat/Hello-World",
62+
"forks_url": "https://api.github.com/repos/Codertocat/Hello-World/forks",
63+
"keys_url": "https://api.github.com/repos/Codertocat/Hello-World/keys{/key_id}",
64+
"collaborators_url": "https://api.github.com/repos/Codertocat/Hello-World/collaborators{/collaborator}",
65+
"teams_url": "https://api.github.com/repos/Codertocat/Hello-World/teams",
66+
"hooks_url": "https://api.github.com/repos/Codertocat/Hello-World/hooks",
67+
"issue_events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/events{/number}",
68+
"events_url": "https://api.github.com/repos/Codertocat/Hello-World/events",
69+
"assignees_url": "https://api.github.com/repos/Codertocat/Hello-World/assignees{/user}",
70+
"branches_url": "https://api.github.com/repos/Codertocat/Hello-World/branches{/branch}",
71+
"tags_url": "https://api.github.com/repos/Codertocat/Hello-World/tags",
72+
"blobs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/blobs{/sha}",
73+
"git_tags_url": "https://api.github.com/repos/Codertocat/Hello-World/git/tags{/sha}",
74+
"git_refs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/refs{/sha}",
75+
"trees_url": "https://api.github.com/repos/Codertocat/Hello-World/git/trees{/sha}",
76+
"statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/statuses/{sha}",
77+
"languages_url": "https://api.github.com/repos/Codertocat/Hello-World/languages",
78+
"stargazers_url": "https://api.github.com/repos/Codertocat/Hello-World/stargazers",
79+
"contributors_url": "https://api.github.com/repos/Codertocat/Hello-World/contributors",
80+
"subscribers_url": "https://api.github.com/repos/Codertocat/Hello-World/subscribers",
81+
"subscription_url": "https://api.github.com/repos/Codertocat/Hello-World/subscription",
82+
"commits_url": "https://api.github.com/repos/Codertocat/Hello-World/commits{/sha}",
83+
"git_commits_url": "https://api.github.com/repos/Codertocat/Hello-World/git/commits{/sha}",
84+
"comments_url": "https://api.github.com/repos/Codertocat/Hello-World/comments{/number}",
85+
"issue_comment_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments{/number}",
86+
"contents_url": "https://api.github.com/repos/Codertocat/Hello-World/contents/{+path}",
87+
"compare_url": "https://api.github.com/repos/Codertocat/Hello-World/compare/{base}...{head}",
88+
"merges_url": "https://api.github.com/repos/Codertocat/Hello-World/merges",
89+
"archive_url": "https://api.github.com/repos/Codertocat/Hello-World/{archive_format}{/ref}",
90+
"downloads_url": "https://api.github.com/repos/Codertocat/Hello-World/downloads",
91+
"issues_url": "https://api.github.com/repos/Codertocat/Hello-World/issues{/number}",
92+
"pulls_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls{/number}",
93+
"milestones_url": "https://api.github.com/repos/Codertocat/Hello-World/milestones{/number}",
94+
"notifications_url": "https://api.github.com/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
95+
"labels_url": "https://api.github.com/repos/Codertocat/Hello-World/labels{/name}",
96+
"releases_url": "https://api.github.com/repos/Codertocat/Hello-World/releases{/id}",
97+
"deployments_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments",
98+
"created_at": "2019-05-15T15:19:25Z",
99+
"updated_at": "2019-05-15T15:19:27Z",
100+
"pushed_at": "2019-05-15T15:20:32Z",
101+
"git_url": "git://github.com/Codertocat/Hello-World.git",
102+
"ssh_url": "git@github.com:Codertocat/Hello-World.git",
103+
"clone_url": "https://github.com/Codertocat/Hello-World.git",
104+
"svn_url": "https://github.com/Codertocat/Hello-World",
105+
"homepage": null,
106+
"size": 0,
107+
"stargazers_count": 0,
108+
"watchers_count": 0,
109+
"language": null,
110+
"has_issues": true,
111+
"has_projects": true,
112+
"has_downloads": true,
113+
"has_wiki": true,
114+
"has_pages": true,
115+
"forks_count": 0,
116+
"mirror_url": null,
117+
"archived": false,
118+
"disabled": false,
119+
"open_issues_count": 2,
120+
"license": null,
121+
"forks": 0,
122+
"open_issues": 2,
123+
"watchers": 0,
124+
"default_branch": "master"
125+
},
126+
"organization": {
127+
"login": "Octocoders",
128+
"id": 6,
129+
"node_id": "MDEyOk9yZ2FuaXphdGlvbjY=",
130+
"url": "https://api.github.com/orgs/Octocoders",
131+
"repos_url": "https://api.github.com/orgs/Octocoders/repos",
132+
"events_url": "https://api.github.com/orgs/Octocoders/events",
133+
"hooks_url": "https://api.github.com/orgs/Octocoders/hooks",
134+
"issues_url": "https://api.github.com/orgs/Octocoders/issues",
135+
"members_url": "https://api.github.com/orgs/Octocoders/members{/member}",
136+
"public_members_url": "https://api.github.com/orgs/Octocoders/public_members{/member}",
137+
"avatar_url": "https://avatars0.githubusercontent.com/u/6?",
138+
"description": ""
139+
}
140+
}

0 commit comments

Comments
 (0)