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,596 @@
1
+ {
2
+ "result": [
3
+ {
4
+ "namespace_description": "List organization secrets",
5
+ "method": "get",
6
+ "endpoint": "/orgs/{org}/dependabot/secrets",
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": "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": "Get an organization public key",
46
+ "method": "get",
47
+ "endpoint": "/orgs/{org}/dependabot/secrets/public-key",
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": "path",
59
+ "fields": {
60
+ "name": "org",
61
+ "type": "string",
62
+ "in": "path",
63
+ "description": ""
64
+ }
65
+ }
66
+ },
67
+ {
68
+ "namespace_description": "Get an organization secret",
69
+ "method": "get",
70
+ "endpoint": "/orgs/{org}/dependabot/secrets/{secret_name}",
71
+ "field_0": {
72
+ "field_type": "header",
73
+ "fields": {
74
+ "name": "accept",
75
+ "type": "string",
76
+ "in": "header",
77
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
78
+ }
79
+ },
80
+ "field_1": {
81
+ "field_type": "path",
82
+ "fields": {
83
+ "name": "org",
84
+ "type": "string",
85
+ "in": "path",
86
+ "description": ""
87
+ }
88
+ },
89
+ "field_2": {
90
+ "field_type": "path",
91
+ "fields": {
92
+ "name": "secret_name",
93
+ "type": "string",
94
+ "in": "path",
95
+ "description": "secret_name parameter"
96
+ }
97
+ }
98
+ },
99
+ {
100
+ "namespace_description": "Create or update an organization secret",
101
+ "method": "require\"rbnacl\"require\"base64\"\"+ZYvJDZMHUfBkJdyq5Zm9SKqeuBQ4sj+6sfjlH4CgG0=\"\"my_secret\"# Print the base64 encoded secretput",
102
+ "endpoint": "const sodium = require('tweetsodium');\n\nconst key = \"base64-encoded-public-key\";\nconst value = \"plain-text-secret\";\n\n// Convert the message and key to Uint8Array's (Buffer implements that interface)\nconst messageBytes = Buffer.from(value);\nconst keyBytes = Buffer.from(key, 'base64');\n\n// Encrypt using LibSodium.\nconst encryptedBytes = sodium.seal(messageBytes, keyBytes);\n\n// Base64 the encrypted secret\nconst encrypted = Buffer.from(encryptedBytes).toString('base64');\n\nconsole.log(encrypted);\n",
103
+ "field_0": {
104
+ "field_type": "header",
105
+ "fields": {
106
+ "name": "accept",
107
+ "type": "string",
108
+ "in": "header",
109
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
110
+ }
111
+ },
112
+ "field_1": {
113
+ "field_type": "path",
114
+ "fields": {
115
+ "name": "org",
116
+ "type": "string",
117
+ "in": "path",
118
+ "description": ""
119
+ }
120
+ },
121
+ "field_2": {
122
+ "field_type": "path",
123
+ "fields": {
124
+ "name": "secret_name",
125
+ "type": "string",
126
+ "in": "path",
127
+ "description": "secret_name parameter"
128
+ }
129
+ },
130
+ "field_3": {
131
+ "field_type": "body",
132
+ "fields": {
133
+ "name": "encrypted_value",
134
+ "type": "string",
135
+ "in": "body",
136
+ "description": "Value for your secret, encrypted with LibSodium using the public key retrieved from the Get an organization public key endpoint."
137
+ }
138
+ },
139
+ "field_4": {
140
+ "field_type": "body",
141
+ "fields": {
142
+ "name": "key_id",
143
+ "type": "string",
144
+ "in": "body",
145
+ "description": "ID of the key you used to encrypt the secret."
146
+ }
147
+ },
148
+ "field_5": {
149
+ "field_type": "body",
150
+ "fields": {
151
+ "name": "visibility",
152
+ "type": "string",
153
+ "in": "body",
154
+ "description": "Required. Configures the access that repositories have to the organization secret. Can be one of:\n- all - All repositories in an organization can access the secret.\n- private - Private repositories in an organization can access the secret.\n- selected - Only specific repositories can access the secret."
155
+ }
156
+ },
157
+ "field_6": {
158
+ "field_type": "body",
159
+ "fields": {
160
+ "name": "selected_repository_ids",
161
+ "type": "array of strings",
162
+ "in": "body",
163
+ "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the visibility is set to selected. You can manage the list of selected repositories using the List selected repositories for an organization secret, Set selected repositories for an organization secret, and Remove selected repository from an organization secret endpoints."
164
+ }
165
+ }
166
+ },
167
+ {
168
+ "namespace_description": "Delete an organization secret",
169
+ "method": "delete",
170
+ "endpoint": "/orgs/{org}/dependabot/secrets/{secret_name}",
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": "org",
184
+ "type": "string",
185
+ "in": "path",
186
+ "description": ""
187
+ }
188
+ },
189
+ "field_2": {
190
+ "field_type": "path",
191
+ "fields": {
192
+ "name": "secret_name",
193
+ "type": "string",
194
+ "in": "path",
195
+ "description": "secret_name parameter"
196
+ }
197
+ }
198
+ },
199
+ {
200
+ "namespace_description": "List selected repositories for an organization secret",
201
+ "method": "get",
202
+ "endpoint": "/orgs/{org}/dependabot/secrets/{secret_name}/repositories",
203
+ "field_0": {
204
+ "field_type": "header",
205
+ "fields": {
206
+ "name": "accept",
207
+ "type": "string",
208
+ "in": "header",
209
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
210
+ }
211
+ },
212
+ "field_1": {
213
+ "field_type": "path",
214
+ "fields": {
215
+ "name": "org",
216
+ "type": "string",
217
+ "in": "path",
218
+ "description": ""
219
+ }
220
+ },
221
+ "field_2": {
222
+ "field_type": "path",
223
+ "fields": {
224
+ "name": "secret_name",
225
+ "type": "string",
226
+ "in": "path",
227
+ "description": "secret_name parameter"
228
+ }
229
+ },
230
+ "field_3": {
231
+ "field_type": "query",
232
+ "fields": {
233
+ "name": "page",
234
+ "type": "integer",
235
+ "in": "query",
236
+ "description": "Page number of the results to fetch.Default: 1"
237
+ }
238
+ },
239
+ "field_4": {
240
+ "field_type": "query",
241
+ "fields": {
242
+ "name": "per_page",
243
+ "type": "integer",
244
+ "in": "query",
245
+ "description": "Results per page (max 100)Default: 30"
246
+ }
247
+ }
248
+ },
249
+ {
250
+ "namespace_description": "Set selected repositories for an organization secret",
251
+ "method": "put",
252
+ "endpoint": "/orgs/{org}/dependabot/secrets/{secret_name}/repositories",
253
+ "field_0": {
254
+ "field_type": "header",
255
+ "fields": {
256
+ "name": "accept",
257
+ "type": "string",
258
+ "in": "header",
259
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
260
+ }
261
+ },
262
+ "field_1": {
263
+ "field_type": "path",
264
+ "fields": {
265
+ "name": "org",
266
+ "type": "string",
267
+ "in": "path",
268
+ "description": ""
269
+ }
270
+ },
271
+ "field_2": {
272
+ "field_type": "path",
273
+ "fields": {
274
+ "name": "secret_name",
275
+ "type": "string",
276
+ "in": "path",
277
+ "description": "secret_name parameter"
278
+ }
279
+ },
280
+ "field_3": {
281
+ "field_type": "body",
282
+ "fields": {
283
+ "name": "selected_repository_ids",
284
+ "type": "array of integers",
285
+ "in": "body",
286
+ "description": "Required. An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the visibility is set to selected. You can add and remove individual repositories using the Set selected repositories for an organization secret and Remove selected repository from an organization secret endpoints."
287
+ }
288
+ }
289
+ },
290
+ {
291
+ "namespace_description": "Add selected repository to an organization secret",
292
+ "method": "put",
293
+ "endpoint": "/orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}",
294
+ "field_0": {
295
+ "field_type": "header",
296
+ "fields": {
297
+ "name": "accept",
298
+ "type": "string",
299
+ "in": "header",
300
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
301
+ }
302
+ },
303
+ "field_1": {
304
+ "field_type": "path",
305
+ "fields": {
306
+ "name": "org",
307
+ "type": "string",
308
+ "in": "path",
309
+ "description": ""
310
+ }
311
+ },
312
+ "field_2": {
313
+ "field_type": "path",
314
+ "fields": {
315
+ "name": "secret_name",
316
+ "type": "string",
317
+ "in": "path",
318
+ "description": "secret_name parameter"
319
+ }
320
+ },
321
+ "field_3": {
322
+ "field_type": "path",
323
+ "fields": {
324
+ "name": "repository_id",
325
+ "type": "integer",
326
+ "in": "path",
327
+ "description": ""
328
+ }
329
+ }
330
+ },
331
+ {
332
+ "namespace_description": "Remove selected repository from an organization secret",
333
+ "method": "delete",
334
+ "endpoint": "/orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}",
335
+ "field_0": {
336
+ "field_type": "header",
337
+ "fields": {
338
+ "name": "accept",
339
+ "type": "string",
340
+ "in": "header",
341
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
342
+ }
343
+ },
344
+ "field_1": {
345
+ "field_type": "path",
346
+ "fields": {
347
+ "name": "org",
348
+ "type": "string",
349
+ "in": "path",
350
+ "description": ""
351
+ }
352
+ },
353
+ "field_2": {
354
+ "field_type": "path",
355
+ "fields": {
356
+ "name": "secret_name",
357
+ "type": "string",
358
+ "in": "path",
359
+ "description": "secret_name parameter"
360
+ }
361
+ },
362
+ "field_3": {
363
+ "field_type": "path",
364
+ "fields": {
365
+ "name": "repository_id",
366
+ "type": "integer",
367
+ "in": "path",
368
+ "description": ""
369
+ }
370
+ }
371
+ },
372
+ {
373
+ "namespace_description": "List repository secrets",
374
+ "method": "get",
375
+ "endpoint": "/repos/{owner}/{repo}/dependabot/secrets",
376
+ "field_0": {
377
+ "field_type": "header",
378
+ "fields": {
379
+ "name": "accept",
380
+ "type": "string",
381
+ "in": "header",
382
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
383
+ }
384
+ },
385
+ "field_1": {
386
+ "field_type": "path",
387
+ "fields": {
388
+ "name": "owner",
389
+ "type": "string",
390
+ "in": "path",
391
+ "description": ""
392
+ }
393
+ },
394
+ "field_2": {
395
+ "field_type": "path",
396
+ "fields": {
397
+ "name": "repo",
398
+ "type": "string",
399
+ "in": "path",
400
+ "description": ""
401
+ }
402
+ },
403
+ "field_3": {
404
+ "field_type": "query",
405
+ "fields": {
406
+ "name": "per_page",
407
+ "type": "integer",
408
+ "in": "query",
409
+ "description": "Results per page (max 100)Default: 30"
410
+ }
411
+ },
412
+ "field_4": {
413
+ "field_type": "query",
414
+ "fields": {
415
+ "name": "page",
416
+ "type": "integer",
417
+ "in": "query",
418
+ "description": "Page number of the results to fetch.Default: 1"
419
+ }
420
+ }
421
+ },
422
+ {
423
+ "namespace_description": "Get a repository public key",
424
+ "method": "get",
425
+ "endpoint": "/repos/{owner}/{repo}/dependabot/secrets/public-key",
426
+ "field_0": {
427
+ "field_type": "header",
428
+ "fields": {
429
+ "name": "accept",
430
+ "type": "string",
431
+ "in": "header",
432
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
433
+ }
434
+ },
435
+ "field_1": {
436
+ "field_type": "path",
437
+ "fields": {
438
+ "name": "owner",
439
+ "type": "string",
440
+ "in": "path",
441
+ "description": ""
442
+ }
443
+ },
444
+ "field_2": {
445
+ "field_type": "path",
446
+ "fields": {
447
+ "name": "repo",
448
+ "type": "string",
449
+ "in": "path",
450
+ "description": ""
451
+ }
452
+ }
453
+ },
454
+ {
455
+ "namespace_description": "Get a repository secret",
456
+ "method": "get",
457
+ "endpoint": "/repos/{owner}/{repo}/dependabot/secrets/{secret_name}",
458
+ "field_0": {
459
+ "field_type": "header",
460
+ "fields": {
461
+ "name": "accept",
462
+ "type": "string",
463
+ "in": "header",
464
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
465
+ }
466
+ },
467
+ "field_1": {
468
+ "field_type": "path",
469
+ "fields": {
470
+ "name": "owner",
471
+ "type": "string",
472
+ "in": "path",
473
+ "description": ""
474
+ }
475
+ },
476
+ "field_2": {
477
+ "field_type": "path",
478
+ "fields": {
479
+ "name": "repo",
480
+ "type": "string",
481
+ "in": "path",
482
+ "description": ""
483
+ }
484
+ },
485
+ "field_3": {
486
+ "field_type": "path",
487
+ "fields": {
488
+ "name": "secret_name",
489
+ "type": "string",
490
+ "in": "path",
491
+ "description": "secret_name parameter"
492
+ }
493
+ }
494
+ },
495
+ {
496
+ "namespace_description": "Create or update a repository secret",
497
+ "method": "require\"rbnacl\"require\"base64\"\"+ZYvJDZMHUfBkJdyq5Zm9SKqeuBQ4sj+6sfjlH4CgG0=\"\"my_secret\"# Print the base64 encoded secretput",
498
+ "endpoint": "const sodium = require('tweetsodium');\n\nconst key = \"base64-encoded-public-key\";\nconst value = \"plain-text-secret\";\n\n// Convert the message and key to Uint8Array's (Buffer implements that interface)\nconst messageBytes = Buffer.from(value);\nconst keyBytes = Buffer.from(key, 'base64');\n\n// Encrypt using LibSodium.\nconst encryptedBytes = sodium.seal(messageBytes, keyBytes);\n\n// Base64 the encrypted secret\nconst encrypted = Buffer.from(encryptedBytes).toString('base64');\n\nconsole.log(encrypted);\n",
499
+ "field_0": {
500
+ "field_type": "header",
501
+ "fields": {
502
+ "name": "accept",
503
+ "type": "string",
504
+ "in": "header",
505
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
506
+ }
507
+ },
508
+ "field_1": {
509
+ "field_type": "path",
510
+ "fields": {
511
+ "name": "owner",
512
+ "type": "string",
513
+ "in": "path",
514
+ "description": ""
515
+ }
516
+ },
517
+ "field_2": {
518
+ "field_type": "path",
519
+ "fields": {
520
+ "name": "repo",
521
+ "type": "string",
522
+ "in": "path",
523
+ "description": ""
524
+ }
525
+ },
526
+ "field_3": {
527
+ "field_type": "path",
528
+ "fields": {
529
+ "name": "secret_name",
530
+ "type": "string",
531
+ "in": "path",
532
+ "description": "secret_name parameter"
533
+ }
534
+ },
535
+ "field_4": {
536
+ "field_type": "body",
537
+ "fields": {
538
+ "name": "encrypted_value",
539
+ "type": "string",
540
+ "in": "body",
541
+ "description": "Value for your secret, encrypted with LibSodium using the public key retrieved from the Get a repository public key endpoint."
542
+ }
543
+ },
544
+ "field_5": {
545
+ "field_type": "body",
546
+ "fields": {
547
+ "name": "key_id",
548
+ "type": "string",
549
+ "in": "body",
550
+ "description": "ID of the key you used to encrypt the secret."
551
+ }
552
+ }
553
+ },
554
+ {
555
+ "namespace_description": "Delete a repository secret",
556
+ "method": "delete",
557
+ "endpoint": "/repos/{owner}/{repo}/dependabot/secrets/{secret_name}",
558
+ "field_0": {
559
+ "field_type": "header",
560
+ "fields": {
561
+ "name": "accept",
562
+ "type": "string",
563
+ "in": "header",
564
+ "description": "Setting toapplication/vnd.github.v3+json is recommended."
565
+ }
566
+ },
567
+ "field_1": {
568
+ "field_type": "path",
569
+ "fields": {
570
+ "name": "owner",
571
+ "type": "string",
572
+ "in": "path",
573
+ "description": ""
574
+ }
575
+ },
576
+ "field_2": {
577
+ "field_type": "path",
578
+ "fields": {
579
+ "name": "repo",
580
+ "type": "string",
581
+ "in": "path",
582
+ "description": ""
583
+ }
584
+ },
585
+ "field_3": {
586
+ "field_type": "path",
587
+ "fields": {
588
+ "name": "secret_name",
589
+ "type": "string",
590
+ "in": "path",
591
+ "description": "secret_name parameter"
592
+ }
593
+ }
594
+ }
595
+ ]
596
+ }