gitabu 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (104) hide show
  1. checksums.yaml +7 -0
  2. data/.rspec +3 -0
  3. data/.rubocop.yml +33 -0
  4. data/CHANGELOG.md +3 -0
  5. data/Gemfile +10 -0
  6. data/Gemfile.lock +65 -0
  7. data/LICENSE.txt +21 -0
  8. data/README.md +42 -0
  9. data/Rakefile +12 -0
  10. data/gitabu.gemspec +41 -0
  11. data/lib/gitabu/api/v3/actions.rb +3724 -0
  12. data/lib/gitabu/api/v3/activity.rb +835 -0
  13. data/lib/gitabu/api/v3/apps.rb +961 -0
  14. data/lib/gitabu/api/v3/billing.rb +217 -0
  15. data/lib/gitabu/api/v3/branches.rb +1098 -0
  16. data/lib/gitabu/api/v3/checks.rb +384 -0
  17. data/lib/gitabu/api/v3/code_scanning.rb +315 -0
  18. data/lib/gitabu/api/v3/codes_of_conduct.rb +92 -0
  19. data/lib/gitabu/api/v3/codespaces.rb +650 -0
  20. data/lib/gitabu/api/v3/collaborators.rb +341 -0
  21. data/lib/gitabu/api/v3/commits.rb +428 -0
  22. data/lib/gitabu/api/v3/dependabot.rb +419 -0
  23. data/lib/gitabu/api/v3/deploy_keys.rb +152 -0
  24. data/lib/gitabu/api/v3/deployments.rb +356 -0
  25. data/lib/gitabu/api/v3/emojis.rb +67 -0
  26. data/lib/gitabu/api/v3/enterprise_admin.rb +495 -0
  27. data/lib/gitabu/api/v3/gists.rb +552 -0
  28. data/lib/gitabu/api/v3/git.rb +409 -0
  29. data/lib/gitabu/api/v3/gitignore.rb +92 -0
  30. data/lib/gitabu/api/v3/interactions.rb +275 -0
  31. data/lib/gitabu/api/v3/issues.rb +1119 -0
  32. data/lib/gitabu/api/v3/licenses.rb +118 -0
  33. data/lib/gitabu/api/v3/markdown.rb +94 -0
  34. data/lib/gitabu/api/v3/meta.rb +142 -0
  35. data/lib/gitabu/api/v3/metrics.rb +302 -0
  36. data/lib/gitabu/api/v3/migrations.rb +631 -0
  37. data/lib/gitabu/api/v3/orgs.rb +1291 -0
  38. data/lib/gitabu/api/v3/packages.rb +686 -0
  39. data/lib/gitabu/api/v3/pages.rb +282 -0
  40. data/lib/gitabu/api/v3/projects.rb +693 -0
  41. data/lib/gitabu/api/v3/pulls.rb +816 -0
  42. data/lib/gitabu/api/v3/rate_limit.rb +67 -0
  43. data/lib/gitabu/api/v3/reactions.rb +734 -0
  44. data/lib/gitabu/api/v3/releases.rb +411 -0
  45. data/lib/gitabu/api/v3/repos.rb +1136 -0
  46. data/lib/gitabu/api/v3/scim.rb +214 -0
  47. data/lib/gitabu/api/v3/search.rb +217 -0
  48. data/lib/gitabu/api/v3/secret_scanning.rb +201 -0
  49. data/lib/gitabu/api/v3/teams.rb +1963 -0
  50. data/lib/gitabu/api/v3/users.rb +851 -0
  51. data/lib/gitabu/api/v3/webhooks.rb +379 -0
  52. data/lib/gitabu/builder.rb +37 -0
  53. data/lib/gitabu/client.rb +8 -0
  54. data/lib/gitabu/generator.rb +75 -0
  55. data/lib/gitabu/http_client.rb +96 -0
  56. data/lib/gitabu/items.rb +110 -0
  57. data/lib/gitabu/public/api/v3/actions.json +5779 -0
  58. data/lib/gitabu/public/api/v3/activity.json +1248 -0
  59. data/lib/gitabu/public/api/v3/apps.json +1174 -0
  60. data/lib/gitabu/public/api/v3/billing.json +183 -0
  61. data/lib/gitabu/public/api/v3/branches.json +1886 -0
  62. data/lib/gitabu/public/api/v3/checks.json +856 -0
  63. data/lib/gitabu/public/api/v3/code_scanning.json +666 -0
  64. data/lib/gitabu/public/api/v3/codes_of_conduct.json +41 -0
  65. data/lib/gitabu/public/api/v3/codespaces.json +884 -0
  66. data/lib/gitabu/public/api/v3/collaborators.json +464 -0
  67. data/lib/gitabu/public/api/v3/commits.json +830 -0
  68. data/lib/gitabu/public/api/v3/dependabot.json +596 -0
  69. data/lib/gitabu/public/api/v3/deploy_keys.json +195 -0
  70. data/lib/gitabu/public/api/v3/deployments.json +698 -0
  71. data/lib/gitabu/public/api/v3/emojis.json +18 -0
  72. data/lib/gitabu/public/api/v3/enterprise_admin.json +881 -0
  73. data/lib/gitabu/public/api/v3/gists.json +689 -0
  74. data/lib/gitabu/public/api/v3/git.json +735 -0
  75. data/lib/gitabu/public/api/v3/gitignore.json +41 -0
  76. data/lib/gitabu/public/api/v3/interactions.json +265 -0
  77. data/lib/gitabu/public/api/v3/issues.json +2359 -0
  78. data/lib/gitabu/public/api/v3/licenses.json +100 -0
  79. data/lib/gitabu/public/api/v3/markdown.json +59 -0
  80. data/lib/gitabu/public/api/v3/meta.json +69 -0
  81. data/lib/gitabu/public/api/v3/metrics.json +342 -0
  82. data/lib/gitabu/public/api/v3/migrations.json +960 -0
  83. data/lib/gitabu/public/api/v3/orgs.json +1989 -0
  84. data/lib/gitabu/public/api/v3/packages.json +1078 -0
  85. data/lib/gitabu/public/api/v3/pages.json +373 -0
  86. data/lib/gitabu/public/api/v3/projects.json +966 -0
  87. data/lib/gitabu/public/api/v3/pulls.json +1768 -0
  88. data/lib/gitabu/public/api/v3/rate_limit.json +18 -0
  89. data/lib/gitabu/public/api/v3/reactions.json +1425 -0
  90. data/lib/gitabu/public/api/v3/releases.json +753 -0
  91. data/lib/gitabu/public/api/v3/repos.json +2314 -0
  92. data/lib/gitabu/public/api/v3/scim.json +412 -0
  93. data/lib/gitabu/public/api/v3/search.json +408 -0
  94. data/lib/gitabu/public/api/v3/secret_scanning.json +385 -0
  95. data/lib/gitabu/public/api/v3/teams.json +3126 -0
  96. data/lib/gitabu/public/api/v3/users.json +956 -0
  97. data/lib/gitabu/public/api/v3/webhooks.json +667 -0
  98. data/lib/gitabu/run.rb +237 -0
  99. data/lib/gitabu/scraper.rb +86 -0
  100. data/lib/gitabu/templates/template.rb.erb +70 -0
  101. data/lib/gitabu/version.rb +6 -0
  102. data/lib/gitabu.rb +57 -0
  103. data/sig/gitabu.rbs +4 -0
  104. metadata +177 -0
@@ -0,0 +1,856 @@
1
+ {
2
+ "result": [
3
+ {
4
+ "namespace_description": "Create a check run",
5
+ "method": "post",
6
+ "endpoint": "/repos/{owner}/{repo}/check-runs",
7
+ "field_0": {
8
+ "field_type": "header",
9
+ "fields": {
10
+ "name": "accept",
11
+ "type": "string",
12
+ "in": "header",
13
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
14
+ }
15
+ },
16
+ "field_1": {
17
+ "field_type": "path",
18
+ "fields": {
19
+ "name": "owner",
20
+ "type": "string",
21
+ "in": "path",
22
+ "description": ""
23
+ }
24
+ },
25
+ "field_2": {
26
+ "field_type": "path",
27
+ "fields": {
28
+ "name": "repo",
29
+ "type": "string",
30
+ "in": "path",
31
+ "description": ""
32
+ }
33
+ },
34
+ "field_3": {
35
+ "field_type": "body",
36
+ "fields": {
37
+ "name": "name",
38
+ "type": "string",
39
+ "in": "body",
40
+ "description": "Required. The name of the check. For example, \"code-coverage\"."
41
+ }
42
+ },
43
+ "field_4": {
44
+ "field_type": "body",
45
+ "fields": {
46
+ "name": "head_sha",
47
+ "type": "string",
48
+ "in": "body",
49
+ "description": "Required. The SHA of the commit."
50
+ }
51
+ },
52
+ "field_5": {
53
+ "field_type": "body",
54
+ "fields": {
55
+ "name": "details_url",
56
+ "type": "string",
57
+ "in": "body",
58
+ "description": "The URL of the integrator's site that has the full details of the check. If the integrator does not provide this, then the homepage of the GitHub app is used."
59
+ }
60
+ },
61
+ "field_6": {
62
+ "field_type": "body",
63
+ "fields": {
64
+ "name": "external_id",
65
+ "type": "string",
66
+ "in": "body",
67
+ "description": "A reference for the run on the integrator's system."
68
+ }
69
+ },
70
+ "field_7": {
71
+ "field_type": "body",
72
+ "fields": {
73
+ "name": "status",
74
+ "type": "string",
75
+ "in": "body",
76
+ "description": "The current status. Can be one of queued, in_progress, or completed.Default: queued"
77
+ }
78
+ },
79
+ "field_8": {
80
+ "field_type": "body",
81
+ "fields": {
82
+ "name": "started_at",
83
+ "type": "string",
84
+ "in": "body",
85
+ "description": "The time that the check run began. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ."
86
+ }
87
+ },
88
+ "field_9": {
89
+ "field_type": "body",
90
+ "fields": {
91
+ "name": "conclusion",
92
+ "type": "string",
93
+ "in": "body",
94
+ "description": "Required if you provide completed_at or a status of completed. The final conclusion of the check. Can be one of action_required, cancelled, failure, neutral, success, skipped, stale, or timed_out. When the conclusion is action_required, additional details should be provided on the site specified by details_url.\nNote: Providing conclusion will automatically set the status parameter to completed. You cannot change a check run conclusion to stale, only GitHub can set this."
95
+ }
96
+ },
97
+ "field_10": {
98
+ "field_type": "body",
99
+ "fields": {
100
+ "name": "completed_at",
101
+ "type": "string",
102
+ "in": "body",
103
+ "description": "The time the check completed. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ."
104
+ }
105
+ },
106
+ "field_11": {
107
+ "field_type": "body",
108
+ "fields": {
109
+ "name": "output",
110
+ "type": "object",
111
+ "in": "body",
112
+ "description": "Check runs can accept a variety of data in the output object, including a title and summary and can optionally provide descriptive details about the run. See the output object description."
113
+ }
114
+ },
115
+ "field_12": {
116
+ "field_type": null,
117
+ "fields": {
118
+ "name": "Properties of theoutputobjectName (Type)Descriptiontitle (string)Required. The title of the check run.summary (string)Required. The summary of the check run. This parameter supports Markdown.text (string)The details of the check run. This parameter supports Markdown.annotations (array of objects)Adds information from your analysis to specific lines of code. Annotations are visible on GitHub in the Checks and Files changed tab of the pull request. The Checks API limits the number of annotations to a maximum of 50 per API request. To create more than 50 annotations, you have to make multiple requests to the Update a check run endpoint. Each time you update the check run, annotations are appended to the list of annotations that already exist for the check run. For details about how you can view annotations on GitHub, see \"About status checks\". See the annotations object description for details about how to use this parameter.images (array of objects)Adds images to the output displayed in the GitHub pull request UI. See the images object description for details.Properties of theannotationsitemsName (Type)Descriptionpath (string)Required. The path of the file to add an annotation to. For example, assets/css/main.css.start_line (integer)Required. The start line of the annotation.end_line (integer)Required. The end line of the annotation.start_column (integer)The start column of the annotation. Annotations only support start_column and end_column on the same line. Omit this parameter if start_line and end_line have different values.end_column (integer)The end column of the annotation. Annotations only support start_column and end_column on the same line. Omit this parameter if start_line and end_line have different values.annotation_level (string)Required. The level of the annotation. Can be one of notice, warning, or failure.message (string)Required. A short description of the feedback for these lines of code. The maximum size is 64 KB.title (string)The title that represents the annotation. The maximum size is 255 characters.raw_details (string)Details about this annotation. The maximum size is 64 KB.Properties of theimagesitemsName (Type)Descriptionalt (string)Required. The alternative text for the image.image_url (string)Required. The full URL of the image.caption (string)A short image description.",
119
+ "type": null,
120
+ "in": null,
121
+ "description": null
122
+ }
123
+ },
124
+ "field_13": {
125
+ "field_type": "body",
126
+ "fields": {
127
+ "name": "actions",
128
+ "type": "array of objects",
129
+ "in": "body",
130
+ "description": "Displays a button on GitHub that can be clicked to alert your app to do additional tasks. For example, a code linting app can display a button that automatically fixes detected errors. The button created in this object is displayed after the check run completes. When a user clicks the button, GitHub sends the check_run.requested_action webhook to your app. Each action includes a label, identifier and description. A maximum of three actions are accepted. See the actions object description. To learn more about check runs and requested actions, see \"Check runs and requested actions.\""
131
+ }
132
+ },
133
+ "field_14": {
134
+ "field_type": null,
135
+ "fields": {
136
+ "name": "Properties of theactionsitemsName (Type)Descriptionlabel (string)Required. The text to be displayed on a button in the web UI. The maximum size is 20 characters.description (string)Required. A short explanation of what this action would do. The maximum size is 40 characters.identifier (string)Required. A reference for the action on the integrator's system. The maximum size is 20 characters.",
137
+ "type": null,
138
+ "in": null,
139
+ "description": null
140
+ }
141
+ }
142
+ },
143
+ {
144
+ "namespace_description": "Get a check run",
145
+ "method": "get",
146
+ "endpoint": "/repos/{owner}/{repo}/check-runs/{check_run_id}",
147
+ "field_0": {
148
+ "field_type": "header",
149
+ "fields": {
150
+ "name": "accept",
151
+ "type": "string",
152
+ "in": "header",
153
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
154
+ }
155
+ },
156
+ "field_1": {
157
+ "field_type": "path",
158
+ "fields": {
159
+ "name": "owner",
160
+ "type": "string",
161
+ "in": "path",
162
+ "description": ""
163
+ }
164
+ },
165
+ "field_2": {
166
+ "field_type": "path",
167
+ "fields": {
168
+ "name": "repo",
169
+ "type": "string",
170
+ "in": "path",
171
+ "description": ""
172
+ }
173
+ },
174
+ "field_3": {
175
+ "field_type": "path",
176
+ "fields": {
177
+ "name": "check_run_id",
178
+ "type": "integer",
179
+ "in": "path",
180
+ "description": "check_run_id parameter"
181
+ }
182
+ }
183
+ },
184
+ {
185
+ "namespace_description": "Update a check run",
186
+ "method": "patch",
187
+ "endpoint": "/repos/{owner}/{repo}/check-runs/{check_run_id}",
188
+ "field_0": {
189
+ "field_type": "header",
190
+ "fields": {
191
+ "name": "accept",
192
+ "type": "string",
193
+ "in": "header",
194
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
195
+ }
196
+ },
197
+ "field_1": {
198
+ "field_type": "path",
199
+ "fields": {
200
+ "name": "owner",
201
+ "type": "string",
202
+ "in": "path",
203
+ "description": ""
204
+ }
205
+ },
206
+ "field_2": {
207
+ "field_type": "path",
208
+ "fields": {
209
+ "name": "repo",
210
+ "type": "string",
211
+ "in": "path",
212
+ "description": ""
213
+ }
214
+ },
215
+ "field_3": {
216
+ "field_type": "path",
217
+ "fields": {
218
+ "name": "check_run_id",
219
+ "type": "integer",
220
+ "in": "path",
221
+ "description": "check_run_id parameter"
222
+ }
223
+ },
224
+ "field_4": {
225
+ "field_type": "body",
226
+ "fields": {
227
+ "name": "name",
228
+ "type": "string",
229
+ "in": "body",
230
+ "description": "The name of the check. For example, \"code-coverage\"."
231
+ }
232
+ },
233
+ "field_5": {
234
+ "field_type": "body",
235
+ "fields": {
236
+ "name": "details_url",
237
+ "type": "string",
238
+ "in": "body",
239
+ "description": "The URL of the integrator's site that has the full details of the check."
240
+ }
241
+ },
242
+ "field_6": {
243
+ "field_type": "body",
244
+ "fields": {
245
+ "name": "external_id",
246
+ "type": "string",
247
+ "in": "body",
248
+ "description": "A reference for the run on the integrator's system."
249
+ }
250
+ },
251
+ "field_7": {
252
+ "field_type": "body",
253
+ "fields": {
254
+ "name": "started_at",
255
+ "type": "string",
256
+ "in": "body",
257
+ "description": "This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ."
258
+ }
259
+ },
260
+ "field_8": {
261
+ "field_type": "body",
262
+ "fields": {
263
+ "name": "status",
264
+ "type": "string",
265
+ "in": "body",
266
+ "description": "The current status. Can be one of queued, in_progress, or completed."
267
+ }
268
+ },
269
+ "field_9": {
270
+ "field_type": "body",
271
+ "fields": {
272
+ "name": "conclusion",
273
+ "type": "string",
274
+ "in": "body",
275
+ "description": "Required if you provide completed_at or a status of completed. The final conclusion of the check. Can be one of action_required, cancelled, failure, neutral, success, skipped, stale, or timed_out.\nNote: Providing conclusion will automatically set the status parameter to completed. You cannot change a check run conclusion to stale, only GitHub can set this."
276
+ }
277
+ },
278
+ "field_10": {
279
+ "field_type": "body",
280
+ "fields": {
281
+ "name": "completed_at",
282
+ "type": "string",
283
+ "in": "body",
284
+ "description": "The time the check completed. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ."
285
+ }
286
+ },
287
+ "field_11": {
288
+ "field_type": "body",
289
+ "fields": {
290
+ "name": "output",
291
+ "type": "object",
292
+ "in": "body",
293
+ "description": "Check runs can accept a variety of data in the output object, including a title and summary and can optionally provide descriptive details about the run. See the output object description."
294
+ }
295
+ },
296
+ "field_12": {
297
+ "field_type": null,
298
+ "fields": {
299
+ "name": "Properties of theoutputobjectName (Type)Descriptiontitle (string)Required.summary (string)Required. Can contain Markdown.text (string)Can contain Markdown.annotations (array of objects)Adds information from your analysis to specific lines of code. Annotations are visible in GitHub's pull request UI. Annotations are visible in GitHub's pull request UI. The Checks API limits the number of annotations to a maximum of 50 per API request. To create more than 50 annotations, you have to make multiple requests to the Update a check run endpoint. Each time you update the check run, annotations are appended to the list of annotations that already exist for the check run. For details about annotations in the UI, see \"About status checks\". See the annotations object description for details.images (array of objects)Adds images to the output displayed in the GitHub pull request UI. See the images object description for details.Properties of theannotationsitemsName (Type)Descriptionpath (string)Required. The path of the file to add an annotation to. For example, assets/css/main.css.start_line (integer)Required. The start line of the annotation.end_line (integer)Required. The end line of the annotation.start_column (integer)The start column of the annotation. Annotations only support start_column and end_column on the same line. Omit this parameter if start_line and end_line have different values.end_column (integer)The end column of the annotation. Annotations only support start_column and end_column on the same line. Omit this parameter if start_line and end_line have different values.annotation_level (string)Required. The level of the annotation. Can be one of notice, warning, or failure.message (string)Required. A short description of the feedback for these lines of code. The maximum size is 64 KB.title (string)The title that represents the annotation. The maximum size is 255 characters.raw_details (string)Details about this annotation. The maximum size is 64 KB.Properties of theimagesitemsName (Type)Descriptionalt (string)Required. The alternative text for the image.image_url (string)Required. The full URL of the image.caption (string)A short image description.",
300
+ "type": null,
301
+ "in": null,
302
+ "description": null
303
+ }
304
+ },
305
+ "field_13": {
306
+ "field_type": "body",
307
+ "fields": {
308
+ "name": "actions",
309
+ "type": "array of objects",
310
+ "in": "body",
311
+ "description": "Possible further actions the integrator can perform, which a user may trigger. Each action includes a label, identifier and description. A maximum of three actions are accepted. See the actions object description. To learn more about check runs and requested actions, see \"Check runs and requested actions.\""
312
+ }
313
+ },
314
+ "field_14": {
315
+ "field_type": null,
316
+ "fields": {
317
+ "name": "Properties of theactionsitemsName (Type)Descriptionlabel (string)Required. The text to be displayed on a button in the web UI. The maximum size is 20 characters.description (string)Required. A short explanation of what this action would do. The maximum size is 40 characters.identifier (string)Required. A reference for the action on the integrator's system. The maximum size is 20 characters.",
318
+ "type": null,
319
+ "in": null,
320
+ "description": null
321
+ }
322
+ }
323
+ },
324
+ {
325
+ "namespace_description": "List check run annotations",
326
+ "method": "get",
327
+ "endpoint": "/repos/{owner}/{repo}/check-runs/{check_run_id}/annotations",
328
+ "field_0": {
329
+ "field_type": "header",
330
+ "fields": {
331
+ "name": "accept",
332
+ "type": "string",
333
+ "in": "header",
334
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
335
+ }
336
+ },
337
+ "field_1": {
338
+ "field_type": "path",
339
+ "fields": {
340
+ "name": "owner",
341
+ "type": "string",
342
+ "in": "path",
343
+ "description": ""
344
+ }
345
+ },
346
+ "field_2": {
347
+ "field_type": "path",
348
+ "fields": {
349
+ "name": "repo",
350
+ "type": "string",
351
+ "in": "path",
352
+ "description": ""
353
+ }
354
+ },
355
+ "field_3": {
356
+ "field_type": "path",
357
+ "fields": {
358
+ "name": "check_run_id",
359
+ "type": "integer",
360
+ "in": "path",
361
+ "description": "check_run_id parameter"
362
+ }
363
+ },
364
+ "field_4": {
365
+ "field_type": "query",
366
+ "fields": {
367
+ "name": "per_page",
368
+ "type": "integer",
369
+ "in": "query",
370
+ "description": "Results per page (max 100)Default: 30"
371
+ }
372
+ },
373
+ "field_5": {
374
+ "field_type": "query",
375
+ "fields": {
376
+ "name": "page",
377
+ "type": "integer",
378
+ "in": "query",
379
+ "description": "Page number of the results to fetch.Default: 1"
380
+ }
381
+ }
382
+ },
383
+ {
384
+ "namespace_description": "Rerequest a check run",
385
+ "method": "post",
386
+ "endpoint": "/repos/{owner}/{repo}/check-runs/{check_run_id}/rerequest",
387
+ "field_0": {
388
+ "field_type": "header",
389
+ "fields": {
390
+ "name": "accept",
391
+ "type": "string",
392
+ "in": "header",
393
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
394
+ }
395
+ },
396
+ "field_1": {
397
+ "field_type": "path",
398
+ "fields": {
399
+ "name": "owner",
400
+ "type": "string",
401
+ "in": "path",
402
+ "description": ""
403
+ }
404
+ },
405
+ "field_2": {
406
+ "field_type": "path",
407
+ "fields": {
408
+ "name": "repo",
409
+ "type": "string",
410
+ "in": "path",
411
+ "description": ""
412
+ }
413
+ },
414
+ "field_3": {
415
+ "field_type": "path",
416
+ "fields": {
417
+ "name": "check_run_id",
418
+ "type": "integer",
419
+ "in": "path",
420
+ "description": "check_run_id parameter"
421
+ }
422
+ }
423
+ },
424
+ {
425
+ "namespace_description": "List check runs in a check suite",
426
+ "method": "get",
427
+ "endpoint": "/repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs",
428
+ "field_0": {
429
+ "field_type": "header",
430
+ "fields": {
431
+ "name": "accept",
432
+ "type": "string",
433
+ "in": "header",
434
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
435
+ }
436
+ },
437
+ "field_1": {
438
+ "field_type": "path",
439
+ "fields": {
440
+ "name": "owner",
441
+ "type": "string",
442
+ "in": "path",
443
+ "description": ""
444
+ }
445
+ },
446
+ "field_2": {
447
+ "field_type": "path",
448
+ "fields": {
449
+ "name": "repo",
450
+ "type": "string",
451
+ "in": "path",
452
+ "description": ""
453
+ }
454
+ },
455
+ "field_3": {
456
+ "field_type": "path",
457
+ "fields": {
458
+ "name": "check_suite_id",
459
+ "type": "integer",
460
+ "in": "path",
461
+ "description": "check_suite_id parameter"
462
+ }
463
+ },
464
+ "field_4": {
465
+ "field_type": "query",
466
+ "fields": {
467
+ "name": "check_name",
468
+ "type": "string",
469
+ "in": "query",
470
+ "description": "Returns check runs with the specified name."
471
+ }
472
+ },
473
+ "field_5": {
474
+ "field_type": "query",
475
+ "fields": {
476
+ "name": "status",
477
+ "type": "string",
478
+ "in": "query",
479
+ "description": "Returns check runs with the specified status. Can be one of queued, in_progress, or completed."
480
+ }
481
+ },
482
+ "field_6": {
483
+ "field_type": "query",
484
+ "fields": {
485
+ "name": "filter",
486
+ "type": "string",
487
+ "in": "query",
488
+ "description": "Filters check runs by their completed_at timestamp. Can be one of latest (returning the most recent check runs) or all.Default: latest"
489
+ }
490
+ },
491
+ "field_7": {
492
+ "field_type": "query",
493
+ "fields": {
494
+ "name": "per_page",
495
+ "type": "integer",
496
+ "in": "query",
497
+ "description": "Results per page (max 100)Default: 30"
498
+ }
499
+ },
500
+ "field_8": {
501
+ "field_type": "query",
502
+ "fields": {
503
+ "name": "page",
504
+ "type": "integer",
505
+ "in": "query",
506
+ "description": "Page number of the results to fetch.Default: 1"
507
+ }
508
+ }
509
+ },
510
+ {
511
+ "namespace_description": "List check runs for a Git reference",
512
+ "method": "get",
513
+ "endpoint": "/repos/{owner}/{repo}/commits/{ref}/check-runs",
514
+ "field_0": {
515
+ "field_type": "header",
516
+ "fields": {
517
+ "name": "accept",
518
+ "type": "string",
519
+ "in": "header",
520
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
521
+ }
522
+ },
523
+ "field_1": {
524
+ "field_type": "path",
525
+ "fields": {
526
+ "name": "owner",
527
+ "type": "string",
528
+ "in": "path",
529
+ "description": ""
530
+ }
531
+ },
532
+ "field_2": {
533
+ "field_type": "path",
534
+ "fields": {
535
+ "name": "repo",
536
+ "type": "string",
537
+ "in": "path",
538
+ "description": ""
539
+ }
540
+ },
541
+ "field_3": {
542
+ "field_type": "path",
543
+ "fields": {
544
+ "name": "ref",
545
+ "type": "string",
546
+ "in": "path",
547
+ "description": "ref parameter"
548
+ }
549
+ },
550
+ "field_4": {
551
+ "field_type": "query",
552
+ "fields": {
553
+ "name": "check_name",
554
+ "type": "string",
555
+ "in": "query",
556
+ "description": "Returns check runs with the specified name."
557
+ }
558
+ },
559
+ "field_5": {
560
+ "field_type": "query",
561
+ "fields": {
562
+ "name": "status",
563
+ "type": "string",
564
+ "in": "query",
565
+ "description": "Returns check runs with the specified status. Can be one of queued, in_progress, or completed."
566
+ }
567
+ },
568
+ "field_6": {
569
+ "field_type": "query",
570
+ "fields": {
571
+ "name": "filter",
572
+ "type": "string",
573
+ "in": "query",
574
+ "description": "Filters check runs by their completed_at timestamp. Can be one of latest (returning the most recent check runs) or all.Default: latest"
575
+ }
576
+ },
577
+ "field_7": {
578
+ "field_type": "query",
579
+ "fields": {
580
+ "name": "per_page",
581
+ "type": "integer",
582
+ "in": "query",
583
+ "description": "Results per page (max 100)Default: 30"
584
+ }
585
+ },
586
+ "field_8": {
587
+ "field_type": "query",
588
+ "fields": {
589
+ "name": "page",
590
+ "type": "integer",
591
+ "in": "query",
592
+ "description": "Page number of the results to fetch.Default: 1"
593
+ }
594
+ },
595
+ "field_9": {
596
+ "field_type": "query",
597
+ "fields": {
598
+ "name": "app_id",
599
+ "type": "integer",
600
+ "in": "query",
601
+ "description": ""
602
+ }
603
+ }
604
+ },
605
+ {
606
+ "namespace_description": "Create a check suite",
607
+ "method": "post",
608
+ "endpoint": "/repos/{owner}/{repo}/check-suites",
609
+ "field_0": {
610
+ "field_type": "header",
611
+ "fields": {
612
+ "name": "accept",
613
+ "type": "string",
614
+ "in": "header",
615
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
616
+ }
617
+ },
618
+ "field_1": {
619
+ "field_type": "path",
620
+ "fields": {
621
+ "name": "owner",
622
+ "type": "string",
623
+ "in": "path",
624
+ "description": ""
625
+ }
626
+ },
627
+ "field_2": {
628
+ "field_type": "path",
629
+ "fields": {
630
+ "name": "repo",
631
+ "type": "string",
632
+ "in": "path",
633
+ "description": ""
634
+ }
635
+ },
636
+ "field_3": {
637
+ "field_type": "body",
638
+ "fields": {
639
+ "name": "head_sha",
640
+ "type": "string",
641
+ "in": "body",
642
+ "description": "Required. The sha of the head commit."
643
+ }
644
+ }
645
+ },
646
+ {
647
+ "namespace_description": "Update repository preferences for check suites",
648
+ "method": "patch",
649
+ "endpoint": "/repos/{owner}/{repo}/check-suites/preferences",
650
+ "field_0": {
651
+ "field_type": "header",
652
+ "fields": {
653
+ "name": "accept",
654
+ "type": "string",
655
+ "in": "header",
656
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
657
+ }
658
+ },
659
+ "field_1": {
660
+ "field_type": "path",
661
+ "fields": {
662
+ "name": "owner",
663
+ "type": "string",
664
+ "in": "path",
665
+ "description": ""
666
+ }
667
+ },
668
+ "field_2": {
669
+ "field_type": "path",
670
+ "fields": {
671
+ "name": "repo",
672
+ "type": "string",
673
+ "in": "path",
674
+ "description": ""
675
+ }
676
+ },
677
+ "field_3": {
678
+ "field_type": "body",
679
+ "fields": {
680
+ "name": "auto_trigger_checks",
681
+ "type": "array of objects",
682
+ "in": "body",
683
+ "description": "Enables or disables automatic creation of CheckSuite events upon pushes to the repository. Enabled by default. See the auto_trigger_checks object description for details."
684
+ }
685
+ },
686
+ "field_4": {
687
+ "field_type": null,
688
+ "fields": {
689
+ "name": "Properties of theauto_trigger_checksitemsName (Type)Descriptionapp_id (integer)Required. The id of the GitHub App.setting (boolean)Required. Set to true to enable automatic creation of CheckSuite events upon pushes to the repository, or false to disable them.",
690
+ "type": null,
691
+ "in": null,
692
+ "description": null
693
+ }
694
+ }
695
+ },
696
+ {
697
+ "namespace_description": "Get a check suite",
698
+ "method": "get",
699
+ "endpoint": "/repos/{owner}/{repo}/check-suites/{check_suite_id}",
700
+ "field_0": {
701
+ "field_type": "header",
702
+ "fields": {
703
+ "name": "accept",
704
+ "type": "string",
705
+ "in": "header",
706
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
707
+ }
708
+ },
709
+ "field_1": {
710
+ "field_type": "path",
711
+ "fields": {
712
+ "name": "owner",
713
+ "type": "string",
714
+ "in": "path",
715
+ "description": ""
716
+ }
717
+ },
718
+ "field_2": {
719
+ "field_type": "path",
720
+ "fields": {
721
+ "name": "repo",
722
+ "type": "string",
723
+ "in": "path",
724
+ "description": ""
725
+ }
726
+ },
727
+ "field_3": {
728
+ "field_type": "path",
729
+ "fields": {
730
+ "name": "check_suite_id",
731
+ "type": "integer",
732
+ "in": "path",
733
+ "description": "check_suite_id parameter"
734
+ }
735
+ }
736
+ },
737
+ {
738
+ "namespace_description": "Rerequest a check suite",
739
+ "method": "post",
740
+ "endpoint": "/repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest",
741
+ "field_0": {
742
+ "field_type": "header",
743
+ "fields": {
744
+ "name": "accept",
745
+ "type": "string",
746
+ "in": "header",
747
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
748
+ }
749
+ },
750
+ "field_1": {
751
+ "field_type": "path",
752
+ "fields": {
753
+ "name": "owner",
754
+ "type": "string",
755
+ "in": "path",
756
+ "description": ""
757
+ }
758
+ },
759
+ "field_2": {
760
+ "field_type": "path",
761
+ "fields": {
762
+ "name": "repo",
763
+ "type": "string",
764
+ "in": "path",
765
+ "description": ""
766
+ }
767
+ },
768
+ "field_3": {
769
+ "field_type": "path",
770
+ "fields": {
771
+ "name": "check_suite_id",
772
+ "type": "integer",
773
+ "in": "path",
774
+ "description": "check_suite_id parameter"
775
+ }
776
+ }
777
+ },
778
+ {
779
+ "namespace_description": "List check suites for a Git reference",
780
+ "method": "get",
781
+ "endpoint": "/repos/{owner}/{repo}/commits/{ref}/check-suites",
782
+ "field_0": {
783
+ "field_type": "header",
784
+ "fields": {
785
+ "name": "accept",
786
+ "type": "string",
787
+ "in": "header",
788
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
789
+ }
790
+ },
791
+ "field_1": {
792
+ "field_type": "path",
793
+ "fields": {
794
+ "name": "owner",
795
+ "type": "string",
796
+ "in": "path",
797
+ "description": ""
798
+ }
799
+ },
800
+ "field_2": {
801
+ "field_type": "path",
802
+ "fields": {
803
+ "name": "repo",
804
+ "type": "string",
805
+ "in": "path",
806
+ "description": ""
807
+ }
808
+ },
809
+ "field_3": {
810
+ "field_type": "path",
811
+ "fields": {
812
+ "name": "ref",
813
+ "type": "string",
814
+ "in": "path",
815
+ "description": "ref parameter"
816
+ }
817
+ },
818
+ "field_4": {
819
+ "field_type": "query",
820
+ "fields": {
821
+ "name": "app_id",
822
+ "type": "integer",
823
+ "in": "query",
824
+ "description": "Filters check suites by GitHub App id."
825
+ }
826
+ },
827
+ "field_5": {
828
+ "field_type": "query",
829
+ "fields": {
830
+ "name": "check_name",
831
+ "type": "string",
832
+ "in": "query",
833
+ "description": "Returns check runs with the specified name."
834
+ }
835
+ },
836
+ "field_6": {
837
+ "field_type": "query",
838
+ "fields": {
839
+ "name": "per_page",
840
+ "type": "integer",
841
+ "in": "query",
842
+ "description": "Results per page (max 100)Default: 30"
843
+ }
844
+ },
845
+ "field_7": {
846
+ "field_type": "query",
847
+ "fields": {
848
+ "name": "page",
849
+ "type": "integer",
850
+ "in": "query",
851
+ "description": "Page number of the results to fetch.Default: 1"
852
+ }
853
+ }
854
+ }
855
+ ]
856
+ }