@knowttl/gitea-axi 0.1.0 → 0.1.1

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.
@@ -1,16 +1,35 @@
1
1
  [
2
2
  {
3
3
  "path": "/api/v1/activitypub/user-id/{user-id}",
4
+ "method": "GET",
4
5
  "operation": "activitypubPerson",
6
+ "integerParameters": [
7
+ "user-id"
8
+ ],
5
9
  "effect": "read",
10
+ "requestSchema": null,
6
11
  "schema": {
7
12
  "$ref": "#/definitions/ActivityPub"
8
13
  }
9
14
  },
15
+ {
16
+ "path": "/api/v1/activitypub/user-id/{user-id}/inbox",
17
+ "method": "POST",
18
+ "operation": "activitypubPersonInbox",
19
+ "integerParameters": [
20
+ "user-id"
21
+ ],
22
+ "effect": "write",
23
+ "requestSchema": null,
24
+ "schema": null
25
+ },
10
26
  {
11
27
  "path": "/api/v1/admin/cron",
28
+ "method": "GET",
12
29
  "operation": "adminCronList",
30
+ "integerParameters": [],
13
31
  "effect": "admin",
32
+ "requestSchema": null,
14
33
  "schema": {
15
34
  "type": "array",
16
35
  "items": {
@@ -18,10 +37,22 @@
18
37
  }
19
38
  }
20
39
  },
40
+ {
41
+ "path": "/api/v1/admin/cron/{task}",
42
+ "method": "POST",
43
+ "operation": "adminCronRun",
44
+ "integerParameters": [],
45
+ "effect": "admin",
46
+ "requestSchema": null,
47
+ "schema": null
48
+ },
21
49
  {
22
50
  "path": "/api/v1/admin/emails",
51
+ "method": "GET",
23
52
  "operation": "adminGetAllEmails",
53
+ "integerParameters": [],
24
54
  "effect": "admin",
55
+ "requestSchema": null,
25
56
  "schema": {
26
57
  "type": "array",
27
58
  "items": {
@@ -31,8 +62,11 @@
31
62
  },
32
63
  {
33
64
  "path": "/api/v1/admin/emails/search",
65
+ "method": "GET",
34
66
  "operation": "adminSearchEmails",
67
+ "integerParameters": [],
35
68
  "effect": "admin",
69
+ "requestSchema": null,
36
70
  "schema": {
37
71
  "type": "array",
38
72
  "items": {
@@ -42,8 +76,11 @@
42
76
  },
43
77
  {
44
78
  "path": "/api/v1/admin/hooks",
79
+ "method": "GET",
45
80
  "operation": "adminListHooks",
81
+ "integerParameters": [],
46
82
  "effect": "admin",
83
+ "requestSchema": null,
47
84
  "schema": {
48
85
  "type": "array",
49
86
  "items": {
@@ -51,18 +88,63 @@
51
88
  }
52
89
  }
53
90
  },
91
+ {
92
+ "path": "/api/v1/admin/hooks",
93
+ "method": "POST",
94
+ "operation": "adminCreateHook",
95
+ "integerParameters": [],
96
+ "effect": "admin",
97
+ "requestSchema": {
98
+ "$ref": "#/definitions/CreateHookOption"
99
+ },
100
+ "schema": null
101
+ },
54
102
  {
55
103
  "path": "/api/v1/admin/hooks/{id}",
104
+ "method": "GET",
56
105
  "operation": "adminGetHook",
106
+ "integerParameters": [
107
+ "id"
108
+ ],
109
+ "effect": "admin",
110
+ "requestSchema": null,
111
+ "schema": {
112
+ "$ref": "#/definitions/Hook"
113
+ }
114
+ },
115
+ {
116
+ "path": "/api/v1/admin/hooks/{id}",
117
+ "method": "DELETE",
118
+ "operation": "adminDeleteHook",
119
+ "integerParameters": [
120
+ "id"
121
+ ],
122
+ "effect": "admin",
123
+ "requestSchema": null,
124
+ "schema": null
125
+ },
126
+ {
127
+ "path": "/api/v1/admin/hooks/{id}",
128
+ "method": "PATCH",
129
+ "operation": "adminEditHook",
130
+ "integerParameters": [
131
+ "id"
132
+ ],
57
133
  "effect": "admin",
134
+ "requestSchema": {
135
+ "$ref": "#/definitions/EditHookOption"
136
+ },
58
137
  "schema": {
59
138
  "$ref": "#/definitions/Hook"
60
139
  }
61
140
  },
62
141
  {
63
142
  "path": "/api/v1/admin/orgs",
143
+ "method": "GET",
64
144
  "operation": "adminGetAllOrgs",
145
+ "integerParameters": [],
65
146
  "effect": "admin",
147
+ "requestSchema": null,
66
148
  "schema": {
67
149
  "type": "array",
68
150
  "items": {
@@ -72,14 +154,20 @@
72
154
  },
73
155
  {
74
156
  "path": "/api/v1/admin/runners/registration-token",
157
+ "method": "GET",
75
158
  "operation": "adminGetRunnerRegistrationToken",
159
+ "integerParameters": [],
76
160
  "effect": "admin",
161
+ "requestSchema": null,
77
162
  "schema": null
78
163
  },
79
164
  {
80
165
  "path": "/api/v1/admin/unadopted",
166
+ "method": "GET",
81
167
  "operation": "adminUnadoptedList",
168
+ "integerParameters": [],
82
169
  "effect": "admin",
170
+ "requestSchema": null,
83
171
  "schema": {
84
172
  "type": "array",
85
173
  "items": {
@@ -87,10 +175,31 @@
87
175
  }
88
176
  }
89
177
  },
178
+ {
179
+ "path": "/api/v1/admin/unadopted/{owner}/{repo}",
180
+ "method": "POST",
181
+ "operation": "adminAdoptRepository",
182
+ "integerParameters": [],
183
+ "effect": "admin",
184
+ "requestSchema": null,
185
+ "schema": null
186
+ },
187
+ {
188
+ "path": "/api/v1/admin/unadopted/{owner}/{repo}",
189
+ "method": "DELETE",
190
+ "operation": "adminDeleteUnadoptedRepository",
191
+ "integerParameters": [],
192
+ "effect": "admin",
193
+ "requestSchema": null,
194
+ "schema": null
195
+ },
90
196
  {
91
197
  "path": "/api/v1/admin/users",
198
+ "method": "GET",
92
199
  "operation": "adminSearchUsers",
200
+ "integerParameters": [],
93
201
  "effect": "admin",
202
+ "requestSchema": null,
94
203
  "schema": {
95
204
  "type": "array",
96
205
  "items": {
@@ -98,10 +207,46 @@
98
207
  }
99
208
  }
100
209
  },
210
+ {
211
+ "path": "/api/v1/admin/users",
212
+ "method": "POST",
213
+ "operation": "adminCreateUser",
214
+ "integerParameters": [],
215
+ "effect": "admin",
216
+ "requestSchema": {
217
+ "$ref": "#/definitions/CreateUserOption"
218
+ },
219
+ "schema": null
220
+ },
221
+ {
222
+ "path": "/api/v1/admin/users/{username}",
223
+ "method": "DELETE",
224
+ "operation": "adminDeleteUser",
225
+ "integerParameters": [],
226
+ "effect": "admin",
227
+ "requestSchema": null,
228
+ "schema": null
229
+ },
230
+ {
231
+ "path": "/api/v1/admin/users/{username}",
232
+ "method": "PATCH",
233
+ "operation": "adminEditUser",
234
+ "integerParameters": [],
235
+ "effect": "admin",
236
+ "requestSchema": {
237
+ "$ref": "#/definitions/EditUserOption"
238
+ },
239
+ "schema": {
240
+ "$ref": "#/definitions/User"
241
+ }
242
+ },
101
243
  {
102
244
  "path": "/api/v1/admin/users/{username}/badges",
245
+ "method": "GET",
103
246
  "operation": "adminListUserBadges",
247
+ "integerParameters": [],
104
248
  "effect": "admin",
249
+ "requestSchema": null,
105
250
  "schema": {
106
251
  "type": "array",
107
252
  "items": {
@@ -109,10 +254,90 @@
109
254
  }
110
255
  }
111
256
  },
257
+ {
258
+ "path": "/api/v1/admin/users/{username}/badges",
259
+ "method": "POST",
260
+ "operation": "adminAddUserBadges",
261
+ "integerParameters": [],
262
+ "effect": "admin",
263
+ "requestSchema": {
264
+ "$ref": "#/definitions/UserBadgeOption"
265
+ },
266
+ "schema": null
267
+ },
268
+ {
269
+ "path": "/api/v1/admin/users/{username}/badges",
270
+ "method": "DELETE",
271
+ "operation": "adminDeleteUserBadges",
272
+ "integerParameters": [],
273
+ "effect": "admin",
274
+ "requestSchema": {
275
+ "$ref": "#/definitions/UserBadgeOption"
276
+ },
277
+ "schema": null
278
+ },
279
+ {
280
+ "path": "/api/v1/admin/users/{username}/keys",
281
+ "method": "POST",
282
+ "operation": "adminCreatePublicKey",
283
+ "integerParameters": [],
284
+ "effect": "admin",
285
+ "requestSchema": {
286
+ "$ref": "#/definitions/CreateKeyOption"
287
+ },
288
+ "schema": null
289
+ },
290
+ {
291
+ "path": "/api/v1/admin/users/{username}/keys/{id}",
292
+ "method": "DELETE",
293
+ "operation": "adminDeleteUserPublicKey",
294
+ "integerParameters": [
295
+ "id"
296
+ ],
297
+ "effect": "admin",
298
+ "requestSchema": null,
299
+ "schema": null
300
+ },
301
+ {
302
+ "path": "/api/v1/admin/users/{username}/orgs",
303
+ "method": "POST",
304
+ "operation": "adminCreateOrg",
305
+ "integerParameters": [],
306
+ "effect": "admin",
307
+ "requestSchema": {
308
+ "$ref": "#/definitions/CreateOrgOption"
309
+ },
310
+ "schema": null
311
+ },
312
+ {
313
+ "path": "/api/v1/admin/users/{username}/rename",
314
+ "method": "POST",
315
+ "operation": "adminRenameUser",
316
+ "integerParameters": [],
317
+ "effect": "admin",
318
+ "requestSchema": {
319
+ "$ref": "#/definitions/RenameUserOption"
320
+ },
321
+ "schema": null
322
+ },
323
+ {
324
+ "path": "/api/v1/admin/users/{username}/repos",
325
+ "method": "POST",
326
+ "operation": "adminCreateRepo",
327
+ "integerParameters": [],
328
+ "effect": "admin",
329
+ "requestSchema": {
330
+ "$ref": "#/definitions/CreateRepoOption"
331
+ },
332
+ "schema": null
333
+ },
112
334
  {
113
335
  "path": "/api/v1/gitignore/templates",
336
+ "method": "GET",
114
337
  "operation": "listGitignoresTemplates",
338
+ "integerParameters": [],
115
339
  "effect": "read",
340
+ "requestSchema": null,
116
341
  "schema": {
117
342
  "type": "array",
118
343
  "items": {
@@ -122,16 +347,22 @@
122
347
  },
123
348
  {
124
349
  "path": "/api/v1/gitignore/templates/{name}",
350
+ "method": "GET",
125
351
  "operation": "getGitignoreTemplateInfo",
352
+ "integerParameters": [],
126
353
  "effect": "read",
354
+ "requestSchema": null,
127
355
  "schema": {
128
356
  "$ref": "#/definitions/GitignoreTemplateInfo"
129
357
  }
130
358
  },
131
359
  {
132
360
  "path": "/api/v1/label/templates",
361
+ "method": "GET",
133
362
  "operation": "listLabelTemplates",
363
+ "integerParameters": [],
134
364
  "effect": "read",
365
+ "requestSchema": null,
135
366
  "schema": {
136
367
  "type": "array",
137
368
  "items": {
@@ -141,8 +372,11 @@
141
372
  },
142
373
  {
143
374
  "path": "/api/v1/label/templates/{name}",
375
+ "method": "GET",
144
376
  "operation": "getLabelTemplateInfo",
377
+ "integerParameters": [],
145
378
  "effect": "read",
379
+ "requestSchema": null,
146
380
  "schema": {
147
381
  "type": "array",
148
382
  "items": {
@@ -152,8 +386,11 @@
152
386
  },
153
387
  {
154
388
  "path": "/api/v1/licenses",
389
+ "method": "GET",
155
390
  "operation": "listLicenseTemplates",
391
+ "integerParameters": [],
156
392
  "effect": "read",
393
+ "requestSchema": null,
157
394
  "schema": {
158
395
  "type": "array",
159
396
  "items": {
@@ -163,24 +400,72 @@
163
400
  },
164
401
  {
165
402
  "path": "/api/v1/licenses/{name}",
403
+ "method": "GET",
166
404
  "operation": "getLicenseTemplateInfo",
405
+ "integerParameters": [],
167
406
  "effect": "read",
407
+ "requestSchema": null,
168
408
  "schema": {
169
409
  "$ref": "#/definitions/LicenseTemplateInfo"
170
410
  }
171
411
  },
412
+ {
413
+ "path": "/api/v1/markdown",
414
+ "method": "POST",
415
+ "operation": "renderMarkdown",
416
+ "integerParameters": [],
417
+ "effect": "write",
418
+ "requestSchema": {
419
+ "$ref": "#/definitions/MarkdownOption"
420
+ },
421
+ "schema": {
422
+ "type": "string"
423
+ }
424
+ },
425
+ {
426
+ "path": "/api/v1/markdown/raw",
427
+ "method": "POST",
428
+ "operation": "renderMarkdownRaw",
429
+ "integerParameters": [],
430
+ "effect": "write",
431
+ "requestSchema": {
432
+ "type": "string"
433
+ },
434
+ "schema": {
435
+ "type": "string"
436
+ }
437
+ },
438
+ {
439
+ "path": "/api/v1/markup",
440
+ "method": "POST",
441
+ "operation": "renderMarkup",
442
+ "integerParameters": [],
443
+ "effect": "write",
444
+ "requestSchema": {
445
+ "$ref": "#/definitions/MarkupOption"
446
+ },
447
+ "schema": {
448
+ "type": "string"
449
+ }
450
+ },
172
451
  {
173
452
  "path": "/api/v1/nodeinfo",
453
+ "method": "GET",
174
454
  "operation": "getNodeInfo",
455
+ "integerParameters": [],
175
456
  "effect": "read",
457
+ "requestSchema": null,
176
458
  "schema": {
177
459
  "$ref": "#/definitions/NodeInfo"
178
460
  }
179
461
  },
180
462
  {
181
463
  "path": "/api/v1/notifications",
464
+ "method": "GET",
182
465
  "operation": "notifyGetList",
466
+ "integerParameters": [],
183
467
  "effect": "read",
468
+ "requestSchema": null,
184
469
  "schema": {
185
470
  "type": "array",
186
471
  "items": {
@@ -188,26 +473,68 @@
188
473
  }
189
474
  }
190
475
  },
476
+ {
477
+ "path": "/api/v1/notifications",
478
+ "method": "PUT",
479
+ "operation": "notifyReadList",
480
+ "integerParameters": [],
481
+ "effect": "write",
482
+ "requestSchema": null,
483
+ "schema": null
484
+ },
191
485
  {
192
486
  "path": "/api/v1/notifications/new",
487
+ "method": "GET",
193
488
  "operation": "notifyNewAvailable",
489
+ "integerParameters": [],
194
490
  "effect": "read",
491
+ "requestSchema": null,
195
492
  "schema": {
196
493
  "$ref": "#/definitions/NotificationCount"
197
494
  }
198
495
  },
199
496
  {
200
497
  "path": "/api/v1/notifications/threads/{id}",
498
+ "method": "GET",
201
499
  "operation": "notifyGetThread",
500
+ "integerParameters": [
501
+ "id"
502
+ ],
202
503
  "effect": "read",
504
+ "requestSchema": null,
203
505
  "schema": {
204
506
  "$ref": "#/definitions/NotificationThread"
205
507
  }
206
508
  },
509
+ {
510
+ "path": "/api/v1/notifications/threads/{id}",
511
+ "method": "PATCH",
512
+ "operation": "notifyReadThread",
513
+ "integerParameters": [
514
+ "id"
515
+ ],
516
+ "effect": "write",
517
+ "requestSchema": null,
518
+ "schema": null
519
+ },
520
+ {
521
+ "path": "/api/v1/org/{org}/repos",
522
+ "method": "POST",
523
+ "operation": "createOrgRepoDeprecated",
524
+ "integerParameters": [],
525
+ "effect": "write",
526
+ "requestSchema": {
527
+ "$ref": "#/definitions/CreateRepoOption"
528
+ },
529
+ "schema": null
530
+ },
207
531
  {
208
532
  "path": "/api/v1/orgs",
533
+ "method": "GET",
209
534
  "operation": "orgGetAll",
535
+ "integerParameters": [],
210
536
  "effect": "read",
537
+ "requestSchema": null,
211
538
  "schema": {
212
539
  "type": "array",
213
540
  "items": {
@@ -215,24 +542,66 @@
215
542
  }
216
543
  }
217
544
  },
545
+ {
546
+ "path": "/api/v1/orgs",
547
+ "method": "POST",
548
+ "operation": "orgCreate",
549
+ "integerParameters": [],
550
+ "effect": "write",
551
+ "requestSchema": {
552
+ "$ref": "#/definitions/CreateOrgOption"
553
+ },
554
+ "schema": null
555
+ },
218
556
  {
219
557
  "path": "/api/v1/orgs/{org}",
558
+ "method": "GET",
220
559
  "operation": "orgGet",
560
+ "integerParameters": [],
221
561
  "effect": "read",
562
+ "requestSchema": null,
563
+ "schema": {
564
+ "$ref": "#/definitions/Organization"
565
+ }
566
+ },
567
+ {
568
+ "path": "/api/v1/orgs/{org}",
569
+ "method": "DELETE",
570
+ "operation": "orgDelete",
571
+ "integerParameters": [],
572
+ "effect": "write",
573
+ "requestSchema": null,
574
+ "schema": null
575
+ },
576
+ {
577
+ "path": "/api/v1/orgs/{org}",
578
+ "method": "PATCH",
579
+ "operation": "orgEdit",
580
+ "integerParameters": [],
581
+ "effect": "write",
582
+ "requestSchema": {
583
+ "$ref": "#/definitions/EditOrgOption"
584
+ },
222
585
  "schema": {
223
586
  "$ref": "#/definitions/Organization"
224
587
  }
225
588
  },
226
589
  {
227
590
  "path": "/api/v1/orgs/{org}/actions/runners/registration-token",
591
+ "method": "GET",
228
592
  "operation": "orgGetRunnerRegistrationToken",
593
+ "integerParameters": [],
229
594
  "effect": "credential",
595
+ "requestSchema": null,
230
596
  "schema": null
231
597
  },
232
598
  {
233
599
  "path": "/api/v1/orgs/{org}/actions/secrets",
600
+ "method": "GET",
234
601
  "operation": "orgListActionsSecrets",
602
+ "integerParameters": [],
235
603
  "effect": "read",
604
+ "requestSchema": null,
236
605
  "schema": {
237
606
  "type": "array",
238
607
  "items": {
@@ -240,10 +609,33 @@
240
609
  }
241
610
  }
242
611
  },
612
+ {
613
+ "path": "/api/v1/orgs/{org}/actions/secrets/{secretname}",
614
+ "method": "PUT",
615
+ "operation": "updateOrgSecret",
616
+ "integerParameters": [],
617
+ "effect": "write",
618
+ "requestSchema": {
619
+ "$ref": "#/definitions/CreateOrUpdateSecretOption"
620
+ },
621
+ "schema": null
622
+ },
623
+ {
624
+ "path": "/api/v1/orgs/{org}/actions/secrets/{secretname}",
625
+ "method": "DELETE",
626
+ "operation": "deleteOrgSecret",
627
+ "integerParameters": [],
628
+ "effect": "write",
629
+ "requestSchema": null,
630
+ "schema": null
631
+ },
243
632
  {
244
633
  "path": "/api/v1/orgs/{org}/actions/variables",
634
+ "method": "GET",
245
635
  "operation": "getOrgVariablesList",
636
+ "integerParameters": [],
246
637
  "effect": "read",
638
+ "requestSchema": null,
247
639
  "schema": {
248
640
  "type": "array",
249
641
  "items": {
@@ -253,16 +645,55 @@
253
645
  },
254
646
  {
255
647
  "path": "/api/v1/orgs/{org}/actions/variables/{variablename}",
648
+ "method": "GET",
256
649
  "operation": "getOrgVariable",
650
+ "integerParameters": [],
257
651
  "effect": "read",
652
+ "requestSchema": null,
653
+ "schema": {
654
+ "$ref": "#/definitions/ActionVariable"
655
+ }
656
+ },
657
+ {
658
+ "path": "/api/v1/orgs/{org}/actions/variables/{variablename}",
659
+ "method": "PUT",
660
+ "operation": "updateOrgVariable",
661
+ "integerParameters": [],
662
+ "effect": "write",
663
+ "requestSchema": {
664
+ "$ref": "#/definitions/UpdateVariableOption"
665
+ },
666
+ "schema": null
667
+ },
668
+ {
669
+ "path": "/api/v1/orgs/{org}/actions/variables/{variablename}",
670
+ "method": "POST",
671
+ "operation": "createOrgVariable",
672
+ "integerParameters": [],
673
+ "effect": "write",
674
+ "requestSchema": {
675
+ "$ref": "#/definitions/CreateVariableOption"
676
+ },
677
+ "schema": null
678
+ },
679
+ {
680
+ "path": "/api/v1/orgs/{org}/actions/variables/{variablename}",
681
+ "method": "DELETE",
682
+ "operation": "deleteOrgVariable",
683
+ "integerParameters": [],
684
+ "effect": "write",
685
+ "requestSchema": null,
258
686
  "schema": {
259
687
  "$ref": "#/definitions/ActionVariable"
260
688
  }
261
689
  },
262
690
  {
263
691
  "path": "/api/v1/orgs/{org}/activities/feeds",
692
+ "method": "GET",
264
693
  "operation": "orgListActivityFeeds",
694
+ "integerParameters": [],
265
695
  "effect": "read",
696
+ "requestSchema": null,
266
697
  "schema": {
267
698
  "type": "array",
268
699
  "items": {
@@ -270,10 +701,33 @@
270
701
  }
271
702
  }
272
703
  },
704
+ {
705
+ "path": "/api/v1/orgs/{org}/avatar",
706
+ "method": "POST",
707
+ "operation": "orgUpdateAvatar",
708
+ "integerParameters": [],
709
+ "effect": "write",
710
+ "requestSchema": {
711
+ "$ref": "#/definitions/UpdateUserAvatarOption"
712
+ },
713
+ "schema": null
714
+ },
715
+ {
716
+ "path": "/api/v1/orgs/{org}/avatar",
717
+ "method": "DELETE",
718
+ "operation": "orgDeleteAvatar",
719
+ "integerParameters": [],
720
+ "effect": "write",
721
+ "requestSchema": null,
722
+ "schema": null
723
+ },
273
724
  {
274
725
  "path": "/api/v1/orgs/{org}/blocks",
726
+ "method": "GET",
275
727
  "operation": "organizationListBlocks",
728
+ "integerParameters": [],
276
729
  "effect": "read",
730
+ "requestSchema": null,
277
731
  "schema": {
278
732
  "type": "array",
279
733
  "items": {
@@ -283,14 +737,38 @@
283
737
  },
284
738
  {
285
739
  "path": "/api/v1/orgs/{org}/blocks/{username}",
740
+ "method": "GET",
286
741
  "operation": "organizationCheckUserBlock",
742
+ "integerParameters": [],
287
743
  "effect": "read",
744
+ "requestSchema": null,
745
+ "schema": null
746
+ },
747
+ {
748
+ "path": "/api/v1/orgs/{org}/blocks/{username}",
749
+ "method": "PUT",
750
+ "operation": "organizationBlockUser",
751
+ "integerParameters": [],
752
+ "effect": "write",
753
+ "requestSchema": null,
754
+ "schema": null
755
+ },
756
+ {
757
+ "path": "/api/v1/orgs/{org}/blocks/{username}",
758
+ "method": "DELETE",
759
+ "operation": "organizationUnblockUser",
760
+ "integerParameters": [],
761
+ "effect": "write",
762
+ "requestSchema": null,
288
763
  "schema": null
289
764
  },
290
765
  {
291
766
  "path": "/api/v1/orgs/{org}/hooks",
767
+ "method": "GET",
292
768
  "operation": "orgListHooks",
769
+ "integerParameters": [],
293
770
  "effect": "credential",
771
+ "requestSchema": null,
294
772
  "schema": {
295
773
  "type": "array",
296
774
  "items": {
@@ -298,18 +776,63 @@
298
776
  }
299
777
  }
300
778
  },
779
+ {
780
+ "path": "/api/v1/orgs/{org}/hooks",
781
+ "method": "POST",
782
+ "operation": "orgCreateHook",
783
+ "integerParameters": [],
784
+ "effect": "credential",
785
+ "requestSchema": {
786
+ "$ref": "#/definitions/CreateHookOption"
787
+ },
788
+ "schema": null
789
+ },
301
790
  {
302
791
  "path": "/api/v1/orgs/{org}/hooks/{id}",
792
+ "method": "GET",
303
793
  "operation": "orgGetHook",
794
+ "integerParameters": [
795
+ "id"
796
+ ],
797
+ "effect": "credential",
798
+ "requestSchema": null,
799
+ "schema": {
800
+ "$ref": "#/definitions/Hook"
801
+ }
802
+ },
803
+ {
804
+ "path": "/api/v1/orgs/{org}/hooks/{id}",
805
+ "method": "DELETE",
806
+ "operation": "orgDeleteHook",
807
+ "integerParameters": [
808
+ "id"
809
+ ],
810
+ "effect": "write",
811
+ "requestSchema": null,
812
+ "schema": null
813
+ },
814
+ {
815
+ "path": "/api/v1/orgs/{org}/hooks/{id}",
816
+ "method": "PATCH",
817
+ "operation": "orgEditHook",
818
+ "integerParameters": [
819
+ "id"
820
+ ],
304
821
  "effect": "credential",
822
+ "requestSchema": {
823
+ "$ref": "#/definitions/EditHookOption"
824
+ },
305
825
  "schema": {
306
826
  "$ref": "#/definitions/Hook"
307
827
  }
308
828
  },
309
829
  {
310
830
  "path": "/api/v1/orgs/{org}/labels",
831
+ "method": "GET",
311
832
  "operation": "orgListLabels",
833
+ "integerParameters": [],
312
834
  "effect": "read",
835
+ "requestSchema": null,
313
836
  "schema": {
314
837
  "type": "array",
315
838
  "items": {
@@ -317,18 +840,63 @@
317
840
  }
318
841
  }
319
842
  },
843
+ {
844
+ "path": "/api/v1/orgs/{org}/labels",
845
+ "method": "POST",
846
+ "operation": "orgCreateLabel",
847
+ "integerParameters": [],
848
+ "effect": "write",
849
+ "requestSchema": {
850
+ "$ref": "#/definitions/CreateLabelOption"
851
+ },
852
+ "schema": null
853
+ },
320
854
  {
321
855
  "path": "/api/v1/orgs/{org}/labels/{id}",
856
+ "method": "GET",
322
857
  "operation": "orgGetLabel",
858
+ "integerParameters": [
859
+ "id"
860
+ ],
323
861
  "effect": "read",
862
+ "requestSchema": null,
863
+ "schema": {
864
+ "$ref": "#/definitions/Label"
865
+ }
866
+ },
867
+ {
868
+ "path": "/api/v1/orgs/{org}/labels/{id}",
869
+ "method": "DELETE",
870
+ "operation": "orgDeleteLabel",
871
+ "integerParameters": [
872
+ "id"
873
+ ],
874
+ "effect": "write",
875
+ "requestSchema": null,
876
+ "schema": null
877
+ },
878
+ {
879
+ "path": "/api/v1/orgs/{org}/labels/{id}",
880
+ "method": "PATCH",
881
+ "operation": "orgEditLabel",
882
+ "integerParameters": [
883
+ "id"
884
+ ],
885
+ "effect": "write",
886
+ "requestSchema": {
887
+ "$ref": "#/definitions/EditLabelOption"
888
+ },
324
889
  "schema": {
325
890
  "$ref": "#/definitions/Label"
326
891
  }
327
892
  },
328
893
  {
329
894
  "path": "/api/v1/orgs/{org}/members",
895
+ "method": "GET",
330
896
  "operation": "orgListMembers",
897
+ "integerParameters": [],
331
898
  "effect": "read",
899
+ "requestSchema": null,
332
900
  "schema": {
333
901
  "type": "array",
334
902
  "items": {
@@ -338,14 +906,29 @@
338
906
  },
339
907
  {
340
908
  "path": "/api/v1/orgs/{org}/members/{username}",
909
+ "method": "GET",
341
910
  "operation": "orgIsMember",
911
+ "integerParameters": [],
342
912
  "effect": "read",
913
+ "requestSchema": null,
914
+ "schema": null
915
+ },
916
+ {
917
+ "path": "/api/v1/orgs/{org}/members/{username}",
918
+ "method": "DELETE",
919
+ "operation": "orgDeleteMember",
920
+ "integerParameters": [],
921
+ "effect": "write",
922
+ "requestSchema": null,
343
923
  "schema": null
344
924
  },
345
925
  {
346
926
  "path": "/api/v1/orgs/{org}/public_members",
927
+ "method": "GET",
347
928
  "operation": "orgListPublicMembers",
929
+ "integerParameters": [],
348
930
  "effect": "read",
931
+ "requestSchema": null,
349
932
  "schema": {
350
933
  "type": "array",
351
934
  "items": {
@@ -355,14 +938,38 @@
355
938
  },
356
939
  {
357
940
  "path": "/api/v1/orgs/{org}/public_members/{username}",
941
+ "method": "GET",
358
942
  "operation": "orgIsPublicMember",
943
+ "integerParameters": [],
359
944
  "effect": "read",
945
+ "requestSchema": null,
946
+ "schema": null
947
+ },
948
+ {
949
+ "path": "/api/v1/orgs/{org}/public_members/{username}",
950
+ "method": "PUT",
951
+ "operation": "orgPublicizeMember",
952
+ "integerParameters": [],
953
+ "effect": "write",
954
+ "requestSchema": null,
955
+ "schema": null
956
+ },
957
+ {
958
+ "path": "/api/v1/orgs/{org}/public_members/{username}",
959
+ "method": "DELETE",
960
+ "operation": "orgConcealMember",
961
+ "integerParameters": [],
962
+ "effect": "write",
963
+ "requestSchema": null,
360
964
  "schema": null
361
965
  },
362
966
  {
363
967
  "path": "/api/v1/orgs/{org}/repos",
968
+ "method": "GET",
364
969
  "operation": "orgListRepos",
970
+ "integerParameters": [],
365
971
  "effect": "read",
972
+ "requestSchema": null,
366
973
  "schema": {
367
974
  "type": "array",
368
975
  "items": {
@@ -370,10 +977,24 @@
370
977
  }
371
978
  }
372
979
  },
980
+ {
981
+ "path": "/api/v1/orgs/{org}/repos",
982
+ "method": "POST",
983
+ "operation": "createOrgRepo",
984
+ "integerParameters": [],
985
+ "effect": "write",
986
+ "requestSchema": {
987
+ "$ref": "#/definitions/CreateRepoOption"
988
+ },
989
+ "schema": null
990
+ },
373
991
  {
374
992
  "path": "/api/v1/orgs/{org}/teams",
993
+ "method": "GET",
375
994
  "operation": "orgListTeams",
995
+ "integerParameters": [],
376
996
  "effect": "read",
997
+ "requestSchema": null,
377
998
  "schema": {
378
999
  "type": "array",
379
1000
  "items": {
@@ -381,10 +1002,24 @@
381
1002
  }
382
1003
  }
383
1004
  },
1005
+ {
1006
+ "path": "/api/v1/orgs/{org}/teams",
1007
+ "method": "POST",
1008
+ "operation": "orgCreateTeam",
1009
+ "integerParameters": [],
1010
+ "effect": "write",
1011
+ "requestSchema": {
1012
+ "$ref": "#/definitions/CreateTeamOption"
1013
+ },
1014
+ "schema": null
1015
+ },
384
1016
  {
385
1017
  "path": "/api/v1/orgs/{org}/teams/search",
1018
+ "method": "GET",
386
1019
  "operation": "teamSearch",
1020
+ "integerParameters": [],
387
1021
  "effect": "read",
1022
+ "requestSchema": null,
388
1023
  "schema": {
389
1024
  "type": "object",
390
1025
  "properties": {
@@ -402,8 +1037,11 @@
402
1037
  },
403
1038
  {
404
1039
  "path": "/api/v1/packages/{owner}",
1040
+ "method": "GET",
405
1041
  "operation": "listPackages",
1042
+ "integerParameters": [],
406
1043
  "effect": "read",
1044
+ "requestSchema": null,
407
1045
  "schema": {
408
1046
  "type": "array",
409
1047
  "items": {
@@ -413,16 +1051,31 @@
413
1051
  },
414
1052
  {
415
1053
  "path": "/api/v1/packages/{owner}/{type}/{name}/{version}",
1054
+ "method": "GET",
416
1055
  "operation": "getPackage",
1056
+ "integerParameters": [],
417
1057
  "effect": "read",
1058
+ "requestSchema": null,
418
1059
  "schema": {
419
1060
  "$ref": "#/definitions/Package"
420
1061
  }
421
1062
  },
1063
+ {
1064
+ "path": "/api/v1/packages/{owner}/{type}/{name}/{version}",
1065
+ "method": "DELETE",
1066
+ "operation": "deletePackage",
1067
+ "integerParameters": [],
1068
+ "effect": "write",
1069
+ "requestSchema": null,
1070
+ "schema": null
1071
+ },
422
1072
  {
423
1073
  "path": "/api/v1/packages/{owner}/{type}/{name}/{version}/files",
1074
+ "method": "GET",
424
1075
  "operation": "listPackageFiles",
1076
+ "integerParameters": [],
425
1077
  "effect": "read",
1078
+ "requestSchema": null,
426
1079
  "schema": {
427
1080
  "type": "array",
428
1081
  "items": {
@@ -432,8 +1085,11 @@
432
1085
  },
433
1086
  {
434
1087
  "path": "/api/v1/repos/issues/search",
1088
+ "method": "GET",
435
1089
  "operation": "issueSearchIssues",
1090
+ "integerParameters": [],
436
1091
  "effect": "read",
1092
+ "requestSchema": null,
437
1093
  "schema": {
438
1094
  "type": "array",
439
1095
  "items": {
@@ -441,32 +1097,77 @@
441
1097
  }
442
1098
  }
443
1099
  },
1100
+ {
1101
+ "path": "/api/v1/repos/migrate",
1102
+ "method": "POST",
1103
+ "operation": "repoMigrate",
1104
+ "integerParameters": [],
1105
+ "effect": "credential",
1106
+ "requestSchema": {
1107
+ "$ref": "#/definitions/MigrateRepoOptions"
1108
+ },
1109
+ "schema": null
1110
+ },
444
1111
  {
445
1112
  "path": "/api/v1/repos/search",
1113
+ "method": "GET",
446
1114
  "operation": "repoSearch",
1115
+ "integerParameters": [],
447
1116
  "effect": "read",
1117
+ "requestSchema": null,
448
1118
  "schema": {
449
1119
  "$ref": "#/definitions/SearchResults"
450
1120
  }
451
1121
  },
452
1122
  {
453
1123
  "path": "/api/v1/repos/{owner}/{repo}",
1124
+ "method": "GET",
454
1125
  "operation": "repoGet",
1126
+ "integerParameters": [],
455
1127
  "effect": "read",
1128
+ "requestSchema": null,
1129
+ "schema": {
1130
+ "$ref": "#/definitions/Repository"
1131
+ }
1132
+ },
1133
+ {
1134
+ "path": "/api/v1/repos/{owner}/{repo}",
1135
+ "method": "DELETE",
1136
+ "operation": "repoDelete",
1137
+ "integerParameters": [],
1138
+ "effect": "write",
1139
+ "requestSchema": null,
1140
+ "schema": null
1141
+ },
1142
+ {
1143
+ "path": "/api/v1/repos/{owner}/{repo}",
1144
+ "method": "PATCH",
1145
+ "operation": "repoEdit",
1146
+ "integerParameters": [],
1147
+ "effect": "write",
1148
+ "requestSchema": {
1149
+ "$ref": "#/definitions/EditRepoOption"
1150
+ },
456
1151
  "schema": {
457
1152
  "$ref": "#/definitions/Repository"
458
1153
  }
459
1154
  },
460
1155
  {
461
1156
  "path": "/api/v1/repos/{owner}/{repo}/actions/runners/registration-token",
1157
+ "method": "GET",
462
1158
  "operation": "repoGetRunnerRegistrationToken",
1159
+ "integerParameters": [],
463
1160
  "effect": "credential",
1161
+ "requestSchema": null,
464
1162
  "schema": null
465
1163
  },
466
1164
  {
467
1165
  "path": "/api/v1/repos/{owner}/{repo}/actions/secrets",
1166
+ "method": "GET",
468
1167
  "operation": "repoListActionsSecrets",
1168
+ "integerParameters": [],
469
1169
  "effect": "read",
1170
+ "requestSchema": null,
470
1171
  "schema": {
471
1172
  "type": "array",
472
1173
  "items": {
@@ -474,18 +1175,44 @@
474
1175
  }
475
1176
  }
476
1177
  },
1178
+ {
1179
+ "path": "/api/v1/repos/{owner}/{repo}/actions/secrets/{secretname}",
1180
+ "method": "PUT",
1181
+ "operation": "updateRepoSecret",
1182
+ "integerParameters": [],
1183
+ "effect": "write",
1184
+ "requestSchema": {
1185
+ "$ref": "#/definitions/CreateOrUpdateSecretOption"
1186
+ },
1187
+ "schema": null
1188
+ },
1189
+ {
1190
+ "path": "/api/v1/repos/{owner}/{repo}/actions/secrets/{secretname}",
1191
+ "method": "DELETE",
1192
+ "operation": "deleteRepoSecret",
1193
+ "integerParameters": [],
1194
+ "effect": "write",
1195
+ "requestSchema": null,
1196
+ "schema": null
1197
+ },
477
1198
  {
478
1199
  "path": "/api/v1/repos/{owner}/{repo}/actions/tasks",
1200
+ "method": "GET",
479
1201
  "operation": "ListActionTasks",
1202
+ "integerParameters": [],
480
1203
  "effect": "read",
1204
+ "requestSchema": null,
481
1205
  "schema": {
482
1206
  "$ref": "#/definitions/ActionTaskResponse"
483
1207
  }
484
1208
  },
485
1209
  {
486
1210
  "path": "/api/v1/repos/{owner}/{repo}/actions/variables",
1211
+ "method": "GET",
487
1212
  "operation": "getRepoVariablesList",
1213
+ "integerParameters": [],
488
1214
  "effect": "read",
1215
+ "requestSchema": null,
489
1216
  "schema": {
490
1217
  "type": "array",
491
1218
  "items": {
@@ -495,16 +1222,55 @@
495
1222
  },
496
1223
  {
497
1224
  "path": "/api/v1/repos/{owner}/{repo}/actions/variables/{variablename}",
1225
+ "method": "GET",
498
1226
  "operation": "getRepoVariable",
1227
+ "integerParameters": [],
499
1228
  "effect": "read",
1229
+ "requestSchema": null,
1230
+ "schema": {
1231
+ "$ref": "#/definitions/ActionVariable"
1232
+ }
1233
+ },
1234
+ {
1235
+ "path": "/api/v1/repos/{owner}/{repo}/actions/variables/{variablename}",
1236
+ "method": "PUT",
1237
+ "operation": "updateRepoVariable",
1238
+ "integerParameters": [],
1239
+ "effect": "write",
1240
+ "requestSchema": {
1241
+ "$ref": "#/definitions/UpdateVariableOption"
1242
+ },
1243
+ "schema": null
1244
+ },
1245
+ {
1246
+ "path": "/api/v1/repos/{owner}/{repo}/actions/variables/{variablename}",
1247
+ "method": "POST",
1248
+ "operation": "createRepoVariable",
1249
+ "integerParameters": [],
1250
+ "effect": "write",
1251
+ "requestSchema": {
1252
+ "$ref": "#/definitions/CreateVariableOption"
1253
+ },
1254
+ "schema": null
1255
+ },
1256
+ {
1257
+ "path": "/api/v1/repos/{owner}/{repo}/actions/variables/{variablename}",
1258
+ "method": "DELETE",
1259
+ "operation": "deleteRepoVariable",
1260
+ "integerParameters": [],
1261
+ "effect": "write",
1262
+ "requestSchema": null,
500
1263
  "schema": {
501
1264
  "$ref": "#/definitions/ActionVariable"
502
1265
  }
503
1266
  },
504
1267
  {
505
1268
  "path": "/api/v1/repos/{owner}/{repo}/activities/feeds",
1269
+ "method": "GET",
506
1270
  "operation": "repoListActivityFeeds",
1271
+ "integerParameters": [],
507
1272
  "effect": "read",
1273
+ "requestSchema": null,
508
1274
  "schema": {
509
1275
  "type": "array",
510
1276
  "items": {
@@ -514,14 +1280,20 @@
514
1280
  },
515
1281
  {
516
1282
  "path": "/api/v1/repos/{owner}/{repo}/archive/{archive}",
1283
+ "method": "GET",
517
1284
  "operation": "repoGetArchive",
1285
+ "integerParameters": [],
518
1286
  "effect": "download",
1287
+ "requestSchema": null,
519
1288
  "schema": null
520
1289
  },
521
1290
  {
522
1291
  "path": "/api/v1/repos/{owner}/{repo}/assignees",
1292
+ "method": "GET",
523
1293
  "operation": "repoGetAssignees",
1294
+ "integerParameters": [],
524
1295
  "effect": "read",
1296
+ "requestSchema": null,
525
1297
  "schema": {
526
1298
  "type": "array",
527
1299
  "items": {
@@ -529,10 +1301,33 @@
529
1301
  }
530
1302
  }
531
1303
  },
1304
+ {
1305
+ "path": "/api/v1/repos/{owner}/{repo}/avatar",
1306
+ "method": "POST",
1307
+ "operation": "repoUpdateAvatar",
1308
+ "integerParameters": [],
1309
+ "effect": "write",
1310
+ "requestSchema": {
1311
+ "$ref": "#/definitions/UpdateRepoAvatarOption"
1312
+ },
1313
+ "schema": null
1314
+ },
1315
+ {
1316
+ "path": "/api/v1/repos/{owner}/{repo}/avatar",
1317
+ "method": "DELETE",
1318
+ "operation": "repoDeleteAvatar",
1319
+ "integerParameters": [],
1320
+ "effect": "write",
1321
+ "requestSchema": null,
1322
+ "schema": null
1323
+ },
532
1324
  {
533
1325
  "path": "/api/v1/repos/{owner}/{repo}/branch_protections",
1326
+ "method": "GET",
534
1327
  "operation": "repoListBranchProtection",
1328
+ "integerParameters": [],
535
1329
  "effect": "read",
1330
+ "requestSchema": null,
536
1331
  "schema": {
537
1332
  "type": "array",
538
1333
  "items": {
@@ -540,18 +1335,68 @@
540
1335
  }
541
1336
  }
542
1337
  },
1338
+ {
1339
+ "path": "/api/v1/repos/{owner}/{repo}/branch_protections",
1340
+ "method": "POST",
1341
+ "operation": "repoCreateBranchProtection",
1342
+ "integerParameters": [],
1343
+ "effect": "write",
1344
+ "requestSchema": {
1345
+ "$ref": "#/definitions/CreateBranchProtectionOption"
1346
+ },
1347
+ "schema": null
1348
+ },
1349
+ {
1350
+ "path": "/api/v1/repos/{owner}/{repo}/branch_protections/priority",
1351
+ "method": "POST",
1352
+ "operation": "repoUpdateBranchProtectionPriories",
1353
+ "integerParameters": [],
1354
+ "effect": "write",
1355
+ "requestSchema": {
1356
+ "$ref": "#/definitions/UpdateBranchProtectionPriories"
1357
+ },
1358
+ "schema": null
1359
+ },
543
1360
  {
544
1361
  "path": "/api/v1/repos/{owner}/{repo}/branch_protections/{name}",
1362
+ "method": "GET",
545
1363
  "operation": "repoGetBranchProtection",
1364
+ "integerParameters": [],
546
1365
  "effect": "read",
1366
+ "requestSchema": null,
547
1367
  "schema": {
548
1368
  "$ref": "#/definitions/BranchProtection"
549
1369
  }
550
1370
  },
551
1371
  {
552
- "path": "/api/v1/repos/{owner}/{repo}/branches",
553
- "operation": "repoListBranches",
554
- "effect": "read",
1372
+ "path": "/api/v1/repos/{owner}/{repo}/branch_protections/{name}",
1373
+ "method": "DELETE",
1374
+ "operation": "repoDeleteBranchProtection",
1375
+ "integerParameters": [],
1376
+ "effect": "write",
1377
+ "requestSchema": null,
1378
+ "schema": null
1379
+ },
1380
+ {
1381
+ "path": "/api/v1/repos/{owner}/{repo}/branch_protections/{name}",
1382
+ "method": "PATCH",
1383
+ "operation": "repoEditBranchProtection",
1384
+ "integerParameters": [],
1385
+ "effect": "write",
1386
+ "requestSchema": {
1387
+ "$ref": "#/definitions/EditBranchProtectionOption"
1388
+ },
1389
+ "schema": {
1390
+ "$ref": "#/definitions/BranchProtection"
1391
+ }
1392
+ },
1393
+ {
1394
+ "path": "/api/v1/repos/{owner}/{repo}/branches",
1395
+ "method": "GET",
1396
+ "operation": "repoListBranches",
1397
+ "integerParameters": [],
1398
+ "effect": "read",
1399
+ "requestSchema": null,
555
1400
  "schema": {
556
1401
  "type": "array",
557
1402
  "items": {
@@ -559,18 +1404,55 @@
559
1404
  }
560
1405
  }
561
1406
  },
1407
+ {
1408
+ "path": "/api/v1/repos/{owner}/{repo}/branches",
1409
+ "method": "POST",
1410
+ "operation": "repoCreateBranch",
1411
+ "integerParameters": [],
1412
+ "effect": "write",
1413
+ "requestSchema": {
1414
+ "$ref": "#/definitions/CreateBranchRepoOption"
1415
+ },
1416
+ "schema": null
1417
+ },
562
1418
  {
563
1419
  "path": "/api/v1/repos/{owner}/{repo}/branches/{branch}",
1420
+ "method": "GET",
564
1421
  "operation": "repoGetBranch",
1422
+ "integerParameters": [],
565
1423
  "effect": "read",
1424
+ "requestSchema": null,
566
1425
  "schema": {
567
1426
  "$ref": "#/definitions/Branch"
568
1427
  }
569
1428
  },
1429
+ {
1430
+ "path": "/api/v1/repos/{owner}/{repo}/branches/{branch}",
1431
+ "method": "DELETE",
1432
+ "operation": "repoDeleteBranch",
1433
+ "integerParameters": [],
1434
+ "effect": "write",
1435
+ "requestSchema": null,
1436
+ "schema": null
1437
+ },
1438
+ {
1439
+ "path": "/api/v1/repos/{owner}/{repo}/branches/{branch}",
1440
+ "method": "PATCH",
1441
+ "operation": "repoUpdateBranch",
1442
+ "integerParameters": [],
1443
+ "effect": "write",
1444
+ "requestSchema": {
1445
+ "$ref": "#/definitions/UpdateBranchRepoOption"
1446
+ },
1447
+ "schema": null
1448
+ },
570
1449
  {
571
1450
  "path": "/api/v1/repos/{owner}/{repo}/collaborators",
1451
+ "method": "GET",
572
1452
  "operation": "repoListCollaborators",
1453
+ "integerParameters": [],
573
1454
  "effect": "read",
1455
+ "requestSchema": null,
574
1456
  "schema": {
575
1457
  "type": "array",
576
1458
  "items": {
@@ -580,22 +1462,51 @@
580
1462
  },
581
1463
  {
582
1464
  "path": "/api/v1/repos/{owner}/{repo}/collaborators/{collaborator}",
1465
+ "method": "GET",
583
1466
  "operation": "repoCheckCollaborator",
1467
+ "integerParameters": [],
584
1468
  "effect": "read",
1469
+ "requestSchema": null,
1470
+ "schema": null
1471
+ },
1472
+ {
1473
+ "path": "/api/v1/repos/{owner}/{repo}/collaborators/{collaborator}",
1474
+ "method": "PUT",
1475
+ "operation": "repoAddCollaborator",
1476
+ "integerParameters": [],
1477
+ "effect": "write",
1478
+ "requestSchema": {
1479
+ "$ref": "#/definitions/AddCollaboratorOption"
1480
+ },
1481
+ "schema": null
1482
+ },
1483
+ {
1484
+ "path": "/api/v1/repos/{owner}/{repo}/collaborators/{collaborator}",
1485
+ "method": "DELETE",
1486
+ "operation": "repoDeleteCollaborator",
1487
+ "integerParameters": [],
1488
+ "effect": "write",
1489
+ "requestSchema": null,
585
1490
  "schema": null
586
1491
  },
587
1492
  {
588
1493
  "path": "/api/v1/repos/{owner}/{repo}/collaborators/{collaborator}/permission",
1494
+ "method": "GET",
589
1495
  "operation": "repoGetRepoPermissions",
1496
+ "integerParameters": [],
590
1497
  "effect": "read",
1498
+ "requestSchema": null,
591
1499
  "schema": {
592
1500
  "$ref": "#/definitions/RepoCollaboratorPermission"
593
1501
  }
594
1502
  },
595
1503
  {
596
1504
  "path": "/api/v1/repos/{owner}/{repo}/commits",
1505
+ "method": "GET",
597
1506
  "operation": "repoGetAllCommits",
1507
+ "integerParameters": [],
598
1508
  "effect": "read",
1509
+ "requestSchema": null,
599
1510
  "schema": {
600
1511
  "type": "array",
601
1512
  "items": {
@@ -605,16 +1516,22 @@
605
1516
  },
606
1517
  {
607
1518
  "path": "/api/v1/repos/{owner}/{repo}/commits/{ref}/status",
1519
+ "method": "GET",
608
1520
  "operation": "repoGetCombinedStatusByRef",
1521
+ "integerParameters": [],
609
1522
  "effect": "read",
1523
+ "requestSchema": null,
610
1524
  "schema": {
611
1525
  "$ref": "#/definitions/CombinedStatus"
612
1526
  }
613
1527
  },
614
1528
  {
615
1529
  "path": "/api/v1/repos/{owner}/{repo}/commits/{ref}/statuses",
1530
+ "method": "GET",
616
1531
  "operation": "repoListStatusesByRef",
1532
+ "integerParameters": [],
617
1533
  "effect": "read",
1534
+ "requestSchema": null,
618
1535
  "schema": {
619
1536
  "type": "array",
620
1537
  "items": {
@@ -624,24 +1541,33 @@
624
1541
  },
625
1542
  {
626
1543
  "path": "/api/v1/repos/{owner}/{repo}/commits/{sha}/pull",
1544
+ "method": "GET",
627
1545
  "operation": "repoGetCommitPullRequest",
1546
+ "integerParameters": [],
628
1547
  "effect": "read",
1548
+ "requestSchema": null,
629
1549
  "schema": {
630
1550
  "$ref": "#/definitions/PullRequest"
631
1551
  }
632
1552
  },
633
1553
  {
634
1554
  "path": "/api/v1/repos/{owner}/{repo}/compare/{basehead}",
1555
+ "method": "GET",
635
1556
  "operation": "repoCompareDiff",
1557
+ "integerParameters": [],
636
1558
  "effect": "read",
1559
+ "requestSchema": null,
637
1560
  "schema": {
638
1561
  "$ref": "#/definitions/Compare"
639
1562
  }
640
1563
  },
641
1564
  {
642
1565
  "path": "/api/v1/repos/{owner}/{repo}/contents",
1566
+ "method": "GET",
643
1567
  "operation": "repoGetContentsList",
1568
+ "integerParameters": [],
644
1569
  "effect": "read",
1570
+ "requestSchema": null,
645
1571
  "schema": {
646
1572
  "type": "array",
647
1573
  "items": {
@@ -649,24 +1575,94 @@
649
1575
  }
650
1576
  }
651
1577
  },
1578
+ {
1579
+ "path": "/api/v1/repos/{owner}/{repo}/contents",
1580
+ "method": "POST",
1581
+ "operation": "repoChangeFiles",
1582
+ "integerParameters": [],
1583
+ "effect": "write",
1584
+ "requestSchema": {
1585
+ "$ref": "#/definitions/ChangeFilesOptions"
1586
+ },
1587
+ "schema": null
1588
+ },
652
1589
  {
653
1590
  "path": "/api/v1/repos/{owner}/{repo}/contents/{filepath}",
1591
+ "method": "GET",
654
1592
  "operation": "repoGetContents",
1593
+ "integerParameters": [],
655
1594
  "effect": "read",
1595
+ "requestSchema": null,
656
1596
  "schema": {
657
1597
  "$ref": "#/definitions/ContentsResponse"
658
1598
  }
659
1599
  },
1600
+ {
1601
+ "path": "/api/v1/repos/{owner}/{repo}/contents/{filepath}",
1602
+ "method": "PUT",
1603
+ "operation": "repoUpdateFile",
1604
+ "integerParameters": [],
1605
+ "effect": "write",
1606
+ "requestSchema": {
1607
+ "$ref": "#/definitions/UpdateFileOptions"
1608
+ },
1609
+ "schema": {
1610
+ "$ref": "#/definitions/FileResponse"
1611
+ }
1612
+ },
1613
+ {
1614
+ "path": "/api/v1/repos/{owner}/{repo}/contents/{filepath}",
1615
+ "method": "POST",
1616
+ "operation": "repoCreateFile",
1617
+ "integerParameters": [],
1618
+ "effect": "write",
1619
+ "requestSchema": {
1620
+ "$ref": "#/definitions/CreateFileOptions"
1621
+ },
1622
+ "schema": null
1623
+ },
1624
+ {
1625
+ "path": "/api/v1/repos/{owner}/{repo}/contents/{filepath}",
1626
+ "method": "DELETE",
1627
+ "operation": "repoDeleteFile",
1628
+ "integerParameters": [],
1629
+ "effect": "write",
1630
+ "requestSchema": {
1631
+ "$ref": "#/definitions/DeleteFileOptions"
1632
+ },
1633
+ "schema": {
1634
+ "$ref": "#/definitions/FileDeleteResponse"
1635
+ }
1636
+ },
1637
+ {
1638
+ "path": "/api/v1/repos/{owner}/{repo}/diffpatch",
1639
+ "method": "POST",
1640
+ "operation": "repoApplyDiffPatch",
1641
+ "integerParameters": [],
1642
+ "effect": "write",
1643
+ "requestSchema": {
1644
+ "$ref": "#/definitions/UpdateFileOptions"
1645
+ },
1646
+ "schema": {
1647
+ "$ref": "#/definitions/FileResponse"
1648
+ }
1649
+ },
660
1650
  {
661
1651
  "path": "/api/v1/repos/{owner}/{repo}/editorconfig/{filepath}",
1652
+ "method": "GET",
662
1653
  "operation": "repoGetEditorConfig",
1654
+ "integerParameters": [],
663
1655
  "effect": "read",
1656
+ "requestSchema": null,
664
1657
  "schema": null
665
1658
  },
666
1659
  {
667
1660
  "path": "/api/v1/repos/{owner}/{repo}/forks",
1661
+ "method": "GET",
668
1662
  "operation": "listForks",
1663
+ "integerParameters": [],
669
1664
  "effect": "read",
1665
+ "requestSchema": null,
670
1666
  "schema": {
671
1667
  "type": "array",
672
1668
  "items": {
@@ -674,42 +1670,68 @@
674
1670
  }
675
1671
  }
676
1672
  },
1673
+ {
1674
+ "path": "/api/v1/repos/{owner}/{repo}/forks",
1675
+ "method": "POST",
1676
+ "operation": "createFork",
1677
+ "integerParameters": [],
1678
+ "effect": "write",
1679
+ "requestSchema": {
1680
+ "$ref": "#/definitions/CreateForkOption"
1681
+ },
1682
+ "schema": null
1683
+ },
677
1684
  {
678
1685
  "path": "/api/v1/repos/{owner}/{repo}/git/blobs/{sha}",
1686
+ "method": "GET",
679
1687
  "operation": "GetBlob",
1688
+ "integerParameters": [],
680
1689
  "effect": "read",
1690
+ "requestSchema": null,
681
1691
  "schema": {
682
1692
  "$ref": "#/definitions/GitBlobResponse"
683
1693
  }
684
1694
  },
685
1695
  {
686
1696
  "path": "/api/v1/repos/{owner}/{repo}/git/commits/{sha}",
1697
+ "method": "GET",
687
1698
  "operation": "repoGetSingleCommit",
1699
+ "integerParameters": [],
688
1700
  "effect": "read",
1701
+ "requestSchema": null,
689
1702
  "schema": {
690
1703
  "$ref": "#/definitions/Commit"
691
1704
  }
692
1705
  },
693
1706
  {
694
1707
  "path": "/api/v1/repos/{owner}/{repo}/git/commits/{sha}.{diffType}",
1708
+ "method": "GET",
695
1709
  "operation": "repoDownloadCommitDiffOrPatch",
1710
+ "integerParameters": [],
696
1711
  "effect": "download",
1712
+ "requestSchema": null,
697
1713
  "schema": {
698
1714
  "type": "string"
699
1715
  }
700
1716
  },
701
1717
  {
702
1718
  "path": "/api/v1/repos/{owner}/{repo}/git/notes/{sha}",
1719
+ "method": "GET",
703
1720
  "operation": "repoGetNote",
1721
+ "integerParameters": [],
704
1722
  "effect": "read",
1723
+ "requestSchema": null,
705
1724
  "schema": {
706
1725
  "$ref": "#/definitions/Note"
707
1726
  }
708
1727
  },
709
1728
  {
710
1729
  "path": "/api/v1/repos/{owner}/{repo}/git/refs",
1730
+ "method": "GET",
711
1731
  "operation": "repoListAllGitRefs",
1732
+ "integerParameters": [],
712
1733
  "effect": "read",
1734
+ "requestSchema": null,
713
1735
  "schema": {
714
1736
  "type": "array",
715
1737
  "items": {
@@ -719,8 +1741,11 @@
719
1741
  },
720
1742
  {
721
1743
  "path": "/api/v1/repos/{owner}/{repo}/git/refs/{ref}",
1744
+ "method": "GET",
722
1745
  "operation": "repoListGitRefs",
1746
+ "integerParameters": [],
723
1747
  "effect": "read",
1748
+ "requestSchema": null,
724
1749
  "schema": {
725
1750
  "type": "array",
726
1751
  "items": {
@@ -730,24 +1755,33 @@
730
1755
  },
731
1756
  {
732
1757
  "path": "/api/v1/repos/{owner}/{repo}/git/tags/{sha}",
1758
+ "method": "GET",
733
1759
  "operation": "GetAnnotatedTag",
1760
+ "integerParameters": [],
734
1761
  "effect": "read",
1762
+ "requestSchema": null,
735
1763
  "schema": {
736
1764
  "$ref": "#/definitions/AnnotatedTag"
737
1765
  }
738
1766
  },
739
1767
  {
740
1768
  "path": "/api/v1/repos/{owner}/{repo}/git/trees/{sha}",
1769
+ "method": "GET",
741
1770
  "operation": "GetTree",
1771
+ "integerParameters": [],
742
1772
  "effect": "read",
1773
+ "requestSchema": null,
743
1774
  "schema": {
744
1775
  "$ref": "#/definitions/GitTreeResponse"
745
1776
  }
746
1777
  },
747
1778
  {
748
1779
  "path": "/api/v1/repos/{owner}/{repo}/hooks",
1780
+ "method": "GET",
749
1781
  "operation": "repoListHooks",
1782
+ "integerParameters": [],
750
1783
  "effect": "credential",
1784
+ "requestSchema": null,
751
1785
  "schema": {
752
1786
  "type": "array",
753
1787
  "items": {
@@ -755,10 +1789,24 @@
755
1789
  }
756
1790
  }
757
1791
  },
1792
+ {
1793
+ "path": "/api/v1/repos/{owner}/{repo}/hooks",
1794
+ "method": "POST",
1795
+ "operation": "repoCreateHook",
1796
+ "integerParameters": [],
1797
+ "effect": "credential",
1798
+ "requestSchema": {
1799
+ "$ref": "#/definitions/CreateHookOption"
1800
+ },
1801
+ "schema": null
1802
+ },
758
1803
  {
759
1804
  "path": "/api/v1/repos/{owner}/{repo}/hooks/git",
1805
+ "method": "GET",
760
1806
  "operation": "repoListGitHooks",
1807
+ "integerParameters": [],
761
1808
  "effect": "read",
1809
+ "requestSchema": null,
762
1810
  "schema": {
763
1811
  "type": "array",
764
1812
  "items": {
@@ -768,40 +1816,116 @@
768
1816
  },
769
1817
  {
770
1818
  "path": "/api/v1/repos/{owner}/{repo}/hooks/git/{id}",
1819
+ "method": "GET",
771
1820
  "operation": "repoGetGitHook",
1821
+ "integerParameters": [],
772
1822
  "effect": "read",
1823
+ "requestSchema": null,
1824
+ "schema": {
1825
+ "$ref": "#/definitions/GitHook"
1826
+ }
1827
+ },
1828
+ {
1829
+ "path": "/api/v1/repos/{owner}/{repo}/hooks/git/{id}",
1830
+ "method": "DELETE",
1831
+ "operation": "repoDeleteGitHook",
1832
+ "integerParameters": [],
1833
+ "effect": "write",
1834
+ "requestSchema": null,
1835
+ "schema": null
1836
+ },
1837
+ {
1838
+ "path": "/api/v1/repos/{owner}/{repo}/hooks/git/{id}",
1839
+ "method": "PATCH",
1840
+ "operation": "repoEditGitHook",
1841
+ "integerParameters": [],
1842
+ "effect": "write",
1843
+ "requestSchema": {
1844
+ "$ref": "#/definitions/EditGitHookOption"
1845
+ },
773
1846
  "schema": {
774
1847
  "$ref": "#/definitions/GitHook"
775
1848
  }
776
1849
  },
777
1850
  {
778
1851
  "path": "/api/v1/repos/{owner}/{repo}/hooks/{id}",
1852
+ "method": "GET",
779
1853
  "operation": "repoGetHook",
1854
+ "integerParameters": [
1855
+ "id"
1856
+ ],
780
1857
  "effect": "credential",
1858
+ "requestSchema": null,
781
1859
  "schema": {
782
1860
  "$ref": "#/definitions/Hook"
783
1861
  }
784
1862
  },
1863
+ {
1864
+ "path": "/api/v1/repos/{owner}/{repo}/hooks/{id}",
1865
+ "method": "DELETE",
1866
+ "operation": "repoDeleteHook",
1867
+ "integerParameters": [
1868
+ "id"
1869
+ ],
1870
+ "effect": "write",
1871
+ "requestSchema": null,
1872
+ "schema": null
1873
+ },
1874
+ {
1875
+ "path": "/api/v1/repos/{owner}/{repo}/hooks/{id}",
1876
+ "method": "PATCH",
1877
+ "operation": "repoEditHook",
1878
+ "integerParameters": [
1879
+ "id"
1880
+ ],
1881
+ "effect": "credential",
1882
+ "requestSchema": {
1883
+ "$ref": "#/definitions/EditHookOption"
1884
+ },
1885
+ "schema": {
1886
+ "$ref": "#/definitions/Hook"
1887
+ }
1888
+ },
1889
+ {
1890
+ "path": "/api/v1/repos/{owner}/{repo}/hooks/{id}/tests",
1891
+ "method": "POST",
1892
+ "operation": "repoTestHook",
1893
+ "integerParameters": [
1894
+ "id"
1895
+ ],
1896
+ "effect": "write",
1897
+ "requestSchema": null,
1898
+ "schema": null
1899
+ },
785
1900
  {
786
1901
  "path": "/api/v1/repos/{owner}/{repo}/issue_config",
1902
+ "method": "GET",
787
1903
  "operation": "repoGetIssueConfig",
1904
+ "integerParameters": [],
788
1905
  "effect": "read",
1906
+ "requestSchema": null,
789
1907
  "schema": {
790
1908
  "$ref": "#/definitions/IssueConfig"
791
1909
  }
792
1910
  },
793
1911
  {
794
1912
  "path": "/api/v1/repos/{owner}/{repo}/issue_config/validate",
1913
+ "method": "GET",
795
1914
  "operation": "repoValidateIssueConfig",
1915
+ "integerParameters": [],
796
1916
  "effect": "read",
1917
+ "requestSchema": null,
797
1918
  "schema": {
798
1919
  "$ref": "#/definitions/IssueConfigValidation"
799
1920
  }
800
1921
  },
801
1922
  {
802
1923
  "path": "/api/v1/repos/{owner}/{repo}/issue_templates",
1924
+ "method": "GET",
803
1925
  "operation": "repoGetIssueTemplates",
1926
+ "integerParameters": [],
804
1927
  "effect": "read",
1928
+ "requestSchema": null,
805
1929
  "schema": {
806
1930
  "type": "array",
807
1931
  "items": {
@@ -811,8 +1935,11 @@
811
1935
  },
812
1936
  {
813
1937
  "path": "/api/v1/repos/{owner}/{repo}/issues",
1938
+ "method": "GET",
814
1939
  "operation": "issueListIssues",
1940
+ "integerParameters": [],
815
1941
  "effect": "read",
1942
+ "requestSchema": null,
816
1943
  "schema": {
817
1944
  "type": "array",
818
1945
  "items": {
@@ -820,10 +1947,24 @@
820
1947
  }
821
1948
  }
822
1949
  },
1950
+ {
1951
+ "path": "/api/v1/repos/{owner}/{repo}/issues",
1952
+ "method": "POST",
1953
+ "operation": "issueCreateIssue",
1954
+ "integerParameters": [],
1955
+ "effect": "write",
1956
+ "requestSchema": {
1957
+ "$ref": "#/definitions/CreateIssueOption"
1958
+ },
1959
+ "schema": null
1960
+ },
823
1961
  {
824
1962
  "path": "/api/v1/repos/{owner}/{repo}/issues/comments",
1963
+ "method": "GET",
825
1964
  "operation": "issueGetRepoComments",
1965
+ "integerParameters": [],
826
1966
  "effect": "read",
1967
+ "requestSchema": null,
827
1968
  "schema": {
828
1969
  "type": "array",
829
1970
  "items": {
@@ -833,16 +1974,52 @@
833
1974
  },
834
1975
  {
835
1976
  "path": "/api/v1/repos/{owner}/{repo}/issues/comments/{id}",
1977
+ "method": "GET",
836
1978
  "operation": "issueGetComment",
1979
+ "integerParameters": [
1980
+ "id"
1981
+ ],
837
1982
  "effect": "read",
1983
+ "requestSchema": null,
1984
+ "schema": {
1985
+ "$ref": "#/definitions/Comment"
1986
+ }
1987
+ },
1988
+ {
1989
+ "path": "/api/v1/repos/{owner}/{repo}/issues/comments/{id}",
1990
+ "method": "DELETE",
1991
+ "operation": "issueDeleteComment",
1992
+ "integerParameters": [
1993
+ "id"
1994
+ ],
1995
+ "effect": "write",
1996
+ "requestSchema": null,
1997
+ "schema": null
1998
+ },
1999
+ {
2000
+ "path": "/api/v1/repos/{owner}/{repo}/issues/comments/{id}",
2001
+ "method": "PATCH",
2002
+ "operation": "issueEditComment",
2003
+ "integerParameters": [
2004
+ "id"
2005
+ ],
2006
+ "effect": "write",
2007
+ "requestSchema": {
2008
+ "$ref": "#/definitions/EditIssueCommentOption"
2009
+ },
838
2010
  "schema": {
839
2011
  "$ref": "#/definitions/Comment"
840
2012
  }
841
2013
  },
842
2014
  {
843
2015
  "path": "/api/v1/repos/{owner}/{repo}/issues/comments/{id}/assets",
2016
+ "method": "GET",
844
2017
  "operation": "issueListIssueCommentAttachments",
2018
+ "integerParameters": [
2019
+ "id"
2020
+ ],
845
2021
  "effect": "read",
2022
+ "requestSchema": null,
846
2023
  "schema": {
847
2024
  "type": "array",
848
2025
  "items": {
@@ -850,18 +2027,66 @@
850
2027
  }
851
2028
  }
852
2029
  },
2030
+ {
2031
+ "path": "/api/v1/repos/{owner}/{repo}/issues/comments/{id}/assets",
2032
+ "method": "POST",
2033
+ "operation": "issueCreateIssueCommentAttachment",
2034
+ "integerParameters": [
2035
+ "id"
2036
+ ],
2037
+ "effect": "write",
2038
+ "requestSchema": null,
2039
+ "schema": null
2040
+ },
853
2041
  {
854
2042
  "path": "/api/v1/repos/{owner}/{repo}/issues/comments/{id}/assets/{attachment_id}",
2043
+ "method": "GET",
855
2044
  "operation": "issueGetIssueCommentAttachment",
2045
+ "integerParameters": [
2046
+ "id",
2047
+ "attachment_id"
2048
+ ],
856
2049
  "effect": "read",
2050
+ "requestSchema": null,
857
2051
  "schema": {
858
2052
  "$ref": "#/definitions/Attachment"
859
2053
  }
860
2054
  },
2055
+ {
2056
+ "path": "/api/v1/repos/{owner}/{repo}/issues/comments/{id}/assets/{attachment_id}",
2057
+ "method": "DELETE",
2058
+ "operation": "issueDeleteIssueCommentAttachment",
2059
+ "integerParameters": [
2060
+ "id",
2061
+ "attachment_id"
2062
+ ],
2063
+ "effect": "write",
2064
+ "requestSchema": null,
2065
+ "schema": null
2066
+ },
2067
+ {
2068
+ "path": "/api/v1/repos/{owner}/{repo}/issues/comments/{id}/assets/{attachment_id}",
2069
+ "method": "PATCH",
2070
+ "operation": "issueEditIssueCommentAttachment",
2071
+ "integerParameters": [
2072
+ "id",
2073
+ "attachment_id"
2074
+ ],
2075
+ "effect": "write",
2076
+ "requestSchema": {
2077
+ "$ref": "#/definitions/EditAttachmentOptions"
2078
+ },
2079
+ "schema": null
2080
+ },
861
2081
  {
862
2082
  "path": "/api/v1/repos/{owner}/{repo}/issues/comments/{id}/reactions",
2083
+ "method": "GET",
863
2084
  "operation": "issueGetCommentReactions",
2085
+ "integerParameters": [
2086
+ "id"
2087
+ ],
864
2088
  "effect": "read",
2089
+ "requestSchema": null,
865
2090
  "schema": {
866
2091
  "type": "array",
867
2092
  "items": {
@@ -869,10 +2094,41 @@
869
2094
  }
870
2095
  }
871
2096
  },
2097
+ {
2098
+ "path": "/api/v1/repos/{owner}/{repo}/issues/comments/{id}/reactions",
2099
+ "method": "POST",
2100
+ "operation": "issuePostCommentReaction",
2101
+ "integerParameters": [
2102
+ "id"
2103
+ ],
2104
+ "effect": "write",
2105
+ "requestSchema": {
2106
+ "$ref": "#/definitions/EditReactionOption"
2107
+ },
2108
+ "schema": {
2109
+ "$ref": "#/definitions/Reaction"
2110
+ }
2111
+ },
2112
+ {
2113
+ "path": "/api/v1/repos/{owner}/{repo}/issues/comments/{id}/reactions",
2114
+ "method": "DELETE",
2115
+ "operation": "issueDeleteCommentReaction",
2116
+ "integerParameters": [
2117
+ "id"
2118
+ ],
2119
+ "effect": "write",
2120
+ "requestSchema": {
2121
+ "$ref": "#/definitions/EditReactionOption"
2122
+ },
2123
+ "schema": null
2124
+ },
872
2125
  {
873
2126
  "path": "/api/v1/repos/{owner}/{repo}/issues/pinned",
2127
+ "method": "GET",
874
2128
  "operation": "repoListPinnedIssues",
2129
+ "integerParameters": [],
875
2130
  "effect": "read",
2131
+ "requestSchema": null,
876
2132
  "schema": {
877
2133
  "type": "array",
878
2134
  "items": {
@@ -882,16 +2138,50 @@
882
2138
  },
883
2139
  {
884
2140
  "path": "/api/v1/repos/{owner}/{repo}/issues/{index}",
2141
+ "method": "GET",
885
2142
  "operation": "issueGetIssue",
2143
+ "integerParameters": [
2144
+ "index"
2145
+ ],
886
2146
  "effect": "read",
2147
+ "requestSchema": null,
887
2148
  "schema": {
888
2149
  "$ref": "#/definitions/Issue"
889
2150
  }
890
2151
  },
2152
+ {
2153
+ "path": "/api/v1/repos/{owner}/{repo}/issues/{index}",
2154
+ "method": "DELETE",
2155
+ "operation": "issueDelete",
2156
+ "integerParameters": [
2157
+ "index"
2158
+ ],
2159
+ "effect": "write",
2160
+ "requestSchema": null,
2161
+ "schema": null
2162
+ },
2163
+ {
2164
+ "path": "/api/v1/repos/{owner}/{repo}/issues/{index}",
2165
+ "method": "PATCH",
2166
+ "operation": "issueEditIssue",
2167
+ "integerParameters": [
2168
+ "index"
2169
+ ],
2170
+ "effect": "write",
2171
+ "requestSchema": {
2172
+ "$ref": "#/definitions/EditIssueOption"
2173
+ },
2174
+ "schema": null
2175
+ },
891
2176
  {
892
2177
  "path": "/api/v1/repos/{owner}/{repo}/issues/{index}/assets",
2178
+ "method": "GET",
893
2179
  "operation": "issueListIssueAttachments",
2180
+ "integerParameters": [
2181
+ "index"
2182
+ ],
894
2183
  "effect": "read",
2184
+ "requestSchema": null,
895
2185
  "schema": {
896
2186
  "type": "array",
897
2187
  "items": {
@@ -899,18 +2189,66 @@
899
2189
  }
900
2190
  }
901
2191
  },
2192
+ {
2193
+ "path": "/api/v1/repos/{owner}/{repo}/issues/{index}/assets",
2194
+ "method": "POST",
2195
+ "operation": "issueCreateIssueAttachment",
2196
+ "integerParameters": [
2197
+ "index"
2198
+ ],
2199
+ "effect": "write",
2200
+ "requestSchema": null,
2201
+ "schema": null
2202
+ },
902
2203
  {
903
2204
  "path": "/api/v1/repos/{owner}/{repo}/issues/{index}/assets/{attachment_id}",
2205
+ "method": "GET",
904
2206
  "operation": "issueGetIssueAttachment",
2207
+ "integerParameters": [
2208
+ "index",
2209
+ "attachment_id"
2210
+ ],
905
2211
  "effect": "read",
2212
+ "requestSchema": null,
906
2213
  "schema": {
907
2214
  "$ref": "#/definitions/Attachment"
908
2215
  }
909
2216
  },
2217
+ {
2218
+ "path": "/api/v1/repos/{owner}/{repo}/issues/{index}/assets/{attachment_id}",
2219
+ "method": "DELETE",
2220
+ "operation": "issueDeleteIssueAttachment",
2221
+ "integerParameters": [
2222
+ "index",
2223
+ "attachment_id"
2224
+ ],
2225
+ "effect": "write",
2226
+ "requestSchema": null,
2227
+ "schema": null
2228
+ },
2229
+ {
2230
+ "path": "/api/v1/repos/{owner}/{repo}/issues/{index}/assets/{attachment_id}",
2231
+ "method": "PATCH",
2232
+ "operation": "issueEditIssueAttachment",
2233
+ "integerParameters": [
2234
+ "index",
2235
+ "attachment_id"
2236
+ ],
2237
+ "effect": "write",
2238
+ "requestSchema": {
2239
+ "$ref": "#/definitions/EditAttachmentOptions"
2240
+ },
2241
+ "schema": null
2242
+ },
910
2243
  {
911
2244
  "path": "/api/v1/repos/{owner}/{repo}/issues/{index}/blocks",
2245
+ "method": "GET",
912
2246
  "operation": "issueListBlocks",
2247
+ "integerParameters": [
2248
+ "index"
2249
+ ],
913
2250
  "effect": "read",
2251
+ "requestSchema": null,
914
2252
  "schema": {
915
2253
  "type": "array",
916
2254
  "items": {
@@ -918,10 +2256,43 @@
918
2256
  }
919
2257
  }
920
2258
  },
2259
+ {
2260
+ "path": "/api/v1/repos/{owner}/{repo}/issues/{index}/blocks",
2261
+ "method": "POST",
2262
+ "operation": "issueCreateIssueBlocking",
2263
+ "integerParameters": [
2264
+ "index"
2265
+ ],
2266
+ "effect": "write",
2267
+ "requestSchema": {
2268
+ "$ref": "#/definitions/IssueMeta"
2269
+ },
2270
+ "schema": null
2271
+ },
2272
+ {
2273
+ "path": "/api/v1/repos/{owner}/{repo}/issues/{index}/blocks",
2274
+ "method": "DELETE",
2275
+ "operation": "issueRemoveIssueBlocking",
2276
+ "integerParameters": [
2277
+ "index"
2278
+ ],
2279
+ "effect": "write",
2280
+ "requestSchema": {
2281
+ "$ref": "#/definitions/IssueMeta"
2282
+ },
2283
+ "schema": {
2284
+ "$ref": "#/definitions/Issue"
2285
+ }
2286
+ },
921
2287
  {
922
2288
  "path": "/api/v1/repos/{owner}/{repo}/issues/{index}/comments",
2289
+ "method": "GET",
923
2290
  "operation": "issueGetComments",
2291
+ "integerParameters": [
2292
+ "index"
2293
+ ],
924
2294
  "effect": "read",
2295
+ "requestSchema": null,
925
2296
  "schema": {
926
2297
  "type": "array",
927
2298
  "items": {
@@ -929,10 +2300,69 @@
929
2300
  }
930
2301
  }
931
2302
  },
2303
+ {
2304
+ "path": "/api/v1/repos/{owner}/{repo}/issues/{index}/comments",
2305
+ "method": "POST",
2306
+ "operation": "issueCreateComment",
2307
+ "integerParameters": [
2308
+ "index"
2309
+ ],
2310
+ "effect": "write",
2311
+ "requestSchema": {
2312
+ "$ref": "#/definitions/CreateIssueCommentOption"
2313
+ },
2314
+ "schema": null
2315
+ },
2316
+ {
2317
+ "path": "/api/v1/repos/{owner}/{repo}/issues/{index}/comments/{id}",
2318
+ "method": "DELETE",
2319
+ "operation": "issueDeleteCommentDeprecated",
2320
+ "integerParameters": [
2321
+ "index",
2322
+ "id"
2323
+ ],
2324
+ "effect": "write",
2325
+ "requestSchema": null,
2326
+ "schema": null
2327
+ },
2328
+ {
2329
+ "path": "/api/v1/repos/{owner}/{repo}/issues/{index}/comments/{id}",
2330
+ "method": "PATCH",
2331
+ "operation": "issueEditCommentDeprecated",
2332
+ "integerParameters": [
2333
+ "index",
2334
+ "id"
2335
+ ],
2336
+ "effect": "write",
2337
+ "requestSchema": {
2338
+ "$ref": "#/definitions/EditIssueCommentOption"
2339
+ },
2340
+ "schema": {
2341
+ "$ref": "#/definitions/Comment"
2342
+ }
2343
+ },
2344
+ {
2345
+ "path": "/api/v1/repos/{owner}/{repo}/issues/{index}/deadline",
2346
+ "method": "POST",
2347
+ "operation": "issueEditIssueDeadline",
2348
+ "integerParameters": [
2349
+ "index"
2350
+ ],
2351
+ "effect": "write",
2352
+ "requestSchema": {
2353
+ "$ref": "#/definitions/EditDeadlineOption"
2354
+ },
2355
+ "schema": null
2356
+ },
932
2357
  {
933
2358
  "path": "/api/v1/repos/{owner}/{repo}/issues/{index}/dependencies",
2359
+ "method": "GET",
934
2360
  "operation": "issueListIssueDependencies",
2361
+ "integerParameters": [
2362
+ "index"
2363
+ ],
935
2364
  "effect": "read",
2365
+ "requestSchema": null,
936
2366
  "schema": {
937
2367
  "type": "array",
938
2368
  "items": {
@@ -940,10 +2370,79 @@
940
2370
  }
941
2371
  }
942
2372
  },
2373
+ {
2374
+ "path": "/api/v1/repos/{owner}/{repo}/issues/{index}/dependencies",
2375
+ "method": "POST",
2376
+ "operation": "issueCreateIssueDependencies",
2377
+ "integerParameters": [
2378
+ "index"
2379
+ ],
2380
+ "effect": "write",
2381
+ "requestSchema": {
2382
+ "$ref": "#/definitions/IssueMeta"
2383
+ },
2384
+ "schema": null
2385
+ },
2386
+ {
2387
+ "path": "/api/v1/repos/{owner}/{repo}/issues/{index}/dependencies",
2388
+ "method": "DELETE",
2389
+ "operation": "issueRemoveIssueDependencies",
2390
+ "integerParameters": [
2391
+ "index"
2392
+ ],
2393
+ "effect": "write",
2394
+ "requestSchema": {
2395
+ "$ref": "#/definitions/IssueMeta"
2396
+ },
2397
+ "schema": {
2398
+ "$ref": "#/definitions/Issue"
2399
+ }
2400
+ },
943
2401
  {
944
2402
  "path": "/api/v1/repos/{owner}/{repo}/issues/{index}/labels",
2403
+ "method": "GET",
945
2404
  "operation": "issueGetLabels",
2405
+ "integerParameters": [
2406
+ "index"
2407
+ ],
946
2408
  "effect": "read",
2409
+ "requestSchema": null,
2410
+ "schema": {
2411
+ "type": "array",
2412
+ "items": {
2413
+ "$ref": "#/definitions/Label"
2414
+ }
2415
+ }
2416
+ },
2417
+ {
2418
+ "path": "/api/v1/repos/{owner}/{repo}/issues/{index}/labels",
2419
+ "method": "PUT",
2420
+ "operation": "issueReplaceLabels",
2421
+ "integerParameters": [
2422
+ "index"
2423
+ ],
2424
+ "effect": "write",
2425
+ "requestSchema": {
2426
+ "$ref": "#/definitions/IssueLabelsOption"
2427
+ },
2428
+ "schema": {
2429
+ "type": "array",
2430
+ "items": {
2431
+ "$ref": "#/definitions/Label"
2432
+ }
2433
+ }
2434
+ },
2435
+ {
2436
+ "path": "/api/v1/repos/{owner}/{repo}/issues/{index}/labels",
2437
+ "method": "POST",
2438
+ "operation": "issueAddLabel",
2439
+ "integerParameters": [
2440
+ "index"
2441
+ ],
2442
+ "effect": "write",
2443
+ "requestSchema": {
2444
+ "$ref": "#/definitions/IssueLabelsOption"
2445
+ },
947
2446
  "schema": {
948
2447
  "type": "array",
949
2448
  "items": {
@@ -951,10 +2450,72 @@
951
2450
  }
952
2451
  }
953
2452
  },
2453
+ {
2454
+ "path": "/api/v1/repos/{owner}/{repo}/issues/{index}/labels",
2455
+ "method": "DELETE",
2456
+ "operation": "issueClearLabels",
2457
+ "integerParameters": [
2458
+ "index"
2459
+ ],
2460
+ "effect": "write",
2461
+ "requestSchema": null,
2462
+ "schema": null
2463
+ },
2464
+ {
2465
+ "path": "/api/v1/repos/{owner}/{repo}/issues/{index}/labels/{id}",
2466
+ "method": "DELETE",
2467
+ "operation": "issueRemoveLabel",
2468
+ "integerParameters": [
2469
+ "index",
2470
+ "id"
2471
+ ],
2472
+ "effect": "write",
2473
+ "requestSchema": null,
2474
+ "schema": null
2475
+ },
2476
+ {
2477
+ "path": "/api/v1/repos/{owner}/{repo}/issues/{index}/pin",
2478
+ "method": "POST",
2479
+ "operation": "pinIssue",
2480
+ "integerParameters": [
2481
+ "index"
2482
+ ],
2483
+ "effect": "write",
2484
+ "requestSchema": null,
2485
+ "schema": null
2486
+ },
2487
+ {
2488
+ "path": "/api/v1/repos/{owner}/{repo}/issues/{index}/pin",
2489
+ "method": "DELETE",
2490
+ "operation": "unpinIssue",
2491
+ "integerParameters": [
2492
+ "index"
2493
+ ],
2494
+ "effect": "write",
2495
+ "requestSchema": null,
2496
+ "schema": null
2497
+ },
2498
+ {
2499
+ "path": "/api/v1/repos/{owner}/{repo}/issues/{index}/pin/{position}",
2500
+ "method": "PATCH",
2501
+ "operation": "moveIssuePin",
2502
+ "integerParameters": [
2503
+ "index",
2504
+ "position"
2505
+ ],
2506
+ "effect": "write",
2507
+ "requestSchema": null,
2508
+ "schema": null
2509
+ },
954
2510
  {
955
2511
  "path": "/api/v1/repos/{owner}/{repo}/issues/{index}/reactions",
2512
+ "method": "GET",
956
2513
  "operation": "issueGetIssueReactions",
2514
+ "integerParameters": [
2515
+ "index"
2516
+ ],
957
2517
  "effect": "read",
2518
+ "requestSchema": null,
958
2519
  "schema": {
959
2520
  "type": "array",
960
2521
  "items": {
@@ -962,10 +2523,76 @@
962
2523
  }
963
2524
  }
964
2525
  },
2526
+ {
2527
+ "path": "/api/v1/repos/{owner}/{repo}/issues/{index}/reactions",
2528
+ "method": "POST",
2529
+ "operation": "issuePostIssueReaction",
2530
+ "integerParameters": [
2531
+ "index"
2532
+ ],
2533
+ "effect": "write",
2534
+ "requestSchema": {
2535
+ "$ref": "#/definitions/EditReactionOption"
2536
+ },
2537
+ "schema": {
2538
+ "$ref": "#/definitions/Reaction"
2539
+ }
2540
+ },
2541
+ {
2542
+ "path": "/api/v1/repos/{owner}/{repo}/issues/{index}/reactions",
2543
+ "method": "DELETE",
2544
+ "operation": "issueDeleteIssueReaction",
2545
+ "integerParameters": [
2546
+ "index"
2547
+ ],
2548
+ "effect": "write",
2549
+ "requestSchema": {
2550
+ "$ref": "#/definitions/EditReactionOption"
2551
+ },
2552
+ "schema": null
2553
+ },
2554
+ {
2555
+ "path": "/api/v1/repos/{owner}/{repo}/issues/{index}/stopwatch/delete",
2556
+ "method": "DELETE",
2557
+ "operation": "issueDeleteStopWatch",
2558
+ "integerParameters": [
2559
+ "index"
2560
+ ],
2561
+ "effect": "write",
2562
+ "requestSchema": null,
2563
+ "schema": null
2564
+ },
2565
+ {
2566
+ "path": "/api/v1/repos/{owner}/{repo}/issues/{index}/stopwatch/start",
2567
+ "method": "POST",
2568
+ "operation": "issueStartStopWatch",
2569
+ "integerParameters": [
2570
+ "index"
2571
+ ],
2572
+ "effect": "write",
2573
+ "requestSchema": null,
2574
+ "schema": null
2575
+ },
2576
+ {
2577
+ "path": "/api/v1/repos/{owner}/{repo}/issues/{index}/stopwatch/stop",
2578
+ "method": "POST",
2579
+ "operation": "issueStopStopWatch",
2580
+ "integerParameters": [
2581
+ "index"
2582
+ ],
2583
+ "effect": "write",
2584
+ "requestSchema": null,
2585
+ "schema": null
2586
+ },
965
2587
  {
966
2588
  "path": "/api/v1/repos/{owner}/{repo}/issues/{index}/subscriptions",
2589
+ "method": "GET",
967
2590
  "operation": "issueSubscriptions",
2591
+ "integerParameters": [
2592
+ "index"
2593
+ ],
968
2594
  "effect": "read",
2595
+ "requestSchema": null,
969
2596
  "schema": {
970
2597
  "type": "array",
971
2598
  "items": {
@@ -975,16 +2602,48 @@
975
2602
  },
976
2603
  {
977
2604
  "path": "/api/v1/repos/{owner}/{repo}/issues/{index}/subscriptions/check",
2605
+ "method": "GET",
978
2606
  "operation": "issueCheckSubscription",
2607
+ "integerParameters": [
2608
+ "index"
2609
+ ],
979
2610
  "effect": "read",
2611
+ "requestSchema": null,
980
2612
  "schema": {
981
2613
  "$ref": "#/definitions/WatchInfo"
982
2614
  }
983
2615
  },
2616
+ {
2617
+ "path": "/api/v1/repos/{owner}/{repo}/issues/{index}/subscriptions/{user}",
2618
+ "method": "PUT",
2619
+ "operation": "issueAddSubscription",
2620
+ "integerParameters": [
2621
+ "index"
2622
+ ],
2623
+ "effect": "write",
2624
+ "requestSchema": null,
2625
+ "schema": null
2626
+ },
2627
+ {
2628
+ "path": "/api/v1/repos/{owner}/{repo}/issues/{index}/subscriptions/{user}",
2629
+ "method": "DELETE",
2630
+ "operation": "issueDeleteSubscription",
2631
+ "integerParameters": [
2632
+ "index"
2633
+ ],
2634
+ "effect": "write",
2635
+ "requestSchema": null,
2636
+ "schema": null
2637
+ },
984
2638
  {
985
2639
  "path": "/api/v1/repos/{owner}/{repo}/issues/{index}/timeline",
2640
+ "method": "GET",
986
2641
  "operation": "issueGetCommentsAndTimeline",
2642
+ "integerParameters": [
2643
+ "index"
2644
+ ],
987
2645
  "effect": "read",
2646
+ "requestSchema": null,
988
2647
  "schema": {
989
2648
  "type": "array",
990
2649
  "items": {
@@ -994,8 +2653,13 @@
994
2653
  },
995
2654
  {
996
2655
  "path": "/api/v1/repos/{owner}/{repo}/issues/{index}/times",
2656
+ "method": "GET",
997
2657
  "operation": "issueTrackedTimes",
2658
+ "integerParameters": [
2659
+ "index"
2660
+ ],
998
2661
  "effect": "read",
2662
+ "requestSchema": null,
999
2663
  "schema": {
1000
2664
  "type": "array",
1001
2665
  "items": {
@@ -1003,10 +2667,51 @@
1003
2667
  }
1004
2668
  }
1005
2669
  },
2670
+ {
2671
+ "path": "/api/v1/repos/{owner}/{repo}/issues/{index}/times",
2672
+ "method": "POST",
2673
+ "operation": "issueAddTime",
2674
+ "integerParameters": [
2675
+ "index"
2676
+ ],
2677
+ "effect": "write",
2678
+ "requestSchema": {
2679
+ "$ref": "#/definitions/AddTimeOption"
2680
+ },
2681
+ "schema": {
2682
+ "$ref": "#/definitions/TrackedTime"
2683
+ }
2684
+ },
2685
+ {
2686
+ "path": "/api/v1/repos/{owner}/{repo}/issues/{index}/times",
2687
+ "method": "DELETE",
2688
+ "operation": "issueResetTime",
2689
+ "integerParameters": [
2690
+ "index"
2691
+ ],
2692
+ "effect": "write",
2693
+ "requestSchema": null,
2694
+ "schema": null
2695
+ },
2696
+ {
2697
+ "path": "/api/v1/repos/{owner}/{repo}/issues/{index}/times/{id}",
2698
+ "method": "DELETE",
2699
+ "operation": "issueDeleteTime",
2700
+ "integerParameters": [
2701
+ "index",
2702
+ "id"
2703
+ ],
2704
+ "effect": "write",
2705
+ "requestSchema": null,
2706
+ "schema": null
2707
+ },
1006
2708
  {
1007
2709
  "path": "/api/v1/repos/{owner}/{repo}/keys",
2710
+ "method": "GET",
1008
2711
  "operation": "repoListKeys",
2712
+ "integerParameters": [],
1009
2713
  "effect": "read",
2714
+ "requestSchema": null,
1010
2715
  "schema": {
1011
2716
  "type": "array",
1012
2717
  "items": {
@@ -1014,18 +2719,48 @@
1014
2719
  }
1015
2720
  }
1016
2721
  },
2722
+ {
2723
+ "path": "/api/v1/repos/{owner}/{repo}/keys",
2724
+ "method": "POST",
2725
+ "operation": "repoCreateKey",
2726
+ "integerParameters": [],
2727
+ "effect": "write",
2728
+ "requestSchema": {
2729
+ "$ref": "#/definitions/CreateKeyOption"
2730
+ },
2731
+ "schema": null
2732
+ },
1017
2733
  {
1018
2734
  "path": "/api/v1/repos/{owner}/{repo}/keys/{id}",
2735
+ "method": "GET",
1019
2736
  "operation": "repoGetKey",
2737
+ "integerParameters": [
2738
+ "id"
2739
+ ],
1020
2740
  "effect": "read",
2741
+ "requestSchema": null,
1021
2742
  "schema": {
1022
2743
  "$ref": "#/definitions/DeployKey"
1023
2744
  }
1024
2745
  },
2746
+ {
2747
+ "path": "/api/v1/repos/{owner}/{repo}/keys/{id}",
2748
+ "method": "DELETE",
2749
+ "operation": "repoDeleteKey",
2750
+ "integerParameters": [
2751
+ "id"
2752
+ ],
2753
+ "effect": "write",
2754
+ "requestSchema": null,
2755
+ "schema": null
2756
+ },
1025
2757
  {
1026
2758
  "path": "/api/v1/repos/{owner}/{repo}/labels",
2759
+ "method": "GET",
1027
2760
  "operation": "issueListLabels",
2761
+ "integerParameters": [],
1028
2762
  "effect": "read",
2763
+ "requestSchema": null,
1029
2764
  "schema": {
1030
2765
  "type": "array",
1031
2766
  "items": {
@@ -1033,18 +2768,63 @@
1033
2768
  }
1034
2769
  }
1035
2770
  },
2771
+ {
2772
+ "path": "/api/v1/repos/{owner}/{repo}/labels",
2773
+ "method": "POST",
2774
+ "operation": "issueCreateLabel",
2775
+ "integerParameters": [],
2776
+ "effect": "write",
2777
+ "requestSchema": {
2778
+ "$ref": "#/definitions/CreateLabelOption"
2779
+ },
2780
+ "schema": null
2781
+ },
1036
2782
  {
1037
2783
  "path": "/api/v1/repos/{owner}/{repo}/labels/{id}",
2784
+ "method": "GET",
1038
2785
  "operation": "issueGetLabel",
2786
+ "integerParameters": [
2787
+ "id"
2788
+ ],
1039
2789
  "effect": "read",
2790
+ "requestSchema": null,
2791
+ "schema": {
2792
+ "$ref": "#/definitions/Label"
2793
+ }
2794
+ },
2795
+ {
2796
+ "path": "/api/v1/repos/{owner}/{repo}/labels/{id}",
2797
+ "method": "DELETE",
2798
+ "operation": "issueDeleteLabel",
2799
+ "integerParameters": [
2800
+ "id"
2801
+ ],
2802
+ "effect": "write",
2803
+ "requestSchema": null,
2804
+ "schema": null
2805
+ },
2806
+ {
2807
+ "path": "/api/v1/repos/{owner}/{repo}/labels/{id}",
2808
+ "method": "PATCH",
2809
+ "operation": "issueEditLabel",
2810
+ "integerParameters": [
2811
+ "id"
2812
+ ],
2813
+ "effect": "write",
2814
+ "requestSchema": {
2815
+ "$ref": "#/definitions/EditLabelOption"
2816
+ },
1040
2817
  "schema": {
1041
2818
  "$ref": "#/definitions/Label"
1042
2819
  }
1043
2820
  },
1044
2821
  {
1045
2822
  "path": "/api/v1/repos/{owner}/{repo}/languages",
2823
+ "method": "GET",
1046
2824
  "operation": "repoGetLanguages",
2825
+ "integerParameters": [],
1047
2826
  "effect": "read",
2827
+ "requestSchema": null,
1048
2828
  "schema": {
1049
2829
  "type": "object",
1050
2830
  "additionalProperties": {
@@ -1055,8 +2835,11 @@
1055
2835
  },
1056
2836
  {
1057
2837
  "path": "/api/v1/repos/{owner}/{repo}/licenses",
2838
+ "method": "GET",
1058
2839
  "operation": "repoGetLicenses",
2840
+ "integerParameters": [],
1059
2841
  "effect": "read",
2842
+ "requestSchema": null,
1060
2843
  "schema": {
1061
2844
  "type": "array",
1062
2845
  "items": {
@@ -1066,16 +2849,35 @@
1066
2849
  },
1067
2850
  {
1068
2851
  "path": "/api/v1/repos/{owner}/{repo}/media/{filepath}",
2852
+ "method": "GET",
1069
2853
  "operation": "repoGetRawFileOrLFS",
2854
+ "integerParameters": [],
1070
2855
  "effect": "download",
2856
+ "requestSchema": null,
1071
2857
  "schema": {
1072
2858
  "type": "file"
1073
2859
  }
1074
2860
  },
2861
+ {
2862
+ "path": "/api/v1/repos/{owner}/{repo}/merge-upstream",
2863
+ "method": "POST",
2864
+ "operation": "repoMergeUpstream",
2865
+ "integerParameters": [],
2866
+ "effect": "write",
2867
+ "requestSchema": {
2868
+ "$ref": "#/definitions/MergeUpstreamRequest"
2869
+ },
2870
+ "schema": {
2871
+ "$ref": "#/definitions/MergeUpstreamResponse"
2872
+ }
2873
+ },
1075
2874
  {
1076
2875
  "path": "/api/v1/repos/{owner}/{repo}/milestones",
2876
+ "method": "GET",
1077
2877
  "operation": "issueGetMilestonesList",
2878
+ "integerParameters": [],
1078
2879
  "effect": "read",
2880
+ "requestSchema": null,
1079
2881
  "schema": {
1080
2882
  "type": "array",
1081
2883
  "items": {
@@ -1083,26 +2885,77 @@
1083
2885
  }
1084
2886
  }
1085
2887
  },
2888
+ {
2889
+ "path": "/api/v1/repos/{owner}/{repo}/milestones",
2890
+ "method": "POST",
2891
+ "operation": "issueCreateMilestone",
2892
+ "integerParameters": [],
2893
+ "effect": "write",
2894
+ "requestSchema": {
2895
+ "$ref": "#/definitions/CreateMilestoneOption"
2896
+ },
2897
+ "schema": null
2898
+ },
1086
2899
  {
1087
2900
  "path": "/api/v1/repos/{owner}/{repo}/milestones/{id}",
2901
+ "method": "GET",
1088
2902
  "operation": "issueGetMilestone",
2903
+ "integerParameters": [],
1089
2904
  "effect": "read",
2905
+ "requestSchema": null,
1090
2906
  "schema": {
1091
2907
  "$ref": "#/definitions/Milestone"
1092
2908
  }
1093
2909
  },
2910
+ {
2911
+ "path": "/api/v1/repos/{owner}/{repo}/milestones/{id}",
2912
+ "method": "DELETE",
2913
+ "operation": "issueDeleteMilestone",
2914
+ "integerParameters": [],
2915
+ "effect": "write",
2916
+ "requestSchema": null,
2917
+ "schema": null
2918
+ },
2919
+ {
2920
+ "path": "/api/v1/repos/{owner}/{repo}/milestones/{id}",
2921
+ "method": "PATCH",
2922
+ "operation": "issueEditMilestone",
2923
+ "integerParameters": [],
2924
+ "effect": "write",
2925
+ "requestSchema": {
2926
+ "$ref": "#/definitions/EditMilestoneOption"
2927
+ },
2928
+ "schema": {
2929
+ "$ref": "#/definitions/Milestone"
2930
+ }
2931
+ },
2932
+ {
2933
+ "path": "/api/v1/repos/{owner}/{repo}/mirror-sync",
2934
+ "method": "POST",
2935
+ "operation": "repoMirrorSync",
2936
+ "integerParameters": [],
2937
+ "effect": "write",
2938
+ "requestSchema": null,
2939
+ "schema": null
2940
+ },
1094
2941
  {
1095
2942
  "path": "/api/v1/repos/{owner}/{repo}/new_pin_allowed",
2943
+ "method": "GET",
1096
2944
  "operation": "repoNewPinAllowed",
2945
+ "integerParameters": [],
1097
2946
  "effect": "read",
2947
+ "requestSchema": null,
1098
2948
  "schema": {
1099
2949
  "$ref": "#/definitions/NewIssuePinsAllowed"
1100
2950
  }
1101
2951
  },
1102
2952
  {
1103
2953
  "path": "/api/v1/repos/{owner}/{repo}/notifications",
2954
+ "method": "GET",
1104
2955
  "operation": "notifyGetRepoList",
2956
+ "integerParameters": [],
1105
2957
  "effect": "read",
2958
+ "requestSchema": null,
1106
2959
  "schema": {
1107
2960
  "type": "array",
1108
2961
  "items": {
@@ -1110,10 +2963,22 @@
1110
2963
  }
1111
2964
  }
1112
2965
  },
2966
+ {
2967
+ "path": "/api/v1/repos/{owner}/{repo}/notifications",
2968
+ "method": "PUT",
2969
+ "operation": "notifyReadRepoList",
2970
+ "integerParameters": [],
2971
+ "effect": "write",
2972
+ "requestSchema": null,
2973
+ "schema": null
2974
+ },
1113
2975
  {
1114
2976
  "path": "/api/v1/repos/{owner}/{repo}/pulls",
2977
+ "method": "GET",
1115
2978
  "operation": "repoListPullRequests",
2979
+ "integerParameters": [],
1116
2980
  "effect": "read",
2981
+ "requestSchema": null,
1117
2982
  "schema": {
1118
2983
  "type": "array",
1119
2984
  "items": {
@@ -1121,10 +2986,24 @@
1121
2986
  }
1122
2987
  }
1123
2988
  },
2989
+ {
2990
+ "path": "/api/v1/repos/{owner}/{repo}/pulls",
2991
+ "method": "POST",
2992
+ "operation": "repoCreatePullRequest",
2993
+ "integerParameters": [],
2994
+ "effect": "write",
2995
+ "requestSchema": {
2996
+ "$ref": "#/definitions/CreatePullRequestOption"
2997
+ },
2998
+ "schema": null
2999
+ },
1124
3000
  {
1125
3001
  "path": "/api/v1/repos/{owner}/{repo}/pulls/pinned",
3002
+ "method": "GET",
1126
3003
  "operation": "repoListPinnedPullRequests",
3004
+ "integerParameters": [],
1127
3005
  "effect": "read",
3006
+ "requestSchema": null,
1128
3007
  "schema": {
1129
3008
  "type": "array",
1130
3009
  "items": {
@@ -1134,32 +3013,63 @@
1134
3013
  },
1135
3014
  {
1136
3015
  "path": "/api/v1/repos/{owner}/{repo}/pulls/{base}/{head}",
3016
+ "method": "GET",
1137
3017
  "operation": "repoGetPullRequestByBaseHead",
3018
+ "integerParameters": [],
1138
3019
  "effect": "read",
3020
+ "requestSchema": null,
1139
3021
  "schema": {
1140
3022
  "$ref": "#/definitions/PullRequest"
1141
3023
  }
1142
3024
  },
1143
3025
  {
1144
3026
  "path": "/api/v1/repos/{owner}/{repo}/pulls/{index}",
3027
+ "method": "GET",
1145
3028
  "operation": "repoGetPullRequest",
3029
+ "integerParameters": [
3030
+ "index"
3031
+ ],
1146
3032
  "effect": "read",
3033
+ "requestSchema": null,
1147
3034
  "schema": {
1148
3035
  "$ref": "#/definitions/PullRequest"
1149
3036
  }
1150
3037
  },
3038
+ {
3039
+ "path": "/api/v1/repos/{owner}/{repo}/pulls/{index}",
3040
+ "method": "PATCH",
3041
+ "operation": "repoEditPullRequest",
3042
+ "integerParameters": [
3043
+ "index"
3044
+ ],
3045
+ "effect": "write",
3046
+ "requestSchema": {
3047
+ "$ref": "#/definitions/EditPullRequestOption"
3048
+ },
3049
+ "schema": null
3050
+ },
1151
3051
  {
1152
3052
  "path": "/api/v1/repos/{owner}/{repo}/pulls/{index}.{diffType}",
3053
+ "method": "GET",
1153
3054
  "operation": "repoDownloadPullDiffOrPatch",
3055
+ "integerParameters": [
3056
+ "index"
3057
+ ],
1154
3058
  "effect": "download",
3059
+ "requestSchema": null,
1155
3060
  "schema": {
1156
3061
  "type": "string"
1157
3062
  }
1158
3063
  },
1159
3064
  {
1160
3065
  "path": "/api/v1/repos/{owner}/{repo}/pulls/{index}/commits",
3066
+ "method": "GET",
1161
3067
  "operation": "repoGetPullRequestCommits",
3068
+ "integerParameters": [
3069
+ "index"
3070
+ ],
1162
3071
  "effect": "read",
3072
+ "requestSchema": null,
1163
3073
  "schema": {
1164
3074
  "type": "array",
1165
3075
  "items": {
@@ -1169,8 +3079,13 @@
1169
3079
  },
1170
3080
  {
1171
3081
  "path": "/api/v1/repos/{owner}/{repo}/pulls/{index}/files",
3082
+ "method": "GET",
1172
3083
  "operation": "repoGetPullRequestFiles",
3084
+ "integerParameters": [
3085
+ "index"
3086
+ ],
1173
3087
  "effect": "read",
3088
+ "requestSchema": null,
1174
3089
  "schema": {
1175
3090
  "type": "array",
1176
3091
  "items": {
@@ -1180,14 +3095,74 @@
1180
3095
  },
1181
3096
  {
1182
3097
  "path": "/api/v1/repos/{owner}/{repo}/pulls/{index}/merge",
3098
+ "method": "GET",
1183
3099
  "operation": "repoPullRequestIsMerged",
3100
+ "integerParameters": [
3101
+ "index"
3102
+ ],
1184
3103
  "effect": "read",
3104
+ "requestSchema": null,
3105
+ "schema": null
3106
+ },
3107
+ {
3108
+ "path": "/api/v1/repos/{owner}/{repo}/pulls/{index}/merge",
3109
+ "method": "POST",
3110
+ "operation": "repoMergePullRequest",
3111
+ "integerParameters": [
3112
+ "index"
3113
+ ],
3114
+ "effect": "write",
3115
+ "requestSchema": {
3116
+ "$ref": "#/definitions/MergePullRequestOption"
3117
+ },
3118
+ "schema": null
3119
+ },
3120
+ {
3121
+ "path": "/api/v1/repos/{owner}/{repo}/pulls/{index}/merge",
3122
+ "method": "DELETE",
3123
+ "operation": "repoCancelScheduledAutoMerge",
3124
+ "integerParameters": [
3125
+ "index"
3126
+ ],
3127
+ "effect": "write",
3128
+ "requestSchema": null,
3129
+ "schema": null
3130
+ },
3131
+ {
3132
+ "path": "/api/v1/repos/{owner}/{repo}/pulls/{index}/requested_reviewers",
3133
+ "method": "POST",
3134
+ "operation": "repoCreatePullReviewRequests",
3135
+ "integerParameters": [
3136
+ "index"
3137
+ ],
3138
+ "effect": "write",
3139
+ "requestSchema": {
3140
+ "$ref": "#/definitions/PullReviewRequestOptions"
3141
+ },
3142
+ "schema": null
3143
+ },
3144
+ {
3145
+ "path": "/api/v1/repos/{owner}/{repo}/pulls/{index}/requested_reviewers",
3146
+ "method": "DELETE",
3147
+ "operation": "repoDeletePullReviewRequests",
3148
+ "integerParameters": [
3149
+ "index"
3150
+ ],
3151
+ "effect": "write",
3152
+ "requestSchema": {
3153
+ "$ref": "#/definitions/PullReviewRequestOptions"
3154
+ },
1185
3155
  "schema": null
1186
3156
  },
1187
3157
  {
1188
3158
  "path": "/api/v1/repos/{owner}/{repo}/pulls/{index}/reviews",
3159
+ "method": "GET",
1189
3160
  "operation": "repoListPullReviews",
3161
+ "integerParameters": [
3162
+ "index"
3163
+ ],
1190
3164
  "effect": "read",
3165
+ "requestSchema": null,
1191
3166
  "schema": {
1192
3167
  "type": "array",
1193
3168
  "items": {
@@ -1195,18 +3170,73 @@
1195
3170
  }
1196
3171
  }
1197
3172
  },
3173
+ {
3174
+ "path": "/api/v1/repos/{owner}/{repo}/pulls/{index}/reviews",
3175
+ "method": "POST",
3176
+ "operation": "repoCreatePullReview",
3177
+ "integerParameters": [
3178
+ "index"
3179
+ ],
3180
+ "effect": "write",
3181
+ "requestSchema": {
3182
+ "$ref": "#/definitions/CreatePullReviewOptions"
3183
+ },
3184
+ "schema": {
3185
+ "$ref": "#/definitions/PullReview"
3186
+ }
3187
+ },
1198
3188
  {
1199
3189
  "path": "/api/v1/repos/{owner}/{repo}/pulls/{index}/reviews/{id}",
3190
+ "method": "GET",
1200
3191
  "operation": "repoGetPullReview",
3192
+ "integerParameters": [
3193
+ "index",
3194
+ "id"
3195
+ ],
1201
3196
  "effect": "read",
3197
+ "requestSchema": null,
1202
3198
  "schema": {
1203
3199
  "$ref": "#/definitions/PullReview"
1204
3200
  }
1205
3201
  },
3202
+ {
3203
+ "path": "/api/v1/repos/{owner}/{repo}/pulls/{index}/reviews/{id}",
3204
+ "method": "POST",
3205
+ "operation": "repoSubmitPullReview",
3206
+ "integerParameters": [
3207
+ "index",
3208
+ "id"
3209
+ ],
3210
+ "effect": "write",
3211
+ "requestSchema": {
3212
+ "$ref": "#/definitions/SubmitPullReviewOptions"
3213
+ },
3214
+ "schema": {
3215
+ "$ref": "#/definitions/PullReview"
3216
+ }
3217
+ },
3218
+ {
3219
+ "path": "/api/v1/repos/{owner}/{repo}/pulls/{index}/reviews/{id}",
3220
+ "method": "DELETE",
3221
+ "operation": "repoDeletePullReview",
3222
+ "integerParameters": [
3223
+ "index",
3224
+ "id"
3225
+ ],
3226
+ "effect": "write",
3227
+ "requestSchema": null,
3228
+ "schema": null
3229
+ },
1206
3230
  {
1207
3231
  "path": "/api/v1/repos/{owner}/{repo}/pulls/{index}/reviews/{id}/comments",
3232
+ "method": "GET",
1208
3233
  "operation": "repoGetPullReviewComments",
3234
+ "integerParameters": [
3235
+ "index",
3236
+ "id"
3237
+ ],
1209
3238
  "effect": "read",
3239
+ "requestSchema": null,
1210
3240
  "schema": {
1211
3241
  "type": "array",
1212
3242
  "items": {
@@ -1214,10 +3244,54 @@
1214
3244
  }
1215
3245
  }
1216
3246
  },
3247
+ {
3248
+ "path": "/api/v1/repos/{owner}/{repo}/pulls/{index}/reviews/{id}/dismissals",
3249
+ "method": "POST",
3250
+ "operation": "repoDismissPullReview",
3251
+ "integerParameters": [
3252
+ "index",
3253
+ "id"
3254
+ ],
3255
+ "effect": "write",
3256
+ "requestSchema": {
3257
+ "$ref": "#/definitions/DismissPullReviewOptions"
3258
+ },
3259
+ "schema": {
3260
+ "$ref": "#/definitions/PullReview"
3261
+ }
3262
+ },
3263
+ {
3264
+ "path": "/api/v1/repos/{owner}/{repo}/pulls/{index}/reviews/{id}/undismissals",
3265
+ "method": "POST",
3266
+ "operation": "repoUnDismissPullReview",
3267
+ "integerParameters": [
3268
+ "index",
3269
+ "id"
3270
+ ],
3271
+ "effect": "write",
3272
+ "requestSchema": null,
3273
+ "schema": {
3274
+ "$ref": "#/definitions/PullReview"
3275
+ }
3276
+ },
3277
+ {
3278
+ "path": "/api/v1/repos/{owner}/{repo}/pulls/{index}/update",
3279
+ "method": "POST",
3280
+ "operation": "repoUpdatePullRequest",
3281
+ "integerParameters": [
3282
+ "index"
3283
+ ],
3284
+ "effect": "write",
3285
+ "requestSchema": null,
3286
+ "schema": null
3287
+ },
1217
3288
  {
1218
3289
  "path": "/api/v1/repos/{owner}/{repo}/push_mirrors",
3290
+ "method": "GET",
1219
3291
  "operation": "repoListPushMirrors",
3292
+ "integerParameters": [],
1220
3293
  "effect": "read",
3294
+ "requestSchema": null,
1221
3295
  "schema": {
1222
3296
  "type": "array",
1223
3297
  "items": {
@@ -1225,26 +3299,66 @@
1225
3299
  }
1226
3300
  }
1227
3301
  },
3302
+ {
3303
+ "path": "/api/v1/repos/{owner}/{repo}/push_mirrors",
3304
+ "method": "POST",
3305
+ "operation": "repoAddPushMirror",
3306
+ "integerParameters": [],
3307
+ "effect": "credential",
3308
+ "requestSchema": {
3309
+ "$ref": "#/definitions/CreatePushMirrorOption"
3310
+ },
3311
+ "schema": {
3312
+ "$ref": "#/definitions/PushMirror"
3313
+ }
3314
+ },
3315
+ {
3316
+ "path": "/api/v1/repos/{owner}/{repo}/push_mirrors-sync",
3317
+ "method": "POST",
3318
+ "operation": "repoPushMirrorSync",
3319
+ "integerParameters": [],
3320
+ "effect": "write",
3321
+ "requestSchema": null,
3322
+ "schema": null
3323
+ },
1228
3324
  {
1229
3325
  "path": "/api/v1/repos/{owner}/{repo}/push_mirrors/{name}",
3326
+ "method": "GET",
1230
3327
  "operation": "repoGetPushMirrorByRemoteName",
3328
+ "integerParameters": [],
1231
3329
  "effect": "read",
3330
+ "requestSchema": null,
1232
3331
  "schema": {
1233
3332
  "$ref": "#/definitions/PushMirror"
1234
3333
  }
1235
3334
  },
3335
+ {
3336
+ "path": "/api/v1/repos/{owner}/{repo}/push_mirrors/{name}",
3337
+ "method": "DELETE",
3338
+ "operation": "repoDeletePushMirror",
3339
+ "integerParameters": [],
3340
+ "effect": "write",
3341
+ "requestSchema": null,
3342
+ "schema": null
3343
+ },
1236
3344
  {
1237
3345
  "path": "/api/v1/repos/{owner}/{repo}/raw/{filepath}",
3346
+ "method": "GET",
1238
3347
  "operation": "repoGetRawFile",
3348
+ "integerParameters": [],
1239
3349
  "effect": "download",
3350
+ "requestSchema": null,
1240
3351
  "schema": {
1241
3352
  "type": "file"
1242
3353
  }
1243
3354
  },
1244
3355
  {
1245
3356
  "path": "/api/v1/repos/{owner}/{repo}/releases",
3357
+ "method": "GET",
1246
3358
  "operation": "repoListReleases",
3359
+ "integerParameters": [],
1247
3360
  "effect": "read",
3361
+ "requestSchema": null,
1248
3362
  "schema": {
1249
3363
  "type": "array",
1250
3364
  "items": {
@@ -1252,34 +3366,96 @@
1252
3366
  }
1253
3367
  }
1254
3368
  },
3369
+ {
3370
+ "path": "/api/v1/repos/{owner}/{repo}/releases",
3371
+ "method": "POST",
3372
+ "operation": "repoCreateRelease",
3373
+ "integerParameters": [],
3374
+ "effect": "write",
3375
+ "requestSchema": {
3376
+ "$ref": "#/definitions/CreateReleaseOption"
3377
+ },
3378
+ "schema": null
3379
+ },
1255
3380
  {
1256
3381
  "path": "/api/v1/repos/{owner}/{repo}/releases/latest",
3382
+ "method": "GET",
1257
3383
  "operation": "repoGetLatestRelease",
3384
+ "integerParameters": [],
1258
3385
  "effect": "read",
3386
+ "requestSchema": null,
1259
3387
  "schema": {
1260
3388
  "$ref": "#/definitions/Release"
1261
3389
  }
1262
3390
  },
1263
3391
  {
1264
3392
  "path": "/api/v1/repos/{owner}/{repo}/releases/tags/{tag}",
3393
+ "method": "GET",
1265
3394
  "operation": "repoGetReleaseByTag",
3395
+ "integerParameters": [],
1266
3396
  "effect": "read",
3397
+ "requestSchema": null,
1267
3398
  "schema": {
1268
3399
  "$ref": "#/definitions/Release"
1269
3400
  }
1270
3401
  },
3402
+ {
3403
+ "path": "/api/v1/repos/{owner}/{repo}/releases/tags/{tag}",
3404
+ "method": "DELETE",
3405
+ "operation": "repoDeleteReleaseByTag",
3406
+ "integerParameters": [],
3407
+ "effect": "write",
3408
+ "requestSchema": null,
3409
+ "schema": null
3410
+ },
3411
+ {
3412
+ "path": "/api/v1/repos/{owner}/{repo}/releases/{id}",
3413
+ "method": "GET",
3414
+ "operation": "repoGetRelease",
3415
+ "integerParameters": [
3416
+ "id"
3417
+ ],
3418
+ "effect": "read",
3419
+ "requestSchema": null,
3420
+ "schema": {
3421
+ "$ref": "#/definitions/Release"
3422
+ }
3423
+ },
3424
+ {
3425
+ "path": "/api/v1/repos/{owner}/{repo}/releases/{id}",
3426
+ "method": "DELETE",
3427
+ "operation": "repoDeleteRelease",
3428
+ "integerParameters": [
3429
+ "id"
3430
+ ],
3431
+ "effect": "write",
3432
+ "requestSchema": null,
3433
+ "schema": null
3434
+ },
1271
3435
  {
1272
3436
  "path": "/api/v1/repos/{owner}/{repo}/releases/{id}",
1273
- "operation": "repoGetRelease",
1274
- "effect": "read",
3437
+ "method": "PATCH",
3438
+ "operation": "repoEditRelease",
3439
+ "integerParameters": [
3440
+ "id"
3441
+ ],
3442
+ "effect": "write",
3443
+ "requestSchema": {
3444
+ "$ref": "#/definitions/EditReleaseOption"
3445
+ },
1275
3446
  "schema": {
1276
3447
  "$ref": "#/definitions/Release"
1277
3448
  }
1278
3449
  },
1279
3450
  {
1280
3451
  "path": "/api/v1/repos/{owner}/{repo}/releases/{id}/assets",
3452
+ "method": "GET",
1281
3453
  "operation": "repoListReleaseAttachments",
3454
+ "integerParameters": [
3455
+ "id"
3456
+ ],
1282
3457
  "effect": "read",
3458
+ "requestSchema": null,
1283
3459
  "schema": {
1284
3460
  "type": "array",
1285
3461
  "items": {
@@ -1287,18 +3463,64 @@
1287
3463
  }
1288
3464
  }
1289
3465
  },
3466
+ {
3467
+ "path": "/api/v1/repos/{owner}/{repo}/releases/{id}/assets",
3468
+ "method": "POST",
3469
+ "operation": "repoCreateReleaseAttachment",
3470
+ "integerParameters": [
3471
+ "id"
3472
+ ],
3473
+ "effect": "write",
3474
+ "requestSchema": null,
3475
+ "schema": null
3476
+ },
1290
3477
  {
1291
3478
  "path": "/api/v1/repos/{owner}/{repo}/releases/{id}/assets/{attachment_id}",
3479
+ "method": "GET",
1292
3480
  "operation": "repoGetReleaseAttachment",
3481
+ "integerParameters": [
3482
+ "id",
3483
+ "attachment_id"
3484
+ ],
1293
3485
  "effect": "read",
3486
+ "requestSchema": null,
1294
3487
  "schema": {
1295
3488
  "$ref": "#/definitions/Attachment"
1296
3489
  }
1297
3490
  },
3491
+ {
3492
+ "path": "/api/v1/repos/{owner}/{repo}/releases/{id}/assets/{attachment_id}",
3493
+ "method": "DELETE",
3494
+ "operation": "repoDeleteReleaseAttachment",
3495
+ "integerParameters": [
3496
+ "id",
3497
+ "attachment_id"
3498
+ ],
3499
+ "effect": "write",
3500
+ "requestSchema": null,
3501
+ "schema": null
3502
+ },
3503
+ {
3504
+ "path": "/api/v1/repos/{owner}/{repo}/releases/{id}/assets/{attachment_id}",
3505
+ "method": "PATCH",
3506
+ "operation": "repoEditReleaseAttachment",
3507
+ "integerParameters": [
3508
+ "id",
3509
+ "attachment_id"
3510
+ ],
3511
+ "effect": "write",
3512
+ "requestSchema": {
3513
+ "$ref": "#/definitions/EditAttachmentOptions"
3514
+ },
3515
+ "schema": null
3516
+ },
1298
3517
  {
1299
3518
  "path": "/api/v1/repos/{owner}/{repo}/reviewers",
3519
+ "method": "GET",
1300
3520
  "operation": "repoGetReviewers",
3521
+ "integerParameters": [],
1301
3522
  "effect": "read",
3523
+ "requestSchema": null,
1302
3524
  "schema": {
1303
3525
  "type": "array",
1304
3526
  "items": {
@@ -1308,16 +3530,22 @@
1308
3530
  },
1309
3531
  {
1310
3532
  "path": "/api/v1/repos/{owner}/{repo}/signing-key.gpg",
3533
+ "method": "GET",
1311
3534
  "operation": "repoSigningKey",
3535
+ "integerParameters": [],
1312
3536
  "effect": "credential",
3537
+ "requestSchema": null,
1313
3538
  "schema": {
1314
3539
  "type": "string"
1315
3540
  }
1316
3541
  },
1317
3542
  {
1318
3543
  "path": "/api/v1/repos/{owner}/{repo}/stargazers",
3544
+ "method": "GET",
1319
3545
  "operation": "repoListStargazers",
3546
+ "integerParameters": [],
1320
3547
  "effect": "read",
3548
+ "requestSchema": null,
1321
3549
  "schema": {
1322
3550
  "type": "array",
1323
3551
  "items": {
@@ -1327,8 +3555,11 @@
1327
3555
  },
1328
3556
  {
1329
3557
  "path": "/api/v1/repos/{owner}/{repo}/statuses/{sha}",
3558
+ "method": "GET",
1330
3559
  "operation": "repoListStatuses",
3560
+ "integerParameters": [],
1331
3561
  "effect": "read",
3562
+ "requestSchema": null,
1332
3563
  "schema": {
1333
3564
  "type": "array",
1334
3565
  "items": {
@@ -1336,10 +3567,24 @@
1336
3567
  }
1337
3568
  }
1338
3569
  },
3570
+ {
3571
+ "path": "/api/v1/repos/{owner}/{repo}/statuses/{sha}",
3572
+ "method": "POST",
3573
+ "operation": "repoCreateStatus",
3574
+ "integerParameters": [],
3575
+ "effect": "write",
3576
+ "requestSchema": {
3577
+ "$ref": "#/definitions/CreateStatusOption"
3578
+ },
3579
+ "schema": null
3580
+ },
1339
3581
  {
1340
3582
  "path": "/api/v1/repos/{owner}/{repo}/subscribers",
3583
+ "method": "GET",
1341
3584
  "operation": "repoListSubscribers",
3585
+ "integerParameters": [],
1342
3586
  "effect": "read",
3587
+ "requestSchema": null,
1343
3588
  "schema": {
1344
3589
  "type": "array",
1345
3590
  "items": {
@@ -1349,16 +3594,42 @@
1349
3594
  },
1350
3595
  {
1351
3596
  "path": "/api/v1/repos/{owner}/{repo}/subscription",
3597
+ "method": "GET",
1352
3598
  "operation": "userCurrentCheckSubscription",
3599
+ "integerParameters": [],
1353
3600
  "effect": "read",
3601
+ "requestSchema": null,
3602
+ "schema": {
3603
+ "$ref": "#/definitions/WatchInfo"
3604
+ }
3605
+ },
3606
+ {
3607
+ "path": "/api/v1/repos/{owner}/{repo}/subscription",
3608
+ "method": "PUT",
3609
+ "operation": "userCurrentPutSubscription",
3610
+ "integerParameters": [],
3611
+ "effect": "write",
3612
+ "requestSchema": null,
1354
3613
  "schema": {
1355
3614
  "$ref": "#/definitions/WatchInfo"
1356
3615
  }
1357
3616
  },
3617
+ {
3618
+ "path": "/api/v1/repos/{owner}/{repo}/subscription",
3619
+ "method": "DELETE",
3620
+ "operation": "userCurrentDeleteSubscription",
3621
+ "integerParameters": [],
3622
+ "effect": "write",
3623
+ "requestSchema": null,
3624
+ "schema": null
3625
+ },
1358
3626
  {
1359
3627
  "path": "/api/v1/repos/{owner}/{repo}/tag_protections",
3628
+ "method": "GET",
1360
3629
  "operation": "repoListTagProtection",
3630
+ "integerParameters": [],
1361
3631
  "effect": "read",
3632
+ "requestSchema": null,
1362
3633
  "schema": {
1363
3634
  "type": "array",
1364
3635
  "items": {
@@ -1366,18 +3637,63 @@
1366
3637
  }
1367
3638
  }
1368
3639
  },
3640
+ {
3641
+ "path": "/api/v1/repos/{owner}/{repo}/tag_protections",
3642
+ "method": "POST",
3643
+ "operation": "repoCreateTagProtection",
3644
+ "integerParameters": [],
3645
+ "effect": "write",
3646
+ "requestSchema": {
3647
+ "$ref": "#/definitions/CreateTagProtectionOption"
3648
+ },
3649
+ "schema": null
3650
+ },
1369
3651
  {
1370
3652
  "path": "/api/v1/repos/{owner}/{repo}/tag_protections/{id}",
3653
+ "method": "GET",
1371
3654
  "operation": "repoGetTagProtection",
3655
+ "integerParameters": [
3656
+ "id"
3657
+ ],
1372
3658
  "effect": "read",
3659
+ "requestSchema": null,
3660
+ "schema": {
3661
+ "$ref": "#/definitions/TagProtection"
3662
+ }
3663
+ },
3664
+ {
3665
+ "path": "/api/v1/repos/{owner}/{repo}/tag_protections/{id}",
3666
+ "method": "DELETE",
3667
+ "operation": "repoDeleteTagProtection",
3668
+ "integerParameters": [
3669
+ "id"
3670
+ ],
3671
+ "effect": "write",
3672
+ "requestSchema": null,
3673
+ "schema": null
3674
+ },
3675
+ {
3676
+ "path": "/api/v1/repos/{owner}/{repo}/tag_protections/{id}",
3677
+ "method": "PATCH",
3678
+ "operation": "repoEditTagProtection",
3679
+ "integerParameters": [
3680
+ "id"
3681
+ ],
3682
+ "effect": "write",
3683
+ "requestSchema": {
3684
+ "$ref": "#/definitions/EditTagProtectionOption"
3685
+ },
1373
3686
  "schema": {
1374
3687
  "$ref": "#/definitions/TagProtection"
1375
3688
  }
1376
3689
  },
1377
3690
  {
1378
3691
  "path": "/api/v1/repos/{owner}/{repo}/tags",
3692
+ "method": "GET",
1379
3693
  "operation": "repoListTags",
3694
+ "integerParameters": [],
1380
3695
  "effect": "read",
3696
+ "requestSchema": null,
1381
3697
  "schema": {
1382
3698
  "type": "array",
1383
3699
  "items": {
@@ -1385,18 +3701,46 @@
1385
3701
  }
1386
3702
  }
1387
3703
  },
3704
+ {
3705
+ "path": "/api/v1/repos/{owner}/{repo}/tags",
3706
+ "method": "POST",
3707
+ "operation": "repoCreateTag",
3708
+ "integerParameters": [],
3709
+ "effect": "write",
3710
+ "requestSchema": {
3711
+ "$ref": "#/definitions/CreateTagOption"
3712
+ },
3713
+ "schema": {
3714
+ "$ref": "#/definitions/Tag"
3715
+ }
3716
+ },
1388
3717
  {
1389
3718
  "path": "/api/v1/repos/{owner}/{repo}/tags/{tag}",
3719
+ "method": "GET",
1390
3720
  "operation": "repoGetTag",
3721
+ "integerParameters": [],
1391
3722
  "effect": "read",
3723
+ "requestSchema": null,
1392
3724
  "schema": {
1393
3725
  "$ref": "#/definitions/Tag"
1394
3726
  }
1395
3727
  },
3728
+ {
3729
+ "path": "/api/v1/repos/{owner}/{repo}/tags/{tag}",
3730
+ "method": "DELETE",
3731
+ "operation": "repoDeleteTag",
3732
+ "integerParameters": [],
3733
+ "effect": "write",
3734
+ "requestSchema": null,
3735
+ "schema": null
3736
+ },
1396
3737
  {
1397
3738
  "path": "/api/v1/repos/{owner}/{repo}/teams",
3739
+ "method": "GET",
1398
3740
  "operation": "repoListTeams",
3741
+ "integerParameters": [],
1399
3742
  "effect": "read",
3743
+ "requestSchema": null,
1400
3744
  "schema": {
1401
3745
  "type": "array",
1402
3746
  "items": {
@@ -1406,16 +3750,40 @@
1406
3750
  },
1407
3751
  {
1408
3752
  "path": "/api/v1/repos/{owner}/{repo}/teams/{team}",
3753
+ "method": "GET",
1409
3754
  "operation": "repoCheckTeam",
3755
+ "integerParameters": [],
1410
3756
  "effect": "read",
3757
+ "requestSchema": null,
1411
3758
  "schema": {
1412
3759
  "$ref": "#/definitions/Team"
1413
3760
  }
1414
3761
  },
3762
+ {
3763
+ "path": "/api/v1/repos/{owner}/{repo}/teams/{team}",
3764
+ "method": "PUT",
3765
+ "operation": "repoAddTeam",
3766
+ "integerParameters": [],
3767
+ "effect": "write",
3768
+ "requestSchema": null,
3769
+ "schema": null
3770
+ },
3771
+ {
3772
+ "path": "/api/v1/repos/{owner}/{repo}/teams/{team}",
3773
+ "method": "DELETE",
3774
+ "operation": "repoDeleteTeam",
3775
+ "integerParameters": [],
3776
+ "effect": "write",
3777
+ "requestSchema": null,
3778
+ "schema": null
3779
+ },
1415
3780
  {
1416
3781
  "path": "/api/v1/repos/{owner}/{repo}/times",
3782
+ "method": "GET",
1417
3783
  "operation": "repoTrackedTimes",
3784
+ "integerParameters": [],
1418
3785
  "effect": "read",
3786
+ "requestSchema": null,
1419
3787
  "schema": {
1420
3788
  "type": "array",
1421
3789
  "items": {
@@ -1425,8 +3793,11 @@
1425
3793
  },
1426
3794
  {
1427
3795
  "path": "/api/v1/repos/{owner}/{repo}/times/{user}",
3796
+ "method": "GET",
1428
3797
  "operation": "userTrackedTimes",
3798
+ "integerParameters": [],
1429
3799
  "effect": "read",
3800
+ "requestSchema": null,
1430
3801
  "schema": {
1431
3802
  "type": "array",
1432
3803
  "items": {
@@ -1436,24 +3807,126 @@
1436
3807
  },
1437
3808
  {
1438
3809
  "path": "/api/v1/repos/{owner}/{repo}/topics",
3810
+ "method": "GET",
1439
3811
  "operation": "repoListTopics",
3812
+ "integerParameters": [],
1440
3813
  "effect": "read",
3814
+ "requestSchema": null,
1441
3815
  "schema": {
1442
3816
  "$ref": "#/definitions/TopicName"
1443
3817
  }
1444
3818
  },
3819
+ {
3820
+ "path": "/api/v1/repos/{owner}/{repo}/topics",
3821
+ "method": "PUT",
3822
+ "operation": "repoUpdateTopics",
3823
+ "integerParameters": [],
3824
+ "effect": "write",
3825
+ "requestSchema": {
3826
+ "$ref": "#/definitions/RepoTopicOptions"
3827
+ },
3828
+ "schema": null
3829
+ },
3830
+ {
3831
+ "path": "/api/v1/repos/{owner}/{repo}/topics/{topic}",
3832
+ "method": "PUT",
3833
+ "operation": "repoAddTopic",
3834
+ "integerParameters": [],
3835
+ "effect": "write",
3836
+ "requestSchema": null,
3837
+ "schema": null
3838
+ },
3839
+ {
3840
+ "path": "/api/v1/repos/{owner}/{repo}/topics/{topic}",
3841
+ "method": "DELETE",
3842
+ "operation": "repoDeleteTopic",
3843
+ "integerParameters": [],
3844
+ "effect": "write",
3845
+ "requestSchema": null,
3846
+ "schema": null
3847
+ },
3848
+ {
3849
+ "path": "/api/v1/repos/{owner}/{repo}/transfer",
3850
+ "method": "POST",
3851
+ "operation": "repoTransfer",
3852
+ "integerParameters": [],
3853
+ "effect": "write",
3854
+ "requestSchema": {
3855
+ "$ref": "#/definitions/TransferRepoOption"
3856
+ },
3857
+ "schema": null
3858
+ },
3859
+ {
3860
+ "path": "/api/v1/repos/{owner}/{repo}/transfer/accept",
3861
+ "method": "POST",
3862
+ "operation": "acceptRepoTransfer",
3863
+ "integerParameters": [],
3864
+ "effect": "write",
3865
+ "requestSchema": null,
3866
+ "schema": null
3867
+ },
3868
+ {
3869
+ "path": "/api/v1/repos/{owner}/{repo}/transfer/reject",
3870
+ "method": "POST",
3871
+ "operation": "rejectRepoTransfer",
3872
+ "integerParameters": [],
3873
+ "effect": "write",
3874
+ "requestSchema": null,
3875
+ "schema": {
3876
+ "$ref": "#/definitions/Repository"
3877
+ }
3878
+ },
3879
+ {
3880
+ "path": "/api/v1/repos/{owner}/{repo}/wiki/new",
3881
+ "method": "POST",
3882
+ "operation": "repoCreateWikiPage",
3883
+ "integerParameters": [],
3884
+ "effect": "write",
3885
+ "requestSchema": {
3886
+ "$ref": "#/definitions/CreateWikiPageOptions"
3887
+ },
3888
+ "schema": null
3889
+ },
1445
3890
  {
1446
3891
  "path": "/api/v1/repos/{owner}/{repo}/wiki/page/{pageName}",
3892
+ "method": "GET",
1447
3893
  "operation": "repoGetWikiPage",
3894
+ "integerParameters": [],
1448
3895
  "effect": "read",
3896
+ "requestSchema": null,
3897
+ "schema": {
3898
+ "$ref": "#/definitions/WikiPage"
3899
+ }
3900
+ },
3901
+ {
3902
+ "path": "/api/v1/repos/{owner}/{repo}/wiki/page/{pageName}",
3903
+ "method": "DELETE",
3904
+ "operation": "repoDeleteWikiPage",
3905
+ "integerParameters": [],
3906
+ "effect": "write",
3907
+ "requestSchema": null,
3908
+ "schema": null
3909
+ },
3910
+ {
3911
+ "path": "/api/v1/repos/{owner}/{repo}/wiki/page/{pageName}",
3912
+ "method": "PATCH",
3913
+ "operation": "repoEditWikiPage",
3914
+ "integerParameters": [],
3915
+ "effect": "write",
3916
+ "requestSchema": {
3917
+ "$ref": "#/definitions/CreateWikiPageOptions"
3918
+ },
1449
3919
  "schema": {
1450
3920
  "$ref": "#/definitions/WikiPage"
1451
3921
  }
1452
3922
  },
1453
3923
  {
1454
3924
  "path": "/api/v1/repos/{owner}/{repo}/wiki/pages",
3925
+ "method": "GET",
1455
3926
  "operation": "repoGetWikiPages",
3927
+ "integerParameters": [],
1456
3928
  "effect": "read",
3929
+ "requestSchema": null,
1457
3930
  "schema": {
1458
3931
  "type": "array",
1459
3932
  "items": {
@@ -1463,72 +3936,142 @@
1463
3936
  },
1464
3937
  {
1465
3938
  "path": "/api/v1/repos/{owner}/{repo}/wiki/revisions/{pageName}",
3939
+ "method": "GET",
1466
3940
  "operation": "repoGetWikiPageRevisions",
3941
+ "integerParameters": [],
1467
3942
  "effect": "read",
3943
+ "requestSchema": null,
1468
3944
  "schema": {
1469
3945
  "$ref": "#/definitions/WikiCommitList"
1470
3946
  }
1471
3947
  },
3948
+ {
3949
+ "path": "/api/v1/repos/{template_owner}/{template_repo}/generate",
3950
+ "method": "POST",
3951
+ "operation": "generateRepo",
3952
+ "integerParameters": [],
3953
+ "effect": "write",
3954
+ "requestSchema": {
3955
+ "$ref": "#/definitions/GenerateRepoOption"
3956
+ },
3957
+ "schema": null
3958
+ },
1472
3959
  {
1473
3960
  "path": "/api/v1/repositories/{id}",
3961
+ "method": "GET",
1474
3962
  "operation": "repoGetByID",
3963
+ "integerParameters": [
3964
+ "id"
3965
+ ],
1475
3966
  "effect": "read",
3967
+ "requestSchema": null,
1476
3968
  "schema": {
1477
3969
  "$ref": "#/definitions/Repository"
1478
3970
  }
1479
3971
  },
1480
3972
  {
1481
3973
  "path": "/api/v1/settings/api",
3974
+ "method": "GET",
1482
3975
  "operation": "getGeneralAPISettings",
3976
+ "integerParameters": [],
1483
3977
  "effect": "read",
3978
+ "requestSchema": null,
1484
3979
  "schema": {
1485
3980
  "$ref": "#/definitions/GeneralAPISettings"
1486
3981
  }
1487
3982
  },
1488
3983
  {
1489
3984
  "path": "/api/v1/settings/attachment",
3985
+ "method": "GET",
1490
3986
  "operation": "getGeneralAttachmentSettings",
3987
+ "integerParameters": [],
1491
3988
  "effect": "read",
3989
+ "requestSchema": null,
1492
3990
  "schema": {
1493
3991
  "$ref": "#/definitions/GeneralAttachmentSettings"
1494
3992
  }
1495
3993
  },
1496
3994
  {
1497
3995
  "path": "/api/v1/settings/repository",
3996
+ "method": "GET",
1498
3997
  "operation": "getGeneralRepositorySettings",
3998
+ "integerParameters": [],
1499
3999
  "effect": "read",
4000
+ "requestSchema": null,
1500
4001
  "schema": {
1501
4002
  "$ref": "#/definitions/GeneralRepoSettings"
1502
4003
  }
1503
4004
  },
1504
4005
  {
1505
4006
  "path": "/api/v1/settings/ui",
4007
+ "method": "GET",
1506
4008
  "operation": "getGeneralUISettings",
4009
+ "integerParameters": [],
1507
4010
  "effect": "read",
4011
+ "requestSchema": null,
1508
4012
  "schema": {
1509
4013
  "$ref": "#/definitions/GeneralUISettings"
1510
4014
  }
1511
4015
  },
1512
4016
  {
1513
4017
  "path": "/api/v1/signing-key.gpg",
4018
+ "method": "GET",
1514
4019
  "operation": "getSigningKey",
4020
+ "integerParameters": [],
1515
4021
  "effect": "credential",
4022
+ "requestSchema": null,
1516
4023
  "schema": {
1517
4024
  "type": "string"
1518
4025
  }
1519
4026
  },
1520
4027
  {
1521
4028
  "path": "/api/v1/teams/{id}",
4029
+ "method": "GET",
1522
4030
  "operation": "orgGetTeam",
4031
+ "integerParameters": [
4032
+ "id"
4033
+ ],
1523
4034
  "effect": "read",
4035
+ "requestSchema": null,
4036
+ "schema": {
4037
+ "$ref": "#/definitions/Team"
4038
+ }
4039
+ },
4040
+ {
4041
+ "path": "/api/v1/teams/{id}",
4042
+ "method": "DELETE",
4043
+ "operation": "orgDeleteTeam",
4044
+ "integerParameters": [
4045
+ "id"
4046
+ ],
4047
+ "effect": "write",
4048
+ "requestSchema": null,
4049
+ "schema": null
4050
+ },
4051
+ {
4052
+ "path": "/api/v1/teams/{id}",
4053
+ "method": "PATCH",
4054
+ "operation": "orgEditTeam",
4055
+ "integerParameters": [
4056
+ "id"
4057
+ ],
4058
+ "effect": "write",
4059
+ "requestSchema": {
4060
+ "$ref": "#/definitions/EditTeamOption"
4061
+ },
1524
4062
  "schema": {
1525
4063
  "$ref": "#/definitions/Team"
1526
4064
  }
1527
4065
  },
1528
4066
  {
1529
4067
  "path": "/api/v1/teams/{id}/activities/feeds",
4068
+ "method": "GET",
1530
4069
  "operation": "orgListTeamActivityFeeds",
4070
+ "integerParameters": [
4071
+ "id"
4072
+ ],
1531
4073
  "effect": "read",
4074
+ "requestSchema": null,
1532
4075
  "schema": {
1533
4076
  "type": "array",
1534
4077
  "items": {
@@ -1538,8 +4081,13 @@
1538
4081
  },
1539
4082
  {
1540
4083
  "path": "/api/v1/teams/{id}/members",
4084
+ "method": "GET",
1541
4085
  "operation": "orgListTeamMembers",
4086
+ "integerParameters": [
4087
+ "id"
4088
+ ],
1542
4089
  "effect": "read",
4090
+ "requestSchema": null,
1543
4091
  "schema": {
1544
4092
  "type": "array",
1545
4093
  "items": {
@@ -1549,16 +4097,48 @@
1549
4097
  },
1550
4098
  {
1551
4099
  "path": "/api/v1/teams/{id}/members/{username}",
4100
+ "method": "GET",
1552
4101
  "operation": "orgListTeamMember",
4102
+ "integerParameters": [
4103
+ "id"
4104
+ ],
1553
4105
  "effect": "read",
4106
+ "requestSchema": null,
1554
4107
  "schema": {
1555
4108
  "$ref": "#/definitions/User"
1556
4109
  }
1557
4110
  },
4111
+ {
4112
+ "path": "/api/v1/teams/{id}/members/{username}",
4113
+ "method": "PUT",
4114
+ "operation": "orgAddTeamMember",
4115
+ "integerParameters": [
4116
+ "id"
4117
+ ],
4118
+ "effect": "write",
4119
+ "requestSchema": null,
4120
+ "schema": null
4121
+ },
4122
+ {
4123
+ "path": "/api/v1/teams/{id}/members/{username}",
4124
+ "method": "DELETE",
4125
+ "operation": "orgRemoveTeamMember",
4126
+ "integerParameters": [
4127
+ "id"
4128
+ ],
4129
+ "effect": "write",
4130
+ "requestSchema": null,
4131
+ "schema": null
4132
+ },
1558
4133
  {
1559
4134
  "path": "/api/v1/teams/{id}/repos",
4135
+ "method": "GET",
1560
4136
  "operation": "orgListTeamRepos",
4137
+ "integerParameters": [
4138
+ "id"
4139
+ ],
1561
4140
  "effect": "read",
4141
+ "requestSchema": null,
1562
4142
  "schema": {
1563
4143
  "type": "array",
1564
4144
  "items": {
@@ -1568,16 +4148,46 @@
1568
4148
  },
1569
4149
  {
1570
4150
  "path": "/api/v1/teams/{id}/repos/{org}/{repo}",
4151
+ "method": "GET",
1571
4152
  "operation": "orgListTeamRepo",
4153
+ "integerParameters": [
4154
+ "id"
4155
+ ],
1572
4156
  "effect": "read",
4157
+ "requestSchema": null,
1573
4158
  "schema": {
1574
4159
  "$ref": "#/definitions/Repository"
1575
4160
  }
1576
4161
  },
4162
+ {
4163
+ "path": "/api/v1/teams/{id}/repos/{org}/{repo}",
4164
+ "method": "PUT",
4165
+ "operation": "orgAddTeamRepository",
4166
+ "integerParameters": [
4167
+ "id"
4168
+ ],
4169
+ "effect": "write",
4170
+ "requestSchema": null,
4171
+ "schema": null
4172
+ },
4173
+ {
4174
+ "path": "/api/v1/teams/{id}/repos/{org}/{repo}",
4175
+ "method": "DELETE",
4176
+ "operation": "orgRemoveTeamRepository",
4177
+ "integerParameters": [
4178
+ "id"
4179
+ ],
4180
+ "effect": "write",
4181
+ "requestSchema": null,
4182
+ "schema": null
4183
+ },
1577
4184
  {
1578
4185
  "path": "/api/v1/topics/search",
4186
+ "method": "GET",
1579
4187
  "operation": "topicSearch",
4188
+ "integerParameters": [],
1580
4189
  "effect": "read",
4190
+ "requestSchema": null,
1581
4191
  "schema": {
1582
4192
  "type": "array",
1583
4193
  "items": {
@@ -1587,22 +4197,51 @@
1587
4197
  },
1588
4198
  {
1589
4199
  "path": "/api/v1/user",
4200
+ "method": "GET",
1590
4201
  "operation": "userGetCurrent",
4202
+ "integerParameters": [],
1591
4203
  "effect": "read",
4204
+ "requestSchema": null,
1592
4205
  "schema": {
1593
4206
  "$ref": "#/definitions/User"
1594
4207
  }
1595
4208
  },
1596
4209
  {
1597
4210
  "path": "/api/v1/user/actions/runners/registration-token",
4211
+ "method": "GET",
1598
4212
  "operation": "userGetRunnerRegistrationToken",
4213
+ "integerParameters": [],
4214
+ "effect": "credential",
4215
+ "requestSchema": null,
4216
+ "schema": null
4217
+ },
4218
+ {
4219
+ "path": "/api/v1/user/actions/secrets/{secretname}",
4220
+ "method": "PUT",
4221
+ "operation": "updateUserSecret",
4222
+ "integerParameters": [],
4223
+ "effect": "credential",
4224
+ "requestSchema": {
4225
+ "$ref": "#/definitions/CreateOrUpdateSecretOption"
4226
+ },
4227
+ "schema": null
4228
+ },
4229
+ {
4230
+ "path": "/api/v1/user/actions/secrets/{secretname}",
4231
+ "method": "DELETE",
4232
+ "operation": "deleteUserSecret",
4233
+ "integerParameters": [],
1599
4234
  "effect": "credential",
4235
+ "requestSchema": null,
1600
4236
  "schema": null
1601
4237
  },
1602
4238
  {
1603
4239
  "path": "/api/v1/user/actions/variables",
4240
+ "method": "GET",
1604
4241
  "operation": "getUserVariablesList",
4242
+ "integerParameters": [],
1605
4243
  "effect": "read",
4244
+ "requestSchema": null,
1606
4245
  "schema": {
1607
4246
  "type": "array",
1608
4247
  "items": {
@@ -1612,16 +4251,53 @@
1612
4251
  },
1613
4252
  {
1614
4253
  "path": "/api/v1/user/actions/variables/{variablename}",
4254
+ "method": "GET",
1615
4255
  "operation": "getUserVariable",
4256
+ "integerParameters": [],
1616
4257
  "effect": "read",
4258
+ "requestSchema": null,
1617
4259
  "schema": {
1618
4260
  "$ref": "#/definitions/ActionVariable"
1619
4261
  }
1620
4262
  },
4263
+ {
4264
+ "path": "/api/v1/user/actions/variables/{variablename}",
4265
+ "method": "PUT",
4266
+ "operation": "updateUserVariable",
4267
+ "integerParameters": [],
4268
+ "effect": "write",
4269
+ "requestSchema": {
4270
+ "$ref": "#/definitions/UpdateVariableOption"
4271
+ },
4272
+ "schema": null
4273
+ },
4274
+ {
4275
+ "path": "/api/v1/user/actions/variables/{variablename}",
4276
+ "method": "POST",
4277
+ "operation": "createUserVariable",
4278
+ "integerParameters": [],
4279
+ "effect": "write",
4280
+ "requestSchema": {
4281
+ "$ref": "#/definitions/CreateVariableOption"
4282
+ },
4283
+ "schema": null
4284
+ },
4285
+ {
4286
+ "path": "/api/v1/user/actions/variables/{variablename}",
4287
+ "method": "DELETE",
4288
+ "operation": "deleteUserVariable",
4289
+ "integerParameters": [],
4290
+ "effect": "write",
4291
+ "requestSchema": null,
4292
+ "schema": null
4293
+ },
1621
4294
  {
1622
4295
  "path": "/api/v1/user/applications/oauth2",
4296
+ "method": "GET",
1623
4297
  "operation": "userGetOauth2Application",
4298
+ "integerParameters": [],
1624
4299
  "effect": "credential",
4300
+ "requestSchema": null,
1625
4301
  "schema": {
1626
4302
  "type": "array",
1627
4303
  "items": {
@@ -1629,18 +4305,83 @@
1629
4305
  }
1630
4306
  }
1631
4307
  },
4308
+ {
4309
+ "path": "/api/v1/user/applications/oauth2",
4310
+ "method": "POST",
4311
+ "operation": "userCreateOAuth2Application",
4312
+ "integerParameters": [],
4313
+ "effect": "credential",
4314
+ "requestSchema": {
4315
+ "$ref": "#/definitions/CreateOAuth2ApplicationOptions"
4316
+ },
4317
+ "schema": null
4318
+ },
1632
4319
  {
1633
4320
  "path": "/api/v1/user/applications/oauth2/{id}",
4321
+ "method": "GET",
1634
4322
  "operation": "userGetOAuth2Application",
4323
+ "integerParameters": [
4324
+ "id"
4325
+ ],
4326
+ "effect": "credential",
4327
+ "requestSchema": null,
4328
+ "schema": {
4329
+ "$ref": "#/definitions/OAuth2Application"
4330
+ }
4331
+ },
4332
+ {
4333
+ "path": "/api/v1/user/applications/oauth2/{id}",
4334
+ "method": "DELETE",
4335
+ "operation": "userDeleteOAuth2Application",
4336
+ "integerParameters": [
4337
+ "id"
4338
+ ],
4339
+ "effect": "write",
4340
+ "requestSchema": null,
4341
+ "schema": null
4342
+ },
4343
+ {
4344
+ "path": "/api/v1/user/applications/oauth2/{id}",
4345
+ "method": "PATCH",
4346
+ "operation": "userUpdateOAuth2Application",
4347
+ "integerParameters": [
4348
+ "id"
4349
+ ],
1635
4350
  "effect": "credential",
4351
+ "requestSchema": {
4352
+ "$ref": "#/definitions/CreateOAuth2ApplicationOptions"
4353
+ },
1636
4354
  "schema": {
1637
4355
  "$ref": "#/definitions/OAuth2Application"
1638
4356
  }
1639
4357
  },
4358
+ {
4359
+ "path": "/api/v1/user/avatar",
4360
+ "method": "POST",
4361
+ "operation": "userUpdateAvatar",
4362
+ "integerParameters": [],
4363
+ "effect": "write",
4364
+ "requestSchema": {
4365
+ "$ref": "#/definitions/UpdateUserAvatarOption"
4366
+ },
4367
+ "schema": null
4368
+ },
4369
+ {
4370
+ "path": "/api/v1/user/avatar",
4371
+ "method": "DELETE",
4372
+ "operation": "userDeleteAvatar",
4373
+ "integerParameters": [],
4374
+ "effect": "write",
4375
+ "requestSchema": null,
4376
+ "schema": null
4377
+ },
1640
4378
  {
1641
4379
  "path": "/api/v1/user/blocks",
4380
+ "method": "GET",
1642
4381
  "operation": "userListBlocks",
4382
+ "integerParameters": [],
1643
4383
  "effect": "read",
4384
+ "requestSchema": null,
1644
4385
  "schema": {
1645
4386
  "type": "array",
1646
4387
  "items": {
@@ -1650,14 +4391,38 @@
1650
4391
  },
1651
4392
  {
1652
4393
  "path": "/api/v1/user/blocks/{username}",
4394
+ "method": "GET",
1653
4395
  "operation": "userCheckUserBlock",
4396
+ "integerParameters": [],
1654
4397
  "effect": "read",
4398
+ "requestSchema": null,
4399
+ "schema": null
4400
+ },
4401
+ {
4402
+ "path": "/api/v1/user/blocks/{username}",
4403
+ "method": "PUT",
4404
+ "operation": "userBlockUser",
4405
+ "integerParameters": [],
4406
+ "effect": "write",
4407
+ "requestSchema": null,
4408
+ "schema": null
4409
+ },
4410
+ {
4411
+ "path": "/api/v1/user/blocks/{username}",
4412
+ "method": "DELETE",
4413
+ "operation": "userUnblockUser",
4414
+ "integerParameters": [],
4415
+ "effect": "write",
4416
+ "requestSchema": null,
1655
4417
  "schema": null
1656
4418
  },
1657
4419
  {
1658
4420
  "path": "/api/v1/user/emails",
4421
+ "method": "GET",
1659
4422
  "operation": "userListEmails",
4423
+ "integerParameters": [],
1660
4424
  "effect": "read",
4425
+ "requestSchema": null,
1661
4426
  "schema": {
1662
4427
  "type": "array",
1663
4428
  "items": {
@@ -1665,10 +4430,35 @@
1665
4430
  }
1666
4431
  }
1667
4432
  },
4433
+ {
4434
+ "path": "/api/v1/user/emails",
4435
+ "method": "POST",
4436
+ "operation": "userAddEmail",
4437
+ "integerParameters": [],
4438
+ "effect": "write",
4439
+ "requestSchema": {
4440
+ "$ref": "#/definitions/CreateEmailOption"
4441
+ },
4442
+ "schema": null
4443
+ },
4444
+ {
4445
+ "path": "/api/v1/user/emails",
4446
+ "method": "DELETE",
4447
+ "operation": "userDeleteEmail",
4448
+ "integerParameters": [],
4449
+ "effect": "write",
4450
+ "requestSchema": {
4451
+ "$ref": "#/definitions/DeleteEmailOption"
4452
+ },
4453
+ "schema": null
4454
+ },
1668
4455
  {
1669
4456
  "path": "/api/v1/user/followers",
4457
+ "method": "GET",
1670
4458
  "operation": "userCurrentListFollowers",
4459
+ "integerParameters": [],
1671
4460
  "effect": "read",
4461
+ "requestSchema": null,
1672
4462
  "schema": {
1673
4463
  "type": "array",
1674
4464
  "items": {
@@ -1678,8 +4468,11 @@
1678
4468
  },
1679
4469
  {
1680
4470
  "path": "/api/v1/user/following",
4471
+ "method": "GET",
1681
4472
  "operation": "userCurrentListFollowing",
4473
+ "integerParameters": [],
1682
4474
  "effect": "read",
4475
+ "requestSchema": null,
1683
4476
  "schema": {
1684
4477
  "type": "array",
1685
4478
  "items": {
@@ -1689,22 +4482,58 @@
1689
4482
  },
1690
4483
  {
1691
4484
  "path": "/api/v1/user/following/{username}",
4485
+ "method": "GET",
1692
4486
  "operation": "userCurrentCheckFollowing",
4487
+ "integerParameters": [],
1693
4488
  "effect": "read",
4489
+ "requestSchema": null,
4490
+ "schema": null
4491
+ },
4492
+ {
4493
+ "path": "/api/v1/user/following/{username}",
4494
+ "method": "PUT",
4495
+ "operation": "userCurrentPutFollow",
4496
+ "integerParameters": [],
4497
+ "effect": "write",
4498
+ "requestSchema": null,
4499
+ "schema": null
4500
+ },
4501
+ {
4502
+ "path": "/api/v1/user/following/{username}",
4503
+ "method": "DELETE",
4504
+ "operation": "userCurrentDeleteFollow",
4505
+ "integerParameters": [],
4506
+ "effect": "write",
4507
+ "requestSchema": null,
1694
4508
  "schema": null
1695
4509
  },
1696
4510
  {
1697
4511
  "path": "/api/v1/user/gpg_key_token",
4512
+ "method": "GET",
1698
4513
  "operation": "getVerificationToken",
4514
+ "integerParameters": [],
1699
4515
  "effect": "credential",
4516
+ "requestSchema": null,
1700
4517
  "schema": {
1701
4518
  "type": "string"
1702
4519
  }
1703
4520
  },
4521
+ {
4522
+ "path": "/api/v1/user/gpg_key_verify",
4523
+ "method": "POST",
4524
+ "operation": "userVerifyGPGKey",
4525
+ "integerParameters": [],
4526
+ "effect": "write",
4527
+ "requestSchema": null,
4528
+ "schema": null
4529
+ },
1704
4530
  {
1705
4531
  "path": "/api/v1/user/gpg_keys",
4532
+ "method": "GET",
1706
4533
  "operation": "userCurrentListGPGKeys",
4534
+ "integerParameters": [],
1707
4535
  "effect": "read",
4536
+ "requestSchema": null,
1708
4537
  "schema": {
1709
4538
  "type": "array",
1710
4539
  "items": {
@@ -1712,18 +4541,48 @@
1712
4541
  }
1713
4542
  }
1714
4543
  },
4544
+ {
4545
+ "path": "/api/v1/user/gpg_keys",
4546
+ "method": "POST",
4547
+ "operation": "userCurrentPostGPGKey",
4548
+ "integerParameters": [],
4549
+ "effect": "write",
4550
+ "requestSchema": {
4551
+ "$ref": "#/definitions/CreateGPGKeyOption"
4552
+ },
4553
+ "schema": null
4554
+ },
1715
4555
  {
1716
4556
  "path": "/api/v1/user/gpg_keys/{id}",
4557
+ "method": "GET",
1717
4558
  "operation": "userCurrentGetGPGKey",
4559
+ "integerParameters": [
4560
+ "id"
4561
+ ],
1718
4562
  "effect": "read",
4563
+ "requestSchema": null,
1719
4564
  "schema": {
1720
4565
  "$ref": "#/definitions/GPGKey"
1721
4566
  }
1722
4567
  },
4568
+ {
4569
+ "path": "/api/v1/user/gpg_keys/{id}",
4570
+ "method": "DELETE",
4571
+ "operation": "userCurrentDeleteGPGKey",
4572
+ "integerParameters": [
4573
+ "id"
4574
+ ],
4575
+ "effect": "write",
4576
+ "requestSchema": null,
4577
+ "schema": null
4578
+ },
1723
4579
  {
1724
4580
  "path": "/api/v1/user/hooks",
4581
+ "method": "GET",
1725
4582
  "operation": "userListHooks",
4583
+ "integerParameters": [],
1726
4584
  "effect": "credential",
4585
+ "requestSchema": null,
1727
4586
  "schema": {
1728
4587
  "type": "array",
1729
4588
  "items": {
@@ -1731,18 +4590,63 @@
1731
4590
  }
1732
4591
  }
1733
4592
  },
4593
+ {
4594
+ "path": "/api/v1/user/hooks",
4595
+ "method": "POST",
4596
+ "operation": "userCreateHook",
4597
+ "integerParameters": [],
4598
+ "effect": "credential",
4599
+ "requestSchema": {
4600
+ "$ref": "#/definitions/CreateHookOption"
4601
+ },
4602
+ "schema": null
4603
+ },
1734
4604
  {
1735
4605
  "path": "/api/v1/user/hooks/{id}",
4606
+ "method": "GET",
1736
4607
  "operation": "userGetHook",
4608
+ "integerParameters": [
4609
+ "id"
4610
+ ],
4611
+ "effect": "credential",
4612
+ "requestSchema": null,
4613
+ "schema": {
4614
+ "$ref": "#/definitions/Hook"
4615
+ }
4616
+ },
4617
+ {
4618
+ "path": "/api/v1/user/hooks/{id}",
4619
+ "method": "DELETE",
4620
+ "operation": "userDeleteHook",
4621
+ "integerParameters": [
4622
+ "id"
4623
+ ],
4624
+ "effect": "write",
4625
+ "requestSchema": null,
4626
+ "schema": null
4627
+ },
4628
+ {
4629
+ "path": "/api/v1/user/hooks/{id}",
4630
+ "method": "PATCH",
4631
+ "operation": "userEditHook",
4632
+ "integerParameters": [
4633
+ "id"
4634
+ ],
1737
4635
  "effect": "credential",
4636
+ "requestSchema": {
4637
+ "$ref": "#/definitions/EditHookOption"
4638
+ },
1738
4639
  "schema": {
1739
4640
  "$ref": "#/definitions/Hook"
1740
4641
  }
1741
4642
  },
1742
4643
  {
1743
4644
  "path": "/api/v1/user/keys",
4645
+ "method": "GET",
1744
4646
  "operation": "userCurrentListKeys",
4647
+ "integerParameters": [],
1745
4648
  "effect": "read",
4649
+ "requestSchema": null,
1746
4650
  "schema": {
1747
4651
  "type": "array",
1748
4652
  "items": {
@@ -1750,18 +4654,48 @@
1750
4654
  }
1751
4655
  }
1752
4656
  },
4657
+ {
4658
+ "path": "/api/v1/user/keys",
4659
+ "method": "POST",
4660
+ "operation": "userCurrentPostKey",
4661
+ "integerParameters": [],
4662
+ "effect": "write",
4663
+ "requestSchema": {
4664
+ "$ref": "#/definitions/CreateKeyOption"
4665
+ },
4666
+ "schema": null
4667
+ },
1753
4668
  {
1754
4669
  "path": "/api/v1/user/keys/{id}",
4670
+ "method": "GET",
1755
4671
  "operation": "userCurrentGetKey",
4672
+ "integerParameters": [
4673
+ "id"
4674
+ ],
1756
4675
  "effect": "read",
4676
+ "requestSchema": null,
1757
4677
  "schema": {
1758
4678
  "$ref": "#/definitions/PublicKey"
1759
4679
  }
1760
4680
  },
4681
+ {
4682
+ "path": "/api/v1/user/keys/{id}",
4683
+ "method": "DELETE",
4684
+ "operation": "userCurrentDeleteKey",
4685
+ "integerParameters": [
4686
+ "id"
4687
+ ],
4688
+ "effect": "write",
4689
+ "requestSchema": null,
4690
+ "schema": null
4691
+ },
1761
4692
  {
1762
4693
  "path": "/api/v1/user/orgs",
4694
+ "method": "GET",
1763
4695
  "operation": "orgListCurrentUserOrgs",
4696
+ "integerParameters": [],
1764
4697
  "effect": "read",
4698
+ "requestSchema": null,
1765
4699
  "schema": {
1766
4700
  "type": "array",
1767
4701
  "items": {
@@ -1771,8 +4705,11 @@
1771
4705
  },
1772
4706
  {
1773
4707
  "path": "/api/v1/user/repos",
4708
+ "method": "GET",
1774
4709
  "operation": "userCurrentListRepos",
4710
+ "integerParameters": [],
1775
4711
  "effect": "read",
4712
+ "requestSchema": null,
1776
4713
  "schema": {
1777
4714
  "type": "array",
1778
4715
  "items": {
@@ -1780,10 +4717,40 @@
1780
4717
  }
1781
4718
  }
1782
4719
  },
4720
+ {
4721
+ "path": "/api/v1/user/repos",
4722
+ "method": "POST",
4723
+ "operation": "createCurrentUserRepo",
4724
+ "integerParameters": [],
4725
+ "effect": "write",
4726
+ "requestSchema": {
4727
+ "$ref": "#/definitions/CreateRepoOption"
4728
+ },
4729
+ "schema": null
4730
+ },
1783
4731
  {
1784
4732
  "path": "/api/v1/user/settings",
4733
+ "method": "GET",
1785
4734
  "operation": "getUserSettings",
4735
+ "integerParameters": [],
1786
4736
  "effect": "read",
4737
+ "requestSchema": null,
4738
+ "schema": {
4739
+ "type": "array",
4740
+ "items": {
4741
+ "$ref": "#/definitions/UserSettings"
4742
+ }
4743
+ }
4744
+ },
4745
+ {
4746
+ "path": "/api/v1/user/settings",
4747
+ "method": "PATCH",
4748
+ "operation": "updateUserSettings",
4749
+ "integerParameters": [],
4750
+ "effect": "write",
4751
+ "requestSchema": {
4752
+ "$ref": "#/definitions/UserSettingsOptions"
4753
+ },
1787
4754
  "schema": {
1788
4755
  "type": "array",
1789
4756
  "items": {
@@ -1793,8 +4760,11 @@
1793
4760
  },
1794
4761
  {
1795
4762
  "path": "/api/v1/user/starred",
4763
+ "method": "GET",
1796
4764
  "operation": "userCurrentListStarred",
4765
+ "integerParameters": [],
1797
4766
  "effect": "read",
4767
+ "requestSchema": null,
1798
4768
  "schema": {
1799
4769
  "type": "array",
1800
4770
  "items": {
@@ -1804,14 +4774,38 @@
1804
4774
  },
1805
4775
  {
1806
4776
  "path": "/api/v1/user/starred/{owner}/{repo}",
4777
+ "method": "GET",
1807
4778
  "operation": "userCurrentCheckStarring",
4779
+ "integerParameters": [],
1808
4780
  "effect": "read",
4781
+ "requestSchema": null,
4782
+ "schema": null
4783
+ },
4784
+ {
4785
+ "path": "/api/v1/user/starred/{owner}/{repo}",
4786
+ "method": "PUT",
4787
+ "operation": "userCurrentPutStar",
4788
+ "integerParameters": [],
4789
+ "effect": "write",
4790
+ "requestSchema": null,
4791
+ "schema": null
4792
+ },
4793
+ {
4794
+ "path": "/api/v1/user/starred/{owner}/{repo}",
4795
+ "method": "DELETE",
4796
+ "operation": "userCurrentDeleteStar",
4797
+ "integerParameters": [],
4798
+ "effect": "write",
4799
+ "requestSchema": null,
1809
4800
  "schema": null
1810
4801
  },
1811
4802
  {
1812
4803
  "path": "/api/v1/user/stopwatches",
4804
+ "method": "GET",
1813
4805
  "operation": "userGetStopWatches",
4806
+ "integerParameters": [],
1814
4807
  "effect": "read",
4808
+ "requestSchema": null,
1815
4809
  "schema": {
1816
4810
  "type": "array",
1817
4811
  "items": {
@@ -1821,8 +4815,11 @@
1821
4815
  },
1822
4816
  {
1823
4817
  "path": "/api/v1/user/subscriptions",
4818
+ "method": "GET",
1824
4819
  "operation": "userCurrentListSubscriptions",
4820
+ "integerParameters": [],
1825
4821
  "effect": "read",
4822
+ "requestSchema": null,
1826
4823
  "schema": {
1827
4824
  "type": "array",
1828
4825
  "items": {
@@ -1832,8 +4829,11 @@
1832
4829
  },
1833
4830
  {
1834
4831
  "path": "/api/v1/user/teams",
4832
+ "method": "GET",
1835
4833
  "operation": "userListTeams",
4834
+ "integerParameters": [],
1836
4835
  "effect": "read",
4836
+ "requestSchema": null,
1837
4837
  "schema": {
1838
4838
  "type": "array",
1839
4839
  "items": {
@@ -1843,8 +4843,11 @@
1843
4843
  },
1844
4844
  {
1845
4845
  "path": "/api/v1/user/times",
4846
+ "method": "GET",
1846
4847
  "operation": "userCurrentTrackedTimes",
4848
+ "integerParameters": [],
1847
4849
  "effect": "read",
4850
+ "requestSchema": null,
1848
4851
  "schema": {
1849
4852
  "type": "array",
1850
4853
  "items": {
@@ -1854,8 +4857,11 @@
1854
4857
  },
1855
4858
  {
1856
4859
  "path": "/api/v1/users/search",
4860
+ "method": "GET",
1857
4861
  "operation": "userSearch",
4862
+ "integerParameters": [],
1858
4863
  "effect": "read",
4864
+ "requestSchema": null,
1859
4865
  "schema": {
1860
4866
  "type": "object",
1861
4867
  "properties": {
@@ -1873,16 +4879,22 @@
1873
4879
  },
1874
4880
  {
1875
4881
  "path": "/api/v1/users/{username}",
4882
+ "method": "GET",
1876
4883
  "operation": "userGet",
4884
+ "integerParameters": [],
1877
4885
  "effect": "read",
4886
+ "requestSchema": null,
1878
4887
  "schema": {
1879
4888
  "$ref": "#/definitions/User"
1880
4889
  }
1881
4890
  },
1882
4891
  {
1883
4892
  "path": "/api/v1/users/{username}/activities/feeds",
4893
+ "method": "GET",
1884
4894
  "operation": "userListActivityFeeds",
4895
+ "integerParameters": [],
1885
4896
  "effect": "read",
4897
+ "requestSchema": null,
1886
4898
  "schema": {
1887
4899
  "type": "array",
1888
4900
  "items": {
@@ -1892,8 +4904,11 @@
1892
4904
  },
1893
4905
  {
1894
4906
  "path": "/api/v1/users/{username}/followers",
4907
+ "method": "GET",
1895
4908
  "operation": "userListFollowers",
4909
+ "integerParameters": [],
1896
4910
  "effect": "read",
4911
+ "requestSchema": null,
1897
4912
  "schema": {
1898
4913
  "type": "array",
1899
4914
  "items": {
@@ -1903,8 +4918,11 @@
1903
4918
  },
1904
4919
  {
1905
4920
  "path": "/api/v1/users/{username}/following",
4921
+ "method": "GET",
1906
4922
  "operation": "userListFollowing",
4923
+ "integerParameters": [],
1907
4924
  "effect": "read",
4925
+ "requestSchema": null,
1908
4926
  "schema": {
1909
4927
  "type": "array",
1910
4928
  "items": {
@@ -1914,14 +4932,20 @@
1914
4932
  },
1915
4933
  {
1916
4934
  "path": "/api/v1/users/{username}/following/{target}",
4935
+ "method": "GET",
1917
4936
  "operation": "userCheckFollowing",
4937
+ "integerParameters": [],
1918
4938
  "effect": "read",
4939
+ "requestSchema": null,
1919
4940
  "schema": null
1920
4941
  },
1921
4942
  {
1922
4943
  "path": "/api/v1/users/{username}/gpg_keys",
4944
+ "method": "GET",
1923
4945
  "operation": "userListGPGKeys",
4946
+ "integerParameters": [],
1924
4947
  "effect": "read",
4948
+ "requestSchema": null,
1925
4949
  "schema": {
1926
4950
  "type": "array",
1927
4951
  "items": {
@@ -1931,8 +4955,11 @@
1931
4955
  },
1932
4956
  {
1933
4957
  "path": "/api/v1/users/{username}/heatmap",
4958
+ "method": "GET",
1934
4959
  "operation": "userGetHeatmapData",
4960
+ "integerParameters": [],
1935
4961
  "effect": "read",
4962
+ "requestSchema": null,
1936
4963
  "schema": {
1937
4964
  "type": "array",
1938
4965
  "items": {
@@ -1942,8 +4969,11 @@
1942
4969
  },
1943
4970
  {
1944
4971
  "path": "/api/v1/users/{username}/keys",
4972
+ "method": "GET",
1945
4973
  "operation": "userListKeys",
4974
+ "integerParameters": [],
1946
4975
  "effect": "read",
4976
+ "requestSchema": null,
1947
4977
  "schema": {
1948
4978
  "type": "array",
1949
4979
  "items": {
@@ -1953,8 +4983,11 @@
1953
4983
  },
1954
4984
  {
1955
4985
  "path": "/api/v1/users/{username}/orgs",
4986
+ "method": "GET",
1956
4987
  "operation": "orgListUserOrgs",
4988
+ "integerParameters": [],
1957
4989
  "effect": "read",
4990
+ "requestSchema": null,
1958
4991
  "schema": {
1959
4992
  "type": "array",
1960
4993
  "items": {
@@ -1964,16 +4997,22 @@
1964
4997
  },
1965
4998
  {
1966
4999
  "path": "/api/v1/users/{username}/orgs/{org}/permissions",
5000
+ "method": "GET",
1967
5001
  "operation": "orgGetUserPermissions",
5002
+ "integerParameters": [],
1968
5003
  "effect": "read",
5004
+ "requestSchema": null,
1969
5005
  "schema": {
1970
5006
  "$ref": "#/definitions/OrganizationPermissions"
1971
5007
  }
1972
5008
  },
1973
5009
  {
1974
5010
  "path": "/api/v1/users/{username}/repos",
5011
+ "method": "GET",
1975
5012
  "operation": "userListRepos",
5013
+ "integerParameters": [],
1976
5014
  "effect": "read",
5015
+ "requestSchema": null,
1977
5016
  "schema": {
1978
5017
  "type": "array",
1979
5018
  "items": {
@@ -1983,8 +5022,11 @@
1983
5022
  },
1984
5023
  {
1985
5024
  "path": "/api/v1/users/{username}/starred",
5025
+ "method": "GET",
1986
5026
  "operation": "userListStarred",
5027
+ "integerParameters": [],
1987
5028
  "effect": "read",
5029
+ "requestSchema": null,
1988
5030
  "schema": {
1989
5031
  "type": "array",
1990
5032
  "items": {
@@ -1994,8 +5036,11 @@
1994
5036
  },
1995
5037
  {
1996
5038
  "path": "/api/v1/users/{username}/subscriptions",
5039
+ "method": "GET",
1997
5040
  "operation": "userListSubscriptions",
5041
+ "integerParameters": [],
1998
5042
  "effect": "read",
5043
+ "requestSchema": null,
1999
5044
  "schema": {
2000
5045
  "type": "array",
2001
5046
  "items": {
@@ -2005,8 +5050,11 @@
2005
5050
  },
2006
5051
  {
2007
5052
  "path": "/api/v1/users/{username}/tokens",
5053
+ "method": "GET",
2008
5054
  "operation": "userGetTokens",
5055
+ "integerParameters": [],
2009
5056
  "effect": "credential",
5057
+ "requestSchema": null,
2010
5058
  "schema": {
2011
5059
  "type": "array",
2012
5060
  "items": {
@@ -2014,10 +5062,33 @@
2014
5062
  }
2015
5063
  }
2016
5064
  },
5065
+ {
5066
+ "path": "/api/v1/users/{username}/tokens",
5067
+ "method": "POST",
5068
+ "operation": "userCreateToken",
5069
+ "integerParameters": [],
5070
+ "effect": "credential",
5071
+ "requestSchema": {
5072
+ "$ref": "#/definitions/CreateAccessTokenOption"
5073
+ },
5074
+ "schema": null
5075
+ },
5076
+ {
5077
+ "path": "/api/v1/users/{username}/tokens/{token}",
5078
+ "method": "DELETE",
5079
+ "operation": "userDeleteAccessToken",
5080
+ "integerParameters": [],
5081
+ "effect": "credential",
5082
+ "requestSchema": null,
5083
+ "schema": null
5084
+ },
2017
5085
  {
2018
5086
  "path": "/api/v1/version",
5087
+ "method": "GET",
2019
5088
  "operation": "getVersion",
5089
+ "integerParameters": [],
2020
5090
  "effect": "read",
5091
+ "requestSchema": null,
2021
5092
  "schema": {
2022
5093
  "$ref": "#/definitions/ServerVersion"
2023
5094
  }