@knowttl/gitea-axi 0.0.0-stage → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,2025 @@
1
+ [
2
+ {
3
+ "path": "/api/v1/activitypub/user-id/{user-id}",
4
+ "operation": "activitypubPerson",
5
+ "effect": "read",
6
+ "schema": {
7
+ "$ref": "#/definitions/ActivityPub"
8
+ }
9
+ },
10
+ {
11
+ "path": "/api/v1/admin/cron",
12
+ "operation": "adminCronList",
13
+ "effect": "admin",
14
+ "schema": {
15
+ "type": "array",
16
+ "items": {
17
+ "$ref": "#/definitions/Cron"
18
+ }
19
+ }
20
+ },
21
+ {
22
+ "path": "/api/v1/admin/emails",
23
+ "operation": "adminGetAllEmails",
24
+ "effect": "admin",
25
+ "schema": {
26
+ "type": "array",
27
+ "items": {
28
+ "$ref": "#/definitions/Email"
29
+ }
30
+ }
31
+ },
32
+ {
33
+ "path": "/api/v1/admin/emails/search",
34
+ "operation": "adminSearchEmails",
35
+ "effect": "admin",
36
+ "schema": {
37
+ "type": "array",
38
+ "items": {
39
+ "$ref": "#/definitions/Email"
40
+ }
41
+ }
42
+ },
43
+ {
44
+ "path": "/api/v1/admin/hooks",
45
+ "operation": "adminListHooks",
46
+ "effect": "admin",
47
+ "schema": {
48
+ "type": "array",
49
+ "items": {
50
+ "$ref": "#/definitions/Hook"
51
+ }
52
+ }
53
+ },
54
+ {
55
+ "path": "/api/v1/admin/hooks/{id}",
56
+ "operation": "adminGetHook",
57
+ "effect": "admin",
58
+ "schema": {
59
+ "$ref": "#/definitions/Hook"
60
+ }
61
+ },
62
+ {
63
+ "path": "/api/v1/admin/orgs",
64
+ "operation": "adminGetAllOrgs",
65
+ "effect": "admin",
66
+ "schema": {
67
+ "type": "array",
68
+ "items": {
69
+ "$ref": "#/definitions/Organization"
70
+ }
71
+ }
72
+ },
73
+ {
74
+ "path": "/api/v1/admin/runners/registration-token",
75
+ "operation": "adminGetRunnerRegistrationToken",
76
+ "effect": "admin",
77
+ "schema": null
78
+ },
79
+ {
80
+ "path": "/api/v1/admin/unadopted",
81
+ "operation": "adminUnadoptedList",
82
+ "effect": "admin",
83
+ "schema": {
84
+ "type": "array",
85
+ "items": {
86
+ "type": "string"
87
+ }
88
+ }
89
+ },
90
+ {
91
+ "path": "/api/v1/admin/users",
92
+ "operation": "adminSearchUsers",
93
+ "effect": "admin",
94
+ "schema": {
95
+ "type": "array",
96
+ "items": {
97
+ "$ref": "#/definitions/User"
98
+ }
99
+ }
100
+ },
101
+ {
102
+ "path": "/api/v1/admin/users/{username}/badges",
103
+ "operation": "adminListUserBadges",
104
+ "effect": "admin",
105
+ "schema": {
106
+ "type": "array",
107
+ "items": {
108
+ "$ref": "#/definitions/Badge"
109
+ }
110
+ }
111
+ },
112
+ {
113
+ "path": "/api/v1/gitignore/templates",
114
+ "operation": "listGitignoresTemplates",
115
+ "effect": "read",
116
+ "schema": {
117
+ "type": "array",
118
+ "items": {
119
+ "type": "string"
120
+ }
121
+ }
122
+ },
123
+ {
124
+ "path": "/api/v1/gitignore/templates/{name}",
125
+ "operation": "getGitignoreTemplateInfo",
126
+ "effect": "read",
127
+ "schema": {
128
+ "$ref": "#/definitions/GitignoreTemplateInfo"
129
+ }
130
+ },
131
+ {
132
+ "path": "/api/v1/label/templates",
133
+ "operation": "listLabelTemplates",
134
+ "effect": "read",
135
+ "schema": {
136
+ "type": "array",
137
+ "items": {
138
+ "type": "string"
139
+ }
140
+ }
141
+ },
142
+ {
143
+ "path": "/api/v1/label/templates/{name}",
144
+ "operation": "getLabelTemplateInfo",
145
+ "effect": "read",
146
+ "schema": {
147
+ "type": "array",
148
+ "items": {
149
+ "$ref": "#/definitions/LabelTemplate"
150
+ }
151
+ }
152
+ },
153
+ {
154
+ "path": "/api/v1/licenses",
155
+ "operation": "listLicenseTemplates",
156
+ "effect": "read",
157
+ "schema": {
158
+ "type": "array",
159
+ "items": {
160
+ "$ref": "#/definitions/LicensesTemplateListEntry"
161
+ }
162
+ }
163
+ },
164
+ {
165
+ "path": "/api/v1/licenses/{name}",
166
+ "operation": "getLicenseTemplateInfo",
167
+ "effect": "read",
168
+ "schema": {
169
+ "$ref": "#/definitions/LicenseTemplateInfo"
170
+ }
171
+ },
172
+ {
173
+ "path": "/api/v1/nodeinfo",
174
+ "operation": "getNodeInfo",
175
+ "effect": "read",
176
+ "schema": {
177
+ "$ref": "#/definitions/NodeInfo"
178
+ }
179
+ },
180
+ {
181
+ "path": "/api/v1/notifications",
182
+ "operation": "notifyGetList",
183
+ "effect": "read",
184
+ "schema": {
185
+ "type": "array",
186
+ "items": {
187
+ "$ref": "#/definitions/NotificationThread"
188
+ }
189
+ }
190
+ },
191
+ {
192
+ "path": "/api/v1/notifications/new",
193
+ "operation": "notifyNewAvailable",
194
+ "effect": "read",
195
+ "schema": {
196
+ "$ref": "#/definitions/NotificationCount"
197
+ }
198
+ },
199
+ {
200
+ "path": "/api/v1/notifications/threads/{id}",
201
+ "operation": "notifyGetThread",
202
+ "effect": "read",
203
+ "schema": {
204
+ "$ref": "#/definitions/NotificationThread"
205
+ }
206
+ },
207
+ {
208
+ "path": "/api/v1/orgs",
209
+ "operation": "orgGetAll",
210
+ "effect": "read",
211
+ "schema": {
212
+ "type": "array",
213
+ "items": {
214
+ "$ref": "#/definitions/Organization"
215
+ }
216
+ }
217
+ },
218
+ {
219
+ "path": "/api/v1/orgs/{org}",
220
+ "operation": "orgGet",
221
+ "effect": "read",
222
+ "schema": {
223
+ "$ref": "#/definitions/Organization"
224
+ }
225
+ },
226
+ {
227
+ "path": "/api/v1/orgs/{org}/actions/runners/registration-token",
228
+ "operation": "orgGetRunnerRegistrationToken",
229
+ "effect": "credential",
230
+ "schema": null
231
+ },
232
+ {
233
+ "path": "/api/v1/orgs/{org}/actions/secrets",
234
+ "operation": "orgListActionsSecrets",
235
+ "effect": "read",
236
+ "schema": {
237
+ "type": "array",
238
+ "items": {
239
+ "$ref": "#/definitions/Secret"
240
+ }
241
+ }
242
+ },
243
+ {
244
+ "path": "/api/v1/orgs/{org}/actions/variables",
245
+ "operation": "getOrgVariablesList",
246
+ "effect": "read",
247
+ "schema": {
248
+ "type": "array",
249
+ "items": {
250
+ "$ref": "#/definitions/ActionVariable"
251
+ }
252
+ }
253
+ },
254
+ {
255
+ "path": "/api/v1/orgs/{org}/actions/variables/{variablename}",
256
+ "operation": "getOrgVariable",
257
+ "effect": "read",
258
+ "schema": {
259
+ "$ref": "#/definitions/ActionVariable"
260
+ }
261
+ },
262
+ {
263
+ "path": "/api/v1/orgs/{org}/activities/feeds",
264
+ "operation": "orgListActivityFeeds",
265
+ "effect": "read",
266
+ "schema": {
267
+ "type": "array",
268
+ "items": {
269
+ "$ref": "#/definitions/Activity"
270
+ }
271
+ }
272
+ },
273
+ {
274
+ "path": "/api/v1/orgs/{org}/blocks",
275
+ "operation": "organizationListBlocks",
276
+ "effect": "read",
277
+ "schema": {
278
+ "type": "array",
279
+ "items": {
280
+ "$ref": "#/definitions/User"
281
+ }
282
+ }
283
+ },
284
+ {
285
+ "path": "/api/v1/orgs/{org}/blocks/{username}",
286
+ "operation": "organizationCheckUserBlock",
287
+ "effect": "read",
288
+ "schema": null
289
+ },
290
+ {
291
+ "path": "/api/v1/orgs/{org}/hooks",
292
+ "operation": "orgListHooks",
293
+ "effect": "credential",
294
+ "schema": {
295
+ "type": "array",
296
+ "items": {
297
+ "$ref": "#/definitions/Hook"
298
+ }
299
+ }
300
+ },
301
+ {
302
+ "path": "/api/v1/orgs/{org}/hooks/{id}",
303
+ "operation": "orgGetHook",
304
+ "effect": "credential",
305
+ "schema": {
306
+ "$ref": "#/definitions/Hook"
307
+ }
308
+ },
309
+ {
310
+ "path": "/api/v1/orgs/{org}/labels",
311
+ "operation": "orgListLabels",
312
+ "effect": "read",
313
+ "schema": {
314
+ "type": "array",
315
+ "items": {
316
+ "$ref": "#/definitions/Label"
317
+ }
318
+ }
319
+ },
320
+ {
321
+ "path": "/api/v1/orgs/{org}/labels/{id}",
322
+ "operation": "orgGetLabel",
323
+ "effect": "read",
324
+ "schema": {
325
+ "$ref": "#/definitions/Label"
326
+ }
327
+ },
328
+ {
329
+ "path": "/api/v1/orgs/{org}/members",
330
+ "operation": "orgListMembers",
331
+ "effect": "read",
332
+ "schema": {
333
+ "type": "array",
334
+ "items": {
335
+ "$ref": "#/definitions/User"
336
+ }
337
+ }
338
+ },
339
+ {
340
+ "path": "/api/v1/orgs/{org}/members/{username}",
341
+ "operation": "orgIsMember",
342
+ "effect": "read",
343
+ "schema": null
344
+ },
345
+ {
346
+ "path": "/api/v1/orgs/{org}/public_members",
347
+ "operation": "orgListPublicMembers",
348
+ "effect": "read",
349
+ "schema": {
350
+ "type": "array",
351
+ "items": {
352
+ "$ref": "#/definitions/User"
353
+ }
354
+ }
355
+ },
356
+ {
357
+ "path": "/api/v1/orgs/{org}/public_members/{username}",
358
+ "operation": "orgIsPublicMember",
359
+ "effect": "read",
360
+ "schema": null
361
+ },
362
+ {
363
+ "path": "/api/v1/orgs/{org}/repos",
364
+ "operation": "orgListRepos",
365
+ "effect": "read",
366
+ "schema": {
367
+ "type": "array",
368
+ "items": {
369
+ "$ref": "#/definitions/Repository"
370
+ }
371
+ }
372
+ },
373
+ {
374
+ "path": "/api/v1/orgs/{org}/teams",
375
+ "operation": "orgListTeams",
376
+ "effect": "read",
377
+ "schema": {
378
+ "type": "array",
379
+ "items": {
380
+ "$ref": "#/definitions/Team"
381
+ }
382
+ }
383
+ },
384
+ {
385
+ "path": "/api/v1/orgs/{org}/teams/search",
386
+ "operation": "teamSearch",
387
+ "effect": "read",
388
+ "schema": {
389
+ "type": "object",
390
+ "properties": {
391
+ "data": {
392
+ "type": "array",
393
+ "items": {
394
+ "$ref": "#/definitions/Team"
395
+ }
396
+ },
397
+ "ok": {
398
+ "type": "boolean"
399
+ }
400
+ }
401
+ }
402
+ },
403
+ {
404
+ "path": "/api/v1/packages/{owner}",
405
+ "operation": "listPackages",
406
+ "effect": "read",
407
+ "schema": {
408
+ "type": "array",
409
+ "items": {
410
+ "$ref": "#/definitions/Package"
411
+ }
412
+ }
413
+ },
414
+ {
415
+ "path": "/api/v1/packages/{owner}/{type}/{name}/{version}",
416
+ "operation": "getPackage",
417
+ "effect": "read",
418
+ "schema": {
419
+ "$ref": "#/definitions/Package"
420
+ }
421
+ },
422
+ {
423
+ "path": "/api/v1/packages/{owner}/{type}/{name}/{version}/files",
424
+ "operation": "listPackageFiles",
425
+ "effect": "read",
426
+ "schema": {
427
+ "type": "array",
428
+ "items": {
429
+ "$ref": "#/definitions/PackageFile"
430
+ }
431
+ }
432
+ },
433
+ {
434
+ "path": "/api/v1/repos/issues/search",
435
+ "operation": "issueSearchIssues",
436
+ "effect": "read",
437
+ "schema": {
438
+ "type": "array",
439
+ "items": {
440
+ "$ref": "#/definitions/Issue"
441
+ }
442
+ }
443
+ },
444
+ {
445
+ "path": "/api/v1/repos/search",
446
+ "operation": "repoSearch",
447
+ "effect": "read",
448
+ "schema": {
449
+ "$ref": "#/definitions/SearchResults"
450
+ }
451
+ },
452
+ {
453
+ "path": "/api/v1/repos/{owner}/{repo}",
454
+ "operation": "repoGet",
455
+ "effect": "read",
456
+ "schema": {
457
+ "$ref": "#/definitions/Repository"
458
+ }
459
+ },
460
+ {
461
+ "path": "/api/v1/repos/{owner}/{repo}/actions/runners/registration-token",
462
+ "operation": "repoGetRunnerRegistrationToken",
463
+ "effect": "credential",
464
+ "schema": null
465
+ },
466
+ {
467
+ "path": "/api/v1/repos/{owner}/{repo}/actions/secrets",
468
+ "operation": "repoListActionsSecrets",
469
+ "effect": "read",
470
+ "schema": {
471
+ "type": "array",
472
+ "items": {
473
+ "$ref": "#/definitions/Secret"
474
+ }
475
+ }
476
+ },
477
+ {
478
+ "path": "/api/v1/repos/{owner}/{repo}/actions/tasks",
479
+ "operation": "ListActionTasks",
480
+ "effect": "read",
481
+ "schema": {
482
+ "$ref": "#/definitions/ActionTaskResponse"
483
+ }
484
+ },
485
+ {
486
+ "path": "/api/v1/repos/{owner}/{repo}/actions/variables",
487
+ "operation": "getRepoVariablesList",
488
+ "effect": "read",
489
+ "schema": {
490
+ "type": "array",
491
+ "items": {
492
+ "$ref": "#/definitions/ActionVariable"
493
+ }
494
+ }
495
+ },
496
+ {
497
+ "path": "/api/v1/repos/{owner}/{repo}/actions/variables/{variablename}",
498
+ "operation": "getRepoVariable",
499
+ "effect": "read",
500
+ "schema": {
501
+ "$ref": "#/definitions/ActionVariable"
502
+ }
503
+ },
504
+ {
505
+ "path": "/api/v1/repos/{owner}/{repo}/activities/feeds",
506
+ "operation": "repoListActivityFeeds",
507
+ "effect": "read",
508
+ "schema": {
509
+ "type": "array",
510
+ "items": {
511
+ "$ref": "#/definitions/Activity"
512
+ }
513
+ }
514
+ },
515
+ {
516
+ "path": "/api/v1/repos/{owner}/{repo}/archive/{archive}",
517
+ "operation": "repoGetArchive",
518
+ "effect": "download",
519
+ "schema": null
520
+ },
521
+ {
522
+ "path": "/api/v1/repos/{owner}/{repo}/assignees",
523
+ "operation": "repoGetAssignees",
524
+ "effect": "read",
525
+ "schema": {
526
+ "type": "array",
527
+ "items": {
528
+ "$ref": "#/definitions/User"
529
+ }
530
+ }
531
+ },
532
+ {
533
+ "path": "/api/v1/repos/{owner}/{repo}/branch_protections",
534
+ "operation": "repoListBranchProtection",
535
+ "effect": "read",
536
+ "schema": {
537
+ "type": "array",
538
+ "items": {
539
+ "$ref": "#/definitions/BranchProtection"
540
+ }
541
+ }
542
+ },
543
+ {
544
+ "path": "/api/v1/repos/{owner}/{repo}/branch_protections/{name}",
545
+ "operation": "repoGetBranchProtection",
546
+ "effect": "read",
547
+ "schema": {
548
+ "$ref": "#/definitions/BranchProtection"
549
+ }
550
+ },
551
+ {
552
+ "path": "/api/v1/repos/{owner}/{repo}/branches",
553
+ "operation": "repoListBranches",
554
+ "effect": "read",
555
+ "schema": {
556
+ "type": "array",
557
+ "items": {
558
+ "$ref": "#/definitions/Branch"
559
+ }
560
+ }
561
+ },
562
+ {
563
+ "path": "/api/v1/repos/{owner}/{repo}/branches/{branch}",
564
+ "operation": "repoGetBranch",
565
+ "effect": "read",
566
+ "schema": {
567
+ "$ref": "#/definitions/Branch"
568
+ }
569
+ },
570
+ {
571
+ "path": "/api/v1/repos/{owner}/{repo}/collaborators",
572
+ "operation": "repoListCollaborators",
573
+ "effect": "read",
574
+ "schema": {
575
+ "type": "array",
576
+ "items": {
577
+ "$ref": "#/definitions/User"
578
+ }
579
+ }
580
+ },
581
+ {
582
+ "path": "/api/v1/repos/{owner}/{repo}/collaborators/{collaborator}",
583
+ "operation": "repoCheckCollaborator",
584
+ "effect": "read",
585
+ "schema": null
586
+ },
587
+ {
588
+ "path": "/api/v1/repos/{owner}/{repo}/collaborators/{collaborator}/permission",
589
+ "operation": "repoGetRepoPermissions",
590
+ "effect": "read",
591
+ "schema": {
592
+ "$ref": "#/definitions/RepoCollaboratorPermission"
593
+ }
594
+ },
595
+ {
596
+ "path": "/api/v1/repos/{owner}/{repo}/commits",
597
+ "operation": "repoGetAllCommits",
598
+ "effect": "read",
599
+ "schema": {
600
+ "type": "array",
601
+ "items": {
602
+ "$ref": "#/definitions/Commit"
603
+ }
604
+ }
605
+ },
606
+ {
607
+ "path": "/api/v1/repos/{owner}/{repo}/commits/{ref}/status",
608
+ "operation": "repoGetCombinedStatusByRef",
609
+ "effect": "read",
610
+ "schema": {
611
+ "$ref": "#/definitions/CombinedStatus"
612
+ }
613
+ },
614
+ {
615
+ "path": "/api/v1/repos/{owner}/{repo}/commits/{ref}/statuses",
616
+ "operation": "repoListStatusesByRef",
617
+ "effect": "read",
618
+ "schema": {
619
+ "type": "array",
620
+ "items": {
621
+ "$ref": "#/definitions/CommitStatus"
622
+ }
623
+ }
624
+ },
625
+ {
626
+ "path": "/api/v1/repos/{owner}/{repo}/commits/{sha}/pull",
627
+ "operation": "repoGetCommitPullRequest",
628
+ "effect": "read",
629
+ "schema": {
630
+ "$ref": "#/definitions/PullRequest"
631
+ }
632
+ },
633
+ {
634
+ "path": "/api/v1/repos/{owner}/{repo}/compare/{basehead}",
635
+ "operation": "repoCompareDiff",
636
+ "effect": "read",
637
+ "schema": {
638
+ "$ref": "#/definitions/Compare"
639
+ }
640
+ },
641
+ {
642
+ "path": "/api/v1/repos/{owner}/{repo}/contents",
643
+ "operation": "repoGetContentsList",
644
+ "effect": "read",
645
+ "schema": {
646
+ "type": "array",
647
+ "items": {
648
+ "$ref": "#/definitions/ContentsResponse"
649
+ }
650
+ }
651
+ },
652
+ {
653
+ "path": "/api/v1/repos/{owner}/{repo}/contents/{filepath}",
654
+ "operation": "repoGetContents",
655
+ "effect": "read",
656
+ "schema": {
657
+ "$ref": "#/definitions/ContentsResponse"
658
+ }
659
+ },
660
+ {
661
+ "path": "/api/v1/repos/{owner}/{repo}/editorconfig/{filepath}",
662
+ "operation": "repoGetEditorConfig",
663
+ "effect": "read",
664
+ "schema": null
665
+ },
666
+ {
667
+ "path": "/api/v1/repos/{owner}/{repo}/forks",
668
+ "operation": "listForks",
669
+ "effect": "read",
670
+ "schema": {
671
+ "type": "array",
672
+ "items": {
673
+ "$ref": "#/definitions/Repository"
674
+ }
675
+ }
676
+ },
677
+ {
678
+ "path": "/api/v1/repos/{owner}/{repo}/git/blobs/{sha}",
679
+ "operation": "GetBlob",
680
+ "effect": "read",
681
+ "schema": {
682
+ "$ref": "#/definitions/GitBlobResponse"
683
+ }
684
+ },
685
+ {
686
+ "path": "/api/v1/repos/{owner}/{repo}/git/commits/{sha}",
687
+ "operation": "repoGetSingleCommit",
688
+ "effect": "read",
689
+ "schema": {
690
+ "$ref": "#/definitions/Commit"
691
+ }
692
+ },
693
+ {
694
+ "path": "/api/v1/repos/{owner}/{repo}/git/commits/{sha}.{diffType}",
695
+ "operation": "repoDownloadCommitDiffOrPatch",
696
+ "effect": "download",
697
+ "schema": {
698
+ "type": "string"
699
+ }
700
+ },
701
+ {
702
+ "path": "/api/v1/repos/{owner}/{repo}/git/notes/{sha}",
703
+ "operation": "repoGetNote",
704
+ "effect": "read",
705
+ "schema": {
706
+ "$ref": "#/definitions/Note"
707
+ }
708
+ },
709
+ {
710
+ "path": "/api/v1/repos/{owner}/{repo}/git/refs",
711
+ "operation": "repoListAllGitRefs",
712
+ "effect": "read",
713
+ "schema": {
714
+ "type": "array",
715
+ "items": {
716
+ "$ref": "#/definitions/Reference"
717
+ }
718
+ }
719
+ },
720
+ {
721
+ "path": "/api/v1/repos/{owner}/{repo}/git/refs/{ref}",
722
+ "operation": "repoListGitRefs",
723
+ "effect": "read",
724
+ "schema": {
725
+ "type": "array",
726
+ "items": {
727
+ "$ref": "#/definitions/Reference"
728
+ }
729
+ }
730
+ },
731
+ {
732
+ "path": "/api/v1/repos/{owner}/{repo}/git/tags/{sha}",
733
+ "operation": "GetAnnotatedTag",
734
+ "effect": "read",
735
+ "schema": {
736
+ "$ref": "#/definitions/AnnotatedTag"
737
+ }
738
+ },
739
+ {
740
+ "path": "/api/v1/repos/{owner}/{repo}/git/trees/{sha}",
741
+ "operation": "GetTree",
742
+ "effect": "read",
743
+ "schema": {
744
+ "$ref": "#/definitions/GitTreeResponse"
745
+ }
746
+ },
747
+ {
748
+ "path": "/api/v1/repos/{owner}/{repo}/hooks",
749
+ "operation": "repoListHooks",
750
+ "effect": "credential",
751
+ "schema": {
752
+ "type": "array",
753
+ "items": {
754
+ "$ref": "#/definitions/Hook"
755
+ }
756
+ }
757
+ },
758
+ {
759
+ "path": "/api/v1/repos/{owner}/{repo}/hooks/git",
760
+ "operation": "repoListGitHooks",
761
+ "effect": "read",
762
+ "schema": {
763
+ "type": "array",
764
+ "items": {
765
+ "$ref": "#/definitions/GitHook"
766
+ }
767
+ }
768
+ },
769
+ {
770
+ "path": "/api/v1/repos/{owner}/{repo}/hooks/git/{id}",
771
+ "operation": "repoGetGitHook",
772
+ "effect": "read",
773
+ "schema": {
774
+ "$ref": "#/definitions/GitHook"
775
+ }
776
+ },
777
+ {
778
+ "path": "/api/v1/repos/{owner}/{repo}/hooks/{id}",
779
+ "operation": "repoGetHook",
780
+ "effect": "credential",
781
+ "schema": {
782
+ "$ref": "#/definitions/Hook"
783
+ }
784
+ },
785
+ {
786
+ "path": "/api/v1/repos/{owner}/{repo}/issue_config",
787
+ "operation": "repoGetIssueConfig",
788
+ "effect": "read",
789
+ "schema": {
790
+ "$ref": "#/definitions/IssueConfig"
791
+ }
792
+ },
793
+ {
794
+ "path": "/api/v1/repos/{owner}/{repo}/issue_config/validate",
795
+ "operation": "repoValidateIssueConfig",
796
+ "effect": "read",
797
+ "schema": {
798
+ "$ref": "#/definitions/IssueConfigValidation"
799
+ }
800
+ },
801
+ {
802
+ "path": "/api/v1/repos/{owner}/{repo}/issue_templates",
803
+ "operation": "repoGetIssueTemplates",
804
+ "effect": "read",
805
+ "schema": {
806
+ "type": "array",
807
+ "items": {
808
+ "$ref": "#/definitions/IssueTemplate"
809
+ }
810
+ }
811
+ },
812
+ {
813
+ "path": "/api/v1/repos/{owner}/{repo}/issues",
814
+ "operation": "issueListIssues",
815
+ "effect": "read",
816
+ "schema": {
817
+ "type": "array",
818
+ "items": {
819
+ "$ref": "#/definitions/Issue"
820
+ }
821
+ }
822
+ },
823
+ {
824
+ "path": "/api/v1/repos/{owner}/{repo}/issues/comments",
825
+ "operation": "issueGetRepoComments",
826
+ "effect": "read",
827
+ "schema": {
828
+ "type": "array",
829
+ "items": {
830
+ "$ref": "#/definitions/Comment"
831
+ }
832
+ }
833
+ },
834
+ {
835
+ "path": "/api/v1/repos/{owner}/{repo}/issues/comments/{id}",
836
+ "operation": "issueGetComment",
837
+ "effect": "read",
838
+ "schema": {
839
+ "$ref": "#/definitions/Comment"
840
+ }
841
+ },
842
+ {
843
+ "path": "/api/v1/repos/{owner}/{repo}/issues/comments/{id}/assets",
844
+ "operation": "issueListIssueCommentAttachments",
845
+ "effect": "read",
846
+ "schema": {
847
+ "type": "array",
848
+ "items": {
849
+ "$ref": "#/definitions/Attachment"
850
+ }
851
+ }
852
+ },
853
+ {
854
+ "path": "/api/v1/repos/{owner}/{repo}/issues/comments/{id}/assets/{attachment_id}",
855
+ "operation": "issueGetIssueCommentAttachment",
856
+ "effect": "read",
857
+ "schema": {
858
+ "$ref": "#/definitions/Attachment"
859
+ }
860
+ },
861
+ {
862
+ "path": "/api/v1/repos/{owner}/{repo}/issues/comments/{id}/reactions",
863
+ "operation": "issueGetCommentReactions",
864
+ "effect": "read",
865
+ "schema": {
866
+ "type": "array",
867
+ "items": {
868
+ "$ref": "#/definitions/Reaction"
869
+ }
870
+ }
871
+ },
872
+ {
873
+ "path": "/api/v1/repos/{owner}/{repo}/issues/pinned",
874
+ "operation": "repoListPinnedIssues",
875
+ "effect": "read",
876
+ "schema": {
877
+ "type": "array",
878
+ "items": {
879
+ "$ref": "#/definitions/Issue"
880
+ }
881
+ }
882
+ },
883
+ {
884
+ "path": "/api/v1/repos/{owner}/{repo}/issues/{index}",
885
+ "operation": "issueGetIssue",
886
+ "effect": "read",
887
+ "schema": {
888
+ "$ref": "#/definitions/Issue"
889
+ }
890
+ },
891
+ {
892
+ "path": "/api/v1/repos/{owner}/{repo}/issues/{index}/assets",
893
+ "operation": "issueListIssueAttachments",
894
+ "effect": "read",
895
+ "schema": {
896
+ "type": "array",
897
+ "items": {
898
+ "$ref": "#/definitions/Attachment"
899
+ }
900
+ }
901
+ },
902
+ {
903
+ "path": "/api/v1/repos/{owner}/{repo}/issues/{index}/assets/{attachment_id}",
904
+ "operation": "issueGetIssueAttachment",
905
+ "effect": "read",
906
+ "schema": {
907
+ "$ref": "#/definitions/Attachment"
908
+ }
909
+ },
910
+ {
911
+ "path": "/api/v1/repos/{owner}/{repo}/issues/{index}/blocks",
912
+ "operation": "issueListBlocks",
913
+ "effect": "read",
914
+ "schema": {
915
+ "type": "array",
916
+ "items": {
917
+ "$ref": "#/definitions/Issue"
918
+ }
919
+ }
920
+ },
921
+ {
922
+ "path": "/api/v1/repos/{owner}/{repo}/issues/{index}/comments",
923
+ "operation": "issueGetComments",
924
+ "effect": "read",
925
+ "schema": {
926
+ "type": "array",
927
+ "items": {
928
+ "$ref": "#/definitions/Comment"
929
+ }
930
+ }
931
+ },
932
+ {
933
+ "path": "/api/v1/repos/{owner}/{repo}/issues/{index}/dependencies",
934
+ "operation": "issueListIssueDependencies",
935
+ "effect": "read",
936
+ "schema": {
937
+ "type": "array",
938
+ "items": {
939
+ "$ref": "#/definitions/Issue"
940
+ }
941
+ }
942
+ },
943
+ {
944
+ "path": "/api/v1/repos/{owner}/{repo}/issues/{index}/labels",
945
+ "operation": "issueGetLabels",
946
+ "effect": "read",
947
+ "schema": {
948
+ "type": "array",
949
+ "items": {
950
+ "$ref": "#/definitions/Label"
951
+ }
952
+ }
953
+ },
954
+ {
955
+ "path": "/api/v1/repos/{owner}/{repo}/issues/{index}/reactions",
956
+ "operation": "issueGetIssueReactions",
957
+ "effect": "read",
958
+ "schema": {
959
+ "type": "array",
960
+ "items": {
961
+ "$ref": "#/definitions/Reaction"
962
+ }
963
+ }
964
+ },
965
+ {
966
+ "path": "/api/v1/repos/{owner}/{repo}/issues/{index}/subscriptions",
967
+ "operation": "issueSubscriptions",
968
+ "effect": "read",
969
+ "schema": {
970
+ "type": "array",
971
+ "items": {
972
+ "$ref": "#/definitions/User"
973
+ }
974
+ }
975
+ },
976
+ {
977
+ "path": "/api/v1/repos/{owner}/{repo}/issues/{index}/subscriptions/check",
978
+ "operation": "issueCheckSubscription",
979
+ "effect": "read",
980
+ "schema": {
981
+ "$ref": "#/definitions/WatchInfo"
982
+ }
983
+ },
984
+ {
985
+ "path": "/api/v1/repos/{owner}/{repo}/issues/{index}/timeline",
986
+ "operation": "issueGetCommentsAndTimeline",
987
+ "effect": "read",
988
+ "schema": {
989
+ "type": "array",
990
+ "items": {
991
+ "$ref": "#/definitions/TimelineComment"
992
+ }
993
+ }
994
+ },
995
+ {
996
+ "path": "/api/v1/repos/{owner}/{repo}/issues/{index}/times",
997
+ "operation": "issueTrackedTimes",
998
+ "effect": "read",
999
+ "schema": {
1000
+ "type": "array",
1001
+ "items": {
1002
+ "$ref": "#/definitions/TrackedTime"
1003
+ }
1004
+ }
1005
+ },
1006
+ {
1007
+ "path": "/api/v1/repos/{owner}/{repo}/keys",
1008
+ "operation": "repoListKeys",
1009
+ "effect": "read",
1010
+ "schema": {
1011
+ "type": "array",
1012
+ "items": {
1013
+ "$ref": "#/definitions/DeployKey"
1014
+ }
1015
+ }
1016
+ },
1017
+ {
1018
+ "path": "/api/v1/repos/{owner}/{repo}/keys/{id}",
1019
+ "operation": "repoGetKey",
1020
+ "effect": "read",
1021
+ "schema": {
1022
+ "$ref": "#/definitions/DeployKey"
1023
+ }
1024
+ },
1025
+ {
1026
+ "path": "/api/v1/repos/{owner}/{repo}/labels",
1027
+ "operation": "issueListLabels",
1028
+ "effect": "read",
1029
+ "schema": {
1030
+ "type": "array",
1031
+ "items": {
1032
+ "$ref": "#/definitions/Label"
1033
+ }
1034
+ }
1035
+ },
1036
+ {
1037
+ "path": "/api/v1/repos/{owner}/{repo}/labels/{id}",
1038
+ "operation": "issueGetLabel",
1039
+ "effect": "read",
1040
+ "schema": {
1041
+ "$ref": "#/definitions/Label"
1042
+ }
1043
+ },
1044
+ {
1045
+ "path": "/api/v1/repos/{owner}/{repo}/languages",
1046
+ "operation": "repoGetLanguages",
1047
+ "effect": "read",
1048
+ "schema": {
1049
+ "type": "object",
1050
+ "additionalProperties": {
1051
+ "type": "integer",
1052
+ "format": "int64"
1053
+ }
1054
+ }
1055
+ },
1056
+ {
1057
+ "path": "/api/v1/repos/{owner}/{repo}/licenses",
1058
+ "operation": "repoGetLicenses",
1059
+ "effect": "read",
1060
+ "schema": {
1061
+ "type": "array",
1062
+ "items": {
1063
+ "type": "string"
1064
+ }
1065
+ }
1066
+ },
1067
+ {
1068
+ "path": "/api/v1/repos/{owner}/{repo}/media/{filepath}",
1069
+ "operation": "repoGetRawFileOrLFS",
1070
+ "effect": "download",
1071
+ "schema": {
1072
+ "type": "file"
1073
+ }
1074
+ },
1075
+ {
1076
+ "path": "/api/v1/repos/{owner}/{repo}/milestones",
1077
+ "operation": "issueGetMilestonesList",
1078
+ "effect": "read",
1079
+ "schema": {
1080
+ "type": "array",
1081
+ "items": {
1082
+ "$ref": "#/definitions/Milestone"
1083
+ }
1084
+ }
1085
+ },
1086
+ {
1087
+ "path": "/api/v1/repos/{owner}/{repo}/milestones/{id}",
1088
+ "operation": "issueGetMilestone",
1089
+ "effect": "read",
1090
+ "schema": {
1091
+ "$ref": "#/definitions/Milestone"
1092
+ }
1093
+ },
1094
+ {
1095
+ "path": "/api/v1/repos/{owner}/{repo}/new_pin_allowed",
1096
+ "operation": "repoNewPinAllowed",
1097
+ "effect": "read",
1098
+ "schema": {
1099
+ "$ref": "#/definitions/NewIssuePinsAllowed"
1100
+ }
1101
+ },
1102
+ {
1103
+ "path": "/api/v1/repos/{owner}/{repo}/notifications",
1104
+ "operation": "notifyGetRepoList",
1105
+ "effect": "read",
1106
+ "schema": {
1107
+ "type": "array",
1108
+ "items": {
1109
+ "$ref": "#/definitions/NotificationThread"
1110
+ }
1111
+ }
1112
+ },
1113
+ {
1114
+ "path": "/api/v1/repos/{owner}/{repo}/pulls",
1115
+ "operation": "repoListPullRequests",
1116
+ "effect": "read",
1117
+ "schema": {
1118
+ "type": "array",
1119
+ "items": {
1120
+ "$ref": "#/definitions/PullRequest"
1121
+ }
1122
+ }
1123
+ },
1124
+ {
1125
+ "path": "/api/v1/repos/{owner}/{repo}/pulls/pinned",
1126
+ "operation": "repoListPinnedPullRequests",
1127
+ "effect": "read",
1128
+ "schema": {
1129
+ "type": "array",
1130
+ "items": {
1131
+ "$ref": "#/definitions/PullRequest"
1132
+ }
1133
+ }
1134
+ },
1135
+ {
1136
+ "path": "/api/v1/repos/{owner}/{repo}/pulls/{base}/{head}",
1137
+ "operation": "repoGetPullRequestByBaseHead",
1138
+ "effect": "read",
1139
+ "schema": {
1140
+ "$ref": "#/definitions/PullRequest"
1141
+ }
1142
+ },
1143
+ {
1144
+ "path": "/api/v1/repos/{owner}/{repo}/pulls/{index}",
1145
+ "operation": "repoGetPullRequest",
1146
+ "effect": "read",
1147
+ "schema": {
1148
+ "$ref": "#/definitions/PullRequest"
1149
+ }
1150
+ },
1151
+ {
1152
+ "path": "/api/v1/repos/{owner}/{repo}/pulls/{index}.{diffType}",
1153
+ "operation": "repoDownloadPullDiffOrPatch",
1154
+ "effect": "download",
1155
+ "schema": {
1156
+ "type": "string"
1157
+ }
1158
+ },
1159
+ {
1160
+ "path": "/api/v1/repos/{owner}/{repo}/pulls/{index}/commits",
1161
+ "operation": "repoGetPullRequestCommits",
1162
+ "effect": "read",
1163
+ "schema": {
1164
+ "type": "array",
1165
+ "items": {
1166
+ "$ref": "#/definitions/Commit"
1167
+ }
1168
+ }
1169
+ },
1170
+ {
1171
+ "path": "/api/v1/repos/{owner}/{repo}/pulls/{index}/files",
1172
+ "operation": "repoGetPullRequestFiles",
1173
+ "effect": "read",
1174
+ "schema": {
1175
+ "type": "array",
1176
+ "items": {
1177
+ "$ref": "#/definitions/ChangedFile"
1178
+ }
1179
+ }
1180
+ },
1181
+ {
1182
+ "path": "/api/v1/repos/{owner}/{repo}/pulls/{index}/merge",
1183
+ "operation": "repoPullRequestIsMerged",
1184
+ "effect": "read",
1185
+ "schema": null
1186
+ },
1187
+ {
1188
+ "path": "/api/v1/repos/{owner}/{repo}/pulls/{index}/reviews",
1189
+ "operation": "repoListPullReviews",
1190
+ "effect": "read",
1191
+ "schema": {
1192
+ "type": "array",
1193
+ "items": {
1194
+ "$ref": "#/definitions/PullReview"
1195
+ }
1196
+ }
1197
+ },
1198
+ {
1199
+ "path": "/api/v1/repos/{owner}/{repo}/pulls/{index}/reviews/{id}",
1200
+ "operation": "repoGetPullReview",
1201
+ "effect": "read",
1202
+ "schema": {
1203
+ "$ref": "#/definitions/PullReview"
1204
+ }
1205
+ },
1206
+ {
1207
+ "path": "/api/v1/repos/{owner}/{repo}/pulls/{index}/reviews/{id}/comments",
1208
+ "operation": "repoGetPullReviewComments",
1209
+ "effect": "read",
1210
+ "schema": {
1211
+ "type": "array",
1212
+ "items": {
1213
+ "$ref": "#/definitions/PullReviewComment"
1214
+ }
1215
+ }
1216
+ },
1217
+ {
1218
+ "path": "/api/v1/repos/{owner}/{repo}/push_mirrors",
1219
+ "operation": "repoListPushMirrors",
1220
+ "effect": "read",
1221
+ "schema": {
1222
+ "type": "array",
1223
+ "items": {
1224
+ "$ref": "#/definitions/PushMirror"
1225
+ }
1226
+ }
1227
+ },
1228
+ {
1229
+ "path": "/api/v1/repos/{owner}/{repo}/push_mirrors/{name}",
1230
+ "operation": "repoGetPushMirrorByRemoteName",
1231
+ "effect": "read",
1232
+ "schema": {
1233
+ "$ref": "#/definitions/PushMirror"
1234
+ }
1235
+ },
1236
+ {
1237
+ "path": "/api/v1/repos/{owner}/{repo}/raw/{filepath}",
1238
+ "operation": "repoGetRawFile",
1239
+ "effect": "download",
1240
+ "schema": {
1241
+ "type": "file"
1242
+ }
1243
+ },
1244
+ {
1245
+ "path": "/api/v1/repos/{owner}/{repo}/releases",
1246
+ "operation": "repoListReleases",
1247
+ "effect": "read",
1248
+ "schema": {
1249
+ "type": "array",
1250
+ "items": {
1251
+ "$ref": "#/definitions/Release"
1252
+ }
1253
+ }
1254
+ },
1255
+ {
1256
+ "path": "/api/v1/repos/{owner}/{repo}/releases/latest",
1257
+ "operation": "repoGetLatestRelease",
1258
+ "effect": "read",
1259
+ "schema": {
1260
+ "$ref": "#/definitions/Release"
1261
+ }
1262
+ },
1263
+ {
1264
+ "path": "/api/v1/repos/{owner}/{repo}/releases/tags/{tag}",
1265
+ "operation": "repoGetReleaseByTag",
1266
+ "effect": "read",
1267
+ "schema": {
1268
+ "$ref": "#/definitions/Release"
1269
+ }
1270
+ },
1271
+ {
1272
+ "path": "/api/v1/repos/{owner}/{repo}/releases/{id}",
1273
+ "operation": "repoGetRelease",
1274
+ "effect": "read",
1275
+ "schema": {
1276
+ "$ref": "#/definitions/Release"
1277
+ }
1278
+ },
1279
+ {
1280
+ "path": "/api/v1/repos/{owner}/{repo}/releases/{id}/assets",
1281
+ "operation": "repoListReleaseAttachments",
1282
+ "effect": "read",
1283
+ "schema": {
1284
+ "type": "array",
1285
+ "items": {
1286
+ "$ref": "#/definitions/Attachment"
1287
+ }
1288
+ }
1289
+ },
1290
+ {
1291
+ "path": "/api/v1/repos/{owner}/{repo}/releases/{id}/assets/{attachment_id}",
1292
+ "operation": "repoGetReleaseAttachment",
1293
+ "effect": "read",
1294
+ "schema": {
1295
+ "$ref": "#/definitions/Attachment"
1296
+ }
1297
+ },
1298
+ {
1299
+ "path": "/api/v1/repos/{owner}/{repo}/reviewers",
1300
+ "operation": "repoGetReviewers",
1301
+ "effect": "read",
1302
+ "schema": {
1303
+ "type": "array",
1304
+ "items": {
1305
+ "$ref": "#/definitions/User"
1306
+ }
1307
+ }
1308
+ },
1309
+ {
1310
+ "path": "/api/v1/repos/{owner}/{repo}/signing-key.gpg",
1311
+ "operation": "repoSigningKey",
1312
+ "effect": "credential",
1313
+ "schema": {
1314
+ "type": "string"
1315
+ }
1316
+ },
1317
+ {
1318
+ "path": "/api/v1/repos/{owner}/{repo}/stargazers",
1319
+ "operation": "repoListStargazers",
1320
+ "effect": "read",
1321
+ "schema": {
1322
+ "type": "array",
1323
+ "items": {
1324
+ "$ref": "#/definitions/User"
1325
+ }
1326
+ }
1327
+ },
1328
+ {
1329
+ "path": "/api/v1/repos/{owner}/{repo}/statuses/{sha}",
1330
+ "operation": "repoListStatuses",
1331
+ "effect": "read",
1332
+ "schema": {
1333
+ "type": "array",
1334
+ "items": {
1335
+ "$ref": "#/definitions/CommitStatus"
1336
+ }
1337
+ }
1338
+ },
1339
+ {
1340
+ "path": "/api/v1/repos/{owner}/{repo}/subscribers",
1341
+ "operation": "repoListSubscribers",
1342
+ "effect": "read",
1343
+ "schema": {
1344
+ "type": "array",
1345
+ "items": {
1346
+ "$ref": "#/definitions/User"
1347
+ }
1348
+ }
1349
+ },
1350
+ {
1351
+ "path": "/api/v1/repos/{owner}/{repo}/subscription",
1352
+ "operation": "userCurrentCheckSubscription",
1353
+ "effect": "read",
1354
+ "schema": {
1355
+ "$ref": "#/definitions/WatchInfo"
1356
+ }
1357
+ },
1358
+ {
1359
+ "path": "/api/v1/repos/{owner}/{repo}/tag_protections",
1360
+ "operation": "repoListTagProtection",
1361
+ "effect": "read",
1362
+ "schema": {
1363
+ "type": "array",
1364
+ "items": {
1365
+ "$ref": "#/definitions/TagProtection"
1366
+ }
1367
+ }
1368
+ },
1369
+ {
1370
+ "path": "/api/v1/repos/{owner}/{repo}/tag_protections/{id}",
1371
+ "operation": "repoGetTagProtection",
1372
+ "effect": "read",
1373
+ "schema": {
1374
+ "$ref": "#/definitions/TagProtection"
1375
+ }
1376
+ },
1377
+ {
1378
+ "path": "/api/v1/repos/{owner}/{repo}/tags",
1379
+ "operation": "repoListTags",
1380
+ "effect": "read",
1381
+ "schema": {
1382
+ "type": "array",
1383
+ "items": {
1384
+ "$ref": "#/definitions/Tag"
1385
+ }
1386
+ }
1387
+ },
1388
+ {
1389
+ "path": "/api/v1/repos/{owner}/{repo}/tags/{tag}",
1390
+ "operation": "repoGetTag",
1391
+ "effect": "read",
1392
+ "schema": {
1393
+ "$ref": "#/definitions/Tag"
1394
+ }
1395
+ },
1396
+ {
1397
+ "path": "/api/v1/repos/{owner}/{repo}/teams",
1398
+ "operation": "repoListTeams",
1399
+ "effect": "read",
1400
+ "schema": {
1401
+ "type": "array",
1402
+ "items": {
1403
+ "$ref": "#/definitions/Team"
1404
+ }
1405
+ }
1406
+ },
1407
+ {
1408
+ "path": "/api/v1/repos/{owner}/{repo}/teams/{team}",
1409
+ "operation": "repoCheckTeam",
1410
+ "effect": "read",
1411
+ "schema": {
1412
+ "$ref": "#/definitions/Team"
1413
+ }
1414
+ },
1415
+ {
1416
+ "path": "/api/v1/repos/{owner}/{repo}/times",
1417
+ "operation": "repoTrackedTimes",
1418
+ "effect": "read",
1419
+ "schema": {
1420
+ "type": "array",
1421
+ "items": {
1422
+ "$ref": "#/definitions/TrackedTime"
1423
+ }
1424
+ }
1425
+ },
1426
+ {
1427
+ "path": "/api/v1/repos/{owner}/{repo}/times/{user}",
1428
+ "operation": "userTrackedTimes",
1429
+ "effect": "read",
1430
+ "schema": {
1431
+ "type": "array",
1432
+ "items": {
1433
+ "$ref": "#/definitions/TrackedTime"
1434
+ }
1435
+ }
1436
+ },
1437
+ {
1438
+ "path": "/api/v1/repos/{owner}/{repo}/topics",
1439
+ "operation": "repoListTopics",
1440
+ "effect": "read",
1441
+ "schema": {
1442
+ "$ref": "#/definitions/TopicName"
1443
+ }
1444
+ },
1445
+ {
1446
+ "path": "/api/v1/repos/{owner}/{repo}/wiki/page/{pageName}",
1447
+ "operation": "repoGetWikiPage",
1448
+ "effect": "read",
1449
+ "schema": {
1450
+ "$ref": "#/definitions/WikiPage"
1451
+ }
1452
+ },
1453
+ {
1454
+ "path": "/api/v1/repos/{owner}/{repo}/wiki/pages",
1455
+ "operation": "repoGetWikiPages",
1456
+ "effect": "read",
1457
+ "schema": {
1458
+ "type": "array",
1459
+ "items": {
1460
+ "$ref": "#/definitions/WikiPageMetaData"
1461
+ }
1462
+ }
1463
+ },
1464
+ {
1465
+ "path": "/api/v1/repos/{owner}/{repo}/wiki/revisions/{pageName}",
1466
+ "operation": "repoGetWikiPageRevisions",
1467
+ "effect": "read",
1468
+ "schema": {
1469
+ "$ref": "#/definitions/WikiCommitList"
1470
+ }
1471
+ },
1472
+ {
1473
+ "path": "/api/v1/repositories/{id}",
1474
+ "operation": "repoGetByID",
1475
+ "effect": "read",
1476
+ "schema": {
1477
+ "$ref": "#/definitions/Repository"
1478
+ }
1479
+ },
1480
+ {
1481
+ "path": "/api/v1/settings/api",
1482
+ "operation": "getGeneralAPISettings",
1483
+ "effect": "read",
1484
+ "schema": {
1485
+ "$ref": "#/definitions/GeneralAPISettings"
1486
+ }
1487
+ },
1488
+ {
1489
+ "path": "/api/v1/settings/attachment",
1490
+ "operation": "getGeneralAttachmentSettings",
1491
+ "effect": "read",
1492
+ "schema": {
1493
+ "$ref": "#/definitions/GeneralAttachmentSettings"
1494
+ }
1495
+ },
1496
+ {
1497
+ "path": "/api/v1/settings/repository",
1498
+ "operation": "getGeneralRepositorySettings",
1499
+ "effect": "read",
1500
+ "schema": {
1501
+ "$ref": "#/definitions/GeneralRepoSettings"
1502
+ }
1503
+ },
1504
+ {
1505
+ "path": "/api/v1/settings/ui",
1506
+ "operation": "getGeneralUISettings",
1507
+ "effect": "read",
1508
+ "schema": {
1509
+ "$ref": "#/definitions/GeneralUISettings"
1510
+ }
1511
+ },
1512
+ {
1513
+ "path": "/api/v1/signing-key.gpg",
1514
+ "operation": "getSigningKey",
1515
+ "effect": "credential",
1516
+ "schema": {
1517
+ "type": "string"
1518
+ }
1519
+ },
1520
+ {
1521
+ "path": "/api/v1/teams/{id}",
1522
+ "operation": "orgGetTeam",
1523
+ "effect": "read",
1524
+ "schema": {
1525
+ "$ref": "#/definitions/Team"
1526
+ }
1527
+ },
1528
+ {
1529
+ "path": "/api/v1/teams/{id}/activities/feeds",
1530
+ "operation": "orgListTeamActivityFeeds",
1531
+ "effect": "read",
1532
+ "schema": {
1533
+ "type": "array",
1534
+ "items": {
1535
+ "$ref": "#/definitions/Activity"
1536
+ }
1537
+ }
1538
+ },
1539
+ {
1540
+ "path": "/api/v1/teams/{id}/members",
1541
+ "operation": "orgListTeamMembers",
1542
+ "effect": "read",
1543
+ "schema": {
1544
+ "type": "array",
1545
+ "items": {
1546
+ "$ref": "#/definitions/User"
1547
+ }
1548
+ }
1549
+ },
1550
+ {
1551
+ "path": "/api/v1/teams/{id}/members/{username}",
1552
+ "operation": "orgListTeamMember",
1553
+ "effect": "read",
1554
+ "schema": {
1555
+ "$ref": "#/definitions/User"
1556
+ }
1557
+ },
1558
+ {
1559
+ "path": "/api/v1/teams/{id}/repos",
1560
+ "operation": "orgListTeamRepos",
1561
+ "effect": "read",
1562
+ "schema": {
1563
+ "type": "array",
1564
+ "items": {
1565
+ "$ref": "#/definitions/Repository"
1566
+ }
1567
+ }
1568
+ },
1569
+ {
1570
+ "path": "/api/v1/teams/{id}/repos/{org}/{repo}",
1571
+ "operation": "orgListTeamRepo",
1572
+ "effect": "read",
1573
+ "schema": {
1574
+ "$ref": "#/definitions/Repository"
1575
+ }
1576
+ },
1577
+ {
1578
+ "path": "/api/v1/topics/search",
1579
+ "operation": "topicSearch",
1580
+ "effect": "read",
1581
+ "schema": {
1582
+ "type": "array",
1583
+ "items": {
1584
+ "$ref": "#/definitions/TopicResponse"
1585
+ }
1586
+ }
1587
+ },
1588
+ {
1589
+ "path": "/api/v1/user",
1590
+ "operation": "userGetCurrent",
1591
+ "effect": "read",
1592
+ "schema": {
1593
+ "$ref": "#/definitions/User"
1594
+ }
1595
+ },
1596
+ {
1597
+ "path": "/api/v1/user/actions/runners/registration-token",
1598
+ "operation": "userGetRunnerRegistrationToken",
1599
+ "effect": "credential",
1600
+ "schema": null
1601
+ },
1602
+ {
1603
+ "path": "/api/v1/user/actions/variables",
1604
+ "operation": "getUserVariablesList",
1605
+ "effect": "read",
1606
+ "schema": {
1607
+ "type": "array",
1608
+ "items": {
1609
+ "$ref": "#/definitions/ActionVariable"
1610
+ }
1611
+ }
1612
+ },
1613
+ {
1614
+ "path": "/api/v1/user/actions/variables/{variablename}",
1615
+ "operation": "getUserVariable",
1616
+ "effect": "read",
1617
+ "schema": {
1618
+ "$ref": "#/definitions/ActionVariable"
1619
+ }
1620
+ },
1621
+ {
1622
+ "path": "/api/v1/user/applications/oauth2",
1623
+ "operation": "userGetOauth2Application",
1624
+ "effect": "credential",
1625
+ "schema": {
1626
+ "type": "array",
1627
+ "items": {
1628
+ "$ref": "#/definitions/OAuth2Application"
1629
+ }
1630
+ }
1631
+ },
1632
+ {
1633
+ "path": "/api/v1/user/applications/oauth2/{id}",
1634
+ "operation": "userGetOAuth2Application",
1635
+ "effect": "credential",
1636
+ "schema": {
1637
+ "$ref": "#/definitions/OAuth2Application"
1638
+ }
1639
+ },
1640
+ {
1641
+ "path": "/api/v1/user/blocks",
1642
+ "operation": "userListBlocks",
1643
+ "effect": "read",
1644
+ "schema": {
1645
+ "type": "array",
1646
+ "items": {
1647
+ "$ref": "#/definitions/User"
1648
+ }
1649
+ }
1650
+ },
1651
+ {
1652
+ "path": "/api/v1/user/blocks/{username}",
1653
+ "operation": "userCheckUserBlock",
1654
+ "effect": "read",
1655
+ "schema": null
1656
+ },
1657
+ {
1658
+ "path": "/api/v1/user/emails",
1659
+ "operation": "userListEmails",
1660
+ "effect": "read",
1661
+ "schema": {
1662
+ "type": "array",
1663
+ "items": {
1664
+ "$ref": "#/definitions/Email"
1665
+ }
1666
+ }
1667
+ },
1668
+ {
1669
+ "path": "/api/v1/user/followers",
1670
+ "operation": "userCurrentListFollowers",
1671
+ "effect": "read",
1672
+ "schema": {
1673
+ "type": "array",
1674
+ "items": {
1675
+ "$ref": "#/definitions/User"
1676
+ }
1677
+ }
1678
+ },
1679
+ {
1680
+ "path": "/api/v1/user/following",
1681
+ "operation": "userCurrentListFollowing",
1682
+ "effect": "read",
1683
+ "schema": {
1684
+ "type": "array",
1685
+ "items": {
1686
+ "$ref": "#/definitions/User"
1687
+ }
1688
+ }
1689
+ },
1690
+ {
1691
+ "path": "/api/v1/user/following/{username}",
1692
+ "operation": "userCurrentCheckFollowing",
1693
+ "effect": "read",
1694
+ "schema": null
1695
+ },
1696
+ {
1697
+ "path": "/api/v1/user/gpg_key_token",
1698
+ "operation": "getVerificationToken",
1699
+ "effect": "credential",
1700
+ "schema": {
1701
+ "type": "string"
1702
+ }
1703
+ },
1704
+ {
1705
+ "path": "/api/v1/user/gpg_keys",
1706
+ "operation": "userCurrentListGPGKeys",
1707
+ "effect": "read",
1708
+ "schema": {
1709
+ "type": "array",
1710
+ "items": {
1711
+ "$ref": "#/definitions/GPGKey"
1712
+ }
1713
+ }
1714
+ },
1715
+ {
1716
+ "path": "/api/v1/user/gpg_keys/{id}",
1717
+ "operation": "userCurrentGetGPGKey",
1718
+ "effect": "read",
1719
+ "schema": {
1720
+ "$ref": "#/definitions/GPGKey"
1721
+ }
1722
+ },
1723
+ {
1724
+ "path": "/api/v1/user/hooks",
1725
+ "operation": "userListHooks",
1726
+ "effect": "credential",
1727
+ "schema": {
1728
+ "type": "array",
1729
+ "items": {
1730
+ "$ref": "#/definitions/Hook"
1731
+ }
1732
+ }
1733
+ },
1734
+ {
1735
+ "path": "/api/v1/user/hooks/{id}",
1736
+ "operation": "userGetHook",
1737
+ "effect": "credential",
1738
+ "schema": {
1739
+ "$ref": "#/definitions/Hook"
1740
+ }
1741
+ },
1742
+ {
1743
+ "path": "/api/v1/user/keys",
1744
+ "operation": "userCurrentListKeys",
1745
+ "effect": "read",
1746
+ "schema": {
1747
+ "type": "array",
1748
+ "items": {
1749
+ "$ref": "#/definitions/PublicKey"
1750
+ }
1751
+ }
1752
+ },
1753
+ {
1754
+ "path": "/api/v1/user/keys/{id}",
1755
+ "operation": "userCurrentGetKey",
1756
+ "effect": "read",
1757
+ "schema": {
1758
+ "$ref": "#/definitions/PublicKey"
1759
+ }
1760
+ },
1761
+ {
1762
+ "path": "/api/v1/user/orgs",
1763
+ "operation": "orgListCurrentUserOrgs",
1764
+ "effect": "read",
1765
+ "schema": {
1766
+ "type": "array",
1767
+ "items": {
1768
+ "$ref": "#/definitions/Organization"
1769
+ }
1770
+ }
1771
+ },
1772
+ {
1773
+ "path": "/api/v1/user/repos",
1774
+ "operation": "userCurrentListRepos",
1775
+ "effect": "read",
1776
+ "schema": {
1777
+ "type": "array",
1778
+ "items": {
1779
+ "$ref": "#/definitions/Repository"
1780
+ }
1781
+ }
1782
+ },
1783
+ {
1784
+ "path": "/api/v1/user/settings",
1785
+ "operation": "getUserSettings",
1786
+ "effect": "read",
1787
+ "schema": {
1788
+ "type": "array",
1789
+ "items": {
1790
+ "$ref": "#/definitions/UserSettings"
1791
+ }
1792
+ }
1793
+ },
1794
+ {
1795
+ "path": "/api/v1/user/starred",
1796
+ "operation": "userCurrentListStarred",
1797
+ "effect": "read",
1798
+ "schema": {
1799
+ "type": "array",
1800
+ "items": {
1801
+ "$ref": "#/definitions/Repository"
1802
+ }
1803
+ }
1804
+ },
1805
+ {
1806
+ "path": "/api/v1/user/starred/{owner}/{repo}",
1807
+ "operation": "userCurrentCheckStarring",
1808
+ "effect": "read",
1809
+ "schema": null
1810
+ },
1811
+ {
1812
+ "path": "/api/v1/user/stopwatches",
1813
+ "operation": "userGetStopWatches",
1814
+ "effect": "read",
1815
+ "schema": {
1816
+ "type": "array",
1817
+ "items": {
1818
+ "$ref": "#/definitions/StopWatch"
1819
+ }
1820
+ }
1821
+ },
1822
+ {
1823
+ "path": "/api/v1/user/subscriptions",
1824
+ "operation": "userCurrentListSubscriptions",
1825
+ "effect": "read",
1826
+ "schema": {
1827
+ "type": "array",
1828
+ "items": {
1829
+ "$ref": "#/definitions/Repository"
1830
+ }
1831
+ }
1832
+ },
1833
+ {
1834
+ "path": "/api/v1/user/teams",
1835
+ "operation": "userListTeams",
1836
+ "effect": "read",
1837
+ "schema": {
1838
+ "type": "array",
1839
+ "items": {
1840
+ "$ref": "#/definitions/Team"
1841
+ }
1842
+ }
1843
+ },
1844
+ {
1845
+ "path": "/api/v1/user/times",
1846
+ "operation": "userCurrentTrackedTimes",
1847
+ "effect": "read",
1848
+ "schema": {
1849
+ "type": "array",
1850
+ "items": {
1851
+ "$ref": "#/definitions/TrackedTime"
1852
+ }
1853
+ }
1854
+ },
1855
+ {
1856
+ "path": "/api/v1/users/search",
1857
+ "operation": "userSearch",
1858
+ "effect": "read",
1859
+ "schema": {
1860
+ "type": "object",
1861
+ "properties": {
1862
+ "data": {
1863
+ "type": "array",
1864
+ "items": {
1865
+ "$ref": "#/definitions/User"
1866
+ }
1867
+ },
1868
+ "ok": {
1869
+ "type": "boolean"
1870
+ }
1871
+ }
1872
+ }
1873
+ },
1874
+ {
1875
+ "path": "/api/v1/users/{username}",
1876
+ "operation": "userGet",
1877
+ "effect": "read",
1878
+ "schema": {
1879
+ "$ref": "#/definitions/User"
1880
+ }
1881
+ },
1882
+ {
1883
+ "path": "/api/v1/users/{username}/activities/feeds",
1884
+ "operation": "userListActivityFeeds",
1885
+ "effect": "read",
1886
+ "schema": {
1887
+ "type": "array",
1888
+ "items": {
1889
+ "$ref": "#/definitions/Activity"
1890
+ }
1891
+ }
1892
+ },
1893
+ {
1894
+ "path": "/api/v1/users/{username}/followers",
1895
+ "operation": "userListFollowers",
1896
+ "effect": "read",
1897
+ "schema": {
1898
+ "type": "array",
1899
+ "items": {
1900
+ "$ref": "#/definitions/User"
1901
+ }
1902
+ }
1903
+ },
1904
+ {
1905
+ "path": "/api/v1/users/{username}/following",
1906
+ "operation": "userListFollowing",
1907
+ "effect": "read",
1908
+ "schema": {
1909
+ "type": "array",
1910
+ "items": {
1911
+ "$ref": "#/definitions/User"
1912
+ }
1913
+ }
1914
+ },
1915
+ {
1916
+ "path": "/api/v1/users/{username}/following/{target}",
1917
+ "operation": "userCheckFollowing",
1918
+ "effect": "read",
1919
+ "schema": null
1920
+ },
1921
+ {
1922
+ "path": "/api/v1/users/{username}/gpg_keys",
1923
+ "operation": "userListGPGKeys",
1924
+ "effect": "read",
1925
+ "schema": {
1926
+ "type": "array",
1927
+ "items": {
1928
+ "$ref": "#/definitions/GPGKey"
1929
+ }
1930
+ }
1931
+ },
1932
+ {
1933
+ "path": "/api/v1/users/{username}/heatmap",
1934
+ "operation": "userGetHeatmapData",
1935
+ "effect": "read",
1936
+ "schema": {
1937
+ "type": "array",
1938
+ "items": {
1939
+ "$ref": "#/definitions/UserHeatmapData"
1940
+ }
1941
+ }
1942
+ },
1943
+ {
1944
+ "path": "/api/v1/users/{username}/keys",
1945
+ "operation": "userListKeys",
1946
+ "effect": "read",
1947
+ "schema": {
1948
+ "type": "array",
1949
+ "items": {
1950
+ "$ref": "#/definitions/PublicKey"
1951
+ }
1952
+ }
1953
+ },
1954
+ {
1955
+ "path": "/api/v1/users/{username}/orgs",
1956
+ "operation": "orgListUserOrgs",
1957
+ "effect": "read",
1958
+ "schema": {
1959
+ "type": "array",
1960
+ "items": {
1961
+ "$ref": "#/definitions/Organization"
1962
+ }
1963
+ }
1964
+ },
1965
+ {
1966
+ "path": "/api/v1/users/{username}/orgs/{org}/permissions",
1967
+ "operation": "orgGetUserPermissions",
1968
+ "effect": "read",
1969
+ "schema": {
1970
+ "$ref": "#/definitions/OrganizationPermissions"
1971
+ }
1972
+ },
1973
+ {
1974
+ "path": "/api/v1/users/{username}/repos",
1975
+ "operation": "userListRepos",
1976
+ "effect": "read",
1977
+ "schema": {
1978
+ "type": "array",
1979
+ "items": {
1980
+ "$ref": "#/definitions/Repository"
1981
+ }
1982
+ }
1983
+ },
1984
+ {
1985
+ "path": "/api/v1/users/{username}/starred",
1986
+ "operation": "userListStarred",
1987
+ "effect": "read",
1988
+ "schema": {
1989
+ "type": "array",
1990
+ "items": {
1991
+ "$ref": "#/definitions/Repository"
1992
+ }
1993
+ }
1994
+ },
1995
+ {
1996
+ "path": "/api/v1/users/{username}/subscriptions",
1997
+ "operation": "userListSubscriptions",
1998
+ "effect": "read",
1999
+ "schema": {
2000
+ "type": "array",
2001
+ "items": {
2002
+ "$ref": "#/definitions/Repository"
2003
+ }
2004
+ }
2005
+ },
2006
+ {
2007
+ "path": "/api/v1/users/{username}/tokens",
2008
+ "operation": "userGetTokens",
2009
+ "effect": "credential",
2010
+ "schema": {
2011
+ "type": "array",
2012
+ "items": {
2013
+ "$ref": "#/definitions/AccessToken"
2014
+ }
2015
+ }
2016
+ },
2017
+ {
2018
+ "path": "/api/v1/version",
2019
+ "operation": "getVersion",
2020
+ "effect": "read",
2021
+ "schema": {
2022
+ "$ref": "#/definitions/ServerVersion"
2023
+ }
2024
+ }
2025
+ ]