@octokit/openapi 6.4.0 → 6.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. package/generated/api.github.com.deref.json +23 -3
  2. package/generated/api.github.com.json +16 -4
  3. package/generated/ghes-3.2-anicca-diff-to-ghes-3.3.deref.json +3232 -174
  4. package/generated/ghes-3.2-diff-to-api.github.com.deref.json +1 -1
  5. package/generated/ghes-3.2-diff-to-api.github.com.json +1 -1
  6. package/generated/ghes-3.2-diff-to-ghes-3.3.deref.json +148129 -3632
  7. package/generated/ghes-3.2-diff-to-ghes-3.3.json +19589 -2088
  8. package/generated/ghes-3.2.deref.json +110 -790
  9. package/generated/ghes-3.2.json +143 -185
  10. package/generated/ghes-3.3-diff-to-ghes-3.4.deref.json +2 -2
  11. package/generated/ghes-3.3-diff-to-ghes-3.4.json +52 -52
  12. package/generated/ghes-3.3.deref.json +45 -45
  13. package/generated/ghes-3.3.json +136 -136
  14. package/generated/ghes-3.4-diff-to-ghes-3.5.deref.json +1 -1
  15. package/generated/ghes-3.4-diff-to-ghes-3.5.json +49 -49
  16. package/generated/ghes-3.4.deref.json +35 -26
  17. package/generated/ghes-3.4.json +105 -96
  18. package/generated/ghes-3.5-anicca-diff-to-api.github.com.deref.json +27 -0
  19. package/generated/ghes-3.5-diff-to-api.github.com.deref.json +230 -2
  20. package/generated/ghes-3.5-diff-to-api.github.com.json +348 -419
  21. package/generated/ghes-3.5.deref.json +185 -176
  22. package/generated/ghes-3.5.json +549 -764
  23. package/generated/github.ae-anicca-diff-to-api.github.com.deref.json +27 -0
  24. package/generated/github.ae-diff-to-api.github.com.deref.json +229 -1
  25. package/generated/github.ae-diff-to-api.github.com.json +296 -335
  26. package/generated/github.ae.deref.json +268 -259
  27. package/generated/github.ae.json +667 -850
  28. package/package.json +7 -4
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "6.4.0",
4
+ "version": "6.6.1",
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" },
@@ -167,7 +167,7 @@
167
167
  "category": "enterprise-admin",
168
168
  "subcategory": "global-webhooks"
169
169
  },
170
- "x-octokit": { "diff": { "api.github.com.json": { "type": "added" } } }
170
+ "x-octokit": { "diff": { "api.github.com": { "type": "added" } } }
171
171
  },
172
172
  "post": {
173
173
  "summary": "Create a global webhook",
@@ -260,7 +260,7 @@
260
260
  "category": "enterprise-admin",
261
261
  "subcategory": "global-webhooks"
262
262
  },
263
- "x-octokit": { "diff": { "api.github.com.json": { "type": "added" } } }
263
+ "x-octokit": { "diff": { "api.github.com": { "type": "added" } } }
264
264
  }
265
265
  },
266
266
  "/admin/hooks/{hook_id}": {
@@ -293,7 +293,7 @@
293
293
  "category": "enterprise-admin",
294
294
  "subcategory": "global-webhooks"
295
295
  },
296
- "x-octokit": { "diff": { "api.github.com.json": { "type": "added" } } }
296
+ "x-octokit": { "diff": { "api.github.com": { "type": "added" } } }
297
297
  },
298
298
  "patch": {
299
299
  "summary": "Update a global webhook",
@@ -376,7 +376,7 @@
376
376
  "category": "enterprise-admin",
377
377
  "subcategory": "global-webhooks"
378
378
  },
379
- "x-octokit": { "diff": { "api.github.com.json": { "type": "added" } } }
379
+ "x-octokit": { "diff": { "api.github.com": { "type": "added" } } }
380
380
  },
381
381
  "delete": {
382
382
  "summary": "Delete a global webhook",
@@ -395,7 +395,7 @@
395
395
  "category": "enterprise-admin",
396
396
  "subcategory": "global-webhooks"
397
397
  },
398
- "x-octokit": { "diff": { "api.github.com.json": { "type": "added" } } }
398
+ "x-octokit": { "diff": { "api.github.com": { "type": "added" } } }
399
399
  }
400
400
  },
401
401
  "/admin/hooks/{hook_id}/pings": {
@@ -416,7 +416,7 @@
416
416
  "category": "enterprise-admin",
417
417
  "subcategory": "global-webhooks"
418
418
  },
419
- "x-octokit": { "diff": { "api.github.com.json": { "type": "added" } } }
419
+ "x-octokit": { "diff": { "api.github.com": { "type": "added" } } }
420
420
  }
421
421
  },
422
422
  "/admin/keys": {
@@ -476,7 +476,7 @@
476
476
  "category": "enterprise-admin",
477
477
  "subcategory": "users"
478
478
  },
479
- "x-octokit": { "diff": { "api.github.com.json": { "type": "added" } } }
479
+ "x-octokit": { "diff": { "api.github.com": { "type": "added" } } }
480
480
  }
481
481
  },
482
482
  "/admin/keys/{key_ids}": {
@@ -497,7 +497,7 @@
497
497
  "category": "enterprise-admin",
498
498
  "subcategory": "users"
499
499
  },
500
- "x-octokit": { "diff": { "api.github.com.json": { "type": "added" } } }
500
+ "x-octokit": { "diff": { "api.github.com": { "type": "added" } } }
501
501
  }
502
502
  },
503
503
  "/admin/organizations": {
@@ -567,7 +567,7 @@
567
567
  "category": "enterprise-admin",
568
568
  "subcategory": "orgs"
569
569
  },
570
- "x-octokit": { "diff": { "api.github.com.json": { "type": "added" } } }
570
+ "x-octokit": { "diff": { "api.github.com": { "type": "added" } } }
571
571
  }
572
572
  },
573
573
  "/admin/organizations/{org}": {
@@ -631,7 +631,7 @@
631
631
  "category": "enterprise-admin",
632
632
  "subcategory": "orgs"
633
633
  },
634
- "x-octokit": { "diff": { "api.github.com.json": { "type": "added" } } }
634
+ "x-octokit": { "diff": { "api.github.com": { "type": "added" } } }
635
635
  }
636
636
  },
637
637
  "/admin/pre-receive-environments": {
@@ -685,7 +685,7 @@
685
685
  "category": "enterprise-admin",
686
686
  "subcategory": "pre-receive-environments"
687
687
  },
688
- "x-octokit": { "diff": { "api.github.com.json": { "type": "added" } } }
688
+ "x-octokit": { "diff": { "api.github.com": { "type": "added" } } }
689
689
  },
690
690
  "post": {
691
691
  "summary": "Create a pre-receive environment",
@@ -748,7 +748,7 @@
748
748
  "category": "enterprise-admin",
749
749
  "subcategory": "pre-receive-environments"
750
750
  },
751
- "x-octokit": { "diff": { "api.github.com.json": { "type": "added" } } }
751
+ "x-octokit": { "diff": { "api.github.com": { "type": "added" } } }
752
752
  }
753
753
  },
754
754
  "/admin/pre-receive-environments/{pre_receive_environment_id}": {
@@ -787,7 +787,7 @@
787
787
  "category": "enterprise-admin",
788
788
  "subcategory": "pre-receive-environments"
789
789
  },
790
- "x-octokit": { "diff": { "api.github.com.json": { "type": "added" } } }
790
+ "x-octokit": { "diff": { "api.github.com": { "type": "added" } } }
791
791
  },
792
792
  "patch": {
793
793
  "summary": "Update a pre-receive environment",
@@ -881,7 +881,7 @@
881
881
  "category": "enterprise-admin",
882
882
  "subcategory": "pre-receive-environments"
883
883
  },
884
- "x-octokit": { "diff": { "api.github.com.json": { "type": "added" } } }
884
+ "x-octokit": { "diff": { "api.github.com": { "type": "added" } } }
885
885
  },
886
886
  "delete": {
887
887
  "summary": "Delete a pre-receive environment",
@@ -942,7 +942,7 @@
942
942
  "category": "enterprise-admin",
943
943
  "subcategory": "pre-receive-environments"
944
944
  },
945
- "x-octokit": { "diff": { "api.github.com.json": { "type": "added" } } }
945
+ "x-octokit": { "diff": { "api.github.com": { "type": "added" } } }
946
946
  }
947
947
  },
948
948
  "/admin/pre-receive-environments/{pre_receive_environment_id}/downloads": {
@@ -1019,7 +1019,7 @@
1019
1019
  "category": "enterprise-admin",
1020
1020
  "subcategory": "pre-receive-environments"
1021
1021
  },
1022
- "x-octokit": { "diff": { "api.github.com.json": { "type": "added" } } }
1022
+ "x-octokit": { "diff": { "api.github.com": { "type": "added" } } }
1023
1023
  }
1024
1024
  },
1025
1025
  "/admin/pre-receive-environments/{pre_receive_environment_id}/downloads/latest": {
@@ -1058,7 +1058,7 @@
1058
1058
  "category": "enterprise-admin",
1059
1059
  "subcategory": "pre-receive-environments"
1060
1060
  },
1061
- "x-octokit": { "diff": { "api.github.com.json": { "type": "added" } } }
1061
+ "x-octokit": { "diff": { "api.github.com": { "type": "added" } } }
1062
1062
  }
1063
1063
  },
1064
1064
  "/admin/tokens": {
@@ -1100,7 +1100,7 @@
1100
1100
  "category": "enterprise-admin",
1101
1101
  "subcategory": "users"
1102
1102
  },
1103
- "x-octokit": { "diff": { "api.github.com.json": { "type": "added" } } }
1103
+ "x-octokit": { "diff": { "api.github.com": { "type": "added" } } }
1104
1104
  }
1105
1105
  },
1106
1106
  "/admin/tokens/{token_id}": {
@@ -1121,7 +1121,7 @@
1121
1121
  "category": "enterprise-admin",
1122
1122
  "subcategory": "users"
1123
1123
  },
1124
- "x-octokit": { "diff": { "api.github.com.json": { "type": "added" } } }
1124
+ "x-octokit": { "diff": { "api.github.com": { "type": "added" } } }
1125
1125
  }
1126
1126
  },
1127
1127
  "/admin/users/{username}": {
@@ -1142,7 +1142,7 @@
1142
1142
  "category": "enterprise-admin",
1143
1143
  "subcategory": "users"
1144
1144
  },
1145
- "x-octokit": { "diff": { "api.github.com.json": { "type": "added" } } }
1145
+ "x-octokit": { "diff": { "api.github.com": { "type": "added" } } }
1146
1146
  }
1147
1147
  },
1148
1148
  "/admin/users/{username}/authorizations": {
@@ -1203,7 +1203,7 @@
1203
1203
  "category": "enterprise-admin",
1204
1204
  "subcategory": "users"
1205
1205
  },
1206
- "x-octokit": { "diff": { "api.github.com.json": { "type": "added" } } }
1206
+ "x-octokit": { "diff": { "api.github.com": { "type": "added" } } }
1207
1207
  },
1208
1208
  "delete": {
1209
1209
  "summary": "Delete an impersonation OAuth token",
@@ -1222,7 +1222,7 @@
1222
1222
  "category": "enterprise-admin",
1223
1223
  "subcategory": "users"
1224
1224
  },
1225
- "x-octokit": { "diff": { "api.github.com.json": { "type": "added" } } }
1225
+ "x-octokit": { "diff": { "api.github.com": { "type": "added" } } }
1226
1226
  }
1227
1227
  },
1228
1228
  "/app/installations/{installation_id}/access_tokens": {
@@ -1295,9 +1295,7 @@
1295
1295
  "category": "apps",
1296
1296
  "subcategory": null
1297
1297
  },
1298
- "x-octokit": {
1299
- "diff": { "api.github.com.json": { "type": "changed" } }
1300
- }
1298
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
1301
1299
  }
1302
1300
  },
1303
1301
  "/applications/{client_id}/tokens/{access_token}": {
@@ -1338,7 +1336,7 @@
1338
1336
  "subcategory": "oauth-applications"
1339
1337
  },
1340
1338
  "deprecated": true,
1341
- "x-octokit": { "diff": { "api.github.com.json": { "type": "added" } } }
1339
+ "x-octokit": { "diff": { "api.github.com": { "type": "added" } } }
1342
1340
  }
1343
1341
  },
1344
1342
  "/enterprise/announcement": {
@@ -1366,7 +1364,7 @@
1366
1364
  "category": "enterprise-admin",
1367
1365
  "subcategory": "announcement"
1368
1366
  },
1369
- "x-octokit": { "diff": { "api.github.com.json": { "type": "added" } } }
1367
+ "x-octokit": { "diff": { "api.github.com": { "type": "added" } } }
1370
1368
  },
1371
1369
  "patch": {
1372
1370
  "summary": "Set the global announcement banner",
@@ -1400,7 +1398,7 @@
1400
1398
  "category": "enterprise-admin",
1401
1399
  "subcategory": "announcement"
1402
1400
  },
1403
- "x-octokit": { "diff": { "api.github.com.json": { "type": "added" } } }
1401
+ "x-octokit": { "diff": { "api.github.com": { "type": "added" } } }
1404
1402
  },
1405
1403
  "delete": {
1406
1404
  "summary": "Remove the global announcement banner",
@@ -1414,7 +1412,7 @@
1414
1412
  "category": "enterprise-admin",
1415
1413
  "subcategory": "announcement"
1416
1414
  },
1417
- "x-octokit": { "diff": { "api.github.com.json": { "type": "added" } } }
1415
+ "x-octokit": { "diff": { "api.github.com": { "type": "added" } } }
1418
1416
  }
1419
1417
  },
1420
1418
  "/enterprise/settings/license": {
@@ -1446,7 +1444,7 @@
1446
1444
  "category": "enterprise-admin",
1447
1445
  "subcategory": "license"
1448
1446
  },
1449
- "x-octokit": { "diff": { "api.github.com.json": { "type": "added" } } }
1447
+ "x-octokit": { "diff": { "api.github.com": { "type": "added" } } }
1450
1448
  }
1451
1449
  },
1452
1450
  "/enterprise/stats/all": {
@@ -1482,7 +1480,7 @@
1482
1480
  "category": "enterprise-admin",
1483
1481
  "subcategory": "admin-stats"
1484
1482
  },
1485
- "x-octokit": { "diff": { "api.github.com.json": { "type": "added" } } }
1483
+ "x-octokit": { "diff": { "api.github.com": { "type": "added" } } }
1486
1484
  }
1487
1485
  },
1488
1486
  "/enterprise/stats/comments": {
@@ -1513,7 +1511,7 @@
1513
1511
  "category": "enterprise-admin",
1514
1512
  "subcategory": "admin-stats"
1515
1513
  },
1516
- "x-octokit": { "diff": { "api.github.com.json": { "type": "added" } } }
1514
+ "x-octokit": { "diff": { "api.github.com": { "type": "added" } } }
1517
1515
  }
1518
1516
  },
1519
1517
  "/enterprise/stats/gists": {
@@ -1544,7 +1542,7 @@
1544
1542
  "category": "enterprise-admin",
1545
1543
  "subcategory": "admin-stats"
1546
1544
  },
1547
- "x-octokit": { "diff": { "api.github.com.json": { "type": "added" } } }
1545
+ "x-octokit": { "diff": { "api.github.com": { "type": "added" } } }
1548
1546
  }
1549
1547
  },
1550
1548
  "/enterprise/stats/hooks": {
@@ -1574,7 +1572,7 @@
1574
1572
  "category": "enterprise-admin",
1575
1573
  "subcategory": "admin-stats"
1576
1574
  },
1577
- "x-octokit": { "diff": { "api.github.com.json": { "type": "added" } } }
1575
+ "x-octokit": { "diff": { "api.github.com": { "type": "added" } } }
1578
1576
  }
1579
1577
  },
1580
1578
  "/enterprise/stats/issues": {
@@ -1605,7 +1603,7 @@
1605
1603
  "category": "enterprise-admin",
1606
1604
  "subcategory": "admin-stats"
1607
1605
  },
1608
- "x-octokit": { "diff": { "api.github.com.json": { "type": "added" } } }
1606
+ "x-octokit": { "diff": { "api.github.com": { "type": "added" } } }
1609
1607
  }
1610
1608
  },
1611
1609
  "/enterprise/stats/milestones": {
@@ -1636,7 +1634,7 @@
1636
1634
  "category": "enterprise-admin",
1637
1635
  "subcategory": "admin-stats"
1638
1636
  },
1639
- "x-octokit": { "diff": { "api.github.com.json": { "type": "added" } } }
1637
+ "x-octokit": { "diff": { "api.github.com": { "type": "added" } } }
1640
1638
  }
1641
1639
  },
1642
1640
  "/enterprise/stats/orgs": {
@@ -1667,7 +1665,7 @@
1667
1665
  "category": "enterprise-admin",
1668
1666
  "subcategory": "admin-stats"
1669
1667
  },
1670
- "x-octokit": { "diff": { "api.github.com.json": { "type": "added" } } }
1668
+ "x-octokit": { "diff": { "api.github.com": { "type": "added" } } }
1671
1669
  }
1672
1670
  },
1673
1671
  "/enterprise/stats/pages": {
@@ -1698,7 +1696,7 @@
1698
1696
  "category": "enterprise-admin",
1699
1697
  "subcategory": "admin-stats"
1700
1698
  },
1701
- "x-octokit": { "diff": { "api.github.com.json": { "type": "added" } } }
1699
+ "x-octokit": { "diff": { "api.github.com": { "type": "added" } } }
1702
1700
  }
1703
1701
  },
1704
1702
  "/enterprise/stats/pulls": {
@@ -1729,7 +1727,7 @@
1729
1727
  "category": "enterprise-admin",
1730
1728
  "subcategory": "admin-stats"
1731
1729
  },
1732
- "x-octokit": { "diff": { "api.github.com.json": { "type": "added" } } }
1730
+ "x-octokit": { "diff": { "api.github.com": { "type": "added" } } }
1733
1731
  }
1734
1732
  },
1735
1733
  "/enterprise/stats/repos": {
@@ -1759,7 +1757,7 @@
1759
1757
  "category": "enterprise-admin",
1760
1758
  "subcategory": "admin-stats"
1761
1759
  },
1762
- "x-octokit": { "diff": { "api.github.com.json": { "type": "added" } } }
1760
+ "x-octokit": { "diff": { "api.github.com": { "type": "added" } } }
1763
1761
  }
1764
1762
  },
1765
1763
  "/enterprise/stats/users": {
@@ -1790,7 +1788,7 @@
1790
1788
  "category": "enterprise-admin",
1791
1789
  "subcategory": "admin-stats"
1792
1790
  },
1793
- "x-octokit": { "diff": { "api.github.com.json": { "type": "added" } } }
1791
+ "x-octokit": { "diff": { "api.github.com": { "type": "added" } } }
1794
1792
  }
1795
1793
  },
1796
1794
  "/enterprises/{enterprise}/actions/runner-groups": {
@@ -1841,9 +1839,7 @@
1841
1839
  "category": "actions",
1842
1840
  "subcategory": "self-hosted-runner-groups"
1843
1841
  },
1844
- "x-octokit": {
1845
- "diff": { "api.github.com.json": { "type": "changed" } }
1846
- }
1842
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
1847
1843
  },
1848
1844
  "post": {
1849
1845
  "summary": "Create a self-hosted runner group for an enterprise",
@@ -1931,9 +1927,7 @@
1931
1927
  "category": "actions",
1932
1928
  "subcategory": "self-hosted-runner-groups"
1933
1929
  },
1934
- "x-octokit": {
1935
- "diff": { "api.github.com.json": { "type": "changed" } }
1936
- }
1930
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
1937
1931
  }
1938
1932
  },
1939
1933
  "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}": {
@@ -1973,9 +1967,7 @@
1973
1967
  "category": "actions",
1974
1968
  "subcategory": "self-hosted-runner-groups"
1975
1969
  },
1976
- "x-octokit": {
1977
- "diff": { "api.github.com.json": { "type": "changed" } }
1978
- }
1970
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
1979
1971
  },
1980
1972
  "patch": {
1981
1973
  "summary": "Update a self-hosted runner group for an enterprise",
@@ -2048,9 +2040,7 @@
2048
2040
  "category": "actions",
2049
2041
  "subcategory": "self-hosted-runner-groups"
2050
2042
  },
2051
- "x-octokit": {
2052
- "diff": { "api.github.com.json": { "type": "changed" } }
2053
- }
2043
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
2054
2044
  }
2055
2045
  },
2056
2046
  "/enterprises/{enterprise}/actions/runners/registration-token": {
@@ -2087,9 +2077,7 @@
2087
2077
  "category": "actions",
2088
2078
  "subcategory": "self-hosted-runners"
2089
2079
  },
2090
- "x-octokit": {
2091
- "diff": { "api.github.com.json": { "type": "changed" } }
2092
- }
2080
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
2093
2081
  }
2094
2082
  },
2095
2083
  "/enterprises/{enterprise}/actions/runners/remove-token": {
@@ -2126,9 +2114,7 @@
2126
2114
  "category": "actions",
2127
2115
  "subcategory": "self-hosted-runners"
2128
2116
  },
2129
- "x-octokit": {
2130
- "diff": { "api.github.com.json": { "type": "changed" } }
2131
- }
2117
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
2132
2118
  }
2133
2119
  },
2134
2120
  "/enterprises/{enterprise}/audit-log": {
@@ -2180,7 +2166,7 @@
2180
2166
  "before": { "operationId": "audit-log/get-audit-log" }
2181
2167
  }
2182
2168
  ],
2183
- "diff": { "api.github.com.json": { "type": "changed" } }
2169
+ "diff": { "api.github.com": { "type": "changed" } }
2184
2170
  }
2185
2171
  }
2186
2172
  },
@@ -2237,9 +2223,7 @@
2237
2223
  "category": "apps",
2238
2224
  "subcategory": "installations"
2239
2225
  },
2240
- "x-octokit": {
2241
- "diff": { "api.github.com.json": { "type": "changed" } }
2242
- }
2226
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
2243
2227
  }
2244
2228
  },
2245
2229
  "/issues": {
@@ -2351,9 +2335,7 @@
2351
2335
  "category": "issues",
2352
2336
  "subcategory": null
2353
2337
  },
2354
- "x-octokit": {
2355
- "diff": { "api.github.com.json": { "type": "changed" } }
2356
- }
2338
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
2357
2339
  }
2358
2340
  },
2359
2341
  "/meta": {
@@ -2387,9 +2369,7 @@
2387
2369
  "category": "meta",
2388
2370
  "subcategory": null
2389
2371
  },
2390
- "x-octokit": {
2391
- "diff": { "api.github.com.json": { "type": "changed" } }
2392
- }
2372
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
2393
2373
  }
2394
2374
  },
2395
2375
  "/notifications": {
@@ -2437,9 +2417,7 @@
2437
2417
  "category": "activity",
2438
2418
  "subcategory": "notifications"
2439
2419
  },
2440
- "x-octokit": {
2441
- "diff": { "api.github.com.json": { "type": "changed" } }
2442
- }
2420
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
2443
2421
  }
2444
2422
  },
2445
2423
  "/notifications/threads/{thread_id}": {
@@ -2475,9 +2453,7 @@
2475
2453
  "category": "activity",
2476
2454
  "subcategory": "notifications"
2477
2455
  },
2478
- "x-octokit": {
2479
- "diff": { "api.github.com.json": { "type": "changed" } }
2480
- }
2456
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
2481
2457
  }
2482
2458
  },
2483
2459
  "/orgs/{org}/actions/permissions/repositories": {
@@ -2526,9 +2502,7 @@
2526
2502
  "category": "actions",
2527
2503
  "subcategory": "permissions"
2528
2504
  },
2529
- "x-octokit": {
2530
- "diff": { "api.github.com.json": { "type": "changed" } }
2531
- }
2505
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
2532
2506
  }
2533
2507
  },
2534
2508
  "/orgs/{org}/actions/runner-groups": {
@@ -2579,9 +2553,7 @@
2579
2553
  "category": "actions",
2580
2554
  "subcategory": "self-hosted-runner-groups"
2581
2555
  },
2582
- "x-octokit": {
2583
- "diff": { "api.github.com.json": { "type": "changed" } }
2584
- }
2556
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
2585
2557
  },
2586
2558
  "post": {
2587
2559
  "summary": "Create a self-hosted runner group for an organization",
@@ -2666,9 +2638,7 @@
2666
2638
  "category": "actions",
2667
2639
  "subcategory": "self-hosted-runner-groups"
2668
2640
  },
2669
- "x-octokit": {
2670
- "diff": { "api.github.com.json": { "type": "changed" } }
2671
- }
2641
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
2672
2642
  }
2673
2643
  },
2674
2644
  "/orgs/{org}/actions/runner-groups/{runner_group_id}": {
@@ -2706,9 +2676,7 @@
2706
2676
  "category": "actions",
2707
2677
  "subcategory": "self-hosted-runner-groups"
2708
2678
  },
2709
- "x-octokit": {
2710
- "diff": { "api.github.com.json": { "type": "changed" } }
2711
- }
2679
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
2712
2680
  },
2713
2681
  "patch": {
2714
2682
  "summary": "Update a self-hosted runner group for an organization",
@@ -2777,9 +2745,7 @@
2777
2745
  "category": "actions",
2778
2746
  "subcategory": "self-hosted-runner-groups"
2779
2747
  },
2780
- "x-octokit": {
2781
- "diff": { "api.github.com.json": { "type": "changed" } }
2782
- }
2748
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
2783
2749
  }
2784
2750
  },
2785
2751
  "/orgs/{org}/actions/runners/registration-token": {
@@ -2816,9 +2782,7 @@
2816
2782
  "category": "actions",
2817
2783
  "subcategory": "self-hosted-runners"
2818
2784
  },
2819
- "x-octokit": {
2820
- "diff": { "api.github.com.json": { "type": "changed" } }
2821
- }
2785
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
2822
2786
  }
2823
2787
  },
2824
2788
  "/orgs/{org}/actions/runners/remove-token": {
@@ -2855,9 +2819,7 @@
2855
2819
  "category": "actions",
2856
2820
  "subcategory": "self-hosted-runners"
2857
2821
  },
2858
- "x-octokit": {
2859
- "diff": { "api.github.com.json": { "type": "changed" } }
2860
- }
2822
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
2861
2823
  }
2862
2824
  },
2863
2825
  "/orgs/{org}/actions/secrets/{secret_name}": {
@@ -2934,9 +2896,7 @@
2934
2896
  "category": "actions",
2935
2897
  "subcategory": "secrets"
2936
2898
  },
2937
- "x-octokit": {
2938
- "diff": { "api.github.com.json": { "type": "changed" } }
2939
- }
2899
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
2940
2900
  }
2941
2901
  },
2942
2902
  "/orgs/{org}/actions/secrets/{secret_name}/repositories": {
@@ -2988,9 +2948,7 @@
2988
2948
  "category": "actions",
2989
2949
  "subcategory": "secrets"
2990
2950
  },
2991
- "x-octokit": {
2992
- "diff": { "api.github.com.json": { "type": "changed" } }
2993
- }
2951
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
2994
2952
  }
2995
2953
  },
2996
2954
  "/orgs/{org}/audit-log": {
@@ -3034,9 +2992,7 @@
3034
2992
  "category": "orgs",
3035
2993
  "subcategory": null
3036
2994
  },
3037
- "x-octokit": {
3038
- "diff": { "api.github.com.json": { "type": "changed" } }
3039
- }
2995
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
3040
2996
  }
3041
2997
  },
3042
2998
  "/orgs/{org}/issues": {
@@ -3123,9 +3079,7 @@
3123
3079
  "category": "issues",
3124
3080
  "subcategory": null
3125
3081
  },
3126
- "x-octokit": {
3127
- "diff": { "api.github.com.json": { "type": "changed" } }
3128
- }
3082
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
3129
3083
  }
3130
3084
  },
3131
3085
  "/orgs/{org}/migrations": {
@@ -3182,9 +3136,7 @@
3182
3136
  "category": "migrations",
3183
3137
  "subcategory": "orgs"
3184
3138
  },
3185
- "x-octokit": {
3186
- "diff": { "api.github.com.json": { "type": "changed" } }
3187
- }
3139
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
3188
3140
  },
3189
3141
  "post": {
3190
3142
  "summary": "Start an organization migration",
@@ -3250,6 +3202,7 @@
3250
3202
  },
3251
3203
  "exclude": {
3252
3204
  "type": "array",
3205
+ "description": "Exclude related items from being returned in the response in order to improve performance of the request. The array can include any of: `\"repositories\"`.",
3253
3206
  "items": { "type": "string", "enum": ["repositories"] }
3254
3207
  }
3255
3208
  },
@@ -3289,9 +3242,7 @@
3289
3242
  "category": "migrations",
3290
3243
  "subcategory": "orgs"
3291
3244
  },
3292
- "x-octokit": {
3293
- "diff": { "api.github.com.json": { "type": "changed" } }
3294
- }
3245
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
3295
3246
  }
3296
3247
  },
3297
3248
  "/orgs/{org}/migrations/{migration_id}": {
@@ -3344,9 +3295,7 @@
3344
3295
  "category": "migrations",
3345
3296
  "subcategory": "orgs"
3346
3297
  },
3347
- "x-octokit": {
3348
- "diff": { "api.github.com.json": { "type": "changed" } }
3349
- }
3298
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
3350
3299
  }
3351
3300
  },
3352
3301
  "/orgs/{org}/repos": {
@@ -3424,9 +3373,7 @@
3424
3373
  "category": "repos",
3425
3374
  "subcategory": null
3426
3375
  },
3427
- "x-octokit": {
3428
- "diff": { "api.github.com.json": { "type": "changed" } }
3429
- }
3376
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
3430
3377
  },
3431
3378
  "post": {
3432
3379
  "summary": "Create an organization repository",
@@ -3580,9 +3527,7 @@
3580
3527
  "category": "repos",
3581
3528
  "subcategory": null
3582
3529
  },
3583
- "x-octokit": {
3584
- "diff": { "api.github.com.json": { "type": "changed" } }
3585
- }
3530
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
3586
3531
  }
3587
3532
  },
3588
3533
  "/orgs/{org}/teams/{team_slug}/repos": {
@@ -3626,9 +3571,7 @@
3626
3571
  "category": "teams",
3627
3572
  "subcategory": null
3628
3573
  },
3629
- "x-octokit": {
3630
- "diff": { "api.github.com.json": { "type": "changed" } }
3631
- }
3574
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
3632
3575
  }
3633
3576
  },
3634
3577
  "/orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}": {
@@ -3674,9 +3617,57 @@
3674
3617
  "category": "teams",
3675
3618
  "subcategory": null
3676
3619
  },
3677
- "x-octokit": {
3678
- "diff": { "api.github.com.json": { "type": "changed" } }
3679
- }
3620
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
3621
+ }
3622
+ },
3623
+ "/rate_limit": {
3624
+ "get": {
3625
+ "summary": "Get rate limit status for the authenticated user",
3626
+ "description": "**Note:** Accessing this endpoint does not count against your REST API rate limit.\n\n**Note:** The `rate` object is deprecated. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object.",
3627
+ "tags": ["rate-limit"],
3628
+ "operationId": "rate-limit/get",
3629
+ "externalDocs": {
3630
+ "description": "API method documentation",
3631
+ "url": "https://docs.github.com/github-ae@latest/rest/reference/rate-limit#get-rate-limit-status-for-the-authenticated-user"
3632
+ },
3633
+ "parameters": [],
3634
+ "responses": {
3635
+ "200": {
3636
+ "description": "Response",
3637
+ "content": {
3638
+ "application/json": {
3639
+ "schema": {
3640
+ "$ref": "#/components/schemas/rate-limit-overview"
3641
+ },
3642
+ "examples": {
3643
+ "default": {
3644
+ "$ref": "#/components/examples/rate-limit-overview"
3645
+ }
3646
+ }
3647
+ }
3648
+ },
3649
+ "headers": {
3650
+ "X-RateLimit-Limit": {
3651
+ "$ref": "#/components/headers/x-rate-limit-limit"
3652
+ },
3653
+ "X-RateLimit-Remaining": {
3654
+ "$ref": "#/components/headers/x-rate-limit-remaining"
3655
+ },
3656
+ "X-RateLimit-Reset": {
3657
+ "$ref": "#/components/headers/x-rate-limit-reset"
3658
+ }
3659
+ }
3660
+ },
3661
+ "304": { "$ref": "#/components/responses/not_modified" },
3662
+ "404": { "$ref": "#/components/responses/not_found" }
3663
+ },
3664
+ "x-github": {
3665
+ "githubCloudOnly": false,
3666
+ "enabledForGitHubApps": true,
3667
+ "category": "rate-limit",
3668
+ "subcategory": null
3669
+ },
3670
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
3680
3671
  }
3681
3672
  },
3682
3673
  "/repos/{owner}/{repo}": {
@@ -3717,9 +3708,7 @@
3717
3708
  "category": "repos",
3718
3709
  "subcategory": null
3719
3710
  },
3720
- "x-octokit": {
3721
- "diff": { "api.github.com.json": { "type": "changed" } }
3722
- }
3711
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
3723
3712
  },
3724
3713
  "patch": {
3725
3714
  "summary": "Update a repository",
@@ -3910,9 +3899,7 @@
3910
3899
  "category": "repos",
3911
3900
  "subcategory": null
3912
3901
  },
3913
- "x-octokit": {
3914
- "diff": { "api.github.com.json": { "type": "changed" } }
3915
- }
3902
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
3916
3903
  }
3917
3904
  },
3918
3905
  "/repos/{owner}/{repo}/actions/runners/registration-token": {
@@ -3952,9 +3939,7 @@
3952
3939
  "category": "actions",
3953
3940
  "subcategory": "self-hosted-runners"
3954
3941
  },
3955
- "x-octokit": {
3956
- "diff": { "api.github.com.json": { "type": "changed" } }
3957
- }
3942
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
3958
3943
  }
3959
3944
  },
3960
3945
  "/repos/{owner}/{repo}/actions/runners/remove-token": {
@@ -3994,9 +3979,7 @@
3994
3979
  "category": "actions",
3995
3980
  "subcategory": "self-hosted-runners"
3996
3981
  },
3997
- "x-octokit": {
3998
- "diff": { "api.github.com.json": { "type": "changed" } }
3999
- }
3982
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
4000
3983
  }
4001
3984
  },
4002
3985
  "/repos/{owner}/{repo}/actions/runs": {
@@ -4053,9 +4036,7 @@
4053
4036
  "category": "actions",
4054
4037
  "subcategory": "workflow-runs"
4055
4038
  },
4056
- "x-octokit": {
4057
- "diff": { "api.github.com.json": { "type": "changed" } }
4058
- }
4039
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
4059
4040
  }
4060
4041
  },
4061
4042
  "/repos/{owner}/{repo}/actions/runs/{run_id}": {
@@ -4093,9 +4074,7 @@
4093
4074
  "category": "actions",
4094
4075
  "subcategory": "workflow-runs"
4095
4076
  },
4096
- "x-octokit": {
4097
- "diff": { "api.github.com.json": { "type": "changed" } }
4098
- }
4077
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
4099
4078
  }
4100
4079
  },
4101
4080
  "/repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}": {
@@ -4134,9 +4113,7 @@
4134
4113
  "category": "actions",
4135
4114
  "subcategory": "workflow-runs"
4136
4115
  },
4137
- "x-octokit": {
4138
- "diff": { "api.github.com.json": { "type": "changed" } }
4139
- }
4116
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
4140
4117
  }
4141
4118
  },
4142
4119
  "/repos/{owner}/{repo}/actions/runs/{run_id}/rerun": {
@@ -4182,9 +4159,7 @@
4182
4159
  "category": "actions",
4183
4160
  "subcategory": "workflow-runs"
4184
4161
  },
4185
- "x-octokit": {
4186
- "diff": { "api.github.com.json": { "type": "changed" } }
4187
- }
4162
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
4188
4163
  }
4189
4164
  },
4190
4165
  "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs": {
@@ -4242,9 +4217,7 @@
4242
4217
  "category": "actions",
4243
4218
  "subcategory": "workflow-runs"
4244
4219
  },
4245
- "x-octokit": {
4246
- "diff": { "api.github.com.json": { "type": "changed" } }
4247
- }
4220
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
4248
4221
  }
4249
4222
  },
4250
4223
  "/repos/{owner}/{repo}/autolinks": {
@@ -4284,9 +4257,7 @@
4284
4257
  "category": "repos",
4285
4258
  "subcategory": "autolinks"
4286
4259
  },
4287
- "x-octokit": {
4288
- "diff": { "api.github.com.json": { "type": "changed" } }
4289
- }
4260
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
4290
4261
  },
4291
4262
  "post": {
4292
4263
  "summary": "Create an autolink reference for a repository",
@@ -4356,9 +4327,7 @@
4356
4327
  "category": "repos",
4357
4328
  "subcategory": "autolinks"
4358
4329
  },
4359
- "x-octokit": {
4360
- "diff": { "api.github.com.json": { "type": "changed" } }
4361
- }
4330
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
4362
4331
  }
4363
4332
  },
4364
4333
  "/repos/{owner}/{repo}/autolinks/{autolink_id}": {
@@ -4396,9 +4365,7 @@
4396
4365
  "category": "repos",
4397
4366
  "subcategory": "autolinks"
4398
4367
  },
4399
- "x-octokit": {
4400
- "diff": { "api.github.com.json": { "type": "changed" } }
4401
- }
4368
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
4402
4369
  }
4403
4370
  },
4404
4371
  "/repos/{owner}/{repo}/check-suites": {
@@ -4469,9 +4436,7 @@
4469
4436
  "category": "checks",
4470
4437
  "subcategory": "suites"
4471
4438
  },
4472
- "x-octokit": {
4473
- "diff": { "api.github.com.json": { "type": "changed" } }
4474
- }
4439
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
4475
4440
  }
4476
4441
  },
4477
4442
  "/repos/{owner}/{repo}/check-suites/preferences": {
@@ -4549,9 +4514,7 @@
4549
4514
  "category": "checks",
4550
4515
  "subcategory": "suites"
4551
4516
  },
4552
- "x-octokit": {
4553
- "diff": { "api.github.com.json": { "type": "changed" } }
4554
- }
4517
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
4555
4518
  }
4556
4519
  },
4557
4520
  "/repos/{owner}/{repo}/check-suites/{check_suite_id}": {
@@ -4588,9 +4551,7 @@
4588
4551
  "category": "checks",
4589
4552
  "subcategory": "suites"
4590
4553
  },
4591
- "x-octokit": {
4592
- "diff": { "api.github.com.json": { "type": "changed" } }
4593
- }
4554
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
4594
4555
  }
4595
4556
  },
4596
4557
  "/repos/{owner}/{repo}/code-scanning/alerts": {
@@ -4652,9 +4613,7 @@
4652
4613
  "category": "code-scanning",
4653
4614
  "subcategory": null
4654
4615
  },
4655
- "x-octokit": {
4656
- "diff": { "api.github.com.json": { "type": "changed" } }
4657
- }
4616
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
4658
4617
  }
4659
4618
  },
4660
4619
  "/repos/{owner}/{repo}/code-scanning/alerts/{alert_number}": {
@@ -4709,7 +4668,7 @@
4709
4668
  "before": { "name": "alert_id" }
4710
4669
  }
4711
4670
  ],
4712
- "diff": { "api.github.com.json": { "type": "changed" } }
4671
+ "diff": { "api.github.com": { "type": "changed" } }
4713
4672
  }
4714
4673
  },
4715
4674
  "patch": {
@@ -4781,9 +4740,7 @@
4781
4740
  "githubCloudOnly": false,
4782
4741
  "category": "code-scanning"
4783
4742
  },
4784
- "x-octokit": {
4785
- "diff": { "api.github.com.json": { "type": "changed" } }
4786
- }
4743
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
4787
4744
  }
4788
4745
  },
4789
4746
  "/repos/{owner}/{repo}/collaborators": {
@@ -4839,9 +4796,7 @@
4839
4796
  "category": "repos",
4840
4797
  "subcategory": "collaborators"
4841
4798
  },
4842
- "x-octokit": {
4843
- "diff": { "api.github.com.json": { "type": "changed" } }
4844
- }
4799
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
4845
4800
  }
4846
4801
  },
4847
4802
  "/repos/{owner}/{repo}/collaborators/{username}": {
@@ -4912,9 +4867,7 @@
4912
4867
  "category": "repos",
4913
4868
  "subcategory": "collaborators"
4914
4869
  },
4915
- "x-octokit": {
4916
- "diff": { "api.github.com.json": { "type": "changed" } }
4917
- }
4870
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
4918
4871
  }
4919
4872
  },
4920
4873
  "/repos/{owner}/{repo}/collaborators/{username}/permission": {
@@ -4956,9 +4909,7 @@
4956
4909
  "category": "repos",
4957
4910
  "subcategory": "collaborators"
4958
4911
  },
4959
- "x-octokit": {
4960
- "diff": { "api.github.com.json": { "type": "changed" } }
4961
- }
4912
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
4962
4913
  }
4963
4914
  },
4964
4915
  "/repos/{owner}/{repo}/comments/{comment_id}/reactions": {
@@ -5042,9 +4993,7 @@
5042
4993
  }
5043
4994
  ]
5044
4995
  },
5045
- "x-octokit": {
5046
- "diff": { "api.github.com.json": { "type": "changed" } }
5047
- }
4996
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
5048
4997
  }
5049
4998
  },
5050
4999
  "/repos/{owner}/{repo}/commits/{commit_sha}/pulls": {
@@ -5091,9 +5040,7 @@
5091
5040
  "category": "repos",
5092
5041
  "subcategory": "commits"
5093
5042
  },
5094
- "x-octokit": {
5095
- "diff": { "api.github.com.json": { "type": "changed" } }
5096
- }
5043
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
5097
5044
  }
5098
5045
  },
5099
5046
  "/repos/{owner}/{repo}/commits/{ref}/check-suites": {
@@ -5161,9 +5108,7 @@
5161
5108
  "category": "checks",
5162
5109
  "subcategory": "suites"
5163
5110
  },
5164
- "x-octokit": {
5165
- "diff": { "api.github.com.json": { "type": "changed" } }
5166
- }
5111
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
5167
5112
  }
5168
5113
  },
5169
5114
  "/repos/{owner}/{repo}/commits/{ref}/status": {
@@ -5214,9 +5159,7 @@
5214
5159
  "category": "repos",
5215
5160
  "subcategory": "statuses"
5216
5161
  },
5217
- "x-octokit": {
5218
- "diff": { "api.github.com.json": { "type": "changed" } }
5219
- }
5162
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
5220
5163
  }
5221
5164
  },
5222
5165
  "/repos/{owner}/{repo}/events": {
@@ -5259,9 +5202,7 @@
5259
5202
  "category": "activity",
5260
5203
  "subcategory": "events"
5261
5204
  },
5262
- "x-octokit": {
5263
- "diff": { "api.github.com.json": { "type": "changed" } }
5264
- }
5205
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
5265
5206
  }
5266
5207
  },
5267
5208
  "/repos/{owner}/{repo}/forks": {
@@ -5317,9 +5258,7 @@
5317
5258
  "category": "repos",
5318
5259
  "subcategory": "forks"
5319
5260
  },
5320
- "x-octokit": {
5321
- "diff": { "api.github.com.json": { "type": "changed" } }
5322
- }
5261
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
5323
5262
  },
5324
5263
  "post": {
5325
5264
  "summary": "Create a fork",
@@ -5374,9 +5313,7 @@
5374
5313
  "category": "repos",
5375
5314
  "subcategory": "forks"
5376
5315
  },
5377
- "x-octokit": {
5378
- "diff": { "api.github.com.json": { "type": "changed" } }
5379
- }
5316
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
5380
5317
  }
5381
5318
  },
5382
5319
  "/repos/{owner}/{repo}/invitations": {
@@ -5422,9 +5359,7 @@
5422
5359
  "category": "repos",
5423
5360
  "subcategory": "invitations"
5424
5361
  },
5425
- "x-octokit": {
5426
- "diff": { "api.github.com.json": { "type": "changed" } }
5427
- }
5362
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
5428
5363
  }
5429
5364
  },
5430
5365
  "/repos/{owner}/{repo}/invitations/{invitation_id}": {
@@ -5482,9 +5417,7 @@
5482
5417
  "category": "repos",
5483
5418
  "subcategory": "invitations"
5484
5419
  },
5485
- "x-octokit": {
5486
- "diff": { "api.github.com.json": { "type": "changed" } }
5487
- }
5420
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
5488
5421
  }
5489
5422
  },
5490
5423
  "/repos/{owner}/{repo}/issues": {
@@ -5582,9 +5515,7 @@
5582
5515
  "category": "issues",
5583
5516
  "subcategory": null
5584
5517
  },
5585
- "x-octokit": {
5586
- "diff": { "api.github.com.json": { "type": "changed" } }
5587
- }
5518
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
5588
5519
  },
5589
5520
  "post": {
5590
5521
  "summary": "Create an issue",
@@ -5703,9 +5634,7 @@
5703
5634
  "category": "issues",
5704
5635
  "subcategory": null
5705
5636
  },
5706
- "x-octokit": {
5707
- "diff": { "api.github.com.json": { "type": "changed" } }
5708
- }
5637
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
5709
5638
  }
5710
5639
  },
5711
5640
  "/repos/{owner}/{repo}/issues/events": {
@@ -5750,9 +5679,7 @@
5750
5679
  "category": "issues",
5751
5680
  "subcategory": "events"
5752
5681
  },
5753
- "x-octokit": {
5754
- "diff": { "api.github.com.json": { "type": "changed" } }
5755
- }
5682
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
5756
5683
  }
5757
5684
  },
5758
5685
  "/repos/{owner}/{repo}/issues/events/{event_id}": {
@@ -5797,9 +5724,7 @@
5797
5724
  "category": "issues",
5798
5725
  "subcategory": "events"
5799
5726
  },
5800
- "x-octokit": {
5801
- "diff": { "api.github.com.json": { "type": "changed" } }
5802
- }
5727
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
5803
5728
  }
5804
5729
  },
5805
5730
  "/repos/{owner}/{repo}/issues/{issue_number}": {
@@ -5840,9 +5765,7 @@
5840
5765
  "category": "issues",
5841
5766
  "subcategory": null
5842
5767
  },
5843
- "x-octokit": {
5844
- "diff": { "api.github.com.json": { "type": "changed" } }
5845
- }
5768
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
5846
5769
  },
5847
5770
  "patch": {
5848
5771
  "summary": "Update an issue",
@@ -5963,9 +5886,7 @@
5963
5886
  "category": "issues",
5964
5887
  "subcategory": null
5965
5888
  },
5966
- "x-octokit": {
5967
- "diff": { "api.github.com.json": { "type": "changed" } }
5968
- }
5889
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
5969
5890
  }
5970
5891
  },
5971
5892
  "/repos/{owner}/{repo}/issues/{issue_number}/assignees": {
@@ -6022,9 +5943,7 @@
6022
5943
  "category": "issues",
6023
5944
  "subcategory": "assignees"
6024
5945
  },
6025
- "x-octokit": {
6026
- "diff": { "api.github.com.json": { "type": "changed" } }
6027
- }
5946
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
6028
5947
  }
6029
5948
  },
6030
5949
  "/repos/{owner}/{repo}/notifications": {
@@ -6070,9 +5989,7 @@
6070
5989
  "category": "activity",
6071
5990
  "subcategory": "notifications"
6072
5991
  },
6073
- "x-octokit": {
6074
- "diff": { "api.github.com.json": { "type": "changed" } }
6075
- }
5992
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
6076
5993
  }
6077
5994
  },
6078
5995
  "/repos/{owner}/{repo}/pulls": {
@@ -6163,9 +6080,7 @@
6163
6080
  "category": "pulls",
6164
6081
  "subcategory": null
6165
6082
  },
6166
- "x-octokit": {
6167
- "diff": { "api.github.com.json": { "type": "changed" } }
6168
- }
6083
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
6169
6084
  }
6170
6085
  },
6171
6086
  "/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers": {
@@ -6245,9 +6160,7 @@
6245
6160
  "category": "pulls",
6246
6161
  "subcategory": "review-requests"
6247
6162
  },
6248
- "x-octokit": {
6249
- "diff": { "api.github.com.json": { "type": "changed" } }
6250
- }
6163
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
6251
6164
  }
6252
6165
  },
6253
6166
  "/repos/{owner}/{repo}/releases": {
@@ -6342,9 +6255,7 @@
6342
6255
  "category": "repos",
6343
6256
  "subcategory": "releases"
6344
6257
  },
6345
- "x-octokit": {
6346
- "diff": { "api.github.com.json": { "type": "changed" } }
6347
- }
6258
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
6348
6259
  }
6349
6260
  },
6350
6261
  "/repos/{owner}/{repo}/releases/{release_id}": {
@@ -6429,9 +6340,7 @@
6429
6340
  "category": "repos",
6430
6341
  "subcategory": "releases"
6431
6342
  },
6432
- "x-octokit": {
6433
- "diff": { "api.github.com.json": { "type": "changed" } }
6434
- }
6343
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
6435
6344
  }
6436
6345
  },
6437
6346
  "/repos/{owner}/{repo}/releases/{release_id}/reactions": {
@@ -6492,9 +6401,7 @@
6492
6401
  }
6493
6402
  ]
6494
6403
  },
6495
- "x-octokit": {
6496
- "diff": { "api.github.com.json": { "type": "changed" } }
6497
- }
6404
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
6498
6405
  }
6499
6406
  },
6500
6407
  "/repos/{owner}/{repo}/secret-scanning/alerts": {
@@ -6550,9 +6457,7 @@
6550
6457
  "category": "secret-scanning",
6551
6458
  "subcategory": null
6552
6459
  },
6553
- "x-octokit": {
6554
- "diff": { "api.github.com.json": { "type": "changed" } }
6555
- }
6460
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
6556
6461
  }
6557
6462
  },
6558
6463
  "/repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}": {
@@ -6598,9 +6503,7 @@
6598
6503
  "category": "secret-scanning",
6599
6504
  "subcategory": null
6600
6505
  },
6601
- "x-octokit": {
6602
- "diff": { "api.github.com.json": { "type": "changed" } }
6603
- }
6506
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
6604
6507
  },
6605
6508
  "patch": {
6606
6509
  "summary": "Update a secret scanning alert",
@@ -6670,9 +6573,7 @@
6670
6573
  "githubCloudOnly": false,
6671
6574
  "category": "secret-scanning"
6672
6575
  },
6673
- "x-octokit": {
6674
- "diff": { "api.github.com.json": { "type": "changed" } }
6675
- }
6576
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
6676
6577
  }
6677
6578
  },
6678
6579
  "/repos/{owner}/{repo}/transfer": {
@@ -6737,9 +6638,7 @@
6737
6638
  "category": "repos",
6738
6639
  "subcategory": null
6739
6640
  },
6740
- "x-octokit": {
6741
- "diff": { "api.github.com.json": { "type": "changed" } }
6742
- }
6641
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
6743
6642
  }
6744
6643
  },
6745
6644
  "/repos/{template_owner}/{template_repo}/generate": {
@@ -6837,9 +6736,7 @@
6837
6736
  "category": "repos",
6838
6737
  "subcategory": null
6839
6738
  },
6840
- "x-octokit": {
6841
- "diff": { "api.github.com.json": { "type": "changed" } }
6842
- }
6739
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
6843
6740
  }
6844
6741
  },
6845
6742
  "/search/code": {
@@ -6909,9 +6806,7 @@
6909
6806
  "category": "search",
6910
6807
  "subcategory": null
6911
6808
  },
6912
- "x-octokit": {
6913
- "diff": { "api.github.com.json": { "type": "changed" } }
6914
- }
6809
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
6915
6810
  }
6916
6811
  },
6917
6812
  "/search/commits": {
@@ -6981,9 +6876,7 @@
6981
6876
  "category": "search",
6982
6877
  "subcategory": null
6983
6878
  },
6984
- "x-octokit": {
6985
- "diff": { "api.github.com.json": { "type": "changed" } }
6986
- }
6879
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
6987
6880
  }
6988
6881
  },
6989
6882
  "/search/issues": {
@@ -7068,9 +6961,7 @@
7068
6961
  "category": "search",
7069
6962
  "subcategory": null
7070
6963
  },
7071
- "x-octokit": {
7072
- "diff": { "api.github.com.json": { "type": "changed" } }
7073
- }
6964
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
7074
6965
  }
7075
6966
  },
7076
6967
  "/teams/{team_id}/repos": {
@@ -7117,9 +7008,7 @@
7117
7008
  "subcategory": null
7118
7009
  },
7119
7010
  "deprecated": true,
7120
- "x-octokit": {
7121
- "diff": { "api.github.com.json": { "type": "changed" } }
7122
- }
7011
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
7123
7012
  }
7124
7013
  },
7125
7014
  "/teams/{team_id}/repos/{owner}/{repo}": {
@@ -7167,9 +7056,7 @@
7167
7056
  "subcategory": null
7168
7057
  },
7169
7058
  "deprecated": true,
7170
- "x-octokit": {
7171
- "diff": { "api.github.com.json": { "type": "changed" } }
7172
- }
7059
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
7173
7060
  }
7174
7061
  },
7175
7062
  "/user/gpg_keys": {
@@ -7223,7 +7110,7 @@
7223
7110
  }
7224
7111
  }
7225
7112
  ],
7226
- "diff": { "api.github.com.json": { "type": "changed" } }
7113
+ "diff": { "api.github.com": { "type": "changed" } }
7227
7114
  }
7228
7115
  },
7229
7116
  "post": {
@@ -7287,7 +7174,7 @@
7287
7174
  }
7288
7175
  }
7289
7176
  ],
7290
- "diff": { "api.github.com.json": { "type": "changed" } }
7177
+ "diff": { "api.github.com": { "type": "changed" } }
7291
7178
  }
7292
7179
  }
7293
7180
  },
@@ -7333,7 +7220,7 @@
7333
7220
  "before": { "operationId": "users/get-gpg-key-for-authenticated" }
7334
7221
  }
7335
7222
  ],
7336
- "diff": { "api.github.com.json": { "type": "changed" } }
7223
+ "diff": { "api.github.com": { "type": "changed" } }
7337
7224
  }
7338
7225
  }
7339
7226
  },
@@ -7388,9 +7275,7 @@
7388
7275
  "category": "apps",
7389
7276
  "subcategory": "installations"
7390
7277
  },
7391
- "x-octokit": {
7392
- "diff": { "api.github.com.json": { "type": "changed" } }
7393
- }
7278
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
7394
7279
  }
7395
7280
  },
7396
7281
  "/user/issues": {
@@ -7477,9 +7362,7 @@
7477
7362
  "category": "issues",
7478
7363
  "subcategory": null
7479
7364
  },
7480
- "x-octokit": {
7481
- "diff": { "api.github.com.json": { "type": "changed" } }
7482
- }
7365
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
7483
7366
  }
7484
7367
  },
7485
7368
  "/user/migrations": {
@@ -7522,9 +7405,7 @@
7522
7405
  "category": "migrations",
7523
7406
  "subcategory": "users"
7524
7407
  },
7525
- "x-octokit": {
7526
- "diff": { "api.github.com.json": { "type": "changed" } }
7527
- }
7408
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
7528
7409
  },
7529
7410
  "post": {
7530
7411
  "summary": "Start a user migration",
@@ -7607,6 +7488,14 @@
7607
7488
  },
7608
7489
  "required": ["repositories"],
7609
7490
  "type": "object"
7491
+ },
7492
+ "examples": {
7493
+ "default": {
7494
+ "value": {
7495
+ "repositories": ["octocat/Hello-World"],
7496
+ "lock_repositories": true
7497
+ }
7498
+ }
7610
7499
  }
7611
7500
  }
7612
7501
  }
@@ -7634,9 +7523,7 @@
7634
7523
  "category": "migrations",
7635
7524
  "subcategory": "users"
7636
7525
  },
7637
- "x-octokit": {
7638
- "diff": { "api.github.com.json": { "type": "changed" } }
7639
- }
7526
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
7640
7527
  }
7641
7528
  },
7642
7529
  "/user/migrations/{migration_id}/repositories": {
@@ -7688,7 +7575,7 @@
7688
7575
  "before": { "operationId": "migrations/list-repos-for-user" }
7689
7576
  }
7690
7577
  ],
7691
- "diff": { "api.github.com.json": { "type": "changed" } }
7578
+ "diff": { "api.github.com": { "type": "changed" } }
7692
7579
  }
7693
7580
  }
7694
7581
  },
@@ -7786,9 +7673,7 @@
7786
7673
  "category": "repos",
7787
7674
  "subcategory": null
7788
7675
  },
7789
- "x-octokit": {
7790
- "diff": { "api.github.com.json": { "type": "changed" } }
7791
- }
7676
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
7792
7677
  },
7793
7678
  "post": {
7794
7679
  "summary": "Create a repository for the authenticated user",
@@ -7941,9 +7826,7 @@
7941
7826
  "category": "repos",
7942
7827
  "subcategory": null
7943
7828
  },
7944
- "x-octokit": {
7945
- "diff": { "api.github.com.json": { "type": "changed" } }
7946
- }
7829
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
7947
7830
  }
7948
7831
  },
7949
7832
  "/user/repository_invitations": {
@@ -7991,9 +7874,7 @@
7991
7874
  "category": "repos",
7992
7875
  "subcategory": "invitations"
7993
7876
  },
7994
- "x-octokit": {
7995
- "diff": { "api.github.com.json": { "type": "changed" } }
7996
- }
7877
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
7997
7878
  }
7998
7879
  },
7999
7880
  "/user/starred": {
@@ -8051,9 +7932,7 @@
8051
7932
  "category": "activity",
8052
7933
  "subcategory": "starring"
8053
7934
  },
8054
- "x-octokit": {
8055
- "diff": { "api.github.com.json": { "type": "changed" } }
8056
- }
7935
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
8057
7936
  }
8058
7937
  },
8059
7938
  "/user/subscriptions": {
@@ -8098,9 +7977,7 @@
8098
7977
  "category": "activity",
8099
7978
  "subcategory": "watching"
8100
7979
  },
8101
- "x-octokit": {
8102
- "diff": { "api.github.com.json": { "type": "changed" } }
8103
- }
7980
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
8104
7981
  }
8105
7982
  },
8106
7983
  "/users/{username}/events": {
@@ -8142,9 +8019,7 @@
8142
8019
  "category": "activity",
8143
8020
  "subcategory": "events"
8144
8021
  },
8145
- "x-octokit": {
8146
- "diff": { "api.github.com.json": { "type": "changed" } }
8147
- }
8022
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
8148
8023
  }
8149
8024
  },
8150
8025
  "/users/{username}/events/orgs/{org}": {
@@ -8187,9 +8062,7 @@
8187
8062
  "category": "activity",
8188
8063
  "subcategory": "events"
8189
8064
  },
8190
- "x-octokit": {
8191
- "diff": { "api.github.com.json": { "type": "changed" } }
8192
- }
8065
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
8193
8066
  }
8194
8067
  },
8195
8068
  "/users/{username}/gpg_keys": {
@@ -8230,9 +8103,7 @@
8230
8103
  "category": "users",
8231
8104
  "subcategory": "gpg-keys"
8232
8105
  },
8233
- "x-octokit": {
8234
- "diff": { "api.github.com.json": { "type": "changed" } }
8235
- }
8106
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
8236
8107
  }
8237
8108
  },
8238
8109
  "/users/{username}/repos": {
@@ -8304,9 +8175,7 @@
8304
8175
  "category": "repos",
8305
8176
  "subcategory": null
8306
8177
  },
8307
- "x-octokit": {
8308
- "diff": { "api.github.com.json": { "type": "changed" } }
8309
- }
8178
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
8310
8179
  }
8311
8180
  },
8312
8181
  "/users/{username}/subscriptions": {
@@ -8349,9 +8218,7 @@
8349
8218
  "category": "activity",
8350
8219
  "subcategory": "watching"
8351
8220
  },
8352
- "x-octokit": {
8353
- "diff": { "api.github.com.json": { "type": "changed" } }
8354
- }
8221
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
8355
8222
  }
8356
8223
  },
8357
8224
  "/users/{username}/suspended": {
@@ -8388,7 +8255,7 @@
8388
8255
  "category": "enterprise-admin",
8389
8256
  "subcategory": "users"
8390
8257
  },
8391
- "x-octokit": { "diff": { "api.github.com.json": { "type": "added" } } }
8258
+ "x-octokit": { "diff": { "api.github.com": { "type": "added" } } }
8392
8259
  },
8393
8260
  "delete": {
8394
8261
  "summary": "Unsuspend a user",
@@ -8423,7 +8290,7 @@
8423
8290
  "category": "enterprise-admin",
8424
8291
  "subcategory": "users"
8425
8292
  },
8426
- "x-octokit": { "diff": { "api.github.com.json": { "type": "added" } } }
8293
+ "x-octokit": { "diff": { "api.github.com": { "type": "added" } } }
8427
8294
  }
8428
8295
  }
8429
8296
  },
@@ -11281,6 +11148,35 @@
11281
11148
  "updated_at"
11282
11149
  ]
11283
11150
  },
11151
+ "rate-limit-overview": {
11152
+ "title": "Rate Limit Overview",
11153
+ "description": "Rate Limit Overview",
11154
+ "type": "object",
11155
+ "properties": {
11156
+ "resources": {
11157
+ "type": "object",
11158
+ "properties": {
11159
+ "core": { "$ref": "#/components/schemas/rate-limit" },
11160
+ "graphql": { "$ref": "#/components/schemas/rate-limit" },
11161
+ "search": { "$ref": "#/components/schemas/rate-limit" },
11162
+ "source_import": { "$ref": "#/components/schemas/rate-limit" },
11163
+ "integration_manifest": {
11164
+ "$ref": "#/components/schemas/rate-limit"
11165
+ },
11166
+ "code_scanning_upload": {
11167
+ "$ref": "#/components/schemas/rate-limit"
11168
+ },
11169
+ "actions_runner_registration": {
11170
+ "$ref": "#/components/schemas/rate-limit"
11171
+ },
11172
+ "scim": { "$ref": "#/components/schemas/rate-limit" }
11173
+ },
11174
+ "required": ["core", "search"]
11175
+ },
11176
+ "rate": { "$ref": "#/components/schemas/rate-limit" }
11177
+ },
11178
+ "required": ["rate", "resources"]
11179
+ },
11284
11180
  "full-repository": {
11285
11181
  "title": "Full Repository",
11286
11182
  "description": "Full Repository",
@@ -14278,6 +14174,17 @@
14278
14174
  },
14279
14175
  "required": ["url", "html_url", "key", "name"]
14280
14176
  },
14177
+ "rate-limit": {
14178
+ "title": "Rate Limit",
14179
+ "type": "object",
14180
+ "properties": {
14181
+ "limit": { "type": "integer" },
14182
+ "remaining": { "type": "integer" },
14183
+ "reset": { "type": "integer" },
14184
+ "used": { "type": "integer" }
14185
+ },
14186
+ "required": ["limit", "remaining", "reset", "used"]
14187
+ },
14281
14188
  "code-of-conduct-simple": {
14282
14189
  "title": "Code Of Conduct Simple",
14283
14190
  "description": "Code of Conduct Simple",
@@ -17732,6 +17639,48 @@
17732
17639
  "watchers": 1
17733
17640
  }
17734
17641
  },
17642
+ "rate-limit-overview": {
17643
+ "value": {
17644
+ "resources": {
17645
+ "core": {
17646
+ "limit": 5000,
17647
+ "remaining": 4999,
17648
+ "reset": 1372700873,
17649
+ "used": 1
17650
+ },
17651
+ "search": {
17652
+ "limit": 30,
17653
+ "remaining": 18,
17654
+ "reset": 1372697452,
17655
+ "used": 12
17656
+ },
17657
+ "graphql": {
17658
+ "limit": 5000,
17659
+ "remaining": 4993,
17660
+ "reset": 1372700389,
17661
+ "used": 7
17662
+ },
17663
+ "integration_manifest": {
17664
+ "limit": 5000,
17665
+ "remaining": 4999,
17666
+ "reset": 1551806725,
17667
+ "used": 1
17668
+ },
17669
+ "code_scanning_upload": {
17670
+ "limit": 500,
17671
+ "remaining": 499,
17672
+ "reset": 1551806725,
17673
+ "used": 1
17674
+ }
17675
+ },
17676
+ "rate": {
17677
+ "limit": 5000,
17678
+ "remaining": 4999,
17679
+ "reset": 1372700873,
17680
+ "used": 1
17681
+ }
17682
+ }
17683
+ },
17735
17684
  "full-repository-default-response": {
17736
17685
  "summary": "Default response",
17737
17686
  "value": {
@@ -24333,6 +24282,18 @@
24333
24282
  "link": {
24334
24283
  "example": "<https://api.github.com/resource?page=2>; rel=\"next\", <https://api.github.com/resource?page=5>; rel=\"last\"",
24335
24284
  "schema": { "type": "string" }
24285
+ },
24286
+ "x-rate-limit-limit": {
24287
+ "example": 5000,
24288
+ "schema": { "type": "integer" }
24289
+ },
24290
+ "x-rate-limit-remaining": {
24291
+ "example": 4999,
24292
+ "schema": { "type": "integer" }
24293
+ },
24294
+ "x-rate-limit-reset": {
24295
+ "example": 1590701888,
24296
+ "schema": { "type": "integer", "format": "timestamp" }
24336
24297
  }
24337
24298
  },
24338
24299
  "responses": {