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,2314 @@
1
+ {
2
+ "result": [
3
+ {
4
+ "namespace_description": "List organization repositories",
5
+ "method": "get",
6
+ "endpoint": "/orgs/{org}/repos",
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": "query",
27
+ "fields": {
28
+ "name": "type",
29
+ "type": "string",
30
+ "in": "query",
31
+ "description": "Specifies the types of repositories you want returned. Can be one of all, public, private, forks, sources, member, internal. Note: For GitHub AE, can be one of all, private, forks, sources, member, internal. Default: all. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, type can also be internal. However, the internal value is not yet supported when a GitHub App calls this API with an installation access token."
32
+ }
33
+ },
34
+ "field_3": {
35
+ "field_type": "query",
36
+ "fields": {
37
+ "name": "sort",
38
+ "type": "string",
39
+ "in": "query",
40
+ "description": "Can be one of created, updated, pushed, full_name.Default: created"
41
+ }
42
+ },
43
+ "field_4": {
44
+ "field_type": "query",
45
+ "fields": {
46
+ "name": "direction",
47
+ "type": "string",
48
+ "in": "query",
49
+ "description": "Can be one of asc or desc. Default: when using full_name: asc, otherwise desc"
50
+ }
51
+ },
52
+ "field_5": {
53
+ "field_type": "query",
54
+ "fields": {
55
+ "name": "per_page",
56
+ "type": "integer",
57
+ "in": "query",
58
+ "description": "Results per page (max 100)Default: 30"
59
+ }
60
+ },
61
+ "field_6": {
62
+ "field_type": "query",
63
+ "fields": {
64
+ "name": "page",
65
+ "type": "integer",
66
+ "in": "query",
67
+ "description": "Page number of the results to fetch.Default: 1"
68
+ }
69
+ }
70
+ },
71
+ {
72
+ "namespace_description": "Create an organization repository",
73
+ "method": "post",
74
+ "endpoint": "/orgs/{org}/repos",
75
+ "field_0": {
76
+ "field_type": "header",
77
+ "fields": {
78
+ "name": "accept",
79
+ "type": "string",
80
+ "in": "header",
81
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
82
+ }
83
+ },
84
+ "field_1": {
85
+ "field_type": "path",
86
+ "fields": {
87
+ "name": "org",
88
+ "type": "string",
89
+ "in": "path",
90
+ "description": ""
91
+ }
92
+ },
93
+ "field_2": {
94
+ "field_type": "body",
95
+ "fields": {
96
+ "name": "name",
97
+ "type": "string",
98
+ "in": "body",
99
+ "description": "Required. The name of the repository."
100
+ }
101
+ },
102
+ "field_3": {
103
+ "field_type": "body",
104
+ "fields": {
105
+ "name": "description",
106
+ "type": "string",
107
+ "in": "body",
108
+ "description": "A short description of the repository."
109
+ }
110
+ },
111
+ "field_4": {
112
+ "field_type": "body",
113
+ "fields": {
114
+ "name": "homepage",
115
+ "type": "string",
116
+ "in": "body",
117
+ "description": "A URL with more information about the repository."
118
+ }
119
+ },
120
+ "field_5": {
121
+ "field_type": "body",
122
+ "fields": {
123
+ "name": "private",
124
+ "type": "boolean",
125
+ "in": "body",
126
+ "description": "Whether the repository is private."
127
+ }
128
+ },
129
+ "field_6": {
130
+ "field_type": "body",
131
+ "fields": {
132
+ "name": "visibility",
133
+ "type": "string",
134
+ "in": "body",
135
+ "description": "Can be public or private. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, visibility can also be internal. Note: For GitHub Enterprise Server and GitHub AE, this endpoint will only list repositories available to all users on the enterprise. For more information, see \"Creating an internal repository\" in the GitHub Help documentation."
136
+ }
137
+ },
138
+ "field_7": {
139
+ "field_type": "body",
140
+ "fields": {
141
+ "name": "has_issues",
142
+ "type": "boolean",
143
+ "in": "body",
144
+ "description": "Either true to enable issues for this repository or false to disable them.Default: "
145
+ }
146
+ },
147
+ "field_8": {
148
+ "field_type": "body",
149
+ "fields": {
150
+ "name": "has_projects",
151
+ "type": "boolean",
152
+ "in": "body",
153
+ "description": "Either true to enable projects for this repository or false to disable them. Note: If you're creating a repository in an organization that has disabled repository projects, the default is false, and if you pass true, the API returns an error.Default: "
154
+ }
155
+ },
156
+ "field_9": {
157
+ "field_type": "body",
158
+ "fields": {
159
+ "name": "has_wiki",
160
+ "type": "boolean",
161
+ "in": "body",
162
+ "description": "Either true to enable the wiki for this repository or false to disable it.Default: "
163
+ }
164
+ },
165
+ "field_10": {
166
+ "field_type": "body",
167
+ "fields": {
168
+ "name": "is_template",
169
+ "type": "boolean",
170
+ "in": "body",
171
+ "description": "Either true to make this repo available as a template repository or false to prevent it."
172
+ }
173
+ },
174
+ "field_11": {
175
+ "field_type": "body",
176
+ "fields": {
177
+ "name": "team_id",
178
+ "type": "integer",
179
+ "in": "body",
180
+ "description": "The id of the team that will be granted access to this repository. This is only valid when creating a repository in an organization."
181
+ }
182
+ },
183
+ "field_12": {
184
+ "field_type": "body",
185
+ "fields": {
186
+ "name": "auto_init",
187
+ "type": "boolean",
188
+ "in": "body",
189
+ "description": "Pass true to create an initial commit with empty README."
190
+ }
191
+ },
192
+ "field_13": {
193
+ "field_type": "body",
194
+ "fields": {
195
+ "name": "gitignore_template",
196
+ "type": "string",
197
+ "in": "body",
198
+ "description": "Desired language or platform .gitignore template to apply. Use the name of the template without the extension. For example, \"Haskell\"."
199
+ }
200
+ },
201
+ "field_14": {
202
+ "field_type": "body",
203
+ "fields": {
204
+ "name": "license_template",
205
+ "type": "string",
206
+ "in": "body",
207
+ "description": "Choose an open source license template that best suits your needs, and then use the license keyword as the license_template string. For example, \"mit\" or \"mpl-2.0\"."
208
+ }
209
+ },
210
+ "field_15": {
211
+ "field_type": "body",
212
+ "fields": {
213
+ "name": "allow_squash_merge",
214
+ "type": "boolean",
215
+ "in": "body",
216
+ "description": "Either true to allow squash-merging pull requests, or false to prevent squash-merging.Default: "
217
+ }
218
+ },
219
+ "field_16": {
220
+ "field_type": "body",
221
+ "fields": {
222
+ "name": "allow_merge_commit",
223
+ "type": "boolean",
224
+ "in": "body",
225
+ "description": "Either true to allow merging pull requests with a merge commit, or false to prevent merging pull requests with merge commits.Default: "
226
+ }
227
+ },
228
+ "field_17": {
229
+ "field_type": "body",
230
+ "fields": {
231
+ "name": "allow_rebase_merge",
232
+ "type": "boolean",
233
+ "in": "body",
234
+ "description": "Either true to allow rebase-merging pull requests, or false to prevent rebase-merging.Default: "
235
+ }
236
+ },
237
+ "field_18": {
238
+ "field_type": "body",
239
+ "fields": {
240
+ "name": "allow_auto_merge",
241
+ "type": "boolean",
242
+ "in": "body",
243
+ "description": "Either true to allow auto-merge on pull requests, or false to disallow auto-merge."
244
+ }
245
+ },
246
+ "field_19": {
247
+ "field_type": "body",
248
+ "fields": {
249
+ "name": "delete_branch_on_merge",
250
+ "type": "boolean",
251
+ "in": "body",
252
+ "description": "Either true to allow automatically deleting head branches when pull requests are merged, or false to prevent automatic deletion."
253
+ }
254
+ }
255
+ },
256
+ {
257
+ "namespace_description": "Get a repository",
258
+ "method": "get",
259
+ "endpoint": "/repos/{owner}/{repo}",
260
+ "field_0": {
261
+ "field_type": "header",
262
+ "fields": {
263
+ "name": "accept",
264
+ "type": "string",
265
+ "in": "header",
266
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
267
+ }
268
+ },
269
+ "field_1": {
270
+ "field_type": "path",
271
+ "fields": {
272
+ "name": "owner",
273
+ "type": "string",
274
+ "in": "path",
275
+ "description": ""
276
+ }
277
+ },
278
+ "field_2": {
279
+ "field_type": "path",
280
+ "fields": {
281
+ "name": "repo",
282
+ "type": "string",
283
+ "in": "path",
284
+ "description": ""
285
+ }
286
+ }
287
+ },
288
+ {
289
+ "namespace_description": "Update a repository",
290
+ "method": "patch",
291
+ "endpoint": "/repos/{owner}/{repo}",
292
+ "field_0": {
293
+ "field_type": "header",
294
+ "fields": {
295
+ "name": "accept",
296
+ "type": "string",
297
+ "in": "header",
298
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
299
+ }
300
+ },
301
+ "field_1": {
302
+ "field_type": "path",
303
+ "fields": {
304
+ "name": "owner",
305
+ "type": "string",
306
+ "in": "path",
307
+ "description": ""
308
+ }
309
+ },
310
+ "field_2": {
311
+ "field_type": "path",
312
+ "fields": {
313
+ "name": "repo",
314
+ "type": "string",
315
+ "in": "path",
316
+ "description": ""
317
+ }
318
+ },
319
+ "field_3": {
320
+ "field_type": "body",
321
+ "fields": {
322
+ "name": "name",
323
+ "type": "string",
324
+ "in": "body",
325
+ "description": "The name of the repository."
326
+ }
327
+ },
328
+ "field_4": {
329
+ "field_type": "body",
330
+ "fields": {
331
+ "name": "description",
332
+ "type": "string",
333
+ "in": "body",
334
+ "description": "A short description of the repository."
335
+ }
336
+ },
337
+ "field_5": {
338
+ "field_type": "body",
339
+ "fields": {
340
+ "name": "homepage",
341
+ "type": "string",
342
+ "in": "body",
343
+ "description": "A URL with more information about the repository."
344
+ }
345
+ },
346
+ "field_6": {
347
+ "field_type": "body",
348
+ "fields": {
349
+ "name": "private",
350
+ "type": "boolean",
351
+ "in": "body",
352
+ "description": "Either true to make the repository private or false to make it public. Default: false.\nNote: You will get a 422 error if the organization restricts changing repository visibility to organization owners and a non-owner tries to change the value of private. Note: You will get a 422 error if the organization restricts changing repository visibility to organization owners and a non-owner tries to change the value of private."
353
+ }
354
+ },
355
+ "field_7": {
356
+ "field_type": "body",
357
+ "fields": {
358
+ "name": "visibility",
359
+ "type": "string",
360
+ "in": "body",
361
+ "description": "Can be public or private. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, visibility can also be internal.\""
362
+ }
363
+ },
364
+ "field_8": {
365
+ "field_type": "body",
366
+ "fields": {
367
+ "name": "security_and_analysis",
368
+ "type": "object or null",
369
+ "in": "body",
370
+ "description": "Specify which security and analysis features to enable or disable. For example, to enable GitHub Advanced Security, use this data in the body of the PATCH request: {\"security_and_analysis\": {\"advanced_security\": {\"status\": \"enabled\"}}}. If you have admin permissions for a private repository covered by an Advanced Security license, you can check which security and analysis features are currently enabled by using a GET /repos/{owner}/{repo} request."
371
+ }
372
+ },
373
+ "field_9": {
374
+ "field_type": "body",
375
+ "fields": {
376
+ "name": "has_issues",
377
+ "type": "boolean",
378
+ "in": "body",
379
+ "description": "Either true to enable issues for this repository or false to disable them.Default: "
380
+ }
381
+ },
382
+ "field_10": {
383
+ "field_type": "body",
384
+ "fields": {
385
+ "name": "has_projects",
386
+ "type": "boolean",
387
+ "in": "body",
388
+ "description": "Either true to enable projects for this repository or false to disable them. Note: If you're creating a repository in an organization that has disabled repository projects, the default is false, and if you pass true, the API returns an error.Default: "
389
+ }
390
+ },
391
+ "field_11": {
392
+ "field_type": "body",
393
+ "fields": {
394
+ "name": "has_wiki",
395
+ "type": "boolean",
396
+ "in": "body",
397
+ "description": "Either true to enable the wiki for this repository or false to disable it.Default: "
398
+ }
399
+ },
400
+ "field_12": {
401
+ "field_type": "body",
402
+ "fields": {
403
+ "name": "is_template",
404
+ "type": "boolean",
405
+ "in": "body",
406
+ "description": "Either true to make this repo available as a template repository or false to prevent it."
407
+ }
408
+ },
409
+ "field_13": {
410
+ "field_type": "body",
411
+ "fields": {
412
+ "name": "default_branch",
413
+ "type": "string",
414
+ "in": "body",
415
+ "description": "Updates the default branch for this repository."
416
+ }
417
+ },
418
+ "field_14": {
419
+ "field_type": "body",
420
+ "fields": {
421
+ "name": "allow_squash_merge",
422
+ "type": "boolean",
423
+ "in": "body",
424
+ "description": "Either true to allow squash-merging pull requests, or false to prevent squash-merging.Default: "
425
+ }
426
+ },
427
+ "field_15": {
428
+ "field_type": "body",
429
+ "fields": {
430
+ "name": "allow_merge_commit",
431
+ "type": "boolean",
432
+ "in": "body",
433
+ "description": "Either true to allow merging pull requests with a merge commit, or false to prevent merging pull requests with merge commits.Default: "
434
+ }
435
+ },
436
+ "field_16": {
437
+ "field_type": "body",
438
+ "fields": {
439
+ "name": "allow_rebase_merge",
440
+ "type": "boolean",
441
+ "in": "body",
442
+ "description": "Either true to allow rebase-merging pull requests, or false to prevent rebase-merging.Default: "
443
+ }
444
+ },
445
+ "field_17": {
446
+ "field_type": "body",
447
+ "fields": {
448
+ "name": "allow_auto_merge",
449
+ "type": "boolean",
450
+ "in": "body",
451
+ "description": "Either true to allow auto-merge on pull requests, or false to disallow auto-merge."
452
+ }
453
+ },
454
+ "field_18": {
455
+ "field_type": "body",
456
+ "fields": {
457
+ "name": "delete_branch_on_merge",
458
+ "type": "boolean",
459
+ "in": "body",
460
+ "description": "Either true to allow automatically deleting head branches when pull requests are merged, or false to prevent automatic deletion."
461
+ }
462
+ },
463
+ "field_19": {
464
+ "field_type": "body",
465
+ "fields": {
466
+ "name": "archived",
467
+ "type": "boolean",
468
+ "in": "body",
469
+ "description": "true to archive this repository. Note: You cannot unarchive repositories through the API."
470
+ }
471
+ },
472
+ "field_20": {
473
+ "field_type": "body",
474
+ "fields": {
475
+ "name": "allow_forking",
476
+ "type": "boolean",
477
+ "in": "body",
478
+ "description": "Either true to allow private forks, or false to prevent private forks."
479
+ }
480
+ }
481
+ },
482
+ {
483
+ "namespace_description": "Delete a repository",
484
+ "method": "delete",
485
+ "endpoint": "/repos/{owner}/{repo}",
486
+ "field_0": {
487
+ "field_type": "header",
488
+ "fields": {
489
+ "name": "accept",
490
+ "type": "string",
491
+ "in": "header",
492
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
493
+ }
494
+ },
495
+ "field_1": {
496
+ "field_type": "path",
497
+ "fields": {
498
+ "name": "owner",
499
+ "type": "string",
500
+ "in": "path",
501
+ "description": ""
502
+ }
503
+ },
504
+ "field_2": {
505
+ "field_type": "path",
506
+ "fields": {
507
+ "name": "repo",
508
+ "type": "string",
509
+ "in": "path",
510
+ "description": ""
511
+ }
512
+ }
513
+ },
514
+ {
515
+ "namespace_description": "Enable automated security fixes",
516
+ "method": "put",
517
+ "endpoint": "/repos/{owner}/{repo}/automated-security-fixes",
518
+ "field_0": {
519
+ "field_type": "header",
520
+ "fields": {
521
+ "name": "accept",
522
+ "type": "string",
523
+ "in": "header",
524
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
525
+ }
526
+ },
527
+ "field_1": {
528
+ "field_type": "path",
529
+ "fields": {
530
+ "name": "owner",
531
+ "type": "string",
532
+ "in": "path",
533
+ "description": ""
534
+ }
535
+ },
536
+ "field_2": {
537
+ "field_type": "path",
538
+ "fields": {
539
+ "name": "repo",
540
+ "type": "string",
541
+ "in": "path",
542
+ "description": ""
543
+ }
544
+ }
545
+ },
546
+ {
547
+ "namespace_description": "Disable automated security fixes",
548
+ "method": "delete",
549
+ "endpoint": "/repos/{owner}/{repo}/automated-security-fixes",
550
+ "field_0": {
551
+ "field_type": "header",
552
+ "fields": {
553
+ "name": "accept",
554
+ "type": "string",
555
+ "in": "header",
556
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
557
+ }
558
+ },
559
+ "field_1": {
560
+ "field_type": "path",
561
+ "fields": {
562
+ "name": "owner",
563
+ "type": "string",
564
+ "in": "path",
565
+ "description": ""
566
+ }
567
+ },
568
+ "field_2": {
569
+ "field_type": "path",
570
+ "fields": {
571
+ "name": "repo",
572
+ "type": "string",
573
+ "in": "path",
574
+ "description": ""
575
+ }
576
+ }
577
+ },
578
+ {
579
+ "namespace_description": "List CODEOWNERS errors",
580
+ "method": "get",
581
+ "endpoint": "/repos/{owner}/{repo}/codeowners/errors",
582
+ "field_0": {
583
+ "field_type": "header",
584
+ "fields": {
585
+ "name": "accept",
586
+ "type": "string",
587
+ "in": "header",
588
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
589
+ }
590
+ },
591
+ "field_1": {
592
+ "field_type": "path",
593
+ "fields": {
594
+ "name": "owner",
595
+ "type": "string",
596
+ "in": "path",
597
+ "description": ""
598
+ }
599
+ },
600
+ "field_2": {
601
+ "field_type": "path",
602
+ "fields": {
603
+ "name": "repo",
604
+ "type": "string",
605
+ "in": "path",
606
+ "description": ""
607
+ }
608
+ },
609
+ "field_3": {
610
+ "field_type": "query",
611
+ "fields": {
612
+ "name": "ref",
613
+ "type": "string",
614
+ "in": "query",
615
+ "description": "A branch, tag or commit name used to determine which version of the CODEOWNERS file to use. Default: the repository's default branch (e.g. main)"
616
+ }
617
+ }
618
+ },
619
+ {
620
+ "namespace_description": "List repository contributors",
621
+ "method": "get",
622
+ "endpoint": "/repos/{owner}/{repo}/contributors",
623
+ "field_0": {
624
+ "field_type": "header",
625
+ "fields": {
626
+ "name": "accept",
627
+ "type": "string",
628
+ "in": "header",
629
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
630
+ }
631
+ },
632
+ "field_1": {
633
+ "field_type": "path",
634
+ "fields": {
635
+ "name": "owner",
636
+ "type": "string",
637
+ "in": "path",
638
+ "description": ""
639
+ }
640
+ },
641
+ "field_2": {
642
+ "field_type": "path",
643
+ "fields": {
644
+ "name": "repo",
645
+ "type": "string",
646
+ "in": "path",
647
+ "description": ""
648
+ }
649
+ },
650
+ "field_3": {
651
+ "field_type": "query",
652
+ "fields": {
653
+ "name": "anon",
654
+ "type": "string",
655
+ "in": "query",
656
+ "description": "Set to 1 or true to include anonymous contributors in results."
657
+ }
658
+ },
659
+ "field_4": {
660
+ "field_type": "query",
661
+ "fields": {
662
+ "name": "per_page",
663
+ "type": "integer",
664
+ "in": "query",
665
+ "description": "Results per page (max 100)Default: 30"
666
+ }
667
+ },
668
+ "field_5": {
669
+ "field_type": "query",
670
+ "fields": {
671
+ "name": "page",
672
+ "type": "integer",
673
+ "in": "query",
674
+ "description": "Page number of the results to fetch.Default: 1"
675
+ }
676
+ }
677
+ },
678
+ {
679
+ "namespace_description": "Create a repository dispatch event",
680
+ "method": "post",
681
+ "endpoint": "/repos/{owner}/{repo}/dispatches",
682
+ "field_0": {
683
+ "field_type": "header",
684
+ "fields": {
685
+ "name": "accept",
686
+ "type": "string",
687
+ "in": "header",
688
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
689
+ }
690
+ },
691
+ "field_1": {
692
+ "field_type": "path",
693
+ "fields": {
694
+ "name": "owner",
695
+ "type": "string",
696
+ "in": "path",
697
+ "description": ""
698
+ }
699
+ },
700
+ "field_2": {
701
+ "field_type": "path",
702
+ "fields": {
703
+ "name": "repo",
704
+ "type": "string",
705
+ "in": "path",
706
+ "description": ""
707
+ }
708
+ },
709
+ "field_3": {
710
+ "field_type": "body",
711
+ "fields": {
712
+ "name": "event_type",
713
+ "type": "string",
714
+ "in": "body",
715
+ "description": "Required. A custom webhook event name."
716
+ }
717
+ },
718
+ "field_4": {
719
+ "field_type": "body",
720
+ "fields": {
721
+ "name": "client_payload",
722
+ "type": "object",
723
+ "in": "body",
724
+ "description": "JSON payload with extra information about the webhook event that your action or worklow may use."
725
+ }
726
+ }
727
+ },
728
+ {
729
+ "namespace_description": "List repository languages",
730
+ "method": "get",
731
+ "endpoint": "/repos/{owner}/{repo}/languages",
732
+ "field_0": {
733
+ "field_type": "header",
734
+ "fields": {
735
+ "name": "accept",
736
+ "type": "string",
737
+ "in": "header",
738
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
739
+ }
740
+ },
741
+ "field_1": {
742
+ "field_type": "path",
743
+ "fields": {
744
+ "name": "owner",
745
+ "type": "string",
746
+ "in": "path",
747
+ "description": ""
748
+ }
749
+ },
750
+ "field_2": {
751
+ "field_type": "path",
752
+ "fields": {
753
+ "name": "repo",
754
+ "type": "string",
755
+ "in": "path",
756
+ "description": ""
757
+ }
758
+ }
759
+ },
760
+ {
761
+ "namespace_description": "List repository tags",
762
+ "method": "get",
763
+ "endpoint": "/repos/{owner}/{repo}/tags",
764
+ "field_0": {
765
+ "field_type": "header",
766
+ "fields": {
767
+ "name": "accept",
768
+ "type": "string",
769
+ "in": "header",
770
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
771
+ }
772
+ },
773
+ "field_1": {
774
+ "field_type": "path",
775
+ "fields": {
776
+ "name": "owner",
777
+ "type": "string",
778
+ "in": "path",
779
+ "description": ""
780
+ }
781
+ },
782
+ "field_2": {
783
+ "field_type": "path",
784
+ "fields": {
785
+ "name": "repo",
786
+ "type": "string",
787
+ "in": "path",
788
+ "description": ""
789
+ }
790
+ },
791
+ "field_3": {
792
+ "field_type": "query",
793
+ "fields": {
794
+ "name": "per_page",
795
+ "type": "integer",
796
+ "in": "query",
797
+ "description": "Results per page (max 100)Default: 30"
798
+ }
799
+ },
800
+ "field_4": {
801
+ "field_type": "query",
802
+ "fields": {
803
+ "name": "page",
804
+ "type": "integer",
805
+ "in": "query",
806
+ "description": "Page number of the results to fetch.Default: 1"
807
+ }
808
+ }
809
+ },
810
+ {
811
+ "namespace_description": "List repository teams",
812
+ "method": "get",
813
+ "endpoint": "/repos/{owner}/{repo}/teams",
814
+ "field_0": {
815
+ "field_type": "header",
816
+ "fields": {
817
+ "name": "accept",
818
+ "type": "string",
819
+ "in": "header",
820
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
821
+ }
822
+ },
823
+ "field_1": {
824
+ "field_type": "path",
825
+ "fields": {
826
+ "name": "owner",
827
+ "type": "string",
828
+ "in": "path",
829
+ "description": ""
830
+ }
831
+ },
832
+ "field_2": {
833
+ "field_type": "path",
834
+ "fields": {
835
+ "name": "repo",
836
+ "type": "string",
837
+ "in": "path",
838
+ "description": ""
839
+ }
840
+ },
841
+ "field_3": {
842
+ "field_type": "query",
843
+ "fields": {
844
+ "name": "per_page",
845
+ "type": "integer",
846
+ "in": "query",
847
+ "description": "Results per page (max 100)Default: 30"
848
+ }
849
+ },
850
+ "field_4": {
851
+ "field_type": "query",
852
+ "fields": {
853
+ "name": "page",
854
+ "type": "integer",
855
+ "in": "query",
856
+ "description": "Page number of the results to fetch.Default: 1"
857
+ }
858
+ }
859
+ },
860
+ {
861
+ "namespace_description": "Get all repository topics",
862
+ "method": "get",
863
+ "endpoint": "/repos/{owner}/{repo}/topics",
864
+ "field_0": {
865
+ "field_type": "header",
866
+ "fields": {
867
+ "name": "accept",
868
+ "type": "string",
869
+ "in": "header",
870
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
871
+ }
872
+ },
873
+ "field_1": {
874
+ "field_type": "path",
875
+ "fields": {
876
+ "name": "owner",
877
+ "type": "string",
878
+ "in": "path",
879
+ "description": ""
880
+ }
881
+ },
882
+ "field_2": {
883
+ "field_type": "path",
884
+ "fields": {
885
+ "name": "repo",
886
+ "type": "string",
887
+ "in": "path",
888
+ "description": ""
889
+ }
890
+ },
891
+ "field_3": {
892
+ "field_type": "query",
893
+ "fields": {
894
+ "name": "page",
895
+ "type": "integer",
896
+ "in": "query",
897
+ "description": "Page number of the results to fetch.Default: 1"
898
+ }
899
+ },
900
+ "field_4": {
901
+ "field_type": "query",
902
+ "fields": {
903
+ "name": "per_page",
904
+ "type": "integer",
905
+ "in": "query",
906
+ "description": "Results per page (max 100)Default: 30"
907
+ }
908
+ }
909
+ },
910
+ {
911
+ "namespace_description": "Replace all repository topics",
912
+ "method": "put",
913
+ "endpoint": "/repos/{owner}/{repo}/topics",
914
+ "field_0": {
915
+ "field_type": "header",
916
+ "fields": {
917
+ "name": "accept",
918
+ "type": "string",
919
+ "in": "header",
920
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
921
+ }
922
+ },
923
+ "field_1": {
924
+ "field_type": "path",
925
+ "fields": {
926
+ "name": "owner",
927
+ "type": "string",
928
+ "in": "path",
929
+ "description": ""
930
+ }
931
+ },
932
+ "field_2": {
933
+ "field_type": "path",
934
+ "fields": {
935
+ "name": "repo",
936
+ "type": "string",
937
+ "in": "path",
938
+ "description": ""
939
+ }
940
+ },
941
+ "field_3": {
942
+ "field_type": "body",
943
+ "fields": {
944
+ "name": "names",
945
+ "type": "array of strings",
946
+ "in": "body",
947
+ "description": "Required. An array of topics to add to the repository. Pass one or more topics to replace the set of existing topics. Send an empty array ([]) to clear all topics from the repository. Note: Topic names cannot contain uppercase letters."
948
+ }
949
+ }
950
+ },
951
+ {
952
+ "namespace_description": "Transfer a repository",
953
+ "method": "post",
954
+ "endpoint": "/repos/{owner}/{repo}/transfer",
955
+ "field_0": {
956
+ "field_type": "header",
957
+ "fields": {
958
+ "name": "accept",
959
+ "type": "string",
960
+ "in": "header",
961
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
962
+ }
963
+ },
964
+ "field_1": {
965
+ "field_type": "path",
966
+ "fields": {
967
+ "name": "owner",
968
+ "type": "string",
969
+ "in": "path",
970
+ "description": ""
971
+ }
972
+ },
973
+ "field_2": {
974
+ "field_type": "path",
975
+ "fields": {
976
+ "name": "repo",
977
+ "type": "string",
978
+ "in": "path",
979
+ "description": ""
980
+ }
981
+ },
982
+ "field_3": {
983
+ "field_type": "body",
984
+ "fields": {
985
+ "name": "new_owner",
986
+ "type": "string",
987
+ "in": "body",
988
+ "description": "Required. The username or organization name the repository will be transferred to."
989
+ }
990
+ },
991
+ "field_4": {
992
+ "field_type": "body",
993
+ "fields": {
994
+ "name": "team_ids",
995
+ "type": "array of integers",
996
+ "in": "body",
997
+ "description": "ID of the team or teams to add to the repository. Teams can only be added to organization-owned repositories."
998
+ }
999
+ }
1000
+ },
1001
+ {
1002
+ "namespace_description": "Check if vulnerability alerts are enabled for a repository",
1003
+ "method": "get",
1004
+ "endpoint": "/repos/{owner}/{repo}/vulnerability-alerts",
1005
+ "field_0": {
1006
+ "field_type": "header",
1007
+ "fields": {
1008
+ "name": "accept",
1009
+ "type": "string",
1010
+ "in": "header",
1011
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
1012
+ }
1013
+ },
1014
+ "field_1": {
1015
+ "field_type": "path",
1016
+ "fields": {
1017
+ "name": "owner",
1018
+ "type": "string",
1019
+ "in": "path",
1020
+ "description": ""
1021
+ }
1022
+ },
1023
+ "field_2": {
1024
+ "field_type": "path",
1025
+ "fields": {
1026
+ "name": "repo",
1027
+ "type": "string",
1028
+ "in": "path",
1029
+ "description": ""
1030
+ }
1031
+ }
1032
+ },
1033
+ {
1034
+ "namespace_description": "Enable vulnerability alerts",
1035
+ "method": "put",
1036
+ "endpoint": "/repos/{owner}/{repo}/vulnerability-alerts",
1037
+ "field_0": {
1038
+ "field_type": "header",
1039
+ "fields": {
1040
+ "name": "accept",
1041
+ "type": "string",
1042
+ "in": "header",
1043
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
1044
+ }
1045
+ },
1046
+ "field_1": {
1047
+ "field_type": "path",
1048
+ "fields": {
1049
+ "name": "owner",
1050
+ "type": "string",
1051
+ "in": "path",
1052
+ "description": ""
1053
+ }
1054
+ },
1055
+ "field_2": {
1056
+ "field_type": "path",
1057
+ "fields": {
1058
+ "name": "repo",
1059
+ "type": "string",
1060
+ "in": "path",
1061
+ "description": ""
1062
+ }
1063
+ }
1064
+ },
1065
+ {
1066
+ "namespace_description": "Disable vulnerability alerts",
1067
+ "method": "delete",
1068
+ "endpoint": "/repos/{owner}/{repo}/vulnerability-alerts",
1069
+ "field_0": {
1070
+ "field_type": "header",
1071
+ "fields": {
1072
+ "name": "accept",
1073
+ "type": "string",
1074
+ "in": "header",
1075
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
1076
+ }
1077
+ },
1078
+ "field_1": {
1079
+ "field_type": "path",
1080
+ "fields": {
1081
+ "name": "owner",
1082
+ "type": "string",
1083
+ "in": "path",
1084
+ "description": ""
1085
+ }
1086
+ },
1087
+ "field_2": {
1088
+ "field_type": "path",
1089
+ "fields": {
1090
+ "name": "repo",
1091
+ "type": "string",
1092
+ "in": "path",
1093
+ "description": ""
1094
+ }
1095
+ }
1096
+ },
1097
+ {
1098
+ "namespace_description": "Create a repository using a template",
1099
+ "method": "post",
1100
+ "endpoint": "/repos/{template_owner}/{template_repo}/generate",
1101
+ "field_0": {
1102
+ "field_type": "header",
1103
+ "fields": {
1104
+ "name": "accept",
1105
+ "type": "string",
1106
+ "in": "header",
1107
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
1108
+ }
1109
+ },
1110
+ "field_1": {
1111
+ "field_type": "path",
1112
+ "fields": {
1113
+ "name": "template_owner",
1114
+ "type": "string",
1115
+ "in": "path",
1116
+ "description": ""
1117
+ }
1118
+ },
1119
+ "field_2": {
1120
+ "field_type": "path",
1121
+ "fields": {
1122
+ "name": "template_repo",
1123
+ "type": "string",
1124
+ "in": "path",
1125
+ "description": ""
1126
+ }
1127
+ },
1128
+ "field_3": {
1129
+ "field_type": "body",
1130
+ "fields": {
1131
+ "name": "owner",
1132
+ "type": "string",
1133
+ "in": "body",
1134
+ "description": "The organization or person who will own the new repository. To create a new repository in an organization, the authenticated user must be a member of the specified organization."
1135
+ }
1136
+ },
1137
+ "field_4": {
1138
+ "field_type": "body",
1139
+ "fields": {
1140
+ "name": "name",
1141
+ "type": "string",
1142
+ "in": "body",
1143
+ "description": "Required. The name of the new repository."
1144
+ }
1145
+ },
1146
+ "field_5": {
1147
+ "field_type": "body",
1148
+ "fields": {
1149
+ "name": "description",
1150
+ "type": "string",
1151
+ "in": "body",
1152
+ "description": "A short description of the new repository."
1153
+ }
1154
+ },
1155
+ "field_6": {
1156
+ "field_type": "body",
1157
+ "fields": {
1158
+ "name": "include_all_branches",
1159
+ "type": "boolean",
1160
+ "in": "body",
1161
+ "description": "Set to true to include the directory structure and files from all branches in the template repository, and not just the default branch. Default: false."
1162
+ }
1163
+ },
1164
+ "field_7": {
1165
+ "field_type": "body",
1166
+ "fields": {
1167
+ "name": "private",
1168
+ "type": "boolean",
1169
+ "in": "body",
1170
+ "description": "Either true to create a new private repository or false to create a new public one."
1171
+ }
1172
+ }
1173
+ },
1174
+ {
1175
+ "namespace_description": "List public repositories",
1176
+ "method": "get",
1177
+ "endpoint": "/repositories",
1178
+ "field_0": {
1179
+ "field_type": "header",
1180
+ "fields": {
1181
+ "name": "accept",
1182
+ "type": "string",
1183
+ "in": "header",
1184
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
1185
+ }
1186
+ },
1187
+ "field_1": {
1188
+ "field_type": "query",
1189
+ "fields": {
1190
+ "name": "since",
1191
+ "type": "integer",
1192
+ "in": "query",
1193
+ "description": "A repository ID. Only return repositories with an ID greater than this ID."
1194
+ }
1195
+ }
1196
+ },
1197
+ {
1198
+ "namespace_description": "List repositories for the authenticated user",
1199
+ "method": "get",
1200
+ "endpoint": "/user/repos",
1201
+ "field_0": {
1202
+ "field_type": "header",
1203
+ "fields": {
1204
+ "name": "accept",
1205
+ "type": "string",
1206
+ "in": "header",
1207
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
1208
+ }
1209
+ },
1210
+ "field_1": {
1211
+ "field_type": "query",
1212
+ "fields": {
1213
+ "name": "visibility",
1214
+ "type": "string",
1215
+ "in": "query",
1216
+ "description": "Can be one of all, public, or private. Note: For GitHub AE, can be one of all, internal, or private.Default: all"
1217
+ }
1218
+ },
1219
+ "field_2": {
1220
+ "field_type": "query",
1221
+ "fields": {
1222
+ "name": "affiliation",
1223
+ "type": "string",
1224
+ "in": "query",
1225
+ "description": "Comma-separated list of values. Can include:\n* owner: Repositories that are owned by the authenticated user.\n* collaborator: Repositories that the user has been added to as a collaborator.\n* organization_member: Repositories that the user has access to through being a member of an organization. This includes every repository on every team that the user is on.Default: owner,collaborator,organization_member"
1226
+ }
1227
+ },
1228
+ "field_3": {
1229
+ "field_type": "query",
1230
+ "fields": {
1231
+ "name": "type",
1232
+ "type": "string",
1233
+ "in": "query",
1234
+ "description": "Can be one of all, owner, public, private, member. Note: For GitHub AE, can be one of all, owner, internal, private, member. Default: all \nWill cause a 422 error if used in the same request as visibility or affiliation. Will cause a 422 error if used in the same request as visibility or affiliation.Default: all"
1235
+ }
1236
+ },
1237
+ "field_4": {
1238
+ "field_type": "query",
1239
+ "fields": {
1240
+ "name": "sort",
1241
+ "type": "string",
1242
+ "in": "query",
1243
+ "description": "Can be one of created, updated, pushed, full_name.Default: full_name"
1244
+ }
1245
+ },
1246
+ "field_5": {
1247
+ "field_type": "query",
1248
+ "fields": {
1249
+ "name": "direction",
1250
+ "type": "string",
1251
+ "in": "query",
1252
+ "description": "Can be one of asc or desc. Default: asc when using full_name, otherwise desc"
1253
+ }
1254
+ },
1255
+ "field_6": {
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_7": {
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
+ "field_8": {
1274
+ "field_type": "query",
1275
+ "fields": {
1276
+ "name": "since",
1277
+ "type": "string",
1278
+ "in": "query",
1279
+ "description": "Only show notifications updated after the given time. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ."
1280
+ }
1281
+ },
1282
+ "field_9": {
1283
+ "field_type": "query",
1284
+ "fields": {
1285
+ "name": "before",
1286
+ "type": "string",
1287
+ "in": "query",
1288
+ "description": "Only show notifications updated before the given time. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ."
1289
+ }
1290
+ }
1291
+ },
1292
+ {
1293
+ "namespace_description": "Create a repository for the authenticated user",
1294
+ "method": "post",
1295
+ "endpoint": "/user/repos",
1296
+ "field_0": {
1297
+ "field_type": "header",
1298
+ "fields": {
1299
+ "name": "accept",
1300
+ "type": "string",
1301
+ "in": "header",
1302
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
1303
+ }
1304
+ },
1305
+ "field_1": {
1306
+ "field_type": "body",
1307
+ "fields": {
1308
+ "name": "name",
1309
+ "type": "string",
1310
+ "in": "body",
1311
+ "description": "Required. The name of the repository."
1312
+ }
1313
+ },
1314
+ "field_2": {
1315
+ "field_type": "body",
1316
+ "fields": {
1317
+ "name": "description",
1318
+ "type": "string",
1319
+ "in": "body",
1320
+ "description": "A short description of the repository."
1321
+ }
1322
+ },
1323
+ "field_3": {
1324
+ "field_type": "body",
1325
+ "fields": {
1326
+ "name": "homepage",
1327
+ "type": "string",
1328
+ "in": "body",
1329
+ "description": "A URL with more information about the repository."
1330
+ }
1331
+ },
1332
+ "field_4": {
1333
+ "field_type": "body",
1334
+ "fields": {
1335
+ "name": "private",
1336
+ "type": "boolean",
1337
+ "in": "body",
1338
+ "description": "Whether the repository is private."
1339
+ }
1340
+ },
1341
+ "field_5": {
1342
+ "field_type": "body",
1343
+ "fields": {
1344
+ "name": "has_issues",
1345
+ "type": "boolean",
1346
+ "in": "body",
1347
+ "description": "Whether issues are enabled.Default: "
1348
+ }
1349
+ },
1350
+ "field_6": {
1351
+ "field_type": "body",
1352
+ "fields": {
1353
+ "name": "has_projects",
1354
+ "type": "boolean",
1355
+ "in": "body",
1356
+ "description": "Whether projects are enabled.Default: "
1357
+ }
1358
+ },
1359
+ "field_7": {
1360
+ "field_type": "body",
1361
+ "fields": {
1362
+ "name": "has_wiki",
1363
+ "type": "boolean",
1364
+ "in": "body",
1365
+ "description": "Whether the wiki is enabled.Default: "
1366
+ }
1367
+ },
1368
+ "field_8": {
1369
+ "field_type": "body",
1370
+ "fields": {
1371
+ "name": "team_id",
1372
+ "type": "integer",
1373
+ "in": "body",
1374
+ "description": "The id of the team that will be granted access to this repository. This is only valid when creating a repository in an organization."
1375
+ }
1376
+ },
1377
+ "field_9": {
1378
+ "field_type": "body",
1379
+ "fields": {
1380
+ "name": "auto_init",
1381
+ "type": "boolean",
1382
+ "in": "body",
1383
+ "description": "Whether the repository is initialized with a minimal README."
1384
+ }
1385
+ },
1386
+ "field_10": {
1387
+ "field_type": "body",
1388
+ "fields": {
1389
+ "name": "gitignore_template",
1390
+ "type": "string",
1391
+ "in": "body",
1392
+ "description": "The desired language or platform to apply to the .gitignore."
1393
+ }
1394
+ },
1395
+ "field_11": {
1396
+ "field_type": "body",
1397
+ "fields": {
1398
+ "name": "license_template",
1399
+ "type": "string",
1400
+ "in": "body",
1401
+ "description": "The license keyword of the open source license for this repository."
1402
+ }
1403
+ },
1404
+ "field_12": {
1405
+ "field_type": "body",
1406
+ "fields": {
1407
+ "name": "allow_squash_merge",
1408
+ "type": "boolean",
1409
+ "in": "body",
1410
+ "description": "Whether to allow squash merges for pull requests.Default: "
1411
+ }
1412
+ },
1413
+ "field_13": {
1414
+ "field_type": "body",
1415
+ "fields": {
1416
+ "name": "allow_merge_commit",
1417
+ "type": "boolean",
1418
+ "in": "body",
1419
+ "description": "Whether to allow merge commits for pull requests.Default: "
1420
+ }
1421
+ },
1422
+ "field_14": {
1423
+ "field_type": "body",
1424
+ "fields": {
1425
+ "name": "allow_rebase_merge",
1426
+ "type": "boolean",
1427
+ "in": "body",
1428
+ "description": "Whether to allow rebase merges for pull requests.Default: "
1429
+ }
1430
+ },
1431
+ "field_15": {
1432
+ "field_type": "body",
1433
+ "fields": {
1434
+ "name": "allow_auto_merge",
1435
+ "type": "boolean",
1436
+ "in": "body",
1437
+ "description": "Whether to allow Auto-merge to be used on pull requests."
1438
+ }
1439
+ },
1440
+ "field_16": {
1441
+ "field_type": "body",
1442
+ "fields": {
1443
+ "name": "delete_branch_on_merge",
1444
+ "type": "boolean",
1445
+ "in": "body",
1446
+ "description": "Whether to delete head branches when pull requests are merged"
1447
+ }
1448
+ },
1449
+ "field_17": {
1450
+ "field_type": "body",
1451
+ "fields": {
1452
+ "name": "has_downloads",
1453
+ "type": "boolean",
1454
+ "in": "body",
1455
+ "description": "Whether downloads are enabled.Default: "
1456
+ }
1457
+ },
1458
+ "field_18": {
1459
+ "field_type": "body",
1460
+ "fields": {
1461
+ "name": "is_template",
1462
+ "type": "boolean",
1463
+ "in": "body",
1464
+ "description": "Whether this repository acts as a template that can be used to generate new repositories."
1465
+ }
1466
+ }
1467
+ },
1468
+ {
1469
+ "namespace_description": "List repositories for a user",
1470
+ "method": "get",
1471
+ "endpoint": "/users/{username}/repos",
1472
+ "field_0": {
1473
+ "field_type": "header",
1474
+ "fields": {
1475
+ "name": "accept",
1476
+ "type": "string",
1477
+ "in": "header",
1478
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
1479
+ }
1480
+ },
1481
+ "field_1": {
1482
+ "field_type": "path",
1483
+ "fields": {
1484
+ "name": "username",
1485
+ "type": "string",
1486
+ "in": "path",
1487
+ "description": ""
1488
+ }
1489
+ },
1490
+ "field_2": {
1491
+ "field_type": "query",
1492
+ "fields": {
1493
+ "name": "type",
1494
+ "type": "string",
1495
+ "in": "query",
1496
+ "description": "Can be one of all, owner, member.Default: owner"
1497
+ }
1498
+ },
1499
+ "field_3": {
1500
+ "field_type": "query",
1501
+ "fields": {
1502
+ "name": "sort",
1503
+ "type": "string",
1504
+ "in": "query",
1505
+ "description": "Can be one of created, updated, pushed, full_name.Default: full_name"
1506
+ }
1507
+ },
1508
+ "field_4": {
1509
+ "field_type": "query",
1510
+ "fields": {
1511
+ "name": "direction",
1512
+ "type": "string",
1513
+ "in": "query",
1514
+ "description": "Can be one of asc or desc. Default: asc when using full_name, otherwise desc"
1515
+ }
1516
+ },
1517
+ "field_5": {
1518
+ "field_type": "query",
1519
+ "fields": {
1520
+ "name": "per_page",
1521
+ "type": "integer",
1522
+ "in": "query",
1523
+ "description": "Results per page (max 100)Default: 30"
1524
+ }
1525
+ },
1526
+ "field_6": {
1527
+ "field_type": "query",
1528
+ "fields": {
1529
+ "name": "page",
1530
+ "type": "integer",
1531
+ "in": "query",
1532
+ "description": "Page number of the results to fetch.Default: 1"
1533
+ }
1534
+ }
1535
+ },
1536
+ {
1537
+ "namespace_description": "List all autolinks of a repository",
1538
+ "method": "get",
1539
+ "endpoint": "/repos/{owner}/{repo}/autolinks",
1540
+ "field_0": {
1541
+ "field_type": "header",
1542
+ "fields": {
1543
+ "name": "accept",
1544
+ "type": "string",
1545
+ "in": "header",
1546
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
1547
+ }
1548
+ },
1549
+ "field_1": {
1550
+ "field_type": "path",
1551
+ "fields": {
1552
+ "name": "owner",
1553
+ "type": "string",
1554
+ "in": "path",
1555
+ "description": ""
1556
+ }
1557
+ },
1558
+ "field_2": {
1559
+ "field_type": "path",
1560
+ "fields": {
1561
+ "name": "repo",
1562
+ "type": "string",
1563
+ "in": "path",
1564
+ "description": ""
1565
+ }
1566
+ },
1567
+ "field_3": {
1568
+ "field_type": "query",
1569
+ "fields": {
1570
+ "name": "page",
1571
+ "type": "integer",
1572
+ "in": "query",
1573
+ "description": "Page number of the results to fetch.Default: 1"
1574
+ }
1575
+ }
1576
+ },
1577
+ {
1578
+ "namespace_description": "Create an autolink reference for a repository",
1579
+ "method": "post",
1580
+ "endpoint": "/repos/{owner}/{repo}/autolinks",
1581
+ "field_0": {
1582
+ "field_type": "header",
1583
+ "fields": {
1584
+ "name": "accept",
1585
+ "type": "string",
1586
+ "in": "header",
1587
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
1588
+ }
1589
+ },
1590
+ "field_1": {
1591
+ "field_type": "path",
1592
+ "fields": {
1593
+ "name": "owner",
1594
+ "type": "string",
1595
+ "in": "path",
1596
+ "description": ""
1597
+ }
1598
+ },
1599
+ "field_2": {
1600
+ "field_type": "path",
1601
+ "fields": {
1602
+ "name": "repo",
1603
+ "type": "string",
1604
+ "in": "path",
1605
+ "description": ""
1606
+ }
1607
+ },
1608
+ "field_3": {
1609
+ "field_type": "body",
1610
+ "fields": {
1611
+ "name": "key_prefix",
1612
+ "type": "string",
1613
+ "in": "body",
1614
+ "description": "Required. The prefix appended by a number will generate a link any time it is found in an issue, pull request, or commit."
1615
+ }
1616
+ },
1617
+ "field_4": {
1618
+ "field_type": "body",
1619
+ "fields": {
1620
+ "name": "url_template",
1621
+ "type": "string",
1622
+ "in": "body",
1623
+ "description": "Required. The URL must contain for the reference number."
1624
+ }
1625
+ }
1626
+ },
1627
+ {
1628
+ "namespace_description": "Get an autolink reference of a repository",
1629
+ "method": "get",
1630
+ "endpoint": "/repos/{owner}/{repo}/autolinks/{autolink_id}",
1631
+ "field_0": {
1632
+ "field_type": "header",
1633
+ "fields": {
1634
+ "name": "accept",
1635
+ "type": "string",
1636
+ "in": "header",
1637
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
1638
+ }
1639
+ },
1640
+ "field_1": {
1641
+ "field_type": "path",
1642
+ "fields": {
1643
+ "name": "owner",
1644
+ "type": "string",
1645
+ "in": "path",
1646
+ "description": ""
1647
+ }
1648
+ },
1649
+ "field_2": {
1650
+ "field_type": "path",
1651
+ "fields": {
1652
+ "name": "repo",
1653
+ "type": "string",
1654
+ "in": "path",
1655
+ "description": ""
1656
+ }
1657
+ },
1658
+ "field_3": {
1659
+ "field_type": "path",
1660
+ "fields": {
1661
+ "name": "autolink_id",
1662
+ "type": "integer",
1663
+ "in": "path",
1664
+ "description": "autolink_id parameter"
1665
+ }
1666
+ }
1667
+ },
1668
+ {
1669
+ "namespace_description": "Delete an autolink reference from a repository",
1670
+ "method": "delete",
1671
+ "endpoint": "/repos/{owner}/{repo}/autolinks/{autolink_id}",
1672
+ "field_0": {
1673
+ "field_type": "header",
1674
+ "fields": {
1675
+ "name": "accept",
1676
+ "type": "string",
1677
+ "in": "header",
1678
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
1679
+ }
1680
+ },
1681
+ "field_1": {
1682
+ "field_type": "path",
1683
+ "fields": {
1684
+ "name": "owner",
1685
+ "type": "string",
1686
+ "in": "path",
1687
+ "description": ""
1688
+ }
1689
+ },
1690
+ "field_2": {
1691
+ "field_type": "path",
1692
+ "fields": {
1693
+ "name": "repo",
1694
+ "type": "string",
1695
+ "in": "path",
1696
+ "description": ""
1697
+ }
1698
+ },
1699
+ "field_3": {
1700
+ "field_type": "path",
1701
+ "fields": {
1702
+ "name": "autolink_id",
1703
+ "type": "integer",
1704
+ "in": "path",
1705
+ "description": "autolink_id parameter"
1706
+ }
1707
+ }
1708
+ },
1709
+ {
1710
+ "namespace_description": "Get repository content",
1711
+ "method": "get",
1712
+ "endpoint": "/repos/{owner}/{repo}/contents/{path}",
1713
+ "field_0": {
1714
+ "field_type": "header",
1715
+ "fields": {
1716
+ "name": "accept",
1717
+ "type": "string",
1718
+ "in": "header",
1719
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
1720
+ }
1721
+ },
1722
+ "field_1": {
1723
+ "field_type": "path",
1724
+ "fields": {
1725
+ "name": "owner",
1726
+ "type": "string",
1727
+ "in": "path",
1728
+ "description": ""
1729
+ }
1730
+ },
1731
+ "field_2": {
1732
+ "field_type": "path",
1733
+ "fields": {
1734
+ "name": "repo",
1735
+ "type": "string",
1736
+ "in": "path",
1737
+ "description": ""
1738
+ }
1739
+ },
1740
+ "field_3": {
1741
+ "field_type": "path",
1742
+ "fields": {
1743
+ "name": "path",
1744
+ "type": "string",
1745
+ "in": "path",
1746
+ "description": "path parameter"
1747
+ }
1748
+ },
1749
+ "field_4": {
1750
+ "field_type": "query",
1751
+ "fields": {
1752
+ "name": "ref",
1753
+ "type": "string",
1754
+ "in": "query",
1755
+ "description": "The name of the commit/branch/tag. Default: the repository’s default branch (usually master)"
1756
+ }
1757
+ }
1758
+ },
1759
+ {
1760
+ "namespace_description": "Create or update file contents",
1761
+ "method": "put",
1762
+ "endpoint": "/repos/{owner}/{repo}/contents/{path}",
1763
+ "field_0": {
1764
+ "field_type": "header",
1765
+ "fields": {
1766
+ "name": "accept",
1767
+ "type": "string",
1768
+ "in": "header",
1769
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
1770
+ }
1771
+ },
1772
+ "field_1": {
1773
+ "field_type": "path",
1774
+ "fields": {
1775
+ "name": "owner",
1776
+ "type": "string",
1777
+ "in": "path",
1778
+ "description": ""
1779
+ }
1780
+ },
1781
+ "field_2": {
1782
+ "field_type": "path",
1783
+ "fields": {
1784
+ "name": "repo",
1785
+ "type": "string",
1786
+ "in": "path",
1787
+ "description": ""
1788
+ }
1789
+ },
1790
+ "field_3": {
1791
+ "field_type": "path",
1792
+ "fields": {
1793
+ "name": "path",
1794
+ "type": "string",
1795
+ "in": "path",
1796
+ "description": "path parameter"
1797
+ }
1798
+ },
1799
+ "field_4": {
1800
+ "field_type": "body",
1801
+ "fields": {
1802
+ "name": "message",
1803
+ "type": "string",
1804
+ "in": "body",
1805
+ "description": "Required. The commit message."
1806
+ }
1807
+ },
1808
+ "field_5": {
1809
+ "field_type": "body",
1810
+ "fields": {
1811
+ "name": "content",
1812
+ "type": "string",
1813
+ "in": "body",
1814
+ "description": "Required. The new file content, using Base64 encoding."
1815
+ }
1816
+ },
1817
+ "field_6": {
1818
+ "field_type": "body",
1819
+ "fields": {
1820
+ "name": "sha",
1821
+ "type": "string",
1822
+ "in": "body",
1823
+ "description": "Required if you are updating a file. The blob SHA of the file being replaced."
1824
+ }
1825
+ },
1826
+ "field_7": {
1827
+ "field_type": "body",
1828
+ "fields": {
1829
+ "name": "branch",
1830
+ "type": "string",
1831
+ "in": "body",
1832
+ "description": "The branch name. Default: the repository’s default branch (usually master)"
1833
+ }
1834
+ },
1835
+ "field_8": {
1836
+ "field_type": "body",
1837
+ "fields": {
1838
+ "name": "committer",
1839
+ "type": "object",
1840
+ "in": "body",
1841
+ "description": "The person that committed the file. Default: the authenticated user."
1842
+ }
1843
+ },
1844
+ "field_9": {
1845
+ "field_type": null,
1846
+ "fields": {
1847
+ "name": "Properties of thecommitterobjectName (Type)Descriptionname (string)Required. The name of the author or committer of the commit. You'll receive a 422 status code if name is omitted.email (string)Required. The email of the author or committer of the commit. You'll receive a 422 status code if email is omitted.date (string)",
1848
+ "type": null,
1849
+ "in": null,
1850
+ "description": null
1851
+ }
1852
+ },
1853
+ "field_10": {
1854
+ "field_type": "body",
1855
+ "fields": {
1856
+ "name": "author",
1857
+ "type": "object",
1858
+ "in": "body",
1859
+ "description": "The author of the file. Default: The committer or the authenticated user if you omit committer."
1860
+ }
1861
+ },
1862
+ "field_11": {
1863
+ "field_type": null,
1864
+ "fields": {
1865
+ "name": "Properties of theauthorobjectName (Type)Descriptionname (string)Required. The name of the author or committer of the commit. You'll receive a 422 status code if name is omitted.email (string)Required. The email of the author or committer of the commit. You'll receive a 422 status code if email is omitted.date (string)",
1866
+ "type": null,
1867
+ "in": null,
1868
+ "description": null
1869
+ }
1870
+ }
1871
+ },
1872
+ {
1873
+ "namespace_description": "Delete a file",
1874
+ "method": "delete",
1875
+ "endpoint": "/repos/{owner}/{repo}/contents/{path}",
1876
+ "field_0": {
1877
+ "field_type": "header",
1878
+ "fields": {
1879
+ "name": "accept",
1880
+ "type": "string",
1881
+ "in": "header",
1882
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
1883
+ }
1884
+ },
1885
+ "field_1": {
1886
+ "field_type": "path",
1887
+ "fields": {
1888
+ "name": "owner",
1889
+ "type": "string",
1890
+ "in": "path",
1891
+ "description": ""
1892
+ }
1893
+ },
1894
+ "field_2": {
1895
+ "field_type": "path",
1896
+ "fields": {
1897
+ "name": "repo",
1898
+ "type": "string",
1899
+ "in": "path",
1900
+ "description": ""
1901
+ }
1902
+ },
1903
+ "field_3": {
1904
+ "field_type": "path",
1905
+ "fields": {
1906
+ "name": "path",
1907
+ "type": "string",
1908
+ "in": "path",
1909
+ "description": "path parameter"
1910
+ }
1911
+ },
1912
+ "field_4": {
1913
+ "field_type": "body",
1914
+ "fields": {
1915
+ "name": "message",
1916
+ "type": "string",
1917
+ "in": "body",
1918
+ "description": "Required. The commit message."
1919
+ }
1920
+ },
1921
+ "field_5": {
1922
+ "field_type": "body",
1923
+ "fields": {
1924
+ "name": "sha",
1925
+ "type": "string",
1926
+ "in": "body",
1927
+ "description": "Required. The blob SHA of the file being replaced."
1928
+ }
1929
+ },
1930
+ "field_6": {
1931
+ "field_type": "body",
1932
+ "fields": {
1933
+ "name": "branch",
1934
+ "type": "string",
1935
+ "in": "body",
1936
+ "description": "The branch name. Default: the repository’s default branch (usually master)"
1937
+ }
1938
+ },
1939
+ "field_7": {
1940
+ "field_type": "body",
1941
+ "fields": {
1942
+ "name": "committer",
1943
+ "type": "object",
1944
+ "in": "body",
1945
+ "description": "object containing information about the committer."
1946
+ }
1947
+ },
1948
+ "field_8": {
1949
+ "field_type": null,
1950
+ "fields": {
1951
+ "name": "Properties of thecommitterobjectName (Type)Descriptionname (string)The name of the author (or committer) of the commitemail (string)The email of the author (or committer) of the commit",
1952
+ "type": null,
1953
+ "in": null,
1954
+ "description": null
1955
+ }
1956
+ },
1957
+ "field_9": {
1958
+ "field_type": "body",
1959
+ "fields": {
1960
+ "name": "author",
1961
+ "type": "object",
1962
+ "in": "body",
1963
+ "description": "object containing information about the author."
1964
+ }
1965
+ },
1966
+ "field_10": {
1967
+ "field_type": null,
1968
+ "fields": {
1969
+ "name": "Properties of theauthorobjectName (Type)Descriptionname (string)The name of the author (or committer) of the commitemail (string)The email of the author (or committer) of the commit",
1970
+ "type": null,
1971
+ "in": null,
1972
+ "description": null
1973
+ }
1974
+ }
1975
+ },
1976
+ {
1977
+ "namespace_description": "Get a repository README",
1978
+ "method": "get",
1979
+ "endpoint": "/repos/{owner}/{repo}/readme",
1980
+ "field_0": {
1981
+ "field_type": "header",
1982
+ "fields": {
1983
+ "name": "accept",
1984
+ "type": "string",
1985
+ "in": "header",
1986
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
1987
+ }
1988
+ },
1989
+ "field_1": {
1990
+ "field_type": "path",
1991
+ "fields": {
1992
+ "name": "owner",
1993
+ "type": "string",
1994
+ "in": "path",
1995
+ "description": ""
1996
+ }
1997
+ },
1998
+ "field_2": {
1999
+ "field_type": "path",
2000
+ "fields": {
2001
+ "name": "repo",
2002
+ "type": "string",
2003
+ "in": "path",
2004
+ "description": ""
2005
+ }
2006
+ },
2007
+ "field_3": {
2008
+ "field_type": "query",
2009
+ "fields": {
2010
+ "name": "ref",
2011
+ "type": "string",
2012
+ "in": "query",
2013
+ "description": "The name of the commit/branch/tag. Default: the repository’s default branch (usually master)"
2014
+ }
2015
+ }
2016
+ },
2017
+ {
2018
+ "namespace_description": "Get a repository README for a directory",
2019
+ "method": "get",
2020
+ "endpoint": "/repos/{owner}/{repo}/readme/{dir}",
2021
+ "field_0": {
2022
+ "field_type": "header",
2023
+ "fields": {
2024
+ "name": "accept",
2025
+ "type": "string",
2026
+ "in": "header",
2027
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
2028
+ }
2029
+ },
2030
+ "field_1": {
2031
+ "field_type": "path",
2032
+ "fields": {
2033
+ "name": "owner",
2034
+ "type": "string",
2035
+ "in": "path",
2036
+ "description": ""
2037
+ }
2038
+ },
2039
+ "field_2": {
2040
+ "field_type": "path",
2041
+ "fields": {
2042
+ "name": "repo",
2043
+ "type": "string",
2044
+ "in": "path",
2045
+ "description": ""
2046
+ }
2047
+ },
2048
+ "field_3": {
2049
+ "field_type": "path",
2050
+ "fields": {
2051
+ "name": "dir",
2052
+ "type": "string",
2053
+ "in": "path",
2054
+ "description": "The alternate path to look for a README file"
2055
+ }
2056
+ },
2057
+ "field_4": {
2058
+ "field_type": "query",
2059
+ "fields": {
2060
+ "name": "ref",
2061
+ "type": "string",
2062
+ "in": "query",
2063
+ "description": "The name of the commit/branch/tag. Default: the repository’s default branch (usually master)"
2064
+ }
2065
+ }
2066
+ },
2067
+ {
2068
+ "namespace_description": "Download a repository archive (tar)",
2069
+ "method": "get",
2070
+ "endpoint": "/repos/{owner}/{repo}/tarball/{ref}",
2071
+ "field_0": {
2072
+ "field_type": "header",
2073
+ "fields": {
2074
+ "name": "accept",
2075
+ "type": "string",
2076
+ "in": "header",
2077
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
2078
+ }
2079
+ },
2080
+ "field_1": {
2081
+ "field_type": "path",
2082
+ "fields": {
2083
+ "name": "owner",
2084
+ "type": "string",
2085
+ "in": "path",
2086
+ "description": ""
2087
+ }
2088
+ },
2089
+ "field_2": {
2090
+ "field_type": "path",
2091
+ "fields": {
2092
+ "name": "repo",
2093
+ "type": "string",
2094
+ "in": "path",
2095
+ "description": ""
2096
+ }
2097
+ },
2098
+ "field_3": {
2099
+ "field_type": "path",
2100
+ "fields": {
2101
+ "name": "ref",
2102
+ "type": "string",
2103
+ "in": "path",
2104
+ "description": ""
2105
+ }
2106
+ }
2107
+ },
2108
+ {
2109
+ "namespace_description": "Download a repository archive (zip)",
2110
+ "method": "get",
2111
+ "endpoint": "/repos/{owner}/{repo}/zipball/{ref}",
2112
+ "field_0": {
2113
+ "field_type": "header",
2114
+ "fields": {
2115
+ "name": "accept",
2116
+ "type": "string",
2117
+ "in": "header",
2118
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
2119
+ }
2120
+ },
2121
+ "field_1": {
2122
+ "field_type": "path",
2123
+ "fields": {
2124
+ "name": "owner",
2125
+ "type": "string",
2126
+ "in": "path",
2127
+ "description": ""
2128
+ }
2129
+ },
2130
+ "field_2": {
2131
+ "field_type": "path",
2132
+ "fields": {
2133
+ "name": "repo",
2134
+ "type": "string",
2135
+ "in": "path",
2136
+ "description": ""
2137
+ }
2138
+ },
2139
+ "field_3": {
2140
+ "field_type": "path",
2141
+ "fields": {
2142
+ "name": "ref",
2143
+ "type": "string",
2144
+ "in": "path",
2145
+ "description": ""
2146
+ }
2147
+ }
2148
+ },
2149
+ {
2150
+ "namespace_description": "List forks",
2151
+ "method": "get",
2152
+ "endpoint": "/repos/{owner}/{repo}/forks",
2153
+ "field_0": {
2154
+ "field_type": "header",
2155
+ "fields": {
2156
+ "name": "accept",
2157
+ "type": "string",
2158
+ "in": "header",
2159
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
2160
+ }
2161
+ },
2162
+ "field_1": {
2163
+ "field_type": "path",
2164
+ "fields": {
2165
+ "name": "owner",
2166
+ "type": "string",
2167
+ "in": "path",
2168
+ "description": ""
2169
+ }
2170
+ },
2171
+ "field_2": {
2172
+ "field_type": "path",
2173
+ "fields": {
2174
+ "name": "repo",
2175
+ "type": "string",
2176
+ "in": "path",
2177
+ "description": ""
2178
+ }
2179
+ },
2180
+ "field_3": {
2181
+ "field_type": "query",
2182
+ "fields": {
2183
+ "name": "sort",
2184
+ "type": "string",
2185
+ "in": "query",
2186
+ "description": "The sort order. Can be either newest, oldest, or stargazers.Default: newest"
2187
+ }
2188
+ },
2189
+ "field_4": {
2190
+ "field_type": "query",
2191
+ "fields": {
2192
+ "name": "per_page",
2193
+ "type": "integer",
2194
+ "in": "query",
2195
+ "description": "Results per page (max 100)Default: 30"
2196
+ }
2197
+ },
2198
+ "field_5": {
2199
+ "field_type": "query",
2200
+ "fields": {
2201
+ "name": "page",
2202
+ "type": "integer",
2203
+ "in": "query",
2204
+ "description": "Page number of the results to fetch.Default: 1"
2205
+ }
2206
+ }
2207
+ },
2208
+ {
2209
+ "namespace_description": "Create a fork",
2210
+ "method": "post",
2211
+ "endpoint": "/repos/{owner}/{repo}/forks",
2212
+ "field_0": {
2213
+ "field_type": "header",
2214
+ "fields": {
2215
+ "name": "accept",
2216
+ "type": "string",
2217
+ "in": "header",
2218
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
2219
+ }
2220
+ },
2221
+ "field_1": {
2222
+ "field_type": "path",
2223
+ "fields": {
2224
+ "name": "owner",
2225
+ "type": "string",
2226
+ "in": "path",
2227
+ "description": ""
2228
+ }
2229
+ },
2230
+ "field_2": {
2231
+ "field_type": "path",
2232
+ "fields": {
2233
+ "name": "repo",
2234
+ "type": "string",
2235
+ "in": "path",
2236
+ "description": ""
2237
+ }
2238
+ },
2239
+ "field_3": {
2240
+ "field_type": "body",
2241
+ "fields": {
2242
+ "name": "organization",
2243
+ "type": "string",
2244
+ "in": "body",
2245
+ "description": "Optional parameter to specify the organization name if forking into an organization."
2246
+ }
2247
+ }
2248
+ },
2249
+ {
2250
+ "namespace_description": "Enable Git LFS for a repository",
2251
+ "method": "put",
2252
+ "endpoint": "/repos/{owner}/{repo}/lfs",
2253
+ "field_0": {
2254
+ "field_type": "header",
2255
+ "fields": {
2256
+ "name": "accept",
2257
+ "type": "string",
2258
+ "in": "header",
2259
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
2260
+ }
2261
+ },
2262
+ "field_1": {
2263
+ "field_type": "path",
2264
+ "fields": {
2265
+ "name": "owner",
2266
+ "type": "string",
2267
+ "in": "path",
2268
+ "description": ""
2269
+ }
2270
+ },
2271
+ "field_2": {
2272
+ "field_type": "path",
2273
+ "fields": {
2274
+ "name": "repo",
2275
+ "type": "string",
2276
+ "in": "path",
2277
+ "description": ""
2278
+ }
2279
+ }
2280
+ },
2281
+ {
2282
+ "namespace_description": "Disable Git LFS for a repository",
2283
+ "method": "delete",
2284
+ "endpoint": "/repos/{owner}/{repo}/lfs",
2285
+ "field_0": {
2286
+ "field_type": "header",
2287
+ "fields": {
2288
+ "name": "accept",
2289
+ "type": "string",
2290
+ "in": "header",
2291
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
2292
+ }
2293
+ },
2294
+ "field_1": {
2295
+ "field_type": "path",
2296
+ "fields": {
2297
+ "name": "owner",
2298
+ "type": "string",
2299
+ "in": "path",
2300
+ "description": ""
2301
+ }
2302
+ },
2303
+ "field_2": {
2304
+ "field_type": "path",
2305
+ "fields": {
2306
+ "name": "repo",
2307
+ "type": "string",
2308
+ "in": "path",
2309
+ "description": ""
2310
+ }
2311
+ }
2312
+ }
2313
+ ]
2314
+ }