gitabu 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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,689 @@
1
+ {
2
+ "result": [
3
+ {
4
+ "namespace_description": "List gists for the authenticated user",
5
+ "method": "get",
6
+ "endpoint": "/gists",
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": "since",
20
+ "type": "string",
21
+ "in": "query",
22
+ "description": "Only show notifications updated after the given time. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ."
23
+ }
24
+ },
25
+ "field_2": {
26
+ "field_type": "query",
27
+ "fields": {
28
+ "name": "per_page",
29
+ "type": "integer",
30
+ "in": "query",
31
+ "description": "Results per page (max 100)Default: 30"
32
+ }
33
+ },
34
+ "field_3": {
35
+ "field_type": "query",
36
+ "fields": {
37
+ "name": "page",
38
+ "type": "integer",
39
+ "in": "query",
40
+ "description": "Page number of the results to fetch.Default: 1"
41
+ }
42
+ }
43
+ },
44
+ {
45
+ "namespace_description": "Create a gist",
46
+ "method": "post",
47
+ "endpoint": "/gists",
48
+ "field_0": {
49
+ "field_type": "header",
50
+ "fields": {
51
+ "name": "accept",
52
+ "type": "string",
53
+ "in": "header",
54
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
55
+ }
56
+ },
57
+ "field_1": {
58
+ "field_type": "body",
59
+ "fields": {
60
+ "name": "description",
61
+ "type": "string",
62
+ "in": "body",
63
+ "description": "Description of the gist"
64
+ }
65
+ },
66
+ "field_2": {
67
+ "field_type": "body",
68
+ "fields": {
69
+ "name": "files",
70
+ "type": "object",
71
+ "in": "body",
72
+ "description": "Required. Names and content for the files that make up the gist"
73
+ }
74
+ },
75
+ "field_3": {
76
+ "field_type": "body",
77
+ "fields": {
78
+ "name": "public",
79
+ "type": "boolean or string or ",
80
+ "in": "body",
81
+ "description": "Flag indicating whether the gist is public"
82
+ }
83
+ }
84
+ },
85
+ {
86
+ "namespace_description": "List public gists",
87
+ "method": "get",
88
+ "endpoint": "/gists/public",
89
+ "field_0": {
90
+ "field_type": "header",
91
+ "fields": {
92
+ "name": "accept",
93
+ "type": "string",
94
+ "in": "header",
95
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
96
+ }
97
+ },
98
+ "field_1": {
99
+ "field_type": "query",
100
+ "fields": {
101
+ "name": "since",
102
+ "type": "string",
103
+ "in": "query",
104
+ "description": "Only show notifications updated after the given time. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ."
105
+ }
106
+ },
107
+ "field_2": {
108
+ "field_type": "query",
109
+ "fields": {
110
+ "name": "per_page",
111
+ "type": "integer",
112
+ "in": "query",
113
+ "description": "Results per page (max 100)Default: 30"
114
+ }
115
+ },
116
+ "field_3": {
117
+ "field_type": "query",
118
+ "fields": {
119
+ "name": "page",
120
+ "type": "integer",
121
+ "in": "query",
122
+ "description": "Page number of the results to fetch.Default: 1"
123
+ }
124
+ }
125
+ },
126
+ {
127
+ "namespace_description": "List starred gists",
128
+ "method": "get",
129
+ "endpoint": "/gists/starred",
130
+ "field_0": {
131
+ "field_type": "header",
132
+ "fields": {
133
+ "name": "accept",
134
+ "type": "string",
135
+ "in": "header",
136
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
137
+ }
138
+ },
139
+ "field_1": {
140
+ "field_type": "query",
141
+ "fields": {
142
+ "name": "since",
143
+ "type": "string",
144
+ "in": "query",
145
+ "description": "Only show notifications updated after the given time. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ."
146
+ }
147
+ },
148
+ "field_2": {
149
+ "field_type": "query",
150
+ "fields": {
151
+ "name": "per_page",
152
+ "type": "integer",
153
+ "in": "query",
154
+ "description": "Results per page (max 100)Default: 30"
155
+ }
156
+ },
157
+ "field_3": {
158
+ "field_type": "query",
159
+ "fields": {
160
+ "name": "page",
161
+ "type": "integer",
162
+ "in": "query",
163
+ "description": "Page number of the results to fetch.Default: 1"
164
+ }
165
+ }
166
+ },
167
+ {
168
+ "namespace_description": "Get a gist",
169
+ "method": "get",
170
+ "endpoint": "/gists/{gist_id}",
171
+ "field_0": {
172
+ "field_type": "header",
173
+ "fields": {
174
+ "name": "accept",
175
+ "type": "string",
176
+ "in": "header",
177
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
178
+ }
179
+ },
180
+ "field_1": {
181
+ "field_type": "path",
182
+ "fields": {
183
+ "name": "gist_id",
184
+ "type": "string",
185
+ "in": "path",
186
+ "description": "gist_id parameter"
187
+ }
188
+ }
189
+ },
190
+ {
191
+ "namespace_description": "Update a gist",
192
+ "method": "patch",
193
+ "endpoint": "/gists/{gist_id}",
194
+ "field_0": {
195
+ "field_type": "header",
196
+ "fields": {
197
+ "name": "accept",
198
+ "type": "string",
199
+ "in": "header",
200
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
201
+ }
202
+ },
203
+ "field_1": {
204
+ "field_type": "path",
205
+ "fields": {
206
+ "name": "gist_id",
207
+ "type": "string",
208
+ "in": "path",
209
+ "description": "gist_id parameter"
210
+ }
211
+ },
212
+ "field_2": {
213
+ "field_type": "body",
214
+ "fields": {
215
+ "name": "description",
216
+ "type": "string",
217
+ "in": "body",
218
+ "description": "Description of the gist"
219
+ }
220
+ },
221
+ "field_3": {
222
+ "field_type": "body",
223
+ "fields": {
224
+ "name": "files",
225
+ "type": "object",
226
+ "in": "body",
227
+ "description": "Names of files to be updated"
228
+ }
229
+ }
230
+ },
231
+ {
232
+ "namespace_description": "Delete a gist",
233
+ "method": "delete",
234
+ "endpoint": "/gists/{gist_id}",
235
+ "field_0": {
236
+ "field_type": "header",
237
+ "fields": {
238
+ "name": "accept",
239
+ "type": "string",
240
+ "in": "header",
241
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
242
+ }
243
+ },
244
+ "field_1": {
245
+ "field_type": "path",
246
+ "fields": {
247
+ "name": "gist_id",
248
+ "type": "string",
249
+ "in": "path",
250
+ "description": "gist_id parameter"
251
+ }
252
+ }
253
+ },
254
+ {
255
+ "namespace_description": "List gist commits",
256
+ "method": "get",
257
+ "endpoint": "/gists/{gist_id}/commits",
258
+ "field_0": {
259
+ "field_type": "header",
260
+ "fields": {
261
+ "name": "accept",
262
+ "type": "string",
263
+ "in": "header",
264
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
265
+ }
266
+ },
267
+ "field_1": {
268
+ "field_type": "path",
269
+ "fields": {
270
+ "name": "gist_id",
271
+ "type": "string",
272
+ "in": "path",
273
+ "description": "gist_id parameter"
274
+ }
275
+ },
276
+ "field_2": {
277
+ "field_type": "query",
278
+ "fields": {
279
+ "name": "per_page",
280
+ "type": "integer",
281
+ "in": "query",
282
+ "description": "Results per page (max 100)Default: 30"
283
+ }
284
+ },
285
+ "field_3": {
286
+ "field_type": "query",
287
+ "fields": {
288
+ "name": "page",
289
+ "type": "integer",
290
+ "in": "query",
291
+ "description": "Page number of the results to fetch.Default: 1"
292
+ }
293
+ }
294
+ },
295
+ {
296
+ "namespace_description": "List gist forks",
297
+ "method": "get",
298
+ "endpoint": "/gists/{gist_id}/forks",
299
+ "field_0": {
300
+ "field_type": "header",
301
+ "fields": {
302
+ "name": "accept",
303
+ "type": "string",
304
+ "in": "header",
305
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
306
+ }
307
+ },
308
+ "field_1": {
309
+ "field_type": "path",
310
+ "fields": {
311
+ "name": "gist_id",
312
+ "type": "string",
313
+ "in": "path",
314
+ "description": "gist_id parameter"
315
+ }
316
+ },
317
+ "field_2": {
318
+ "field_type": "query",
319
+ "fields": {
320
+ "name": "per_page",
321
+ "type": "integer",
322
+ "in": "query",
323
+ "description": "Results per page (max 100)Default: 30"
324
+ }
325
+ },
326
+ "field_3": {
327
+ "field_type": "query",
328
+ "fields": {
329
+ "name": "page",
330
+ "type": "integer",
331
+ "in": "query",
332
+ "description": "Page number of the results to fetch.Default: 1"
333
+ }
334
+ }
335
+ },
336
+ {
337
+ "namespace_description": "Fork a gist",
338
+ "method": "post",
339
+ "endpoint": "/gists/{gist_id}/forks",
340
+ "field_0": {
341
+ "field_type": "header",
342
+ "fields": {
343
+ "name": "accept",
344
+ "type": "string",
345
+ "in": "header",
346
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
347
+ }
348
+ },
349
+ "field_1": {
350
+ "field_type": "path",
351
+ "fields": {
352
+ "name": "gist_id",
353
+ "type": "string",
354
+ "in": "path",
355
+ "description": "gist_id parameter"
356
+ }
357
+ }
358
+ },
359
+ {
360
+ "namespace_description": "Check if a gist is starred",
361
+ "method": "get",
362
+ "endpoint": "/gists/{gist_id}/star",
363
+ "field_0": {
364
+ "field_type": "header",
365
+ "fields": {
366
+ "name": "accept",
367
+ "type": "string",
368
+ "in": "header",
369
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
370
+ }
371
+ },
372
+ "field_1": {
373
+ "field_type": "path",
374
+ "fields": {
375
+ "name": "gist_id",
376
+ "type": "string",
377
+ "in": "path",
378
+ "description": "gist_id parameter"
379
+ }
380
+ }
381
+ },
382
+ {
383
+ "namespace_description": "Star a gist",
384
+ "method": "put",
385
+ "endpoint": "/gists/{gist_id}/star",
386
+ "field_0": {
387
+ "field_type": "header",
388
+ "fields": {
389
+ "name": "accept",
390
+ "type": "string",
391
+ "in": "header",
392
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
393
+ }
394
+ },
395
+ "field_1": {
396
+ "field_type": "path",
397
+ "fields": {
398
+ "name": "gist_id",
399
+ "type": "string",
400
+ "in": "path",
401
+ "description": "gist_id parameter"
402
+ }
403
+ }
404
+ },
405
+ {
406
+ "namespace_description": "Unstar a gist",
407
+ "method": "delete",
408
+ "endpoint": "/gists/{gist_id}/star",
409
+ "field_0": {
410
+ "field_type": "header",
411
+ "fields": {
412
+ "name": "accept",
413
+ "type": "string",
414
+ "in": "header",
415
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
416
+ }
417
+ },
418
+ "field_1": {
419
+ "field_type": "path",
420
+ "fields": {
421
+ "name": "gist_id",
422
+ "type": "string",
423
+ "in": "path",
424
+ "description": "gist_id parameter"
425
+ }
426
+ }
427
+ },
428
+ {
429
+ "namespace_description": "Get a gist revision",
430
+ "method": "get",
431
+ "endpoint": "/gists/{gist_id}/{sha}",
432
+ "field_0": {
433
+ "field_type": "header",
434
+ "fields": {
435
+ "name": "accept",
436
+ "type": "string",
437
+ "in": "header",
438
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
439
+ }
440
+ },
441
+ "field_1": {
442
+ "field_type": "path",
443
+ "fields": {
444
+ "name": "gist_id",
445
+ "type": "string",
446
+ "in": "path",
447
+ "description": "gist_id parameter"
448
+ }
449
+ },
450
+ "field_2": {
451
+ "field_type": "path",
452
+ "fields": {
453
+ "name": "sha",
454
+ "type": "string",
455
+ "in": "path",
456
+ "description": ""
457
+ }
458
+ }
459
+ },
460
+ {
461
+ "namespace_description": "List gists for a user",
462
+ "method": "get",
463
+ "endpoint": "/users/{username}/gists",
464
+ "field_0": {
465
+ "field_type": "header",
466
+ "fields": {
467
+ "name": "accept",
468
+ "type": "string",
469
+ "in": "header",
470
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
471
+ }
472
+ },
473
+ "field_1": {
474
+ "field_type": "path",
475
+ "fields": {
476
+ "name": "username",
477
+ "type": "string",
478
+ "in": "path",
479
+ "description": ""
480
+ }
481
+ },
482
+ "field_2": {
483
+ "field_type": "query",
484
+ "fields": {
485
+ "name": "since",
486
+ "type": "string",
487
+ "in": "query",
488
+ "description": "Only show notifications updated after the given time. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ."
489
+ }
490
+ },
491
+ "field_3": {
492
+ "field_type": "query",
493
+ "fields": {
494
+ "name": "per_page",
495
+ "type": "integer",
496
+ "in": "query",
497
+ "description": "Results per page (max 100)Default: 30"
498
+ }
499
+ },
500
+ "field_4": {
501
+ "field_type": "query",
502
+ "fields": {
503
+ "name": "page",
504
+ "type": "integer",
505
+ "in": "query",
506
+ "description": "Page number of the results to fetch.Default: 1"
507
+ }
508
+ }
509
+ },
510
+ {
511
+ "namespace_description": "List gist comments",
512
+ "method": "get",
513
+ "endpoint": "/gists/{gist_id}/comments",
514
+ "field_0": {
515
+ "field_type": "header",
516
+ "fields": {
517
+ "name": "accept",
518
+ "type": "string",
519
+ "in": "header",
520
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
521
+ }
522
+ },
523
+ "field_1": {
524
+ "field_type": "path",
525
+ "fields": {
526
+ "name": "gist_id",
527
+ "type": "string",
528
+ "in": "path",
529
+ "description": "gist_id parameter"
530
+ }
531
+ },
532
+ "field_2": {
533
+ "field_type": "query",
534
+ "fields": {
535
+ "name": "per_page",
536
+ "type": "integer",
537
+ "in": "query",
538
+ "description": "Results per page (max 100)Default: 30"
539
+ }
540
+ },
541
+ "field_3": {
542
+ "field_type": "query",
543
+ "fields": {
544
+ "name": "page",
545
+ "type": "integer",
546
+ "in": "query",
547
+ "description": "Page number of the results to fetch.Default: 1"
548
+ }
549
+ }
550
+ },
551
+ {
552
+ "namespace_description": "Create a gist comment",
553
+ "method": "post",
554
+ "endpoint": "/gists/{gist_id}/comments",
555
+ "field_0": {
556
+ "field_type": "header",
557
+ "fields": {
558
+ "name": "accept",
559
+ "type": "string",
560
+ "in": "header",
561
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
562
+ }
563
+ },
564
+ "field_1": {
565
+ "field_type": "path",
566
+ "fields": {
567
+ "name": "gist_id",
568
+ "type": "string",
569
+ "in": "path",
570
+ "description": "gist_id parameter"
571
+ }
572
+ },
573
+ "field_2": {
574
+ "field_type": "body",
575
+ "fields": {
576
+ "name": "body",
577
+ "type": "string",
578
+ "in": "body",
579
+ "description": "Required. The comment text."
580
+ }
581
+ }
582
+ },
583
+ {
584
+ "namespace_description": "Get a gist comment",
585
+ "method": "get",
586
+ "endpoint": "/gists/{gist_id}/comments/{comment_id}",
587
+ "field_0": {
588
+ "field_type": "header",
589
+ "fields": {
590
+ "name": "accept",
591
+ "type": "string",
592
+ "in": "header",
593
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
594
+ }
595
+ },
596
+ "field_1": {
597
+ "field_type": "path",
598
+ "fields": {
599
+ "name": "gist_id",
600
+ "type": "string",
601
+ "in": "path",
602
+ "description": "gist_id parameter"
603
+ }
604
+ },
605
+ "field_2": {
606
+ "field_type": "path",
607
+ "fields": {
608
+ "name": "comment_id",
609
+ "type": "integer",
610
+ "in": "path",
611
+ "description": "comment_id parameter"
612
+ }
613
+ }
614
+ },
615
+ {
616
+ "namespace_description": "Update a gist comment",
617
+ "method": "patch",
618
+ "endpoint": "/gists/{gist_id}/comments/{comment_id}",
619
+ "field_0": {
620
+ "field_type": "header",
621
+ "fields": {
622
+ "name": "accept",
623
+ "type": "string",
624
+ "in": "header",
625
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
626
+ }
627
+ },
628
+ "field_1": {
629
+ "field_type": "path",
630
+ "fields": {
631
+ "name": "gist_id",
632
+ "type": "string",
633
+ "in": "path",
634
+ "description": "gist_id parameter"
635
+ }
636
+ },
637
+ "field_2": {
638
+ "field_type": "path",
639
+ "fields": {
640
+ "name": "comment_id",
641
+ "type": "integer",
642
+ "in": "path",
643
+ "description": "comment_id parameter"
644
+ }
645
+ },
646
+ "field_3": {
647
+ "field_type": "body",
648
+ "fields": {
649
+ "name": "body",
650
+ "type": "string",
651
+ "in": "body",
652
+ "description": "Required. The comment text."
653
+ }
654
+ }
655
+ },
656
+ {
657
+ "namespace_description": "Delete a gist comment",
658
+ "method": "delete",
659
+ "endpoint": "/gists/{gist_id}/comments/{comment_id}",
660
+ "field_0": {
661
+ "field_type": "header",
662
+ "fields": {
663
+ "name": "accept",
664
+ "type": "string",
665
+ "in": "header",
666
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
667
+ }
668
+ },
669
+ "field_1": {
670
+ "field_type": "path",
671
+ "fields": {
672
+ "name": "gist_id",
673
+ "type": "string",
674
+ "in": "path",
675
+ "description": "gist_id parameter"
676
+ }
677
+ },
678
+ "field_2": {
679
+ "field_type": "path",
680
+ "fields": {
681
+ "name": "comment_id",
682
+ "type": "integer",
683
+ "in": "path",
684
+ "description": "comment_id parameter"
685
+ }
686
+ }
687
+ }
688
+ ]
689
+ }