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,1425 @@
1
+ {
2
+ "result": [
3
+ {
4
+ "namespace_description": "List reactions for a team discussion comment",
5
+ "method": "get",
6
+ "endpoint": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions",
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": "org",
20
+ "type": "string",
21
+ "in": "path",
22
+ "description": ""
23
+ }
24
+ },
25
+ "field_2": {
26
+ "field_type": "path",
27
+ "fields": {
28
+ "name": "team_slug",
29
+ "type": "string",
30
+ "in": "path",
31
+ "description": "team_slug parameter"
32
+ }
33
+ },
34
+ "field_3": {
35
+ "field_type": "path",
36
+ "fields": {
37
+ "name": "discussion_number",
38
+ "type": "integer",
39
+ "in": "path",
40
+ "description": ""
41
+ }
42
+ },
43
+ "field_4": {
44
+ "field_type": "path",
45
+ "fields": {
46
+ "name": "comment_number",
47
+ "type": "integer",
48
+ "in": "path",
49
+ "description": ""
50
+ }
51
+ },
52
+ "field_5": {
53
+ "field_type": "query",
54
+ "fields": {
55
+ "name": "content",
56
+ "type": "string",
57
+ "in": "query",
58
+ "description": "Returns a single reaction type. Omit this parameter to list all reactions to a team discussion comment."
59
+ }
60
+ },
61
+ "field_6": {
62
+ "field_type": "query",
63
+ "fields": {
64
+ "name": "per_page",
65
+ "type": "integer",
66
+ "in": "query",
67
+ "description": "Results per page (max 100)Default: 30"
68
+ }
69
+ },
70
+ "field_7": {
71
+ "field_type": "query",
72
+ "fields": {
73
+ "name": "page",
74
+ "type": "integer",
75
+ "in": "query",
76
+ "description": "Page number of the results to fetch.Default: 1"
77
+ }
78
+ }
79
+ },
80
+ {
81
+ "namespace_description": "Create reaction for a team discussion comment",
82
+ "method": "post",
83
+ "endpoint": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions",
84
+ "field_0": {
85
+ "field_type": "header",
86
+ "fields": {
87
+ "name": "accept",
88
+ "type": "string",
89
+ "in": "header",
90
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
91
+ }
92
+ },
93
+ "field_1": {
94
+ "field_type": "path",
95
+ "fields": {
96
+ "name": "org",
97
+ "type": "string",
98
+ "in": "path",
99
+ "description": ""
100
+ }
101
+ },
102
+ "field_2": {
103
+ "field_type": "path",
104
+ "fields": {
105
+ "name": "team_slug",
106
+ "type": "string",
107
+ "in": "path",
108
+ "description": "team_slug parameter"
109
+ }
110
+ },
111
+ "field_3": {
112
+ "field_type": "path",
113
+ "fields": {
114
+ "name": "discussion_number",
115
+ "type": "integer",
116
+ "in": "path",
117
+ "description": ""
118
+ }
119
+ },
120
+ "field_4": {
121
+ "field_type": "path",
122
+ "fields": {
123
+ "name": "comment_number",
124
+ "type": "integer",
125
+ "in": "path",
126
+ "description": ""
127
+ }
128
+ },
129
+ "field_5": {
130
+ "field_type": "body",
131
+ "fields": {
132
+ "name": "content",
133
+ "type": "string",
134
+ "in": "body",
135
+ "description": "Required. The reaction type to add to the team discussion comment."
136
+ }
137
+ }
138
+ },
139
+ {
140
+ "namespace_description": "Delete team discussion comment reaction",
141
+ "method": "delete",
142
+ "endpoint": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}",
143
+ "field_0": {
144
+ "field_type": "header",
145
+ "fields": {
146
+ "name": "accept",
147
+ "type": "string",
148
+ "in": "header",
149
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
150
+ }
151
+ },
152
+ "field_1": {
153
+ "field_type": "path",
154
+ "fields": {
155
+ "name": "org",
156
+ "type": "string",
157
+ "in": "path",
158
+ "description": ""
159
+ }
160
+ },
161
+ "field_2": {
162
+ "field_type": "path",
163
+ "fields": {
164
+ "name": "team_slug",
165
+ "type": "string",
166
+ "in": "path",
167
+ "description": "team_slug parameter"
168
+ }
169
+ },
170
+ "field_3": {
171
+ "field_type": "path",
172
+ "fields": {
173
+ "name": "discussion_number",
174
+ "type": "integer",
175
+ "in": "path",
176
+ "description": ""
177
+ }
178
+ },
179
+ "field_4": {
180
+ "field_type": "path",
181
+ "fields": {
182
+ "name": "comment_number",
183
+ "type": "integer",
184
+ "in": "path",
185
+ "description": ""
186
+ }
187
+ },
188
+ "field_5": {
189
+ "field_type": "path",
190
+ "fields": {
191
+ "name": "reaction_id",
192
+ "type": "integer",
193
+ "in": "path",
194
+ "description": ""
195
+ }
196
+ }
197
+ },
198
+ {
199
+ "namespace_description": "List reactions for a team discussion",
200
+ "method": "get",
201
+ "endpoint": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions",
202
+ "field_0": {
203
+ "field_type": "header",
204
+ "fields": {
205
+ "name": "accept",
206
+ "type": "string",
207
+ "in": "header",
208
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
209
+ }
210
+ },
211
+ "field_1": {
212
+ "field_type": "path",
213
+ "fields": {
214
+ "name": "org",
215
+ "type": "string",
216
+ "in": "path",
217
+ "description": ""
218
+ }
219
+ },
220
+ "field_2": {
221
+ "field_type": "path",
222
+ "fields": {
223
+ "name": "team_slug",
224
+ "type": "string",
225
+ "in": "path",
226
+ "description": "team_slug parameter"
227
+ }
228
+ },
229
+ "field_3": {
230
+ "field_type": "path",
231
+ "fields": {
232
+ "name": "discussion_number",
233
+ "type": "integer",
234
+ "in": "path",
235
+ "description": ""
236
+ }
237
+ },
238
+ "field_4": {
239
+ "field_type": "query",
240
+ "fields": {
241
+ "name": "content",
242
+ "type": "string",
243
+ "in": "query",
244
+ "description": "Returns a single reaction type. Omit this parameter to list all reactions to a team discussion."
245
+ }
246
+ },
247
+ "field_5": {
248
+ "field_type": "query",
249
+ "fields": {
250
+ "name": "per_page",
251
+ "type": "integer",
252
+ "in": "query",
253
+ "description": "Results per page (max 100)Default: 30"
254
+ }
255
+ },
256
+ "field_6": {
257
+ "field_type": "query",
258
+ "fields": {
259
+ "name": "page",
260
+ "type": "integer",
261
+ "in": "query",
262
+ "description": "Page number of the results to fetch.Default: 1"
263
+ }
264
+ }
265
+ },
266
+ {
267
+ "namespace_description": "Create reaction for a team discussion",
268
+ "method": "post",
269
+ "endpoint": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions",
270
+ "field_0": {
271
+ "field_type": "header",
272
+ "fields": {
273
+ "name": "accept",
274
+ "type": "string",
275
+ "in": "header",
276
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
277
+ }
278
+ },
279
+ "field_1": {
280
+ "field_type": "path",
281
+ "fields": {
282
+ "name": "org",
283
+ "type": "string",
284
+ "in": "path",
285
+ "description": ""
286
+ }
287
+ },
288
+ "field_2": {
289
+ "field_type": "path",
290
+ "fields": {
291
+ "name": "team_slug",
292
+ "type": "string",
293
+ "in": "path",
294
+ "description": "team_slug parameter"
295
+ }
296
+ },
297
+ "field_3": {
298
+ "field_type": "path",
299
+ "fields": {
300
+ "name": "discussion_number",
301
+ "type": "integer",
302
+ "in": "path",
303
+ "description": ""
304
+ }
305
+ },
306
+ "field_4": {
307
+ "field_type": "body",
308
+ "fields": {
309
+ "name": "content",
310
+ "type": "string",
311
+ "in": "body",
312
+ "description": "Required. The reaction type to add to the team discussion."
313
+ }
314
+ }
315
+ },
316
+ {
317
+ "namespace_description": "Delete team discussion reaction",
318
+ "method": "delete",
319
+ "endpoint": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}",
320
+ "field_0": {
321
+ "field_type": "header",
322
+ "fields": {
323
+ "name": "accept",
324
+ "type": "string",
325
+ "in": "header",
326
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
327
+ }
328
+ },
329
+ "field_1": {
330
+ "field_type": "path",
331
+ "fields": {
332
+ "name": "org",
333
+ "type": "string",
334
+ "in": "path",
335
+ "description": ""
336
+ }
337
+ },
338
+ "field_2": {
339
+ "field_type": "path",
340
+ "fields": {
341
+ "name": "team_slug",
342
+ "type": "string",
343
+ "in": "path",
344
+ "description": "team_slug parameter"
345
+ }
346
+ },
347
+ "field_3": {
348
+ "field_type": "path",
349
+ "fields": {
350
+ "name": "discussion_number",
351
+ "type": "integer",
352
+ "in": "path",
353
+ "description": ""
354
+ }
355
+ },
356
+ "field_4": {
357
+ "field_type": "path",
358
+ "fields": {
359
+ "name": "reaction_id",
360
+ "type": "integer",
361
+ "in": "path",
362
+ "description": ""
363
+ }
364
+ }
365
+ },
366
+ {
367
+ "namespace_description": "List reactions for a commit comment",
368
+ "method": "get",
369
+ "endpoint": "/repos/{owner}/{repo}/comments/{comment_id}/reactions",
370
+ "field_0": {
371
+ "field_type": "header",
372
+ "fields": {
373
+ "name": "accept",
374
+ "type": "string",
375
+ "in": "header",
376
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
377
+ }
378
+ },
379
+ "field_1": {
380
+ "field_type": "path",
381
+ "fields": {
382
+ "name": "owner",
383
+ "type": "string",
384
+ "in": "path",
385
+ "description": ""
386
+ }
387
+ },
388
+ "field_2": {
389
+ "field_type": "path",
390
+ "fields": {
391
+ "name": "repo",
392
+ "type": "string",
393
+ "in": "path",
394
+ "description": ""
395
+ }
396
+ },
397
+ "field_3": {
398
+ "field_type": "path",
399
+ "fields": {
400
+ "name": "comment_id",
401
+ "type": "integer",
402
+ "in": "path",
403
+ "description": "comment_id parameter"
404
+ }
405
+ },
406
+ "field_4": {
407
+ "field_type": "query",
408
+ "fields": {
409
+ "name": "content",
410
+ "type": "string",
411
+ "in": "query",
412
+ "description": "Returns a single reaction type. Omit this parameter to list all reactions to a commit comment."
413
+ }
414
+ },
415
+ "field_5": {
416
+ "field_type": "query",
417
+ "fields": {
418
+ "name": "per_page",
419
+ "type": "integer",
420
+ "in": "query",
421
+ "description": "Results per page (max 100)Default: 30"
422
+ }
423
+ },
424
+ "field_6": {
425
+ "field_type": "query",
426
+ "fields": {
427
+ "name": "page",
428
+ "type": "integer",
429
+ "in": "query",
430
+ "description": "Page number of the results to fetch.Default: 1"
431
+ }
432
+ }
433
+ },
434
+ {
435
+ "namespace_description": "Create reaction for a commit comment",
436
+ "method": "post",
437
+ "endpoint": "/repos/{owner}/{repo}/comments/{comment_id}/reactions",
438
+ "field_0": {
439
+ "field_type": "header",
440
+ "fields": {
441
+ "name": "accept",
442
+ "type": "string",
443
+ "in": "header",
444
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
445
+ }
446
+ },
447
+ "field_1": {
448
+ "field_type": "path",
449
+ "fields": {
450
+ "name": "owner",
451
+ "type": "string",
452
+ "in": "path",
453
+ "description": ""
454
+ }
455
+ },
456
+ "field_2": {
457
+ "field_type": "path",
458
+ "fields": {
459
+ "name": "repo",
460
+ "type": "string",
461
+ "in": "path",
462
+ "description": ""
463
+ }
464
+ },
465
+ "field_3": {
466
+ "field_type": "path",
467
+ "fields": {
468
+ "name": "comment_id",
469
+ "type": "integer",
470
+ "in": "path",
471
+ "description": "comment_id parameter"
472
+ }
473
+ },
474
+ "field_4": {
475
+ "field_type": "body",
476
+ "fields": {
477
+ "name": "content",
478
+ "type": "string",
479
+ "in": "body",
480
+ "description": "Required. The reaction type to add to the commit comment."
481
+ }
482
+ }
483
+ },
484
+ {
485
+ "namespace_description": "Delete a commit comment reaction",
486
+ "method": "delete",
487
+ "endpoint": "/repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}",
488
+ "field_0": {
489
+ "field_type": "header",
490
+ "fields": {
491
+ "name": "accept",
492
+ "type": "string",
493
+ "in": "header",
494
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
495
+ }
496
+ },
497
+ "field_1": {
498
+ "field_type": "path",
499
+ "fields": {
500
+ "name": "owner",
501
+ "type": "string",
502
+ "in": "path",
503
+ "description": ""
504
+ }
505
+ },
506
+ "field_2": {
507
+ "field_type": "path",
508
+ "fields": {
509
+ "name": "repo",
510
+ "type": "string",
511
+ "in": "path",
512
+ "description": ""
513
+ }
514
+ },
515
+ "field_3": {
516
+ "field_type": "path",
517
+ "fields": {
518
+ "name": "comment_id",
519
+ "type": "integer",
520
+ "in": "path",
521
+ "description": "comment_id parameter"
522
+ }
523
+ },
524
+ "field_4": {
525
+ "field_type": "path",
526
+ "fields": {
527
+ "name": "reaction_id",
528
+ "type": "integer",
529
+ "in": "path",
530
+ "description": ""
531
+ }
532
+ }
533
+ },
534
+ {
535
+ "namespace_description": "List reactions for an issue comment",
536
+ "method": "get",
537
+ "endpoint": "/repos/{owner}/{repo}/issues/comments/{comment_id}/reactions",
538
+ "field_0": {
539
+ "field_type": "header",
540
+ "fields": {
541
+ "name": "accept",
542
+ "type": "string",
543
+ "in": "header",
544
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
545
+ }
546
+ },
547
+ "field_1": {
548
+ "field_type": "path",
549
+ "fields": {
550
+ "name": "owner",
551
+ "type": "string",
552
+ "in": "path",
553
+ "description": ""
554
+ }
555
+ },
556
+ "field_2": {
557
+ "field_type": "path",
558
+ "fields": {
559
+ "name": "repo",
560
+ "type": "string",
561
+ "in": "path",
562
+ "description": ""
563
+ }
564
+ },
565
+ "field_3": {
566
+ "field_type": "path",
567
+ "fields": {
568
+ "name": "comment_id",
569
+ "type": "integer",
570
+ "in": "path",
571
+ "description": "comment_id parameter"
572
+ }
573
+ },
574
+ "field_4": {
575
+ "field_type": "query",
576
+ "fields": {
577
+ "name": "content",
578
+ "type": "string",
579
+ "in": "query",
580
+ "description": "Returns a single reaction type. Omit this parameter to list all reactions to an issue comment."
581
+ }
582
+ },
583
+ "field_5": {
584
+ "field_type": "query",
585
+ "fields": {
586
+ "name": "per_page",
587
+ "type": "integer",
588
+ "in": "query",
589
+ "description": "Results per page (max 100)Default: 30"
590
+ }
591
+ },
592
+ "field_6": {
593
+ "field_type": "query",
594
+ "fields": {
595
+ "name": "page",
596
+ "type": "integer",
597
+ "in": "query",
598
+ "description": "Page number of the results to fetch.Default: 1"
599
+ }
600
+ }
601
+ },
602
+ {
603
+ "namespace_description": "Create reaction for an issue comment",
604
+ "method": "post",
605
+ "endpoint": "/repos/{owner}/{repo}/issues/comments/{comment_id}/reactions",
606
+ "field_0": {
607
+ "field_type": "header",
608
+ "fields": {
609
+ "name": "accept",
610
+ "type": "string",
611
+ "in": "header",
612
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
613
+ }
614
+ },
615
+ "field_1": {
616
+ "field_type": "path",
617
+ "fields": {
618
+ "name": "owner",
619
+ "type": "string",
620
+ "in": "path",
621
+ "description": ""
622
+ }
623
+ },
624
+ "field_2": {
625
+ "field_type": "path",
626
+ "fields": {
627
+ "name": "repo",
628
+ "type": "string",
629
+ "in": "path",
630
+ "description": ""
631
+ }
632
+ },
633
+ "field_3": {
634
+ "field_type": "path",
635
+ "fields": {
636
+ "name": "comment_id",
637
+ "type": "integer",
638
+ "in": "path",
639
+ "description": "comment_id parameter"
640
+ }
641
+ },
642
+ "field_4": {
643
+ "field_type": "body",
644
+ "fields": {
645
+ "name": "content",
646
+ "type": "string",
647
+ "in": "body",
648
+ "description": "Required. The reaction type to add to the issue comment."
649
+ }
650
+ }
651
+ },
652
+ {
653
+ "namespace_description": "Delete an issue comment reaction",
654
+ "method": "delete",
655
+ "endpoint": "/repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}",
656
+ "field_0": {
657
+ "field_type": "header",
658
+ "fields": {
659
+ "name": "accept",
660
+ "type": "string",
661
+ "in": "header",
662
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
663
+ }
664
+ },
665
+ "field_1": {
666
+ "field_type": "path",
667
+ "fields": {
668
+ "name": "owner",
669
+ "type": "string",
670
+ "in": "path",
671
+ "description": ""
672
+ }
673
+ },
674
+ "field_2": {
675
+ "field_type": "path",
676
+ "fields": {
677
+ "name": "repo",
678
+ "type": "string",
679
+ "in": "path",
680
+ "description": ""
681
+ }
682
+ },
683
+ "field_3": {
684
+ "field_type": "path",
685
+ "fields": {
686
+ "name": "comment_id",
687
+ "type": "integer",
688
+ "in": "path",
689
+ "description": "comment_id parameter"
690
+ }
691
+ },
692
+ "field_4": {
693
+ "field_type": "path",
694
+ "fields": {
695
+ "name": "reaction_id",
696
+ "type": "integer",
697
+ "in": "path",
698
+ "description": ""
699
+ }
700
+ }
701
+ },
702
+ {
703
+ "namespace_description": "List reactions for an issue",
704
+ "method": "get",
705
+ "endpoint": "/repos/{owner}/{repo}/issues/{issue_number}/reactions",
706
+ "field_0": {
707
+ "field_type": "header",
708
+ "fields": {
709
+ "name": "accept",
710
+ "type": "string",
711
+ "in": "header",
712
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
713
+ }
714
+ },
715
+ "field_1": {
716
+ "field_type": "path",
717
+ "fields": {
718
+ "name": "owner",
719
+ "type": "string",
720
+ "in": "path",
721
+ "description": ""
722
+ }
723
+ },
724
+ "field_2": {
725
+ "field_type": "path",
726
+ "fields": {
727
+ "name": "repo",
728
+ "type": "string",
729
+ "in": "path",
730
+ "description": ""
731
+ }
732
+ },
733
+ "field_3": {
734
+ "field_type": "path",
735
+ "fields": {
736
+ "name": "issue_number",
737
+ "type": "integer",
738
+ "in": "path",
739
+ "description": "issue_number parameter"
740
+ }
741
+ },
742
+ "field_4": {
743
+ "field_type": "query",
744
+ "fields": {
745
+ "name": "content",
746
+ "type": "string",
747
+ "in": "query",
748
+ "description": "Returns a single reaction type. Omit this parameter to list all reactions to an issue."
749
+ }
750
+ },
751
+ "field_5": {
752
+ "field_type": "query",
753
+ "fields": {
754
+ "name": "per_page",
755
+ "type": "integer",
756
+ "in": "query",
757
+ "description": "Results per page (max 100)Default: 30"
758
+ }
759
+ },
760
+ "field_6": {
761
+ "field_type": "query",
762
+ "fields": {
763
+ "name": "page",
764
+ "type": "integer",
765
+ "in": "query",
766
+ "description": "Page number of the results to fetch.Default: 1"
767
+ }
768
+ }
769
+ },
770
+ {
771
+ "namespace_description": "Create reaction for an issue",
772
+ "method": "post",
773
+ "endpoint": "/repos/{owner}/{repo}/issues/{issue_number}/reactions",
774
+ "field_0": {
775
+ "field_type": "header",
776
+ "fields": {
777
+ "name": "accept",
778
+ "type": "string",
779
+ "in": "header",
780
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
781
+ }
782
+ },
783
+ "field_1": {
784
+ "field_type": "path",
785
+ "fields": {
786
+ "name": "owner",
787
+ "type": "string",
788
+ "in": "path",
789
+ "description": ""
790
+ }
791
+ },
792
+ "field_2": {
793
+ "field_type": "path",
794
+ "fields": {
795
+ "name": "repo",
796
+ "type": "string",
797
+ "in": "path",
798
+ "description": ""
799
+ }
800
+ },
801
+ "field_3": {
802
+ "field_type": "path",
803
+ "fields": {
804
+ "name": "issue_number",
805
+ "type": "integer",
806
+ "in": "path",
807
+ "description": "issue_number parameter"
808
+ }
809
+ },
810
+ "field_4": {
811
+ "field_type": "body",
812
+ "fields": {
813
+ "name": "content",
814
+ "type": "string",
815
+ "in": "body",
816
+ "description": "Required. The reaction type to add to the issue."
817
+ }
818
+ }
819
+ },
820
+ {
821
+ "namespace_description": "Delete an issue reaction",
822
+ "method": "delete",
823
+ "endpoint": "/repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}",
824
+ "field_0": {
825
+ "field_type": "header",
826
+ "fields": {
827
+ "name": "accept",
828
+ "type": "string",
829
+ "in": "header",
830
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
831
+ }
832
+ },
833
+ "field_1": {
834
+ "field_type": "path",
835
+ "fields": {
836
+ "name": "owner",
837
+ "type": "string",
838
+ "in": "path",
839
+ "description": ""
840
+ }
841
+ },
842
+ "field_2": {
843
+ "field_type": "path",
844
+ "fields": {
845
+ "name": "repo",
846
+ "type": "string",
847
+ "in": "path",
848
+ "description": ""
849
+ }
850
+ },
851
+ "field_3": {
852
+ "field_type": "path",
853
+ "fields": {
854
+ "name": "issue_number",
855
+ "type": "integer",
856
+ "in": "path",
857
+ "description": "issue_number parameter"
858
+ }
859
+ },
860
+ "field_4": {
861
+ "field_type": "path",
862
+ "fields": {
863
+ "name": "reaction_id",
864
+ "type": "integer",
865
+ "in": "path",
866
+ "description": ""
867
+ }
868
+ }
869
+ },
870
+ {
871
+ "namespace_description": "List reactions for a pull request review comment",
872
+ "method": "get",
873
+ "endpoint": "/repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions",
874
+ "field_0": {
875
+ "field_type": "header",
876
+ "fields": {
877
+ "name": "accept",
878
+ "type": "string",
879
+ "in": "header",
880
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
881
+ }
882
+ },
883
+ "field_1": {
884
+ "field_type": "path",
885
+ "fields": {
886
+ "name": "owner",
887
+ "type": "string",
888
+ "in": "path",
889
+ "description": ""
890
+ }
891
+ },
892
+ "field_2": {
893
+ "field_type": "path",
894
+ "fields": {
895
+ "name": "repo",
896
+ "type": "string",
897
+ "in": "path",
898
+ "description": ""
899
+ }
900
+ },
901
+ "field_3": {
902
+ "field_type": "path",
903
+ "fields": {
904
+ "name": "comment_id",
905
+ "type": "integer",
906
+ "in": "path",
907
+ "description": "comment_id parameter"
908
+ }
909
+ },
910
+ "field_4": {
911
+ "field_type": "query",
912
+ "fields": {
913
+ "name": "content",
914
+ "type": "string",
915
+ "in": "query",
916
+ "description": "Returns a single reaction type. Omit this parameter to list all reactions to a pull request review comment."
917
+ }
918
+ },
919
+ "field_5": {
920
+ "field_type": "query",
921
+ "fields": {
922
+ "name": "per_page",
923
+ "type": "integer",
924
+ "in": "query",
925
+ "description": "Results per page (max 100)Default: 30"
926
+ }
927
+ },
928
+ "field_6": {
929
+ "field_type": "query",
930
+ "fields": {
931
+ "name": "page",
932
+ "type": "integer",
933
+ "in": "query",
934
+ "description": "Page number of the results to fetch.Default: 1"
935
+ }
936
+ }
937
+ },
938
+ {
939
+ "namespace_description": "Create reaction for a pull request review comment",
940
+ "method": "post",
941
+ "endpoint": "/repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions",
942
+ "field_0": {
943
+ "field_type": "header",
944
+ "fields": {
945
+ "name": "accept",
946
+ "type": "string",
947
+ "in": "header",
948
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
949
+ }
950
+ },
951
+ "field_1": {
952
+ "field_type": "path",
953
+ "fields": {
954
+ "name": "owner",
955
+ "type": "string",
956
+ "in": "path",
957
+ "description": ""
958
+ }
959
+ },
960
+ "field_2": {
961
+ "field_type": "path",
962
+ "fields": {
963
+ "name": "repo",
964
+ "type": "string",
965
+ "in": "path",
966
+ "description": ""
967
+ }
968
+ },
969
+ "field_3": {
970
+ "field_type": "path",
971
+ "fields": {
972
+ "name": "comment_id",
973
+ "type": "integer",
974
+ "in": "path",
975
+ "description": "comment_id parameter"
976
+ }
977
+ },
978
+ "field_4": {
979
+ "field_type": "body",
980
+ "fields": {
981
+ "name": "content",
982
+ "type": "string",
983
+ "in": "body",
984
+ "description": "Required. The reaction type to add to the pull request review comment."
985
+ }
986
+ }
987
+ },
988
+ {
989
+ "namespace_description": "Delete a pull request comment reaction",
990
+ "method": "delete",
991
+ "endpoint": "/repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}",
992
+ "field_0": {
993
+ "field_type": "header",
994
+ "fields": {
995
+ "name": "accept",
996
+ "type": "string",
997
+ "in": "header",
998
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
999
+ }
1000
+ },
1001
+ "field_1": {
1002
+ "field_type": "path",
1003
+ "fields": {
1004
+ "name": "owner",
1005
+ "type": "string",
1006
+ "in": "path",
1007
+ "description": ""
1008
+ }
1009
+ },
1010
+ "field_2": {
1011
+ "field_type": "path",
1012
+ "fields": {
1013
+ "name": "repo",
1014
+ "type": "string",
1015
+ "in": "path",
1016
+ "description": ""
1017
+ }
1018
+ },
1019
+ "field_3": {
1020
+ "field_type": "path",
1021
+ "fields": {
1022
+ "name": "comment_id",
1023
+ "type": "integer",
1024
+ "in": "path",
1025
+ "description": "comment_id parameter"
1026
+ }
1027
+ },
1028
+ "field_4": {
1029
+ "field_type": "path",
1030
+ "fields": {
1031
+ "name": "reaction_id",
1032
+ "type": "integer",
1033
+ "in": "path",
1034
+ "description": ""
1035
+ }
1036
+ }
1037
+ },
1038
+ {
1039
+ "namespace_description": "List reactions for a release",
1040
+ "method": "get",
1041
+ "endpoint": "/repos/{owner}/{repo}/releases/{release_id}/reactions",
1042
+ "field_0": {
1043
+ "field_type": "header",
1044
+ "fields": {
1045
+ "name": "accept",
1046
+ "type": "string",
1047
+ "in": "header",
1048
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
1049
+ }
1050
+ },
1051
+ "field_1": {
1052
+ "field_type": "path",
1053
+ "fields": {
1054
+ "name": "owner",
1055
+ "type": "string",
1056
+ "in": "path",
1057
+ "description": ""
1058
+ }
1059
+ },
1060
+ "field_2": {
1061
+ "field_type": "path",
1062
+ "fields": {
1063
+ "name": "repo",
1064
+ "type": "string",
1065
+ "in": "path",
1066
+ "description": ""
1067
+ }
1068
+ },
1069
+ "field_3": {
1070
+ "field_type": "path",
1071
+ "fields": {
1072
+ "name": "release_id",
1073
+ "type": "integer",
1074
+ "in": "path",
1075
+ "description": "release_id parameter"
1076
+ }
1077
+ },
1078
+ "field_4": {
1079
+ "field_type": "query",
1080
+ "fields": {
1081
+ "name": "content",
1082
+ "type": "string",
1083
+ "in": "query",
1084
+ "description": "Returns a single reaction type. Omit this parameter to list all reactions to a release."
1085
+ }
1086
+ },
1087
+ "field_5": {
1088
+ "field_type": "query",
1089
+ "fields": {
1090
+ "name": "per_page",
1091
+ "type": "integer",
1092
+ "in": "query",
1093
+ "description": "Results per page (max 100)Default: 30"
1094
+ }
1095
+ },
1096
+ "field_6": {
1097
+ "field_type": "query",
1098
+ "fields": {
1099
+ "name": "page",
1100
+ "type": "integer",
1101
+ "in": "query",
1102
+ "description": "Page number of the results to fetch.Default: 1"
1103
+ }
1104
+ }
1105
+ },
1106
+ {
1107
+ "namespace_description": "Create reaction for a release",
1108
+ "method": "post",
1109
+ "endpoint": "/repos/{owner}/{repo}/releases/{release_id}/reactions",
1110
+ "field_0": {
1111
+ "field_type": "header",
1112
+ "fields": {
1113
+ "name": "accept",
1114
+ "type": "string",
1115
+ "in": "header",
1116
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
1117
+ }
1118
+ },
1119
+ "field_1": {
1120
+ "field_type": "path",
1121
+ "fields": {
1122
+ "name": "owner",
1123
+ "type": "string",
1124
+ "in": "path",
1125
+ "description": ""
1126
+ }
1127
+ },
1128
+ "field_2": {
1129
+ "field_type": "path",
1130
+ "fields": {
1131
+ "name": "repo",
1132
+ "type": "string",
1133
+ "in": "path",
1134
+ "description": ""
1135
+ }
1136
+ },
1137
+ "field_3": {
1138
+ "field_type": "path",
1139
+ "fields": {
1140
+ "name": "release_id",
1141
+ "type": "integer",
1142
+ "in": "path",
1143
+ "description": "release_id parameter"
1144
+ }
1145
+ },
1146
+ "field_4": {
1147
+ "field_type": "body",
1148
+ "fields": {
1149
+ "name": "content",
1150
+ "type": "string",
1151
+ "in": "body",
1152
+ "description": "Required. The reaction type to add to the release."
1153
+ }
1154
+ }
1155
+ },
1156
+ {
1157
+ "namespace_description": "Delete a release reaction",
1158
+ "method": "delete",
1159
+ "endpoint": "/repos/{owner}/{repo}/releases/{release_id}/reactions/{reaction_id}",
1160
+ "field_0": {
1161
+ "field_type": "header",
1162
+ "fields": {
1163
+ "name": "accept",
1164
+ "type": "string",
1165
+ "in": "header",
1166
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
1167
+ }
1168
+ },
1169
+ "field_1": {
1170
+ "field_type": "path",
1171
+ "fields": {
1172
+ "name": "owner",
1173
+ "type": "string",
1174
+ "in": "path",
1175
+ "description": ""
1176
+ }
1177
+ },
1178
+ "field_2": {
1179
+ "field_type": "path",
1180
+ "fields": {
1181
+ "name": "repo",
1182
+ "type": "string",
1183
+ "in": "path",
1184
+ "description": ""
1185
+ }
1186
+ },
1187
+ "field_3": {
1188
+ "field_type": "path",
1189
+ "fields": {
1190
+ "name": "release_id",
1191
+ "type": "integer",
1192
+ "in": "path",
1193
+ "description": "release_id parameter"
1194
+ }
1195
+ },
1196
+ "field_4": {
1197
+ "field_type": "path",
1198
+ "fields": {
1199
+ "name": "reaction_id",
1200
+ "type": "integer",
1201
+ "in": "path",
1202
+ "description": ""
1203
+ }
1204
+ }
1205
+ },
1206
+ {
1207
+ "namespace_description": "List reactions for a team discussion comment (Legacy)",
1208
+ "method": "get",
1209
+ "endpoint": "/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions",
1210
+ "field_0": {
1211
+ "field_type": "header",
1212
+ "fields": {
1213
+ "name": "accept",
1214
+ "type": "string",
1215
+ "in": "header",
1216
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
1217
+ }
1218
+ },
1219
+ "field_1": {
1220
+ "field_type": "path",
1221
+ "fields": {
1222
+ "name": "team_id",
1223
+ "type": "integer",
1224
+ "in": "path",
1225
+ "description": ""
1226
+ }
1227
+ },
1228
+ "field_2": {
1229
+ "field_type": "path",
1230
+ "fields": {
1231
+ "name": "discussion_number",
1232
+ "type": "integer",
1233
+ "in": "path",
1234
+ "description": ""
1235
+ }
1236
+ },
1237
+ "field_3": {
1238
+ "field_type": "path",
1239
+ "fields": {
1240
+ "name": "comment_number",
1241
+ "type": "integer",
1242
+ "in": "path",
1243
+ "description": ""
1244
+ }
1245
+ },
1246
+ "field_4": {
1247
+ "field_type": "query",
1248
+ "fields": {
1249
+ "name": "content",
1250
+ "type": "string",
1251
+ "in": "query",
1252
+ "description": "Returns a single reaction type. Omit this parameter to list all reactions to a team discussion comment."
1253
+ }
1254
+ },
1255
+ "field_5": {
1256
+ "field_type": "query",
1257
+ "fields": {
1258
+ "name": "per_page",
1259
+ "type": "integer",
1260
+ "in": "query",
1261
+ "description": "Results per page (max 100)Default: 30"
1262
+ }
1263
+ },
1264
+ "field_6": {
1265
+ "field_type": "query",
1266
+ "fields": {
1267
+ "name": "page",
1268
+ "type": "integer",
1269
+ "in": "query",
1270
+ "description": "Page number of the results to fetch.Default: 1"
1271
+ }
1272
+ }
1273
+ },
1274
+ {
1275
+ "namespace_description": "Create reaction for a team discussion comment (Legacy)",
1276
+ "method": "post",
1277
+ "endpoint": "/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions",
1278
+ "field_0": {
1279
+ "field_type": "header",
1280
+ "fields": {
1281
+ "name": "accept",
1282
+ "type": "string",
1283
+ "in": "header",
1284
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
1285
+ }
1286
+ },
1287
+ "field_1": {
1288
+ "field_type": "path",
1289
+ "fields": {
1290
+ "name": "team_id",
1291
+ "type": "integer",
1292
+ "in": "path",
1293
+ "description": ""
1294
+ }
1295
+ },
1296
+ "field_2": {
1297
+ "field_type": "path",
1298
+ "fields": {
1299
+ "name": "discussion_number",
1300
+ "type": "integer",
1301
+ "in": "path",
1302
+ "description": ""
1303
+ }
1304
+ },
1305
+ "field_3": {
1306
+ "field_type": "path",
1307
+ "fields": {
1308
+ "name": "comment_number",
1309
+ "type": "integer",
1310
+ "in": "path",
1311
+ "description": ""
1312
+ }
1313
+ },
1314
+ "field_4": {
1315
+ "field_type": "body",
1316
+ "fields": {
1317
+ "name": "content",
1318
+ "type": "string",
1319
+ "in": "body",
1320
+ "description": "Required. The reaction type to add to the team discussion comment."
1321
+ }
1322
+ }
1323
+ },
1324
+ {
1325
+ "namespace_description": "List reactions for a team discussion (Legacy)",
1326
+ "method": "get",
1327
+ "endpoint": "/teams/{team_id}/discussions/{discussion_number}/reactions",
1328
+ "field_0": {
1329
+ "field_type": "header",
1330
+ "fields": {
1331
+ "name": "accept",
1332
+ "type": "string",
1333
+ "in": "header",
1334
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
1335
+ }
1336
+ },
1337
+ "field_1": {
1338
+ "field_type": "path",
1339
+ "fields": {
1340
+ "name": "team_id",
1341
+ "type": "integer",
1342
+ "in": "path",
1343
+ "description": ""
1344
+ }
1345
+ },
1346
+ "field_2": {
1347
+ "field_type": "path",
1348
+ "fields": {
1349
+ "name": "discussion_number",
1350
+ "type": "integer",
1351
+ "in": "path",
1352
+ "description": ""
1353
+ }
1354
+ },
1355
+ "field_3": {
1356
+ "field_type": "query",
1357
+ "fields": {
1358
+ "name": "content",
1359
+ "type": "string",
1360
+ "in": "query",
1361
+ "description": "Returns a single reaction type. Omit this parameter to list all reactions to a team discussion."
1362
+ }
1363
+ },
1364
+ "field_4": {
1365
+ "field_type": "query",
1366
+ "fields": {
1367
+ "name": "per_page",
1368
+ "type": "integer",
1369
+ "in": "query",
1370
+ "description": "Results per page (max 100)Default: 30"
1371
+ }
1372
+ },
1373
+ "field_5": {
1374
+ "field_type": "query",
1375
+ "fields": {
1376
+ "name": "page",
1377
+ "type": "integer",
1378
+ "in": "query",
1379
+ "description": "Page number of the results to fetch.Default: 1"
1380
+ }
1381
+ }
1382
+ },
1383
+ {
1384
+ "namespace_description": "Create reaction for a team discussion (Legacy)",
1385
+ "method": "post",
1386
+ "endpoint": "/teams/{team_id}/discussions/{discussion_number}/reactions",
1387
+ "field_0": {
1388
+ "field_type": "header",
1389
+ "fields": {
1390
+ "name": "accept",
1391
+ "type": "string",
1392
+ "in": "header",
1393
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
1394
+ }
1395
+ },
1396
+ "field_1": {
1397
+ "field_type": "path",
1398
+ "fields": {
1399
+ "name": "team_id",
1400
+ "type": "integer",
1401
+ "in": "path",
1402
+ "description": ""
1403
+ }
1404
+ },
1405
+ "field_2": {
1406
+ "field_type": "path",
1407
+ "fields": {
1408
+ "name": "discussion_number",
1409
+ "type": "integer",
1410
+ "in": "path",
1411
+ "description": ""
1412
+ }
1413
+ },
1414
+ "field_3": {
1415
+ "field_type": "body",
1416
+ "fields": {
1417
+ "name": "content",
1418
+ "type": "string",
1419
+ "in": "body",
1420
+ "description": "Required. The reaction type to add to the team discussion."
1421
+ }
1422
+ }
1423
+ }
1424
+ ]
1425
+ }