-
Notifications
You must be signed in to change notification settings - Fork 7
/
api.github.com.json
1661 lines (1661 loc) · 78.8 KB
/
api.github.com.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"permissions": {
"metadata": {
"url": "https://docs.github.com/en/free-pro-team@latest/rest/reference/permissions-required-for-github-apps/#metadata",
"read": [
"GET /",
"GET /codes_of_conduct",
"GET /codes_of_conduct/{key}",
"GET /emojis",
"GET /events",
"GET /feeds",
"GET /gitignore/templates",
"GET /gitignore/templates/{key}",
"GET /licenses",
"GET /licenses/{key}",
"GET /meta",
"GET /networks/{owner}/{repo}/events",
"GET /organizations",
"GET /orgs/{org}",
"GET /orgs/{org}/events",
"GET /orgs/{org}/members",
"GET /orgs/{org}/members/{username}",
"GET /orgs/{org}/projects",
"GET /orgs/{org}/public_members",
"GET /orgs/{org}/public_members/{username}",
"GET /orgs/{org}/repos",
"GET /rate_limit",
"GET /repos/{owner}/{repo}",
"GET /repos/{owner}/{repo}/collaborators",
"GET /repos/{owner}/{repo}/collaborators/{username}",
"GET /repos/{owner}/{repo}/comments",
"GET /repos/{owner}/{repo}/comments/{comment_id}",
"GET /repos/{owner}/{repo}/comments/{comment_id}/reactions",
"GET /repos/{owner}/{repo}/commits/{sha}/comments",
"GET /repos/{owner}/{repo}/community/profile",
"GET /repos/{owner}/{repo}/contributors",
"GET /repos/{owner}/{repo}/events",
"GET /repos/{owner}/{repo}/events/issues",
"GET /repos/{owner}/{repo}/forks",
"GET /repos/{owner}/{repo}/languages",
"GET /repos/{owner}/{repo}/license",
"GET /repos/{owner}/{repo}/stargazers",
"GET /repos/{owner}/{repo}/stats/code_frequency",
"GET /repos/{owner}/{repo}/stats/commit_activity",
"GET /repos/{owner}/{repo}/stats/contributors",
"GET /repos/{owner}/{repo}/stats/participation",
"GET /repos/{owner}/{repo}/stats/punch_card",
"GET /repos/{owner}/{repo}/subscribers",
"GET /repos/{owner}/{repo}/tags",
"GET /repos/{owner}/{repo}/topics",
"GET /repositories",
"GET /search/code",
"GET /search/commits",
"GET /search/issues",
"GET /search/labels",
"GET /search/repositories",
"GET /search/topics",
"GET /search/users",
"GET /user/repos",
"GET /user/starred",
"GET /user/subscriptions",
"GET /users",
"GET /users/{username}",
"GET /users/{username}/events",
"GET /users/{username}/events/public",
"GET /users/{username}/followers",
"GET /users/{username}/following",
"GET /users/{username}/following/{target_user}",
"GET /users/{username}/gpg_keys",
"GET /users/{username}/keys",
"GET /users/{username}/orgs",
"GET /users/{username}/received_events",
"GET /users/{username}/received_events/public",
"GET /users/{username}/repos",
"GET /users/{username}/subscriptions",
"POST /markdown",
"POST /markdown/raw"
],
"write": []
},
"actions": {
"url": "https://docs.github.com/en/free-pro-team@latest/rest/reference/permissions-required-for-github-apps/#actions",
"read": [
"GET /repos/{owner}/{repo}/actions/artifacts",
"GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}",
"GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/zip",
"GET /repos/{owner}/{repo}/actions/cache/usage",
"GET /repos/{owner}/{repo}/actions/jobs/{job_id}",
"GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs",
"GET /repos/{owner}/{repo}/actions/runs",
"GET /repos/{owner}/{repo}/actions/runs/{run_id}",
"GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts",
"GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs",
"GET /repos/{owner}/{repo}/actions/runs/{run_id}/logs",
"GET /repos/{owner}/{repo}/actions/workflows",
"GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}",
"GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs"
],
"write": [
"DELETE /repos/{owner}/{repo}/actions/artifacts/{artifact_id}",
"DELETE /repos/{owner}/{repo}/actions/runs/{run_id}/logs",
"POST /repos/{owner}/{repo}/actions/runs/{run_id}/approve",
"POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel",
"POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun",
"POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches"
]
},
"administration": {
"url": "https://docs.github.com/en/free-pro-team@latest/rest/reference/permissions-required-for-github-apps/#administration",
"read": [
"GET /repos/{owner}/{repo}/actions/runners",
"GET /repos/{owner}/{repo}/actions/runners/downloads",
"GET /repos/{owner}/{repo}/actions/runners/{runner_id}",
"GET /repos/{owner}/{repo}/actions/runners/{runner_id}/labels",
"GET /repos/{owner}/{repo}/branches/{branch}/protection",
"GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins",
"GET /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews",
"GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures",
"GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks",
"GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",
"GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions",
"GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",
"GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",
"GET /repos/{owner}/{repo}/interaction-limits",
"GET /repos/{owner}/{repo}/invitations",
"GET /repos/{owner}/{repo}/keys",
"GET /repos/{owner}/{repo}/keys/{key_id}",
"GET /repos/{owner}/{repo}/teams",
"GET /repos/{owner}/{repo}/traffic/clones",
"GET /repos/{owner}/{repo}/traffic/popular/paths",
"GET /repos/{owner}/{repo}/traffic/popular/referrers",
"GET /repos/{owner}/{repo}/traffic/views",
"GET /repos/{owner}/{repo}/vulnerability-alerts"
],
"write": [
"DELETE /repos/{owner}/{repo}",
"DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}",
"DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}/labels",
"DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}/labels/{name}",
"DELETE /repos/{owner}/{repo}/automated-security-fixes",
"DELETE /repos/{owner}/{repo}/branches/{branch}/protection",
"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins",
"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews",
"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures",
"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks",
"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",
"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions",
"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",
"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",
"DELETE /repos/{owner}/{repo}/collaborators/{username}",
"DELETE /repos/{owner}/{repo}/interaction-limits",
"DELETE /repos/{owner}/{repo}/invitations/{invitation_id}",
"DELETE /repos/{owner}/{repo}/keys/{key_id}",
"DELETE /repos/{owner}/{repo}/vulnerability-alerts",
"DELETE /teams/{team_id}/repos/{owner}/{repo}",
"DELETE /user/repository_invitations/{invitation_id}",
"GET /repos/{owner}/{repo}/pages/health",
"PATCH /repos/{owner}/{repo}",
"PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews",
"PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks",
"PATCH /repos/{owner}/{repo}/invitations/{invitation_id}",
"PATCH /user/repository_invitations/{invitation_id}",
"POST /orgs/{org}/repos",
"POST /repos/{owner}/{repo}/actions/runners/registration-token",
"POST /repos/{owner}/{repo}/actions/runners/remove-token",
"POST /repos/{owner}/{repo}/actions/runners/{runner_id}/labels",
"POST /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins",
"POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures",
"POST /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",
"POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",
"POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",
"POST /repos/{owner}/{repo}/branches/{branch}/rename",
"POST /repos/{owner}/{repo}/forks",
"POST /repos/{owner}/{repo}/keys",
"POST /repos/{owner}/{repo}/transfer",
"PUT /repos/{owner}/{repo}/actions/runners/{runner_id}/labels",
"PUT /repos/{owner}/{repo}/automated-security-fixes",
"PUT /repos/{owner}/{repo}/branches/{branch}/protection",
"PUT /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",
"PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",
"PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",
"PUT /repos/{owner}/{repo}/collaborators/{username}",
"PUT /repos/{owner}/{repo}/interaction-limits",
"PUT /repos/{owner}/{repo}/topics",
"PUT /repos/{owner}/{repo}/vulnerability-alerts",
"PUT /teams/{team_id}/repos/{owner}/{repo}"
]
},
"organization_user_blocking": {
"url": "https://docs.github.com/en/free-pro-team@latest/rest/reference/permissions-required-for-github-apps/#organization-user-blocking",
"read": ["GET /orgs/{org}/blocks", "GET /orgs/{org}/blocks/{username}"],
"write": [
"DELETE /orgs/{org}/blocks/{username}",
"PUT /orgs/{org}/blocks/{username}"
]
},
"checks": {
"url": "https://docs.github.com/en/free-pro-team@latest/rest/reference/permissions-required-for-github-apps/#checks",
"read": [
"GET /repos/{owner}/{repo}/check-runs/{check_run_id}",
"GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations",
"GET /repos/{owner}/{repo}/check-suites/{check_suite_id}",
"GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs",
"GET /repos/{owner}/{repo}/commits/{sha}/check-runs",
"GET /repos/{owner}/{repo}/commits/{sha}/check-suites"
],
"write": [
"PATCH /repos/{owner}/{repo}/check-runs/{check_run_id}",
"PATCH /repos/{owner}/{repo}/check-suites/preferences",
"POST /repos/{owner}/{repo}/check-runs",
"POST /repos/{owner}/{repo}/check-suites",
"POST /repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest"
]
},
"security_events": {
"url": "https://docs.github.com/en/free-pro-team@latest/rest/reference/permissions-required-for-github-apps/#code-scanning-alerts",
"read": [
"GET /orgs/{org}/code-scanning/alerts",
"GET /repos/{owner}/{repo}/code-scanning/alerts",
"GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}",
"GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances",
"GET /repos/{owner}/{repo}/code-scanning/analyses",
"GET /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}",
"GET /repos/{owner}/{repo}/code-scanning/sarifs/{sarif_id}"
],
"write": [
"DELETE /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}",
"PATCH /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}",
"POST /repos/{owner}/{repo}/code-scanning/sarifs"
]
},
"statuses": {
"url": "https://docs.github.com/en/free-pro-team@latest/rest/reference/permissions-required-for-github-apps/#commit-statuses",
"read": [
"GET /repos/{owner}/{repo}/commits/{ref}/status",
"GET /repos/{owner}/{repo}/commits/{ref}/statuses"
],
"write": ["POST /repos/{owner}/{repo}/statuses/{sha}"]
},
"contents": {
"url": "https://docs.github.com/en/free-pro-team@latest/rest/reference/permissions-required-for-github-apps/#contents",
"read": [
"GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}",
"GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/zip",
"GET /repos/{owner}/{repo}/actions/jobs/{job_id}",
"GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs",
"GET /repos/{owner}/{repo}/actions/runs",
"GET /repos/{owner}/{repo}/actions/runs/{run_id}",
"GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts",
"GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs",
"GET /repos/{owner}/{repo}/actions/runs/{run_id}/logs",
"GET /repos/{owner}/{repo}/actions/workflows",
"GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}",
"GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs",
"GET /repos/{owner}/{repo}/branches",
"GET /repos/{owner}/{repo}/branches/{branch}",
"GET /repos/{owner}/{repo}/check-runs/{check_run_id}",
"GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations",
"GET /repos/{owner}/{repo}/check-suites/{check_suite_id}",
"GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs",
"GET /repos/{owner}/{repo}/codeowners/errors",
"GET /repos/{owner}/{repo}/commits",
"GET /repos/{owner}/{repo}/commits/{sha}",
"GET /repos/{owner}/{repo}/commits/{sha}/check-runs",
"GET /repos/{owner}/{repo}/commits/{sha}/check-suites",
"GET /repos/{owner}/{repo}/community/code_of_conduct",
"GET /repos/{owner}/{repo}/compare/{base}...{head}",
"GET /repos/{owner}/{repo}/contents/{path}",
"GET /repos/{owner}/{repo}/git/blobs/{sha}",
"GET /repos/{owner}/{repo}/git/commits/{commit_id}",
"GET /repos/{owner}/{repo}/git/matching-refs/{ref}",
"GET /repos/{owner}/{repo}/git/ref/{ref}",
"GET /repos/{owner}/{repo}/git/tags/{tag_id}",
"GET /repos/{owner}/{repo}/git/trees/{sha}",
"GET /repos/{owner}/{repo}/import",
"GET /repos/{owner}/{repo}/import/authors",
"GET /repos/{owner}/{repo}/import/large_files",
"GET /repos/{owner}/{repo}/readme(?:/(.*))?",
"GET /repos/{owner}/{repo}/releases",
"GET /repos/{owner}/{repo}/releases/assets/{asset_id}",
"GET /repos/{owner}/{repo}/releases/latest",
"GET /repos/{owner}/{repo}/releases/tags/{tag}",
"GET /repos/{owner}/{repo}/releases/{release_id}",
"GET /repos/{owner}/{repo}/releases/{release_id}/assets",
"GET /repos/{owner}/{repo}/{archive_format}/{ref}",
"POST /repos/{owner}/{repo}/forks"
],
"write": [
"DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}",
"DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}",
"DELETE /reactions/{reaction_id}",
"DELETE /repos/{owner}/{repo}/actions/artifacts/{artifact_id}",
"DELETE /repos/{owner}/{repo}/actions/runs/{run_id}/logs",
"DELETE /repos/{owner}/{repo}/actions/secrets/{name}",
"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",
"DELETE /repos/{owner}/{repo}/comments/{comment_id}",
"DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}",
"DELETE /repos/{owner}/{repo}/git/refs/{ref}",
"DELETE /repos/{owner}/{repo}/import",
"DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}",
"DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}",
"DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}",
"DELETE /repos/{owner}/{repo}/releases/assets/{asset_id}",
"DELETE /repos/{owner}/{repo}/releases/{release_id}",
"GET /repos/{owner}/{repo}/actions/secrets",
"GET /repos/{owner}/{repo}/actions/secrets/public-key",
"GET /repos/{owner}/{repo}/actions/secrets/{name}",
"GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",
"PATCH /repos/{owner}/{repo}/comments/{comment_id}",
"PATCH /repos/{owner}/{repo}/git/refs/{ref}",
"PATCH /repos/{owner}/{repo}/import",
"PATCH /repos/{owner}/{repo}/import/authors/{author_id}",
"PATCH /repos/{owner}/{repo}/import/lfs",
"PATCH /repos/{owner}/{repo}/releases/assets/{asset_id}",
"PATCH /repos/{owner}/{repo}/releases/{release_id}",
"POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel",
"POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun",
"POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",
"POST /repos/{owner}/{repo}/branches/{branch}/rename",
"POST /repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest",
"POST /repos/{owner}/{repo}/comments/{comment_id}/reactions",
"POST /repos/{owner}/{repo}/commits/{sha}/comments",
"POST /repos/{owner}/{repo}/dispatches",
"POST /repos/{owner}/{repo}/git/blobs",
"POST /repos/{owner}/{repo}/git/commits",
"POST /repos/{owner}/{repo}/git/refs",
"POST /repos/{owner}/{repo}/git/tags",
"POST /repos/{owner}/{repo}/git/trees",
"POST /repos/{owner}/{repo}/merges",
"POST /repos/{owner}/{repo}/releases",
"PUT /repos/{owner}/{repo}/actions/secrets/{name}",
"PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",
"PUT /repos/{owner}/{repo}/import",
"PUT /repos/{owner}/{repo}/pulls/{pull_number}/merge"
]
},
"vulnerability_alerts": {
"url": "https://docs.github.com/en/free-pro-team@latest/rest/reference/permissions-required-for-github-apps/#dependabot-alerts",
"read": [
"GET /repos/{owner}/{repo}/dependabot/alerts",
"GET /repos/{owner}/{repo}/dependabot/alerts/{alert_number}"
],
"write": ["PATCH /repos/{owner}/{repo}/dependabot/alerts/{alert_number}"]
},
"deployments": {
"url": "https://docs.github.com/en/free-pro-team@latest/rest/reference/permissions-required-for-github-apps/#deployments",
"read": [
"GET /repos/{owner}/{repo}/deployments",
"GET /repos/{owner}/{repo}/deployments/{deployment_id}",
"GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses",
"GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}"
],
"write": [
"DELETE /repos/{owner}/{repo}/deployments/{deployment_id}",
"POST /repos/{owner}/{repo}/deployments",
"POST /repos/{owner}/{repo}/deployments/{deployment_id}/statuses"
]
},
"issues": {
"url": "https://docs.github.com/en/free-pro-team@latest/rest/reference/permissions-required-for-github-apps/#issues",
"read": [
"GET /repos/{owner}/{repo}/assignees",
"GET /repos/{owner}/{repo}/assignees/{username}",
"GET /repos/{owner}/{repo}/issues",
"GET /repos/{owner}/{repo}/issues/comments",
"GET /repos/{owner}/{repo}/issues/comments/{comment_id}",
"GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions",
"GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions",
"GET /repos/{owner}/{repo}/issues/events/{event_id}",
"GET /repos/{owner}/{repo}/issues/{issue_number}",
"GET /repos/{owner}/{repo}/issues/{issue_number}/comments",
"GET /repos/{owner}/{repo}/issues/{issue_number}/events",
"GET /repos/{owner}/{repo}/issues/{issue_number}/labels",
"GET /repos/{owner}/{repo}/issues/{issue_number}/reactions",
"GET /repos/{owner}/{repo}/issues/{issue_number}/reactions",
"GET /repos/{owner}/{repo}/issues/{issue_number}/timeline",
"GET /repos/{owner}/{repo}/labels",
"GET /repos/{owner}/{repo}/labels/{name}",
"GET /repos/{owner}/{repo}/milestones",
"GET /repos/{owner}/{repo}/milestones/{milestone_number}",
"GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels"
],
"write": [
"DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}",
"DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}",
"DELETE /reactions/{reaction_id}",
"DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}",
"DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}",
"DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}",
"DELETE /repos/{owner}/{repo}/issues/{issue_number}/assignees",
"DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels",
"DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels/{name}",
"DELETE /repos/{owner}/{repo}/issues/{issue_number}/lock",
"DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}",
"DELETE /repos/{owner}/{repo}/labels/{name}",
"DELETE /repos/{owner}/{repo}/milestones/{milestone_number}",
"DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}",
"PATCH /repos/{owner}/{repo}/issues/comments/{comment_id}",
"PATCH /repos/{owner}/{repo}/issues/{issue_number}",
"PATCH /repos/{owner}/{repo}/labels/{name}",
"PATCH /repos/{owner}/{repo}/milestones/{milestone_number}",
"POST /repos/{owner}/{repo}/issues",
"POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions",
"POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions",
"POST /repos/{owner}/{repo}/issues/{issue_number}/assignees",
"POST /repos/{owner}/{repo}/issues/{issue_number}/comments",
"POST /repos/{owner}/{repo}/issues/{issue_number}/labels",
"POST /repos/{owner}/{repo}/issues/{issue_number}/reactions",
"POST /repos/{owner}/{repo}/issues/{issue_number}/reactions",
"POST /repos/{owner}/{repo}/labels",
"POST /repos/{owner}/{repo}/milestones",
"PUT /repos/{owner}/{repo}/issues/{issue_number}/labels",
"PUT /repos/{owner}/{repo}/issues/{issue_number}/lock"
]
},
"members": {
"url": "https://docs.github.com/en/free-pro-team@latest/rest/reference/permissions-required-for-github-apps/#members",
"read": [
"DELETE /teams/{team_id}/projects/{project_id}",
"GET /orgs/{org}/invitations",
"GET /orgs/{org}/invitations/{invitation_id}/teams",
"GET /orgs/{org}/memberships/{username}",
"GET /orgs/{org}/outside_collaborators",
"GET /orgs/{org}/team/{team_id}",
"GET /orgs/{org}/teams",
"GET /orgs/{org}/teams/{team_slug}",
"GET /teams/{team_id}/invitations",
"GET /teams/{team_id}/members",
"GET /teams/{team_id}/memberships/{username}",
"GET /teams/{team_id}/projects",
"GET /teams/{team_id}/projects/{project_id}",
"GET /teams/{team_id}/repos",
"GET /teams/{team_id}/repos/{owner}/{repo}",
"GET /teams/{team_id}/teams",
"GET /user/memberships/orgs",
"GET /user/memberships/orgs/{org}",
"PUT /teams/{team_id}/projects/{project_id}",
"PUT /teams/{team_id}/repos/{owner}/{repo}"
],
"write": [
"DELETE /orgs/{org}/members/{username}",
"DELETE /orgs/{org}/memberships/{username}",
"DELETE /orgs/{org}/outside_collaborators/{username}",
"DELETE /orgs/{org}/public_members/{username}",
"DELETE /scim/v2/orgs/{org}/Users/{external_identity_guid}",
"DELETE /teams/{team_id}",
"DELETE /teams/{team_id}/memberships/{username}",
"DELETE /teams/{team_id}/repos/{owner}/{repo}",
"GET /organizations/{org_id}/team/{team_id}/team-sync/group-mappings",
"GET /orgs/{org}/team-sync/groups",
"GET /scim/v2/orgs/{org}/Users",
"GET /scim/v2/orgs/{org}/Users/{external_identity_guid}",
"PATCH /organizations/{org_id}/team/{team_id}/team-sync/group-mappings",
"PATCH /scim/v2/orgs/{org}/Users/{external_identity_guid}",
"PATCH /teams/{team_id}",
"PATCH /user/memberships/orgs/{org}",
"POST /orgs/{org}/invitations",
"POST /orgs/{org}/teams",
"POST /scim/v2/orgs/{org}/Users",
"PUT /orgs/{org}/memberships/{username}",
"PUT /orgs/{org}/outside_collaborators/{username}",
"PUT /orgs/{org}/public_members/{username}",
"PUT /scim/v2/orgs/{org}/Users/{external_identity_guid}",
"PUT /teams/{team_id}/memberships/{username}"
]
},
"organization_administration": {
"url": "https://docs.github.com/en/free-pro-team@latest/rest/reference/permissions-required-for-github-apps/#organization-administration",
"read": [
"GET /orgs/{org}/actions/cache/usage",
"GET /orgs/{org}/actions/cache/usage-by-repository",
"GET /orgs/{org}/interaction-limits"
],
"write": [
"DELETE /orgs/{org}/interaction-limits",
"PATCH /orgs/{org}",
"PUT /orgs/{org}/interaction-limits"
]
},
"organization_projects": {
"url": "https://docs.github.com/en/free-pro-team@latest/rest/reference/permissions-required-for-github-apps/#organization-projects",
"read": [
"GET /projects/columns/cards/{card_id}",
"GET /projects/columns/{column_id}",
"GET /projects/columns/{column_id}/cards",
"GET /projects/{project_id}",
"GET /projects/{project_id}/columns"
],
"write": [
"DELETE /projects/columns/cards/{card_id}",
"DELETE /projects/columns/{column_id}",
"DELETE /projects/{project_id}",
"PATCH /projects/columns/cards/{card_id}",
"PATCH /projects/columns/{column_id}",
"PATCH /projects/{project_id}",
"POST /orgs/{org}/projects",
"POST /projects/columns/cards/{card_id}/moves",
"POST /projects/columns/{column_id}/cards",
"POST /projects/columns/{column_id}/moves",
"POST /projects/{project_id}/cards",
"POST /projects/{project_id}/columns"
]
},
"pages": {
"url": "https://docs.github.com/en/free-pro-team@latest/rest/reference/permissions-required-for-github-apps/#pages",
"read": [
"GET /repos/{owner}/{repo}/pages",
"GET /repos/{owner}/{repo}/pages/builds",
"GET /repos/{owner}/{repo}/pages/builds/latest",
"GET /repos/{owner}/{repo}/pages/builds/{build_id}"
],
"write": [
"GET /repos/{owner}/{repo}/pages/health",
"POST /repos/{owner}/{repo}/pages/builds",
"POST /repos/{owner}/{repo}/pages/deployment",
"PUT /repos/{owner}/{repo}/pages"
]
},
"pull_requests": {
"url": "https://docs.github.com/en/free-pro-team@latest/rest/reference/permissions-required-for-github-apps/#pull-requests",
"read": [
"GET /repos/{owner}/{repo}/assignees",
"GET /repos/{owner}/{repo}/assignees/{username}",
"GET /repos/{owner}/{repo}/issues/comments",
"GET /repos/{owner}/{repo}/issues/comments/{comment_id}",
"GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions",
"GET /repos/{owner}/{repo}/issues/events/{event_id}",
"GET /repos/{owner}/{repo}/issues/{issue_number}/comments",
"GET /repos/{owner}/{repo}/issues/{issue_number}/events",
"GET /repos/{owner}/{repo}/issues/{issue_number}/labels",
"GET /repos/{owner}/{repo}/issues/{issue_number}/timeline",
"GET /repos/{owner}/{repo}/labels",
"GET /repos/{owner}/{repo}/labels/{name}",
"GET /repos/{owner}/{repo}/milestones",
"GET /repos/{owner}/{repo}/milestones/{milestone_number}",
"GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels",
"GET /repos/{owner}/{repo}/pulls",
"GET /repos/{owner}/{repo}/pulls/comments",
"GET /repos/{owner}/{repo}/pulls/comments/{comment_id}",
"GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions",
"GET /repos/{owner}/{repo}/pulls/{pull_number}",
"GET /repos/{owner}/{repo}/pulls/{pull_number}/comments",
"GET /repos/{owner}/{repo}/pulls/{pull_number}/commits",
"GET /repos/{owner}/{repo}/pulls/{pull_number}/files",
"GET /repos/{owner}/{repo}/pulls/{pull_number}/merge",
"GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers",
"GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews",
"GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}",
"GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments"
],
"write": [
"DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}",
"DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}",
"DELETE /reactions/{reaction_id}",
"DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}",
"DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}",
"DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}",
"DELETE /repos/{owner}/{repo}/issues/{issue_number}/assignees",
"DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels",
"DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels/{name}",
"DELETE /repos/{owner}/{repo}/issues/{issue_number}/lock",
"DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}",
"DELETE /repos/{owner}/{repo}/labels/{name}",
"DELETE /repos/{owner}/{repo}/milestones/{milestone_number}",
"DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}",
"DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}",
"DELETE /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers",
"DELETE /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}",
"PATCH /repos/{owner}/{repo}/issues/comments/{comment_id}",
"PATCH /repos/{owner}/{repo}/issues/{issue_number}",
"PATCH /repos/{owner}/{repo}/labels/{name}",
"PATCH /repos/{owner}/{repo}/milestones/{milestone_number}",
"PATCH /repos/{owner}/{repo}/pulls/comments/{comment_id}",
"PATCH /repos/{owner}/{repo}/pulls/{pull_number}",
"POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions",
"POST /repos/{owner}/{repo}/issues/{issue_number}/assignees",
"POST /repos/{owner}/{repo}/issues/{issue_number}/comments",
"POST /repos/{owner}/{repo}/issues/{issue_number}/labels",
"POST /repos/{owner}/{repo}/issues/{issue_number}/reactions",
"POST /repos/{owner}/{repo}/labels",
"POST /repos/{owner}/{repo}/milestones",
"POST /repos/{owner}/{repo}/pulls",
"POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions",
"POST /repos/{owner}/{repo}/pulls/{pull_number}/comments",
"POST /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers",
"POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews",
"POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events",
"PUT /repos/{owner}/{repo}/issues/{issue_number}/labels",
"PUT /repos/{owner}/{repo}/issues/{issue_number}/lock",
"PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}",
"PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals"
]
},
"repository_projects": {
"url": "https://docs.github.com/en/free-pro-team@latest/rest/reference/permissions-required-for-github-apps/#repository-projects",
"read": [
"DELETE /teams/{team_id}/projects/{project_id}",
"GET /projects/columns/cards/{card_id}",
"GET /projects/columns/{column_id}",
"GET /projects/columns/{column_id}/cards",
"GET /projects/{project_id}",
"GET /projects/{project_id}/columns",
"GET /repos/{owner}/{repo}/projects"
],
"write": [
"DELETE /projects/columns/cards/{card_id}",
"DELETE /projects/columns/{column_id}",
"DELETE /projects/{project_id}",
"PATCH /projects/columns/cards/{card_id}",
"PATCH /projects/columns/{column_id}",
"PATCH /projects/{project_id}",
"POST /projects/columns/cards/{card_id}/moves",
"POST /projects/columns/{column_id}/cards",
"POST /projects/columns/{column_id}/moves",
"POST /projects/{project_id}/cards",
"POST /projects/{project_id}/columns",
"POST /repos/{owner}/{repo}/projects"
]
},
"secrets": {
"url": "https://docs.github.com/en/free-pro-team@latest/rest/reference/permissions-required-for-github-apps/#secrets",
"read": [
"GET /orgs/{org}/actions/secrets",
"GET /orgs/{org}/actions/secrets/public-key",
"GET /orgs/{org}/actions/secrets/{secret_name}",
"GET /orgs/{org}/actions/secrets/{secret_name}/repositories",
"GET /repos/{owner}/{repo}/actions/secrets",
"GET /repos/{owner}/{repo}/actions/secrets/public-key",
"GET /repos/{owner}/{repo}/actions/secrets/{secret_name}"
],
"write": [
"DELETE /orgs/{org}/actions/secrets/{secret_name}",
"DELETE /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}",
"DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name}",
"PUT /orgs/{org}/actions/secrets/{secret_name}",
"PUT /orgs/{org}/actions/secrets/{secret_name}/repositories",
"PUT /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}",
"PUT /repos/{owner}/{repo}/actions/secrets/{secret_name}"
]
},
"single_file": {
"url": "https://docs.github.com/en/free-pro-team@latest/rest/reference/permissions-required-for-github-apps/#single-file",
"read": ["GET /repos/{owner}/{repo}/contents/{path}"],
"write": [
"DELETE /repos/{owner}/{repo}/contents/{path}",
"PUT /repos/{owner}/{repo}/contents/{path}"
]
},
"team_discussions": {
"url": "https://docs.github.com/en/free-pro-team@latest/rest/reference/permissions-required-for-github-apps/#team-discussions",
"read": [
"GET /teams/{team_id}/discussions",
"GET /teams/{team_id}/discussions/{discussion_number}",
"GET /teams/{team_id}/discussions/{discussion_number}/comments",
"GET /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}",
"GET /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions",
"GET /teams/{team_id}/discussions/{discussion_number}/reactions"
],
"write": [
"DELETE /teams/{team_id}/discussions/{discussion_number}",
"DELETE /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}",
"PATCH /teams/{team_id}/discussions/{discussion_number}",
"PATCH /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}",
"POST /teams/{team_id}/discussions",
"POST /teams/{team_id}/discussions/{discussion_number}/comments",
"POST /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions",
"POST /teams/{team_id}/discussions/{discussion_number}/reactions"
]
}
},
"paths": {
"/": { "GET": { "permission": "metadata", "access": "read" } },
"/codes_of_conduct": {
"GET": { "permission": "metadata", "access": "read" }
},
"/codes_of_conduct/{key}": {
"GET": { "permission": "metadata", "access": "read" }
},
"/emojis": { "GET": { "permission": "metadata", "access": "read" } },
"/feeds": { "GET": { "permission": "metadata", "access": "read" } },
"/licenses": { "GET": { "permission": "metadata", "access": "read" } },
"/licenses/{key}": {
"GET": { "permission": "metadata", "access": "read" }
},
"/markdown": { "POST": { "permission": "metadata", "access": "read" } },
"/markdown/raw": { "POST": { "permission": "metadata", "access": "read" } },
"/meta": { "GET": { "permission": "metadata", "access": "read" } },
"/organizations": { "GET": { "permission": "metadata", "access": "read" } },
"/orgs/{org}": {
"GET": { "permission": "metadata", "access": "read" },
"PATCH": {
"permission": "organization_administration",
"access": "write"
}
},
"/orgs/{org}/projects": {
"GET": { "permission": "metadata", "access": "read" },
"POST": { "permission": "organization_projects", "access": "write" }
},
"/orgs/{org}/repos": {
"GET": { "permission": "metadata", "access": "read" },
"POST": { "permission": "administration", "access": "write" }
},
"/rate_limit": { "GET": { "permission": "metadata", "access": "read" } },
"/repos/{owner}/{repo}": {
"GET": { "permission": "metadata", "access": "read" },
"PATCH": { "permission": "administration", "access": "write" },
"DELETE": { "permission": "administration", "access": "write" }
},
"/repos/{owner}/{repo}/community/profile": {
"GET": { "permission": "metadata", "access": "read" }
},
"/repos/{owner}/{repo}/contributors": {
"GET": { "permission": "metadata", "access": "read" }
},
"/repos/{owner}/{repo}/forks": {
"GET": { "permission": "metadata", "access": "read" },
"POST": { "permission": "contents", "access": "read" }
},
"/repos/{owner}/{repo}/languages": {
"GET": { "permission": "metadata", "access": "read" }
},
"/repos/{owner}/{repo}/license": {
"GET": { "permission": "metadata", "access": "read" }
},
"/repos/{owner}/{repo}/stargazers": {
"GET": { "permission": "metadata", "access": "read" }
},
"/repos/{owner}/{repo}/stats/code_frequency": {
"GET": { "permission": "metadata", "access": "read" }
},
"/repos/{owner}/{repo}/stats/commit_activity": {
"GET": { "permission": "metadata", "access": "read" }
},
"/repos/{owner}/{repo}/stats/contributors": {
"GET": { "permission": "metadata", "access": "read" }
},
"/repos/{owner}/{repo}/stats/participation": {
"GET": { "permission": "metadata", "access": "read" }
},
"/repos/{owner}/{repo}/stats/punch_card": {
"GET": { "permission": "metadata", "access": "read" }
},
"/repos/{owner}/{repo}/subscribers": {
"GET": { "permission": "metadata", "access": "read" }
},
"/repos/{owner}/{repo}/tags": {
"GET": { "permission": "metadata", "access": "read" }
},
"/repos/{owner}/{repo}/topics": {
"GET": { "permission": "metadata", "access": "read" },
"PUT": { "permission": "administration", "access": "write" }
},
"/repositories": { "GET": { "permission": "metadata", "access": "read" } },
"/user/repos": { "GET": { "permission": "metadata", "access": "read" } },
"/user/starred": { "GET": { "permission": "metadata", "access": "read" } },
"/user/subscriptions": {
"GET": { "permission": "metadata", "access": "read" }
},
"/users": { "GET": { "permission": "metadata", "access": "read" } },
"/users/{username}": {
"GET": { "permission": "metadata", "access": "read" }
},
"/users/{username}/followers": {
"GET": { "permission": "metadata", "access": "read" }
},
"/users/{username}/following": {
"GET": { "permission": "metadata", "access": "read" }
},
"/users/{username}/following/{target_user}": {
"GET": { "permission": "metadata", "access": "read" }
},
"/users/{username}/gpg_keys": {
"GET": { "permission": "metadata", "access": "read" }
},
"/users/{username}/orgs": {
"GET": { "permission": "metadata", "access": "read" }
},
"/users/{username}/received_events": {
"GET": { "permission": "metadata", "access": "read" }
},
"/users/{username}/received_events/public": {
"GET": { "permission": "metadata", "access": "read" }
},
"/users/{username}/repos": {
"GET": { "permission": "metadata", "access": "read" }
},
"/users/{username}/subscriptions": {
"GET": { "permission": "metadata", "access": "read" }
},
"/repos/{owner}/{repo}/collaborators": {
"GET": { "permission": "metadata", "access": "read" }
},
"/repos/{owner}/{repo}/collaborators/{username}": {
"GET": { "permission": "metadata", "access": "read" },
"PUT": { "permission": "administration", "access": "write" },
"DELETE": { "permission": "administration", "access": "write" }
},
"/repos/{owner}/{repo}/comments": {
"GET": { "permission": "metadata", "access": "read" }
},
"/repos/{owner}/{repo}/comments/{comment_id}": {
"GET": { "permission": "metadata", "access": "read" },
"PATCH": { "permission": "contents", "access": "write" },
"DELETE": { "permission": "contents", "access": "write" }
},
"/repos/{owner}/{repo}/comments/{comment_id}/reactions": {
"GET": { "permission": "metadata", "access": "read" },
"POST": { "permission": "contents", "access": "write" }
},
"/repos/{owner}/{repo}/commits/{sha}/comments": {
"GET": { "permission": "metadata", "access": "read" },
"POST": { "permission": "contents", "access": "write" }
},
"/events": { "GET": { "permission": "metadata", "access": "read" } },
"/networks/{owner}/{repo}/events": {
"GET": { "permission": "metadata", "access": "read" }
},
"/orgs/{org}/events": {
"GET": { "permission": "metadata", "access": "read" }
},
"/repos/{owner}/{repo}/events": {
"GET": { "permission": "metadata", "access": "read" }
},
"/repos/{owner}/{repo}/events/issues": {
"GET": { "permission": "metadata", "access": "read" }
},
"/users/{username}/events": {
"GET": { "permission": "metadata", "access": "read" }
},
"/users/{username}/events/public": {
"GET": { "permission": "metadata", "access": "read" }
},
"/gitignore/templates": {
"GET": { "permission": "metadata", "access": "read" }
},
"/gitignore/templates/{key}": {
"GET": { "permission": "metadata", "access": "read" }
},
"/orgs/{org}/members": {
"GET": { "permission": "metadata", "access": "read" }
},
"/orgs/{org}/members/{username}": {
"GET": { "permission": "metadata", "access": "read" },
"DELETE": { "permission": "members", "access": "write" }
},
"/orgs/{org}/public_members": {
"GET": { "permission": "metadata", "access": "read" }
},
"/orgs/{org}/public_members/{username}": {
"GET": { "permission": "metadata", "access": "read" },
"PUT": { "permission": "members", "access": "write" },
"DELETE": { "permission": "members", "access": "write" }
},
"/search/code": { "GET": { "permission": "metadata", "access": "read" } },
"/search/commits": {
"GET": { "permission": "metadata", "access": "read" }
},
"/search/issues": { "GET": { "permission": "metadata", "access": "read" } },
"/search/labels": { "GET": { "permission": "metadata", "access": "read" } },
"/search/repositories": {
"GET": { "permission": "metadata", "access": "read" }
},
"/search/topics": { "GET": { "permission": "metadata", "access": "read" } },
"/search/users": { "GET": { "permission": "metadata", "access": "read" } },
"/users/{username}/keys": {
"GET": { "permission": "metadata", "access": "read" }
},
"/repos/{owner}/{repo}/actions/artifacts": {
"GET": { "permission": "actions", "access": "read" }
},
"/repos/{owner}/{repo}/actions/artifacts/{artifact_id}": {
"GET": { "permission": "contents", "access": "read" },
"DELETE": { "permission": "contents", "access": "write" }
},
"/repos/{owner}/{repo}/actions/artifacts/{artifact_id}/zip": {
"GET": { "permission": "contents", "access": "read" }
},
"/repos/{owner}/{repo}/actions/cache/usage": {
"GET": { "permission": "actions", "access": "read" }
},
"/repos/{owner}/{repo}/actions/jobs/{job_id}": {
"GET": { "permission": "contents", "access": "read" }
},
"/repos/{owner}/{repo}/actions/jobs/{job_id}/logs": {
"GET": { "permission": "contents", "access": "read" }
},
"/repos/{owner}/{repo}/actions/runs": {
"GET": { "permission": "contents", "access": "read" }
},
"/repos/{owner}/{repo}/actions/runs/{run_id}": {
"GET": { "permission": "contents", "access": "read" }
},
"/repos/{owner}/{repo}/actions/runs/{run_id}/approve": {
"POST": { "permission": "actions", "access": "write" }
},
"/repos/{owner}/{repo}/actions/runs/{run_id}/artifacts": {
"GET": { "permission": "contents", "access": "read" }
},
"/repos/{owner}/{repo}/actions/runs/{run_id}/cancel": {
"POST": { "permission": "contents", "access": "write" }
},
"/repos/{owner}/{repo}/actions/runs/{run_id}/jobs": {
"GET": { "permission": "contents", "access": "read" }
},
"/repos/{owner}/{repo}/actions/runs/{run_id}/logs": {
"GET": { "permission": "contents", "access": "read" },
"DELETE": { "permission": "contents", "access": "write" }
},
"/repos/{owner}/{repo}/actions/runs/{run_id}/rerun": {
"POST": { "permission": "contents", "access": "write" }
},
"/repos/{owner}/{repo}/actions/workflows": {
"GET": { "permission": "contents", "access": "read" }
},
"/repos/{owner}/{repo}/actions/workflows/{workflow_id}": {
"GET": { "permission": "contents", "access": "read" }
},
"/repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs": {
"GET": { "permission": "contents", "access": "read" }
},
"/repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches": {
"POST": { "permission": "actions", "access": "write" }
},
"/repos/{owner}/{repo}/actions/runners/downloads": {
"GET": { "permission": "administration", "access": "read" }
},
"/repos/{owner}/{repo}/actions/runners": {
"GET": { "permission": "administration", "access": "read" }
},
"/repos/{owner}/{repo}/actions/runners/{runner_id}": {
"GET": { "permission": "administration", "access": "read" },
"DELETE": { "permission": "administration", "access": "write" }
},
"/repos/{owner}/{repo}/actions/runners/{runner_id}/labels": {
"GET": { "permission": "administration", "access": "read" },
"POST": { "permission": "administration", "access": "write" },
"PUT": { "permission": "administration", "access": "write" },
"DELETE": { "permission": "administration", "access": "write" }
},
"/repos/{owner}/{repo}/actions/runners/{runner_id}/labels/{name}": {
"DELETE": { "permission": "administration", "access": "write" }
},
"/repos/{owner}/{repo}/actions/runners/registration-token": {
"POST": { "permission": "administration", "access": "write" }
},
"/repos/{owner}/{repo}/actions/runners/remove-token": {
"POST": { "permission": "administration", "access": "write" }
},
"/repos/{owner}/{repo}/automated-security-fixes": {
"PUT": { "permission": "administration", "access": "write" },
"DELETE": { "permission": "administration", "access": "write" }
},
"/repos/{owner}/{repo}/interaction-limits": {
"GET": { "permission": "administration", "access": "read" },
"PUT": { "permission": "administration", "access": "write" },
"DELETE": { "permission": "administration", "access": "write" }
},
"/repos/{owner}/{repo}/pages/health": {
"GET": { "permission": "pages", "access": "write" }
},
"/repos/{owner}/{repo}/transfer": {
"POST": { "permission": "administration", "access": "write" }
},
"/repos/{owner}/{repo}/vulnerability-alerts": {
"GET": { "permission": "administration", "access": "read" },
"PUT": { "permission": "administration", "access": "write" },
"DELETE": { "permission": "administration", "access": "write" }
},
"/user/repository_invitations/{invitation_id}": {
"PATCH": { "permission": "administration", "access": "write" },
"DELETE": { "permission": "administration", "access": "write" }
},
"/repos/{owner}/{repo}/branches/{branch}/protection": {
"GET": { "permission": "administration", "access": "read" },
"PUT": { "permission": "administration", "access": "write" },
"DELETE": { "permission": "administration", "access": "write" }
},
"/repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins": {
"GET": { "permission": "administration", "access": "read" },
"POST": { "permission": "administration", "access": "write" },
"DELETE": { "permission": "administration", "access": "write" }
},
"/repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews": {
"GET": { "permission": "administration", "access": "read" },
"PATCH": { "permission": "administration", "access": "write" },
"DELETE": { "permission": "administration", "access": "write" }
},
"/repos/{owner}/{repo}/branches/{branch}/protection/required_signatures": {
"GET": { "permission": "administration", "access": "read" },
"POST": { "permission": "administration", "access": "write" },
"DELETE": { "permission": "administration", "access": "write" }
},
"/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks": {
"GET": { "permission": "administration", "access": "read" },
"PATCH": { "permission": "administration", "access": "write" },
"DELETE": { "permission": "administration", "access": "write" }
},
"/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts": {
"GET": { "permission": "administration", "access": "read" },