@octokit/openapi 6.6.0 → 6.6.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "6.6.0",
4
+ "version": "6.6.3",
5
5
  "title": "GitHub's official OpenAPI spec + Octokit extension",
6
6
  "description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
7
7
  "license": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
@@ -8549,6 +8549,18 @@
8549
8549
  "type": "string"
8550
8550
  }
8551
8551
  }
8552
+ },
8553
+ "examples": {
8554
+ "default": {
8555
+ "summary": "Create an authorization",
8556
+ "value": {
8557
+ "scopes": ["public_repo"],
8558
+ "note": "optional note",
8559
+ "note_url": "http://optional/note/url",
8560
+ "client_id": "abcde12345fghij67890",
8561
+ "client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f"
8562
+ }
8563
+ }
8552
8564
  }
8553
8565
  }
8554
8566
  }
@@ -9182,9 +9194,9 @@
9182
9194
  "name": "client_id",
9183
9195
  "in": "path",
9184
9196
  "required": true,
9185
- "description": "The client ID of the GitHub app.",
9197
+ "description": "The client ID of the OAuth app.",
9186
9198
  "schema": { "type": "string" },
9187
- "examples": { "default": { "value": "Iv1.8a61f9b3a7aba766" } }
9199
+ "examples": { "default": { "value": "abcde12345fghij67890" } }
9188
9200
  }
9189
9201
  ],
9190
9202
  "requestBody": {
@@ -9221,6 +9233,17 @@
9221
9233
  },
9222
9234
  "required": ["client_secret"],
9223
9235
  "type": "object"
9236
+ },
9237
+ "examples": {
9238
+ "default": {
9239
+ "summary": "Create an authorization for an app",
9240
+ "value": {
9241
+ "client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f",
9242
+ "scopes": ["public_repo"],
9243
+ "note": "optional note",
9244
+ "note_url": "http://optional/note/url"
9245
+ }
9246
+ }
9224
9247
  }
9225
9248
  }
9226
9249
  }
@@ -10339,9 +10362,9 @@
10339
10362
  "name": "client_id",
10340
10363
  "in": "path",
10341
10364
  "required": true,
10342
- "description": "The client ID of the GitHub app.",
10365
+ "description": "The client ID of the OAuth app.",
10343
10366
  "schema": { "type": "string" },
10344
- "examples": { "default": { "value": "Iv1.8a61f9b3a7aba766" } }
10367
+ "examples": { "default": { "value": "abcde12345fghij67890" } }
10345
10368
  },
10346
10369
  {
10347
10370
  "name": "fingerprint",
@@ -10380,6 +10403,17 @@
10380
10403
  },
10381
10404
  "required": ["client_secret"],
10382
10405
  "type": "object"
10406
+ },
10407
+ "examples": {
10408
+ "default": {
10409
+ "summary": "Create an authorization for an app and fingerprint",
10410
+ "value": {
10411
+ "client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f",
10412
+ "scopes": ["public_repo"],
10413
+ "note": "optional note",
10414
+ "note_url": "http://optional/note/url"
10415
+ }
10416
+ }
10383
10417
  }
10384
10418
  }
10385
10419
  }
@@ -13348,7 +13382,7 @@
13348
13382
  },
13349
13383
  "members_allowed_repository_creation_type": {
13350
13384
  "type": "string",
13351
- "description": "Specifies which types of repositories non-admin organization members can create. `private` is only available to repositories that are part of an organization on GitHub Enterprise Cloud. \n**Note:** This parameter is deprecated and will be removed in the future. Its return value ignores internal repositories. Using this parameter overrides values set in `members_can_create_repositories`. See the parameter deprecation notice in the operation description for details.",
13385
+ "description": "Specifies which types of repositories non-admin organization members can create. \n**Note:** This parameter is deprecated and will be removed in the future. Its return value ignores internal repositories. Using this parameter overrides values set in `members_can_create_repositories`. See the parameter deprecation notice in the operation description for details.",
13352
13386
  "enum": ["all", "private", "none"]
13353
13387
  },
13354
13388
  "members_can_create_pages": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "6.6.0",
4
+ "version": "6.6.3",
5
5
  "title": "GitHub's official OpenAPI spec + Octokit extension",
6
6
  "description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
7
7
  "license": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
@@ -171,7 +171,7 @@
171
171
  "category": "enterprise-admin",
172
172
  "subcategory": "users"
173
173
  },
174
- "x-octokit": { "diff": { "ghes-3.4.json": { "type": "changed" } } }
174
+ "x-octokit": { "diff": { "ghes-3.4": { "type": "changed" } } }
175
175
  }
176
176
  },
177
177
  "/admin/users/{username}/authorizations": {
@@ -232,7 +232,7 @@
232
232
  "category": "enterprise-admin",
233
233
  "subcategory": "users"
234
234
  },
235
- "x-octokit": { "diff": { "ghes-3.4.json": { "type": "changed" } } }
235
+ "x-octokit": { "diff": { "ghes-3.4": { "type": "changed" } } }
236
236
  }
237
237
  },
238
238
  "/app/installations": {
@@ -281,7 +281,7 @@
281
281
  "category": "apps",
282
282
  "subcategory": null
283
283
  },
284
- "x-octokit": { "diff": { "ghes-3.4.json": { "type": "changed" } } }
284
+ "x-octokit": { "diff": { "ghes-3.4": { "type": "changed" } } }
285
285
  }
286
286
  },
287
287
  "/app/installations/{installation_id}": {
@@ -317,7 +317,7 @@
317
317
  "category": "apps",
318
318
  "subcategory": null
319
319
  },
320
- "x-octokit": { "diff": { "ghes-3.4.json": { "type": "changed" } } }
320
+ "x-octokit": { "diff": { "ghes-3.4": { "type": "changed" } } }
321
321
  }
322
322
  },
323
323
  "/app/installations/{installation_id}/access_tokens": {
@@ -390,7 +390,7 @@
390
390
  "category": "apps",
391
391
  "subcategory": null
392
392
  },
393
- "x-octokit": { "diff": { "ghes-3.4.json": { "type": "changed" } } }
393
+ "x-octokit": { "diff": { "ghes-3.4": { "type": "changed" } } }
394
394
  }
395
395
  },
396
396
  "/applications/{client_id}/grants/{access_token}": {
@@ -417,7 +417,7 @@
417
417
  "subcategory": "oauth-applications"
418
418
  },
419
419
  "deprecated": true,
420
- "x-octokit": { "diff": { "ghes-3.4.json": { "type": "added" } } }
420
+ "x-octokit": { "diff": { "ghes-3.4": { "type": "added" } } }
421
421
  }
422
422
  },
423
423
  "/applications/{client_id}/token": {
@@ -478,7 +478,7 @@
478
478
  "category": "apps",
479
479
  "subcategory": "oauth-applications"
480
480
  },
481
- "x-octokit": { "diff": { "ghes-3.4.json": { "type": "changed" } } }
481
+ "x-octokit": { "diff": { "ghes-3.4": { "type": "changed" } } }
482
482
  },
483
483
  "patch": {
484
484
  "summary": "Reset a token",
@@ -536,7 +536,7 @@
536
536
  "category": "apps",
537
537
  "subcategory": "oauth-applications"
538
538
  },
539
- "x-octokit": { "diff": { "ghes-3.4.json": { "type": "changed" } } }
539
+ "x-octokit": { "diff": { "ghes-3.4": { "type": "changed" } } }
540
540
  }
541
541
  },
542
542
  "/applications/{client_id}/token/scoped": {
@@ -628,7 +628,7 @@
628
628
  "category": "apps",
629
629
  "subcategory": "oauth-applications"
630
630
  },
631
- "x-octokit": { "diff": { "ghes-3.4.json": { "type": "changed" } } }
631
+ "x-octokit": { "diff": { "ghes-3.4": { "type": "changed" } } }
632
632
  }
633
633
  },
634
634
  "/applications/{client_id}/tokens/{access_token}": {
@@ -672,7 +672,7 @@
672
672
  "subcategory": "oauth-applications"
673
673
  },
674
674
  "deprecated": true,
675
- "x-octokit": { "diff": { "ghes-3.4.json": { "type": "added" } } }
675
+ "x-octokit": { "diff": { "ghes-3.4": { "type": "added" } } }
676
676
  },
677
677
  "post": {
678
678
  "summary": "Reset an authorization",
@@ -711,7 +711,7 @@
711
711
  "subcategory": "oauth-applications"
712
712
  },
713
713
  "deprecated": true,
714
- "x-octokit": { "diff": { "ghes-3.4.json": { "type": "added" } } }
714
+ "x-octokit": { "diff": { "ghes-3.4": { "type": "added" } } }
715
715
  },
716
716
  "delete": {
717
717
  "summary": "Revoke an authorization for an application",
@@ -736,7 +736,7 @@
736
736
  "subcategory": "oauth-applications"
737
737
  },
738
738
  "deprecated": true,
739
- "x-octokit": { "diff": { "ghes-3.4.json": { "type": "added" } } }
739
+ "x-octokit": { "diff": { "ghes-3.4": { "type": "added" } } }
740
740
  }
741
741
  },
742
742
  "/authorizations": {
@@ -792,7 +792,7 @@
792
792
  "subcategory": null
793
793
  },
794
794
  "deprecated": true,
795
- "x-octokit": { "diff": { "ghes-3.4.json": { "type": "changed" } } }
795
+ "x-octokit": { "diff": { "ghes-3.4": { "type": "changed" } } }
796
796
  },
797
797
  "post": {
798
798
  "summary": "Create a new authorization",
@@ -842,6 +842,18 @@
842
842
  "type": "string"
843
843
  }
844
844
  }
845
+ },
846
+ "examples": {
847
+ "default": {
848
+ "summary": "Create an authorization",
849
+ "value": {
850
+ "scopes": ["public_repo"],
851
+ "note": "optional note",
852
+ "note_url": "http://optional/note/url",
853
+ "client_id": "abcde12345fghij67890",
854
+ "client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f"
855
+ }
856
+ }
845
857
  }
846
858
  }
847
859
  }
@@ -879,7 +891,7 @@
879
891
  "subcategory": null
880
892
  },
881
893
  "deprecated": true,
882
- "x-octokit": { "diff": { "ghes-3.4.json": { "type": "changed" } } }
894
+ "x-octokit": { "diff": { "ghes-3.4": { "type": "changed" } } }
883
895
  }
884
896
  },
885
897
  "/authorizations/clients/{client_id}": {
@@ -892,7 +904,7 @@
892
904
  "description": "API method documentation",
893
905
  "url": "https://docs.github.com/enterprise-server@3.3/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app"
894
906
  },
895
- "parameters": [{ "$ref": "#/components/parameters/client-id" }],
907
+ "parameters": [{ "$ref": "#/components/parameters/oauth-client-id" }],
896
908
  "requestBody": {
897
909
  "required": true,
898
910
  "content": {
@@ -927,6 +939,17 @@
927
939
  },
928
940
  "required": ["client_secret"],
929
941
  "type": "object"
942
+ },
943
+ "examples": {
944
+ "default": {
945
+ "summary": "Create an authorization for an app",
946
+ "value": {
947
+ "client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f",
948
+ "scopes": ["public_repo"],
949
+ "note": "optional note",
950
+ "note_url": "http://optional/note/url"
951
+ }
952
+ }
930
953
  }
931
954
  }
932
955
  }
@@ -982,7 +1005,7 @@
982
1005
  "subcategory": null
983
1006
  },
984
1007
  "deprecated": true,
985
- "x-octokit": { "diff": { "ghes-3.4.json": { "type": "changed" } } }
1008
+ "x-octokit": { "diff": { "ghes-3.4": { "type": "changed" } } }
986
1009
  }
987
1010
  },
988
1011
  "/authorizations/clients/{client_id}/{fingerprint}": {
@@ -996,7 +1019,7 @@
996
1019
  "url": "https://docs.github.com/enterprise-server@3.3/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app-and-fingerprint"
997
1020
  },
998
1021
  "parameters": [
999
- { "$ref": "#/components/parameters/client-id" },
1022
+ { "$ref": "#/components/parameters/oauth-client-id" },
1000
1023
  {
1001
1024
  "name": "fingerprint",
1002
1025
  "in": "path",
@@ -1034,6 +1057,17 @@
1034
1057
  },
1035
1058
  "required": ["client_secret"],
1036
1059
  "type": "object"
1060
+ },
1061
+ "examples": {
1062
+ "default": {
1063
+ "summary": "Create an authorization for an app and fingerprint",
1064
+ "value": {
1065
+ "client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f",
1066
+ "scopes": ["public_repo"],
1067
+ "note": "optional note",
1068
+ "note_url": "http://optional/note/url"
1069
+ }
1070
+ }
1037
1071
  }
1038
1072
  }
1039
1073
  }
@@ -1086,7 +1120,7 @@
1086
1120
  "subcategory": null
1087
1121
  },
1088
1122
  "deprecated": true,
1089
- "x-octokit": { "diff": { "ghes-3.4.json": { "type": "changed" } } }
1123
+ "x-octokit": { "diff": { "ghes-3.4": { "type": "changed" } } }
1090
1124
  }
1091
1125
  },
1092
1126
  "/authorizations/{authorization_id}": {
@@ -1125,7 +1159,7 @@
1125
1159
  "subcategory": null
1126
1160
  },
1127
1161
  "deprecated": true,
1128
- "x-octokit": { "diff": { "ghes-3.4.json": { "type": "changed" } } }
1162
+ "x-octokit": { "diff": { "ghes-3.4": { "type": "changed" } } }
1129
1163
  },
1130
1164
  "patch": {
1131
1165
  "summary": "Update an existing authorization",
@@ -1202,7 +1236,7 @@
1202
1236
  "subcategory": null
1203
1237
  },
1204
1238
  "deprecated": true,
1205
- "x-octokit": { "diff": { "ghes-3.4.json": { "type": "changed" } } }
1239
+ "x-octokit": { "diff": { "ghes-3.4": { "type": "changed" } } }
1206
1240
  }
1207
1241
  },
1208
1242
  "/enterprises/{enterprise}/audit-log": {
@@ -1254,7 +1288,7 @@
1254
1288
  "before": { "operationId": "audit-log/get-audit-log" }
1255
1289
  }
1256
1290
  ],
1257
- "diff": { "ghes-3.4.json": { "type": "changed" } }
1291
+ "diff": { "ghes-3.4": { "type": "changed" } }
1258
1292
  }
1259
1293
  }
1260
1294
  },
@@ -1291,7 +1325,7 @@
1291
1325
  "category": "orgs",
1292
1326
  "subcategory": null
1293
1327
  },
1294
- "x-octokit": { "diff": { "ghes-3.4.json": { "type": "changed" } } }
1328
+ "x-octokit": { "diff": { "ghes-3.4": { "type": "changed" } } }
1295
1329
  },
1296
1330
  "patch": {
1297
1331
  "summary": "Update an organization",
@@ -1371,7 +1405,7 @@
1371
1405
  },
1372
1406
  "members_allowed_repository_creation_type": {
1373
1407
  "type": "string",
1374
- "description": "Specifies which types of repositories non-admin organization members can create. `private` is only available to repositories that are part of an organization on GitHub Enterprise Cloud. \n**Note:** This parameter is deprecated and will be removed in the future. Its return value ignores internal repositories. Using this parameter overrides values set in `members_can_create_repositories`. See the parameter deprecation notice in the operation description for details.",
1408
+ "description": "Specifies which types of repositories non-admin organization members can create. \n**Note:** This parameter is deprecated and will be removed in the future. Its return value ignores internal repositories. Using this parameter overrides values set in `members_can_create_repositories`. See the parameter deprecation notice in the operation description for details.",
1375
1409
  "enum": ["all", "private", "none"]
1376
1410
  },
1377
1411
  "members_can_create_pages": {
@@ -1439,7 +1473,7 @@
1439
1473
  "category": "orgs",
1440
1474
  "subcategory": null
1441
1475
  },
1442
- "x-octokit": { "diff": { "ghes-3.4.json": { "type": "changed" } } }
1476
+ "x-octokit": { "diff": { "ghes-3.4": { "type": "changed" } } }
1443
1477
  }
1444
1478
  },
1445
1479
  "/orgs/{org}/actions/secrets/{secret_name}": {
@@ -1516,7 +1550,7 @@
1516
1550
  "category": "actions",
1517
1551
  "subcategory": "secrets"
1518
1552
  },
1519
- "x-octokit": { "diff": { "ghes-3.4.json": { "type": "changed" } } }
1553
+ "x-octokit": { "diff": { "ghes-3.4": { "type": "changed" } } }
1520
1554
  }
1521
1555
  },
1522
1556
  "/orgs/{org}/audit-log": {
@@ -1560,7 +1594,7 @@
1560
1594
  "category": "orgs",
1561
1595
  "subcategory": null
1562
1596
  },
1563
- "x-octokit": { "diff": { "ghes-3.4.json": { "type": "changed" } } }
1597
+ "x-octokit": { "diff": { "ghes-3.4": { "type": "changed" } } }
1564
1598
  }
1565
1599
  },
1566
1600
  "/orgs/{org}/installation": {
@@ -1593,7 +1627,7 @@
1593
1627
  "category": "apps",
1594
1628
  "subcategory": null
1595
1629
  },
1596
- "x-octokit": { "diff": { "ghes-3.4.json": { "type": "changed" } } }
1630
+ "x-octokit": { "diff": { "ghes-3.4": { "type": "changed" } } }
1597
1631
  }
1598
1632
  },
1599
1633
  "/orgs/{org}/installations": {
@@ -1643,7 +1677,7 @@
1643
1677
  "category": "orgs",
1644
1678
  "subcategory": null
1645
1679
  },
1646
- "x-octokit": { "diff": { "ghes-3.4.json": { "type": "changed" } } }
1680
+ "x-octokit": { "diff": { "ghes-3.4": { "type": "changed" } } }
1647
1681
  }
1648
1682
  },
1649
1683
  "/orgs/{org}/teams": {
@@ -1738,7 +1772,7 @@
1738
1772
  "category": "teams",
1739
1773
  "subcategory": null
1740
1774
  },
1741
- "x-octokit": { "diff": { "ghes-3.4.json": { "type": "changed" } } }
1775
+ "x-octokit": { "diff": { "ghes-3.4": { "type": "changed" } } }
1742
1776
  }
1743
1777
  },
1744
1778
  "/orgs/{org}/teams/{team_slug}": {
@@ -1775,7 +1809,7 @@
1775
1809
  "category": "teams",
1776
1810
  "subcategory": null
1777
1811
  },
1778
- "x-octokit": { "diff": { "ghes-3.4.json": { "type": "changed" } } }
1812
+ "x-octokit": { "diff": { "ghes-3.4": { "type": "changed" } } }
1779
1813
  },
1780
1814
  "patch": {
1781
1815
  "summary": "Update a team",
@@ -1854,7 +1888,7 @@
1854
1888
  "category": "teams",
1855
1889
  "subcategory": null
1856
1890
  },
1857
- "x-octokit": { "diff": { "ghes-3.4.json": { "type": "changed" } } }
1891
+ "x-octokit": { "diff": { "ghes-3.4": { "type": "changed" } } }
1858
1892
  }
1859
1893
  },
1860
1894
  "/repos/{owner}/{repo}/branches": {
@@ -1906,7 +1940,7 @@
1906
1940
  "category": "repos",
1907
1941
  "subcategory": "branches"
1908
1942
  },
1909
- "x-octokit": { "diff": { "ghes-3.4.json": { "type": "changed" } } }
1943
+ "x-octokit": { "diff": { "ghes-3.4": { "type": "changed" } } }
1910
1944
  }
1911
1945
  },
1912
1946
  "/repos/{owner}/{repo}/branches/{branch}": {
@@ -1944,7 +1978,7 @@
1944
1978
  "category": "repos",
1945
1979
  "subcategory": "branches"
1946
1980
  },
1947
- "x-octokit": { "diff": { "ghes-3.4.json": { "type": "changed" } } }
1981
+ "x-octokit": { "diff": { "ghes-3.4": { "type": "changed" } } }
1948
1982
  }
1949
1983
  },
1950
1984
  "/repos/{owner}/{repo}/branches/{branch}/protection": {
@@ -1984,7 +2018,7 @@
1984
2018
  "category": "repos",
1985
2019
  "subcategory": "branches"
1986
2020
  },
1987
- "x-octokit": { "diff": { "ghes-3.4.json": { "type": "changed" } } }
2021
+ "x-octokit": { "diff": { "ghes-3.4": { "type": "changed" } } }
1988
2022
  },
1989
2023
  "put": {
1990
2024
  "summary": "Update branch protection",
@@ -2201,7 +2235,7 @@
2201
2235
  "category": "repos",
2202
2236
  "subcategory": "branches"
2203
2237
  },
2204
- "x-octokit": { "diff": { "ghes-3.4.json": { "type": "changed" } } }
2238
+ "x-octokit": { "diff": { "ghes-3.4": { "type": "changed" } } }
2205
2239
  }
2206
2240
  },
2207
2241
  "/repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews": {
@@ -2242,7 +2276,7 @@
2242
2276
  "category": "repos",
2243
2277
  "subcategory": "branches"
2244
2278
  },
2245
- "x-octokit": { "diff": { "ghes-3.4.json": { "type": "changed" } } }
2279
+ "x-octokit": { "diff": { "ghes-3.4": { "type": "changed" } } }
2246
2280
  },
2247
2281
  "patch": {
2248
2282
  "summary": "Update pull request review protection",
@@ -2346,7 +2380,7 @@
2346
2380
  "category": "repos",
2347
2381
  "subcategory": "branches"
2348
2382
  },
2349
- "x-octokit": { "diff": { "ghes-3.4.json": { "type": "changed" } } }
2383
+ "x-octokit": { "diff": { "ghes-3.4": { "type": "changed" } } }
2350
2384
  }
2351
2385
  },
2352
2386
  "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks": {
@@ -2388,7 +2422,7 @@
2388
2422
  "category": "repos",
2389
2423
  "subcategory": "branches"
2390
2424
  },
2391
- "x-octokit": { "diff": { "ghes-3.4.json": { "type": "changed" } } }
2425
+ "x-octokit": { "diff": { "ghes-3.4": { "type": "changed" } } }
2392
2426
  },
2393
2427
  "patch": {
2394
2428
  "summary": "Update status check protection",
@@ -2467,7 +2501,7 @@
2467
2501
  "before": { "operationId": "repos/update-status-check-potection" }
2468
2502
  }
2469
2503
  ],
2470
- "diff": { "ghes-3.4.json": { "type": "changed" } }
2504
+ "diff": { "ghes-3.4": { "type": "changed" } }
2471
2505
  }
2472
2506
  }
2473
2507
  },
@@ -2532,7 +2566,7 @@
2532
2566
  "category": "repos",
2533
2567
  "subcategory": "branches"
2534
2568
  },
2535
- "x-octokit": { "diff": { "ghes-3.4.json": { "type": "changed" } } }
2569
+ "x-octokit": { "diff": { "ghes-3.4": { "type": "changed" } } }
2536
2570
  }
2537
2571
  },
2538
2572
  "/repos/{owner}/{repo}/code-scanning/alerts": {
@@ -2594,7 +2628,7 @@
2594
2628
  "category": "code-scanning",
2595
2629
  "subcategory": null
2596
2630
  },
2597
- "x-octokit": { "diff": { "ghes-3.4.json": { "type": "changed" } } }
2631
+ "x-octokit": { "diff": { "ghes-3.4": { "type": "changed" } } }
2598
2632
  }
2599
2633
  },
2600
2634
  "/repos/{owner}/{repo}/code-scanning/alerts/{alert_number}": {
@@ -2649,7 +2683,7 @@
2649
2683
  "before": { "name": "alert_id" }
2650
2684
  }
2651
2685
  ],
2652
- "diff": { "ghes-3.4.json": { "type": "changed" } }
2686
+ "diff": { "ghes-3.4": { "type": "changed" } }
2653
2687
  }
2654
2688
  },
2655
2689
  "patch": {
@@ -2721,7 +2755,7 @@
2721
2755
  "githubCloudOnly": false,
2722
2756
  "category": "code-scanning"
2723
2757
  },
2724
- "x-octokit": { "diff": { "ghes-3.4.json": { "type": "changed" } } }
2758
+ "x-octokit": { "diff": { "ghes-3.4": { "type": "changed" } } }
2725
2759
  }
2726
2760
  },
2727
2761
  "/repos/{owner}/{repo}/code-scanning/sarifs/{sarif_id}": {
@@ -2774,7 +2808,7 @@
2774
2808
  "githubCloudOnly": false,
2775
2809
  "category": "code-scanning"
2776
2810
  },
2777
- "x-octokit": { "diff": { "ghes-3.4.json": { "type": "changed" } } }
2811
+ "x-octokit": { "diff": { "ghes-3.4": { "type": "changed" } } }
2778
2812
  }
2779
2813
  },
2780
2814
  "/repos/{owner}/{repo}/content_references/{content_reference_id}/attachments": {
@@ -2871,7 +2905,7 @@
2871
2905
  "category": "apps",
2872
2906
  "subcategory": "installations"
2873
2907
  },
2874
- "x-octokit": { "diff": { "ghes-3.4.json": { "type": "added" } } }
2908
+ "x-octokit": { "diff": { "ghes-3.4": { "type": "added" } } }
2875
2909
  }
2876
2910
  },
2877
2911
  "/repos/{owner}/{repo}/installation": {
@@ -2909,7 +2943,7 @@
2909
2943
  "category": "apps",
2910
2944
  "subcategory": null
2911
2945
  },
2912
- "x-octokit": { "diff": { "ghes-3.4.json": { "type": "changed" } } }
2946
+ "x-octokit": { "diff": { "ghes-3.4": { "type": "changed" } } }
2913
2947
  }
2914
2948
  },
2915
2949
  "/teams/{team_id}": {
@@ -2946,7 +2980,7 @@
2946
2980
  "subcategory": null
2947
2981
  },
2948
2982
  "deprecated": true,
2949
- "x-octokit": { "diff": { "ghes-3.4.json": { "type": "changed" } } }
2983
+ "x-octokit": { "diff": { "ghes-3.4": { "type": "changed" } } }
2950
2984
  },
2951
2985
  "patch": {
2952
2986
  "summary": "Update a team (Legacy)",
@@ -3040,7 +3074,7 @@
3040
3074
  "subcategory": null
3041
3075
  },
3042
3076
  "deprecated": true,
3043
- "x-octokit": { "diff": { "ghes-3.4.json": { "type": "changed" } } }
3077
+ "x-octokit": { "diff": { "ghes-3.4": { "type": "changed" } } }
3044
3078
  }
3045
3079
  },
3046
3080
  "/user/installations": {
@@ -3092,7 +3126,7 @@
3092
3126
  "category": "apps",
3093
3127
  "subcategory": "installations"
3094
3128
  },
3095
- "x-octokit": { "diff": { "ghes-3.4.json": { "type": "changed" } } }
3129
+ "x-octokit": { "diff": { "ghes-3.4": { "type": "changed" } } }
3096
3130
  }
3097
3131
  },
3098
3132
  "/user/teams": {
@@ -3135,7 +3169,7 @@
3135
3169
  "category": "teams",
3136
3170
  "subcategory": null
3137
3171
  },
3138
- "x-octokit": { "diff": { "ghes-3.4.json": { "type": "changed" } } }
3172
+ "x-octokit": { "diff": { "ghes-3.4": { "type": "changed" } } }
3139
3173
  }
3140
3174
  },
3141
3175
  "/users/{username}/installation": {
@@ -3168,7 +3202,7 @@
3168
3202
  "category": "apps",
3169
3203
  "subcategory": null
3170
3204
  },
3171
- "x-octokit": { "diff": { "ghes-3.4.json": { "type": "changed" } } }
3205
+ "x-octokit": { "diff": { "ghes-3.4": { "type": "changed" } } }
3172
3206
  }
3173
3207
  },
3174
3208
  "/content_references/{content_reference_id}/attachments": {
@@ -3249,7 +3283,7 @@
3249
3283
  "category": "apps",
3250
3284
  "subcategory": "installations"
3251
3285
  },
3252
- "x-octokit": { "diff": { "ghes-3.4.json": { "type": "added" } } }
3286
+ "x-octokit": { "diff": { "ghes-3.4": { "type": "added" } } }
3253
3287
  }
3254
3288
  },
3255
3289
  "/repos/{owner}/{repo}/community/code_of_conduct": {
@@ -3295,7 +3329,7 @@
3295
3329
  "deprecationDate": "2021-09-29"
3296
3330
  },
3297
3331
  "deprecated": true,
3298
- "x-octokit": { "diff": { "ghes-3.4.json": { "type": "added" } } }
3332
+ "x-octokit": { "diff": { "ghes-3.4": { "type": "added" } } }
3299
3333
  }
3300
3334
  }
3301
3335
  },
@@ -3349,6 +3383,14 @@
3349
3383
  "required": true,
3350
3384
  "schema": { "type": "string" }
3351
3385
  },
3386
+ "oauth-client-id": {
3387
+ "name": "client_id",
3388
+ "in": "path",
3389
+ "required": true,
3390
+ "description": "The client ID of the OAuth app.",
3391
+ "schema": { "type": "string" },
3392
+ "examples": { "default": { "value": "abcde12345fghij67890" } }
3393
+ },
3352
3394
  "authorization-id": {
3353
3395
  "name": "authorization_id",
3354
3396
  "description": "The unique identifier of the authorization.",