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,753 @@
1
+ {
2
+ "result": [
3
+ {
4
+ "namespace_description": "List releases",
5
+ "method": "get",
6
+ "endpoint": "/repos/{owner}/{repo}/releases",
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": "query",
36
+ "fields": {
37
+ "name": "per_page",
38
+ "type": "integer",
39
+ "in": "query",
40
+ "description": "Results per page (max 100)Default: 30"
41
+ }
42
+ },
43
+ "field_4": {
44
+ "field_type": "query",
45
+ "fields": {
46
+ "name": "page",
47
+ "type": "integer",
48
+ "in": "query",
49
+ "description": "Page number of the results to fetch.Default: 1"
50
+ }
51
+ }
52
+ },
53
+ {
54
+ "namespace_description": "Create a release",
55
+ "method": "post",
56
+ "endpoint": "/repos/{owner}/{repo}/releases",
57
+ "field_0": {
58
+ "field_type": "header",
59
+ "fields": {
60
+ "name": "accept",
61
+ "type": "string",
62
+ "in": "header",
63
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
64
+ }
65
+ },
66
+ "field_1": {
67
+ "field_type": "path",
68
+ "fields": {
69
+ "name": "owner",
70
+ "type": "string",
71
+ "in": "path",
72
+ "description": ""
73
+ }
74
+ },
75
+ "field_2": {
76
+ "field_type": "path",
77
+ "fields": {
78
+ "name": "repo",
79
+ "type": "string",
80
+ "in": "path",
81
+ "description": ""
82
+ }
83
+ },
84
+ "field_3": {
85
+ "field_type": "body",
86
+ "fields": {
87
+ "name": "tag_name",
88
+ "type": "string",
89
+ "in": "body",
90
+ "description": "Required. The name of the tag."
91
+ }
92
+ },
93
+ "field_4": {
94
+ "field_type": "body",
95
+ "fields": {
96
+ "name": "target_commitish",
97
+ "type": "string",
98
+ "in": "body",
99
+ "description": "Specifies the commitish value that determines where the Git tag is created from. Can be any branch or commit SHA. Unused if the Git tag already exists. Default: the repository's default branch (usually master)."
100
+ }
101
+ },
102
+ "field_5": {
103
+ "field_type": "body",
104
+ "fields": {
105
+ "name": "name",
106
+ "type": "string",
107
+ "in": "body",
108
+ "description": "The name of the release."
109
+ }
110
+ },
111
+ "field_6": {
112
+ "field_type": "body",
113
+ "fields": {
114
+ "name": "body",
115
+ "type": "string",
116
+ "in": "body",
117
+ "description": "Text describing the contents of the tag."
118
+ }
119
+ },
120
+ "field_7": {
121
+ "field_type": "body",
122
+ "fields": {
123
+ "name": "draft",
124
+ "type": "boolean",
125
+ "in": "body",
126
+ "description": "true to create a draft (unpublished) release, false to create a published one."
127
+ }
128
+ },
129
+ "field_8": {
130
+ "field_type": "body",
131
+ "fields": {
132
+ "name": "prerelease",
133
+ "type": "boolean",
134
+ "in": "body",
135
+ "description": "true to identify the release as a prerelease. false to identify the release as a full release."
136
+ }
137
+ },
138
+ "field_9": {
139
+ "field_type": "body",
140
+ "fields": {
141
+ "name": "discussion_category_name",
142
+ "type": "string",
143
+ "in": "body",
144
+ "description": "If specified, a discussion of the specified category is created and linked to the release. The value must be a category that already exists in the repository. For more information, see \"Managing categories for discussions in your repository.\""
145
+ }
146
+ },
147
+ "field_10": {
148
+ "field_type": "body",
149
+ "fields": {
150
+ "name": "generate_release_notes",
151
+ "type": "boolean",
152
+ "in": "body",
153
+ "description": "Whether to automatically generate the name and body for this release. If name is specified, the specified name will be used; otherwise, a name will be automatically generated. If body is specified, the body will be pre-pended to the automatically generated notes."
154
+ }
155
+ }
156
+ },
157
+ {
158
+ "namespace_description": "Generate release notes content for a release",
159
+ "method": "post",
160
+ "endpoint": "/repos/{owner}/{repo}/releases/generate-notes",
161
+ "field_0": {
162
+ "field_type": "header",
163
+ "fields": {
164
+ "name": "accept",
165
+ "type": "string",
166
+ "in": "header",
167
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
168
+ }
169
+ },
170
+ "field_1": {
171
+ "field_type": "path",
172
+ "fields": {
173
+ "name": "owner",
174
+ "type": "string",
175
+ "in": "path",
176
+ "description": ""
177
+ }
178
+ },
179
+ "field_2": {
180
+ "field_type": "path",
181
+ "fields": {
182
+ "name": "repo",
183
+ "type": "string",
184
+ "in": "path",
185
+ "description": ""
186
+ }
187
+ },
188
+ "field_3": {
189
+ "field_type": "body",
190
+ "fields": {
191
+ "name": "tag_name",
192
+ "type": "string",
193
+ "in": "body",
194
+ "description": "Required. The tag name for the release. This can be an existing tag or a new one."
195
+ }
196
+ },
197
+ "field_4": {
198
+ "field_type": "body",
199
+ "fields": {
200
+ "name": "target_commitish",
201
+ "type": "string",
202
+ "in": "body",
203
+ "description": "Specifies the commitish value that will be the target for the release's tag. Required if the supplied tag_name does not reference an existing tag. Ignored if the tag_name already exists."
204
+ }
205
+ },
206
+ "field_5": {
207
+ "field_type": "body",
208
+ "fields": {
209
+ "name": "previous_tag_name",
210
+ "type": "string",
211
+ "in": "body",
212
+ "description": "The name of the previous tag to use as the starting point for the release notes. Use to manually specify the range for the set of changes considered as part this release."
213
+ }
214
+ },
215
+ "field_6": {
216
+ "field_type": "body",
217
+ "fields": {
218
+ "name": "configuration_file_path",
219
+ "type": "string",
220
+ "in": "body",
221
+ "description": "Specifies a path to a file in the repository containing configuration settings used for generating the release notes. If unspecified, the configuration file located in the repository at '.github/release.yml' or '.github/release.yaml' will be used. If that is not present, the default configuration will be used."
222
+ }
223
+ }
224
+ },
225
+ {
226
+ "namespace_description": "Get the latest release",
227
+ "method": "get",
228
+ "endpoint": "/repos/{owner}/{repo}/releases/latest",
229
+ "field_0": {
230
+ "field_type": "header",
231
+ "fields": {
232
+ "name": "accept",
233
+ "type": "string",
234
+ "in": "header",
235
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
236
+ }
237
+ },
238
+ "field_1": {
239
+ "field_type": "path",
240
+ "fields": {
241
+ "name": "owner",
242
+ "type": "string",
243
+ "in": "path",
244
+ "description": ""
245
+ }
246
+ },
247
+ "field_2": {
248
+ "field_type": "path",
249
+ "fields": {
250
+ "name": "repo",
251
+ "type": "string",
252
+ "in": "path",
253
+ "description": ""
254
+ }
255
+ }
256
+ },
257
+ {
258
+ "namespace_description": "Get a release by tag name",
259
+ "method": "get",
260
+ "endpoint": "/repos/{owner}/{repo}/releases/tags/{tag}",
261
+ "field_0": {
262
+ "field_type": "header",
263
+ "fields": {
264
+ "name": "accept",
265
+ "type": "string",
266
+ "in": "header",
267
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
268
+ }
269
+ },
270
+ "field_1": {
271
+ "field_type": "path",
272
+ "fields": {
273
+ "name": "owner",
274
+ "type": "string",
275
+ "in": "path",
276
+ "description": ""
277
+ }
278
+ },
279
+ "field_2": {
280
+ "field_type": "path",
281
+ "fields": {
282
+ "name": "repo",
283
+ "type": "string",
284
+ "in": "path",
285
+ "description": ""
286
+ }
287
+ },
288
+ "field_3": {
289
+ "field_type": "path",
290
+ "fields": {
291
+ "name": "tag",
292
+ "type": "string",
293
+ "in": "path",
294
+ "description": "tag parameter"
295
+ }
296
+ }
297
+ },
298
+ {
299
+ "namespace_description": "Get a release",
300
+ "method": "get",
301
+ "endpoint": "/repos/{owner}/{repo}/releases/{release_id}",
302
+ "field_0": {
303
+ "field_type": "header",
304
+ "fields": {
305
+ "name": "accept",
306
+ "type": "string",
307
+ "in": "header",
308
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
309
+ }
310
+ },
311
+ "field_1": {
312
+ "field_type": "path",
313
+ "fields": {
314
+ "name": "owner",
315
+ "type": "string",
316
+ "in": "path",
317
+ "description": ""
318
+ }
319
+ },
320
+ "field_2": {
321
+ "field_type": "path",
322
+ "fields": {
323
+ "name": "repo",
324
+ "type": "string",
325
+ "in": "path",
326
+ "description": ""
327
+ }
328
+ },
329
+ "field_3": {
330
+ "field_type": "path",
331
+ "fields": {
332
+ "name": "release_id",
333
+ "type": "integer",
334
+ "in": "path",
335
+ "description": "release_id parameter"
336
+ }
337
+ }
338
+ },
339
+ {
340
+ "namespace_description": "Update a release",
341
+ "method": "patch",
342
+ "endpoint": "/repos/{owner}/{repo}/releases/{release_id}",
343
+ "field_0": {
344
+ "field_type": "header",
345
+ "fields": {
346
+ "name": "accept",
347
+ "type": "string",
348
+ "in": "header",
349
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
350
+ }
351
+ },
352
+ "field_1": {
353
+ "field_type": "path",
354
+ "fields": {
355
+ "name": "owner",
356
+ "type": "string",
357
+ "in": "path",
358
+ "description": ""
359
+ }
360
+ },
361
+ "field_2": {
362
+ "field_type": "path",
363
+ "fields": {
364
+ "name": "repo",
365
+ "type": "string",
366
+ "in": "path",
367
+ "description": ""
368
+ }
369
+ },
370
+ "field_3": {
371
+ "field_type": "path",
372
+ "fields": {
373
+ "name": "release_id",
374
+ "type": "integer",
375
+ "in": "path",
376
+ "description": "release_id parameter"
377
+ }
378
+ },
379
+ "field_4": {
380
+ "field_type": "body",
381
+ "fields": {
382
+ "name": "tag_name",
383
+ "type": "string",
384
+ "in": "body",
385
+ "description": "The name of the tag."
386
+ }
387
+ },
388
+ "field_5": {
389
+ "field_type": "body",
390
+ "fields": {
391
+ "name": "target_commitish",
392
+ "type": "string",
393
+ "in": "body",
394
+ "description": "Specifies the commitish value that determines where the Git tag is created from. Can be any branch or commit SHA. Unused if the Git tag already exists. Default: the repository's default branch (usually master)."
395
+ }
396
+ },
397
+ "field_6": {
398
+ "field_type": "body",
399
+ "fields": {
400
+ "name": "name",
401
+ "type": "string",
402
+ "in": "body",
403
+ "description": "The name of the release."
404
+ }
405
+ },
406
+ "field_7": {
407
+ "field_type": "body",
408
+ "fields": {
409
+ "name": "body",
410
+ "type": "string",
411
+ "in": "body",
412
+ "description": "Text describing the contents of the tag."
413
+ }
414
+ },
415
+ "field_8": {
416
+ "field_type": "body",
417
+ "fields": {
418
+ "name": "draft",
419
+ "type": "boolean",
420
+ "in": "body",
421
+ "description": "true makes the release a draft, and false publishes the release."
422
+ }
423
+ },
424
+ "field_9": {
425
+ "field_type": "body",
426
+ "fields": {
427
+ "name": "prerelease",
428
+ "type": "boolean",
429
+ "in": "body",
430
+ "description": "true to identify the release as a prerelease, false to identify the release as a full release."
431
+ }
432
+ },
433
+ "field_10": {
434
+ "field_type": "body",
435
+ "fields": {
436
+ "name": "discussion_category_name",
437
+ "type": "string",
438
+ "in": "body",
439
+ "description": "If specified, a discussion of the specified category is created and linked to the release. The value must be a category that already exists in the repository. If there is already a discussion linked to the release, this parameter is ignored. For more information, see \"Managing categories for discussions in your repository.\""
440
+ }
441
+ }
442
+ },
443
+ {
444
+ "namespace_description": "Delete a release",
445
+ "method": "delete",
446
+ "endpoint": "/repos/{owner}/{repo}/releases/{release_id}",
447
+ "field_0": {
448
+ "field_type": "header",
449
+ "fields": {
450
+ "name": "accept",
451
+ "type": "string",
452
+ "in": "header",
453
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
454
+ }
455
+ },
456
+ "field_1": {
457
+ "field_type": "path",
458
+ "fields": {
459
+ "name": "owner",
460
+ "type": "string",
461
+ "in": "path",
462
+ "description": ""
463
+ }
464
+ },
465
+ "field_2": {
466
+ "field_type": "path",
467
+ "fields": {
468
+ "name": "repo",
469
+ "type": "string",
470
+ "in": "path",
471
+ "description": ""
472
+ }
473
+ },
474
+ "field_3": {
475
+ "field_type": "path",
476
+ "fields": {
477
+ "name": "release_id",
478
+ "type": "integer",
479
+ "in": "path",
480
+ "description": "release_id parameter"
481
+ }
482
+ }
483
+ },
484
+ {
485
+ "namespace_description": "Get a release asset",
486
+ "method": "get",
487
+ "endpoint": "/repos/{owner}/{repo}/releases/assets/{asset_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": "asset_id",
519
+ "type": "integer",
520
+ "in": "path",
521
+ "description": "asset_id parameter"
522
+ }
523
+ }
524
+ },
525
+ {
526
+ "namespace_description": "Update a release asset",
527
+ "method": "patch",
528
+ "endpoint": "/repos/{owner}/{repo}/releases/assets/{asset_id}",
529
+ "field_0": {
530
+ "field_type": "header",
531
+ "fields": {
532
+ "name": "accept",
533
+ "type": "string",
534
+ "in": "header",
535
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
536
+ }
537
+ },
538
+ "field_1": {
539
+ "field_type": "path",
540
+ "fields": {
541
+ "name": "owner",
542
+ "type": "string",
543
+ "in": "path",
544
+ "description": ""
545
+ }
546
+ },
547
+ "field_2": {
548
+ "field_type": "path",
549
+ "fields": {
550
+ "name": "repo",
551
+ "type": "string",
552
+ "in": "path",
553
+ "description": ""
554
+ }
555
+ },
556
+ "field_3": {
557
+ "field_type": "path",
558
+ "fields": {
559
+ "name": "asset_id",
560
+ "type": "integer",
561
+ "in": "path",
562
+ "description": "asset_id parameter"
563
+ }
564
+ },
565
+ "field_4": {
566
+ "field_type": "body",
567
+ "fields": {
568
+ "name": "name",
569
+ "type": "string",
570
+ "in": "body",
571
+ "description": "The file name of the asset."
572
+ }
573
+ },
574
+ "field_5": {
575
+ "field_type": "body",
576
+ "fields": {
577
+ "name": "label",
578
+ "type": "string",
579
+ "in": "body",
580
+ "description": "An alternate short description of the asset. Used in place of the filename."
581
+ }
582
+ },
583
+ "field_6": {
584
+ "field_type": "body",
585
+ "fields": {
586
+ "name": "state",
587
+ "type": "string",
588
+ "in": "body",
589
+ "description": ""
590
+ }
591
+ }
592
+ },
593
+ {
594
+ "namespace_description": "Delete a release asset",
595
+ "method": "delete",
596
+ "endpoint": "/repos/{owner}/{repo}/releases/assets/{asset_id}",
597
+ "field_0": {
598
+ "field_type": "header",
599
+ "fields": {
600
+ "name": "accept",
601
+ "type": "string",
602
+ "in": "header",
603
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
604
+ }
605
+ },
606
+ "field_1": {
607
+ "field_type": "path",
608
+ "fields": {
609
+ "name": "owner",
610
+ "type": "string",
611
+ "in": "path",
612
+ "description": ""
613
+ }
614
+ },
615
+ "field_2": {
616
+ "field_type": "path",
617
+ "fields": {
618
+ "name": "repo",
619
+ "type": "string",
620
+ "in": "path",
621
+ "description": ""
622
+ }
623
+ },
624
+ "field_3": {
625
+ "field_type": "path",
626
+ "fields": {
627
+ "name": "asset_id",
628
+ "type": "integer",
629
+ "in": "path",
630
+ "description": "asset_id parameter"
631
+ }
632
+ }
633
+ },
634
+ {
635
+ "namespace_description": "List release assets",
636
+ "method": "get",
637
+ "endpoint": "/repos/{owner}/{repo}/releases/{release_id}/assets",
638
+ "field_0": {
639
+ "field_type": "header",
640
+ "fields": {
641
+ "name": "accept",
642
+ "type": "string",
643
+ "in": "header",
644
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
645
+ }
646
+ },
647
+ "field_1": {
648
+ "field_type": "path",
649
+ "fields": {
650
+ "name": "owner",
651
+ "type": "string",
652
+ "in": "path",
653
+ "description": ""
654
+ }
655
+ },
656
+ "field_2": {
657
+ "field_type": "path",
658
+ "fields": {
659
+ "name": "repo",
660
+ "type": "string",
661
+ "in": "path",
662
+ "description": ""
663
+ }
664
+ },
665
+ "field_3": {
666
+ "field_type": "path",
667
+ "fields": {
668
+ "name": "release_id",
669
+ "type": "integer",
670
+ "in": "path",
671
+ "description": "release_id parameter"
672
+ }
673
+ },
674
+ "field_4": {
675
+ "field_type": "query",
676
+ "fields": {
677
+ "name": "per_page",
678
+ "type": "integer",
679
+ "in": "query",
680
+ "description": "Results per page (max 100)Default: 30"
681
+ }
682
+ },
683
+ "field_5": {
684
+ "field_type": "query",
685
+ "fields": {
686
+ "name": "page",
687
+ "type": "integer",
688
+ "in": "query",
689
+ "description": "Page number of the results to fetch.Default: 1"
690
+ }
691
+ }
692
+ },
693
+ {
694
+ "namespace_description": "Upload a release asset",
695
+ "method": "post",
696
+ "endpoint": "/repos/{owner}/{repo}/releases/{release_id}/assets",
697
+ "field_0": {
698
+ "field_type": "header",
699
+ "fields": {
700
+ "name": "accept",
701
+ "type": "string",
702
+ "in": "header",
703
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
704
+ }
705
+ },
706
+ "field_1": {
707
+ "field_type": "path",
708
+ "fields": {
709
+ "name": "owner",
710
+ "type": "string",
711
+ "in": "path",
712
+ "description": ""
713
+ }
714
+ },
715
+ "field_2": {
716
+ "field_type": "path",
717
+ "fields": {
718
+ "name": "repo",
719
+ "type": "string",
720
+ "in": "path",
721
+ "description": ""
722
+ }
723
+ },
724
+ "field_3": {
725
+ "field_type": "path",
726
+ "fields": {
727
+ "name": "release_id",
728
+ "type": "integer",
729
+ "in": "path",
730
+ "description": "release_id parameter"
731
+ }
732
+ },
733
+ "field_4": {
734
+ "field_type": "query",
735
+ "fields": {
736
+ "name": "name",
737
+ "type": "string",
738
+ "in": "query",
739
+ "description": ""
740
+ }
741
+ },
742
+ "field_5": {
743
+ "field_type": "query",
744
+ "fields": {
745
+ "name": "label",
746
+ "type": "string",
747
+ "in": "query",
748
+ "description": ""
749
+ }
750
+ }
751
+ }
752
+ ]
753
+ }