Skip to content

Commit b8c4b21

Browse files
authored
Update OpenAPI Description (github#39318)
1 parent 5957e7d commit b8c4b21

26 files changed

Lines changed: 572 additions & 294 deletions

src/github-apps/data/fpt-2022-11-28/fine-grained-pat-permissions.json

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@
363363
"slug": "get-copilot-for-business-seat-information-and-settings-for-an-organization",
364364
"subcategory": "copilot-for-business",
365365
"verb": "get",
366-
"requestPath": "/organizations/{org}/copilot/billing",
366+
"requestPath": "/orgs/{org}/copilot/billing",
367367
"additional-permissions": [],
368368
"access": "write"
369369
},
@@ -372,7 +372,7 @@
372372
"slug": "list-all-copilot-for-business-seat-assignments-for-an-organization",
373373
"subcategory": "copilot-for-business",
374374
"verb": "get",
375-
"requestPath": "/organizations/{org}/copilot/billing/seats",
375+
"requestPath": "/orgs/{org}/copilot/billing/seats",
376376
"additional-permissions": [],
377377
"access": "write"
378378
},
@@ -2182,6 +2182,15 @@
21822182
"additional-permissions": [],
21832183
"access": "write"
21842184
},
2185+
{
2186+
"category": "repos",
2187+
"slug": "check-if-automated-security-fixes-are-enabled-for-a-repository",
2188+
"subcategory": "repos",
2189+
"verb": "get",
2190+
"requestPath": "/repos/{owner}/{repo}/automated-security-fixes",
2191+
"additional-permissions": [],
2192+
"access": "write"
2193+
},
21852194
{
21862195
"category": "repos",
21872196
"slug": "enable-automated-security-fixes",

src/github-apps/data/fpt-2022-11-28/fine-grained-pat.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1754,13 +1754,13 @@
17541754
"slug": "get-copilot-for-business-seat-information-and-settings-for-an-organization",
17551755
"subcategory": "copilot-for-business",
17561756
"verb": "get",
1757-
"requestPath": "/organizations/{org}/copilot/billing"
1757+
"requestPath": "/orgs/{org}/copilot/billing"
17581758
},
17591759
{
17601760
"slug": "list-all-copilot-for-business-seat-assignments-for-an-organization",
17611761
"subcategory": "copilot-for-business",
17621762
"verb": "get",
1763-
"requestPath": "/organizations/{org}/copilot/billing/seats"
1763+
"requestPath": "/orgs/{org}/copilot/billing/seats"
17641764
},
17651765
{
17661766
"slug": "add-teams-to-the-copilot-for-business-subscription-for-an-organization",
@@ -3770,6 +3770,12 @@
37703770
"verb": "delete",
37713771
"requestPath": "/repos/{owner}/{repo}/autolinks/{autolink_id}"
37723772
},
3773+
{
3774+
"slug": "check-if-automated-security-fixes-are-enabled-for-a-repository",
3775+
"subcategory": "repos",
3776+
"verb": "get",
3777+
"requestPath": "/repos/{owner}/{repo}/automated-security-fixes"
3778+
},
37733779
{
37743780
"slug": "enable-automated-security-fixes",
37753781
"subcategory": "repos",

src/github-apps/data/fpt-2022-11-28/server-to-server-permissions.json

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@
437437
"slug": "get-copilot-for-business-seat-information-and-settings-for-an-organization",
438438
"subcategory": "copilot-for-business",
439439
"verb": "get",
440-
"requestPath": "/organizations/{org}/copilot/billing",
440+
"requestPath": "/orgs/{org}/copilot/billing",
441441
"access": "write",
442442
"user-to-server": true,
443443
"server-to-server": true,
@@ -448,7 +448,7 @@
448448
"slug": "list-all-copilot-for-business-seat-assignments-for-an-organization",
449449
"subcategory": "copilot-for-business",
450450
"verb": "get",
451-
"requestPath": "/organizations/{org}/copilot/billing/seats",
451+
"requestPath": "/orgs/{org}/copilot/billing/seats",
452452
"access": "write",
453453
"user-to-server": true,
454454
"server-to-server": true,
@@ -2730,6 +2730,17 @@
27302730
"server-to-server": true,
27312731
"additional-permissions": []
27322732
},
2733+
{
2734+
"category": "repos",
2735+
"slug": "check-if-automated-security-fixes-are-enabled-for-a-repository",
2736+
"subcategory": "repos",
2737+
"verb": "get",
2738+
"requestPath": "/repos/{owner}/{repo}/automated-security-fixes",
2739+
"access": "write",
2740+
"user-to-server": true,
2741+
"server-to-server": true,
2742+
"additional-permissions": []
2743+
},
27332744
{
27342745
"category": "repos",
27352746
"slug": "enable-automated-security-fixes",

src/github-apps/data/fpt-2022-11-28/server-to-server-rest.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1538,13 +1538,13 @@
15381538
"slug": "get-copilot-for-business-seat-information-and-settings-for-an-organization",
15391539
"subcategory": "copilot-for-business",
15401540
"verb": "get",
1541-
"requestPath": "/organizations/{org}/copilot/billing"
1541+
"requestPath": "/orgs/{org}/copilot/billing"
15421542
},
15431543
{
15441544
"slug": "list-all-copilot-for-business-seat-assignments-for-an-organization",
15451545
"subcategory": "copilot-for-business",
15461546
"verb": "get",
1547-
"requestPath": "/organizations/{org}/copilot/billing/seats"
1547+
"requestPath": "/orgs/{org}/copilot/billing/seats"
15481548
},
15491549
{
15501550
"slug": "add-teams-to-the-copilot-for-business-subscription-for-an-organization",
@@ -3406,6 +3406,12 @@
34063406
"verb": "delete",
34073407
"requestPath": "/repos/{owner}/{repo}/autolinks/{autolink_id}"
34083408
},
3409+
{
3410+
"slug": "check-if-automated-security-fixes-are-enabled-for-a-repository",
3411+
"subcategory": "repos",
3412+
"verb": "get",
3413+
"requestPath": "/repos/{owner}/{repo}/automated-security-fixes"
3414+
},
34093415
{
34103416
"slug": "enable-automated-security-fixes",
34113417
"subcategory": "repos",

src/github-apps/data/fpt-2022-11-28/user-to-server-rest.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1772,13 +1772,13 @@
17721772
"slug": "get-copilot-for-business-seat-information-and-settings-for-an-organization",
17731773
"subcategory": "copilot-for-business",
17741774
"verb": "get",
1775-
"requestPath": "/organizations/{org}/copilot/billing"
1775+
"requestPath": "/orgs/{org}/copilot/billing"
17761776
},
17771777
{
17781778
"slug": "list-all-copilot-for-business-seat-assignments-for-an-organization",
17791779
"subcategory": "copilot-for-business",
17801780
"verb": "get",
1781-
"requestPath": "/organizations/{org}/copilot/billing/seats"
1781+
"requestPath": "/orgs/{org}/copilot/billing/seats"
17821782
},
17831783
{
17841784
"slug": "add-teams-to-the-copilot-for-business-subscription-for-an-organization",
@@ -3836,6 +3836,12 @@
38363836
"verb": "delete",
38373837
"requestPath": "/repos/{owner}/{repo}/autolinks/{autolink_id}"
38383838
},
3839+
{
3840+
"slug": "check-if-automated-security-fixes-are-enabled-for-a-repository",
3841+
"subcategory": "repos",
3842+
"verb": "get",
3843+
"requestPath": "/repos/{owner}/{repo}/automated-security-fixes"
3844+
},
38393845
{
38403846
"slug": "enable-automated-security-fixes",
38413847
"subcategory": "repos",

src/github-apps/data/ghec-2022-11-28/fine-grained-pat-permissions.json

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -660,7 +660,7 @@
660660
"slug": "get-copilot-for-business-seat-information-and-settings-for-an-organization",
661661
"subcategory": "copilot-for-business",
662662
"verb": "get",
663-
"requestPath": "/organizations/{org}/copilot/billing",
663+
"requestPath": "/orgs/{org}/copilot/billing",
664664
"additional-permissions": [],
665665
"access": "write"
666666
},
@@ -669,7 +669,7 @@
669669
"slug": "list-all-copilot-for-business-seat-assignments-for-an-organization",
670670
"subcategory": "copilot-for-business",
671671
"verb": "get",
672-
"requestPath": "/organizations/{org}/copilot/billing/seats",
672+
"requestPath": "/orgs/{org}/copilot/billing/seats",
673673
"additional-permissions": [],
674674
"access": "write"
675675
},
@@ -2741,6 +2741,15 @@
27412741
"additional-permissions": [],
27422742
"access": "write"
27432743
},
2744+
{
2745+
"category": "repos",
2746+
"slug": "check-if-automated-security-fixes-are-enabled-for-a-repository",
2747+
"subcategory": "repos",
2748+
"verb": "get",
2749+
"requestPath": "/repos/{owner}/{repo}/automated-security-fixes",
2750+
"additional-permissions": [],
2751+
"access": "write"
2752+
},
27442753
{
27452754
"category": "repos",
27462755
"slug": "enable-automated-security-fixes",

src/github-apps/data/ghec-2022-11-28/fine-grained-pat.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1870,13 +1870,13 @@
18701870
"slug": "get-copilot-for-business-seat-information-and-settings-for-an-organization",
18711871
"subcategory": "copilot-for-business",
18721872
"verb": "get",
1873-
"requestPath": "/organizations/{org}/copilot/billing"
1873+
"requestPath": "/orgs/{org}/copilot/billing"
18741874
},
18751875
{
18761876
"slug": "list-all-copilot-for-business-seat-assignments-for-an-organization",
18771877
"subcategory": "copilot-for-business",
18781878
"verb": "get",
1879-
"requestPath": "/organizations/{org}/copilot/billing/seats"
1879+
"requestPath": "/orgs/{org}/copilot/billing/seats"
18801880
},
18811881
{
18821882
"slug": "add-teams-to-the-copilot-for-business-subscription-for-an-organization",
@@ -4020,6 +4020,12 @@
40204020
"verb": "delete",
40214021
"requestPath": "/repos/{owner}/{repo}/autolinks/{autolink_id}"
40224022
},
4023+
{
4024+
"slug": "check-if-automated-security-fixes-are-enabled-for-a-repository",
4025+
"subcategory": "repos",
4026+
"verb": "get",
4027+
"requestPath": "/repos/{owner}/{repo}/automated-security-fixes"
4028+
},
40234029
{
40244030
"slug": "enable-automated-security-fixes",
40254031
"subcategory": "repos",

src/github-apps/data/ghec-2022-11-28/server-to-server-permissions.json

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -809,7 +809,7 @@
809809
"slug": "get-copilot-for-business-seat-information-and-settings-for-an-organization",
810810
"subcategory": "copilot-for-business",
811811
"verb": "get",
812-
"requestPath": "/organizations/{org}/copilot/billing",
812+
"requestPath": "/orgs/{org}/copilot/billing",
813813
"access": "write",
814814
"user-to-server": true,
815815
"server-to-server": true,
@@ -820,7 +820,7 @@
820820
"slug": "list-all-copilot-for-business-seat-assignments-for-an-organization",
821821
"subcategory": "copilot-for-business",
822822
"verb": "get",
823-
"requestPath": "/organizations/{org}/copilot/billing/seats",
823+
"requestPath": "/orgs/{org}/copilot/billing/seats",
824824
"access": "write",
825825
"user-to-server": true,
826826
"server-to-server": true,
@@ -3420,6 +3420,17 @@
34203420
"server-to-server": true,
34213421
"additional-permissions": []
34223422
},
3423+
{
3424+
"category": "repos",
3425+
"slug": "check-if-automated-security-fixes-are-enabled-for-a-repository",
3426+
"subcategory": "repos",
3427+
"verb": "get",
3428+
"requestPath": "/repos/{owner}/{repo}/automated-security-fixes",
3429+
"access": "write",
3430+
"user-to-server": true,
3431+
"server-to-server": true,
3432+
"additional-permissions": []
3433+
},
34233434
{
34243435
"category": "repos",
34253436
"slug": "enable-automated-security-fixes",

src/github-apps/data/ghec-2022-11-28/server-to-server-rest.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1654,13 +1654,13 @@
16541654
"slug": "get-copilot-for-business-seat-information-and-settings-for-an-organization",
16551655
"subcategory": "copilot-for-business",
16561656
"verb": "get",
1657-
"requestPath": "/organizations/{org}/copilot/billing"
1657+
"requestPath": "/orgs/{org}/copilot/billing"
16581658
},
16591659
{
16601660
"slug": "list-all-copilot-for-business-seat-assignments-for-an-organization",
16611661
"subcategory": "copilot-for-business",
16621662
"verb": "get",
1663-
"requestPath": "/organizations/{org}/copilot/billing/seats"
1663+
"requestPath": "/orgs/{org}/copilot/billing/seats"
16641664
},
16651665
{
16661666
"slug": "add-teams-to-the-copilot-for-business-subscription-for-an-organization",
@@ -3656,6 +3656,12 @@
36563656
"verb": "delete",
36573657
"requestPath": "/repos/{owner}/{repo}/autolinks/{autolink_id}"
36583658
},
3659+
{
3660+
"slug": "check-if-automated-security-fixes-are-enabled-for-a-repository",
3661+
"subcategory": "repos",
3662+
"verb": "get",
3663+
"requestPath": "/repos/{owner}/{repo}/automated-security-fixes"
3664+
},
36593665
{
36603666
"slug": "enable-automated-security-fixes",
36613667
"subcategory": "repos",

src/github-apps/data/ghec-2022-11-28/user-to-server-rest.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1888,13 +1888,13 @@
18881888
"slug": "get-copilot-for-business-seat-information-and-settings-for-an-organization",
18891889
"subcategory": "copilot-for-business",
18901890
"verb": "get",
1891-
"requestPath": "/organizations/{org}/copilot/billing"
1891+
"requestPath": "/orgs/{org}/copilot/billing"
18921892
},
18931893
{
18941894
"slug": "list-all-copilot-for-business-seat-assignments-for-an-organization",
18951895
"subcategory": "copilot-for-business",
18961896
"verb": "get",
1897-
"requestPath": "/organizations/{org}/copilot/billing/seats"
1897+
"requestPath": "/orgs/{org}/copilot/billing/seats"
18981898
},
18991899
{
19001900
"slug": "add-teams-to-the-copilot-for-business-subscription-for-an-organization",
@@ -4086,6 +4086,12 @@
40864086
"verb": "delete",
40874087
"requestPath": "/repos/{owner}/{repo}/autolinks/{autolink_id}"
40884088
},
4089+
{
4090+
"slug": "check-if-automated-security-fixes-are-enabled-for-a-repository",
4091+
"subcategory": "repos",
4092+
"verb": "get",
4093+
"requestPath": "/repos/{owner}/{repo}/automated-security-fixes"
4094+
},
40894095
{
40904096
"slug": "enable-automated-security-fixes",
40914097
"subcategory": "repos",

0 commit comments

Comments
 (0)