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