@octokit/openapi 7.4.0 → 7.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/generated/api.github.com.deref.json +2550 -227
  2. package/generated/api.github.com.json +1233 -110
  3. package/generated/ghes-3.2-diff-to-api.github.com.deref.json +1 -1
  4. package/generated/ghes-3.2-diff-to-api.github.com.json +1 -1
  5. package/generated/ghes-3.2-diff-to-ghes-3.3.deref.json +31 -25
  6. package/generated/ghes-3.2-diff-to-ghes-3.3.json +25 -14
  7. package/generated/ghes-3.2.deref.json +319 -242
  8. package/generated/ghes-3.2.json +558 -26
  9. package/generated/ghes-3.3-anicca-diff-to-ghes-3.4.deref.json +0 -16
  10. package/generated/ghes-3.3-diff-to-ghes-3.4.deref.json +187 -223
  11. package/generated/ghes-3.3-diff-to-ghes-3.4.json +432 -10
  12. package/generated/ghes-3.3.deref.json +319 -244
  13. package/generated/ghes-3.3.json +558 -27
  14. package/generated/ghes-3.4-diff-to-ghes-3.5.deref.json +9 -1
  15. package/generated/ghes-3.4-diff-to-ghes-3.5.json +9 -1
  16. package/generated/ghes-3.4.deref.json +322 -230
  17. package/generated/ghes-3.4.json +566 -29
  18. package/generated/ghes-3.5-anicca-diff-to-ghes-3.6.deref.json +784 -135
  19. package/generated/ghes-3.5-diff-to-api.github.com.deref.json +1 -1
  20. package/generated/ghes-3.5-diff-to-api.github.com.json +1 -1
  21. package/generated/ghes-3.5-diff-to-ghes-3.6.deref.json +46103 -29773
  22. package/generated/ghes-3.5-diff-to-ghes-3.6.json +7990 -3300
  23. package/generated/ghes-3.5.deref.json +406 -242
  24. package/generated/ghes-3.5.json +650 -41
  25. package/generated/ghes-3.6-anicca-diff-to-api.github.com.deref.json +504 -89
  26. package/generated/ghes-3.6-diff-to-api.github.com.deref.json +18076 -6602
  27. package/generated/ghes-3.6-diff-to-api.github.com.json +6698 -4308
  28. package/generated/ghes-3.6.deref.json +1275 -241
  29. package/generated/ghes-3.6.json +839 -41
  30. package/generated/github.ae-anicca-diff-to-api.github.com.deref.json +332 -32
  31. package/generated/github.ae-diff-to-api.github.com.deref.json +24643 -16633
  32. package/generated/github.ae-diff-to-api.github.com.json +1184 -30
  33. package/generated/github.ae.deref.json +1298 -163
  34. package/generated/github.ae.json +878 -35
  35. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "7.4.0",
4
+ "version": "7.7.0",
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": {
@@ -4087,14 +4087,6 @@
4087
4087
  "write"
4088
4088
  ]
4089
4089
  },
4090
- "organization_custom_roles": {
4091
- "type": "string",
4092
- "description": "The level of permission to grant the access token for custom roles management.",
4093
- "enum": [
4094
- "read",
4095
- "write"
4096
- ]
4097
- },
4098
4090
  "deployments": {
4099
4091
  "type": "string",
4100
4092
  "description": "The level of permission to grant the access token for deployments and deployment statuses.",
@@ -5177,14 +5169,6 @@
5177
5169
  "write"
5178
5170
  ]
5179
5171
  },
5180
- "organization_custom_roles": {
5181
- "type": "string",
5182
- "description": "The level of permission to grant the access token for custom roles management.",
5183
- "enum": [
5184
- "read",
5185
- "write"
5186
- ]
5187
- },
5188
5172
  "deployments": {
5189
5173
  "type": "string",
5190
5174
  "description": "The level of permission to grant the access token for deployments and deployment statuses.",
@@ -5849,14 +5833,6 @@
5849
5833
  "write"
5850
5834
  ]
5851
5835
  },
5852
- "organization_custom_roles": {
5853
- "type": "string",
5854
- "description": "The level of permission to grant the access token for custom roles management.",
5855
- "enum": [
5856
- "read",
5857
- "write"
5858
- ]
5859
- },
5860
5836
  "deployments": {
5861
5837
  "type": "string",
5862
5838
  "description": "The level of permission to grant the access token for deployments and deployment statuses.",
@@ -8426,14 +8402,6 @@
8426
8402
  "write"
8427
8403
  ]
8428
8404
  },
8429
- "organization_custom_roles": {
8430
- "type": "string",
8431
- "description": "The level of permission to grant the access token for custom roles management.",
8432
- "enum": [
8433
- "read",
8434
- "write"
8435
- ]
8436
- },
8437
8405
  "deployments": {
8438
8406
  "type": "string",
8439
8407
  "description": "The level of permission to grant the access token for deployments and deployment statuses.",
@@ -9223,14 +9191,6 @@
9223
9191
  "write"
9224
9192
  ]
9225
9193
  },
9226
- "organization_custom_roles": {
9227
- "type": "string",
9228
- "description": "The level of permission to grant the access token for custom roles management.",
9229
- "enum": [
9230
- "read",
9231
- "write"
9232
- ]
9233
- },
9234
9194
  "deployments": {
9235
9195
  "type": "string",
9236
9196
  "description": "The level of permission to grant the access token for deployments and deployment statuses.",
@@ -9884,14 +9844,6 @@
9884
9844
  "write"
9885
9845
  ]
9886
9846
  },
9887
- "organization_custom_roles": {
9888
- "type": "string",
9889
- "description": "The level of permission to grant the access token for custom roles management.",
9890
- "enum": [
9891
- "read",
9892
- "write"
9893
- ]
9894
- },
9895
9847
  "deployments": {
9896
9848
  "type": "string",
9897
9849
  "description": "The level of permission to grant the access token for deployments and deployment statuses.",
@@ -10177,14 +10129,6 @@
10177
10129
  "write"
10178
10130
  ]
10179
10131
  },
10180
- "organization_custom_roles": {
10181
- "type": "string",
10182
- "description": "The level of permission to grant the access token for custom roles management.",
10183
- "enum": [
10184
- "read",
10185
- "write"
10186
- ]
10187
- },
10188
10132
  "deployments": {
10189
10133
  "type": "string",
10190
10134
  "description": "The level of permission to grant the access token for deployments and deployment statuses.",
@@ -13160,14 +13104,6 @@
13160
13104
  "write"
13161
13105
  ]
13162
13106
  },
13163
- "organization_custom_roles": {
13164
- "type": "string",
13165
- "description": "The level of permission to grant the access token for custom roles management.",
13166
- "enum": [
13167
- "read",
13168
- "write"
13169
- ]
13170
- },
13171
13107
  "deployments": {
13172
13108
  "type": "string",
13173
13109
  "description": "The level of permission to grant the access token for deployments and deployment statuses.",
@@ -14011,14 +13947,6 @@
14011
13947
  "write"
14012
13948
  ]
14013
13949
  },
14014
- "organization_custom_roles": {
14015
- "type": "string",
14016
- "description": "The level of permission to grant the access token for custom roles management.",
14017
- "enum": [
14018
- "read",
14019
- "write"
14020
- ]
14021
- },
14022
13950
  "deployments": {
14023
13951
  "type": "string",
14024
13952
  "description": "The level of permission to grant the access token for deployments and deployment statuses.",
@@ -14786,14 +14714,6 @@
14786
14714
  "write"
14787
14715
  ]
14788
14716
  },
14789
- "organization_custom_roles": {
14790
- "type": "string",
14791
- "description": "The level of permission to grant the access token for custom roles management.",
14792
- "enum": [
14793
- "read",
14794
- "write"
14795
- ]
14796
- },
14797
14717
  "deployments": {
14798
14718
  "type": "string",
14799
14719
  "description": "The level of permission to grant the access token for deployments and deployment statuses.",
@@ -15269,14 +15189,6 @@
15269
15189
  "write"
15270
15190
  ]
15271
15191
  },
15272
- "organization_custom_roles": {
15273
- "type": "string",
15274
- "description": "The level of permission to grant the access token for custom roles management.",
15275
- "enum": [
15276
- "read",
15277
- "write"
15278
- ]
15279
- },
15280
15192
  "deployments": {
15281
15193
  "type": "string",
15282
15194
  "description": "The level of permission to grant the access token for deployments and deployment statuses.",
@@ -16574,14 +16486,6 @@
16574
16486
  "write"
16575
16487
  ]
16576
16488
  },
16577
- "organization_custom_roles": {
16578
- "type": "string",
16579
- "description": "The level of permission to grant the access token for custom roles management.",
16580
- "enum": [
16581
- "read",
16582
- "write"
16583
- ]
16584
- },
16585
16489
  "deployments": {
16586
16490
  "type": "string",
16587
16491
  "description": "The level of permission to grant the access token for deployments and deployment statuses.",
@@ -17435,14 +17339,6 @@
17435
17339
  "write"
17436
17340
  ]
17437
17341
  },
17438
- "organization_custom_roles": {
17439
- "type": "string",
17440
- "description": "The level of permission to grant the access token for custom roles management.",
17441
- "enum": [
17442
- "read",
17443
- "write"
17444
- ]
17445
- },
17446
17342
  "deployments": {
17447
17343
  "type": "string",
17448
17344
  "description": "The level of permission to grant the access token for deployments and deployment statuses.",
@@ -18365,14 +18261,6 @@
18365
18261
  "write"
18366
18262
  ]
18367
18263
  },
18368
- "organization_custom_roles": {
18369
- "type": "string",
18370
- "description": "The level of permission to grant the access token for custom roles management.",
18371
- "enum": [
18372
- "read",
18373
- "write"
18374
- ]
18375
- },
18376
18264
  "deployments": {
18377
18265
  "type": "string",
18378
18266
  "description": "The level of permission to grant the access token for deployments and deployment statuses.",
@@ -19045,14 +18933,6 @@
19045
18933
  "write"
19046
18934
  ]
19047
18935
  },
19048
- "organization_custom_roles": {
19049
- "type": "string",
19050
- "description": "The level of permission to grant the access token for custom roles management.",
19051
- "enum": [
19052
- "read",
19053
- "write"
19054
- ]
19055
- },
19056
18936
  "deployments": {
19057
18937
  "type": "string",
19058
18938
  "description": "The level of permission to grant the access token for deployments and deployment statuses.",
@@ -19953,14 +19833,6 @@
19953
19833
  "write"
19954
19834
  ]
19955
19835
  },
19956
- "organization_custom_roles": {
19957
- "type": "string",
19958
- "description": "The level of permission to grant the access token for custom roles management.",
19959
- "enum": [
19960
- "read",
19961
- "write"
19962
- ]
19963
- },
19964
19836
  "deployments": {
19965
19837
  "type": "string",
19966
19838
  "description": "The level of permission to grant the access token for deployments and deployment statuses.",
@@ -20633,14 +20505,6 @@
20633
20505
  "write"
20634
20506
  ]
20635
20507
  },
20636
- "organization_custom_roles": {
20637
- "type": "string",
20638
- "description": "The level of permission to grant the access token for custom roles management.",
20639
- "enum": [
20640
- "read",
20641
- "write"
20642
- ]
20643
- },
20644
20508
  "deployments": {
20645
20509
  "type": "string",
20646
20510
  "description": "The level of permission to grant the access token for deployments and deployment statuses.",
@@ -21419,14 +21283,6 @@
21419
21283
  "write"
21420
21284
  ]
21421
21285
  },
21422
- "organization_custom_roles": {
21423
- "type": "string",
21424
- "description": "The level of permission to grant the access token for custom roles management.",
21425
- "enum": [
21426
- "read",
21427
- "write"
21428
- ]
21429
- },
21430
21286
  "deployments": {
21431
21287
  "type": "string",
21432
21288
  "description": "The level of permission to grant the access token for deployments and deployment statuses.",
@@ -22232,14 +22088,6 @@
22232
22088
  "write"
22233
22089
  ]
22234
22090
  },
22235
- "organization_custom_roles": {
22236
- "type": "string",
22237
- "description": "The level of permission to grant the access token for custom roles management.",
22238
- "enum": [
22239
- "read",
22240
- "write"
22241
- ]
22242
- },
22243
22091
  "deployments": {
22244
22092
  "type": "string",
22245
22093
  "description": "The level of permission to grant the access token for deployments and deployment statuses.",
@@ -60219,7 +60067,7 @@
60219
60067
  "/organizations/{organization_id}/custom_roles": {
60220
60068
  "get": {
60221
60069
  "summary": "List custom repository roles in an organization",
60222
- "description": "List the custom repository roles available in this organization. In order to see custom\nrepository roles in an organization, the authenticated user must be an organization owner.\n\nFor more information on custom repository roles, see \"[Managing custom repository roles for an organization](https://docs.github.com/enterprise-server@3.5/organizations/managing-peoples-access-to-your-organization-with-roles/managing-custom-repository-roles-for-an-organization)\".",
60070
+ "description": "List the custom repository roles available in this organization. In order to see custom\nrepository roles in an organization, the authenticated user must be an organization owner.\n\nTo use this endpoint the authenticated user must be an administrator for the organization or of an repository of the organizaiton and must use an access token with `admin:org repo` scope.\nGitHub Apps must have the `organization_custom_roles:read` organization permission to use this endpoint.\n\nFor more information on custom repository roles, see \"[Managing custom repository roles for an organization](https://docs.github.com/enterprise-server@3.5/organizations/managing-peoples-access-to-your-organization-with-roles/managing-custom-repository-roles-for-an-organization)\".",
60223
60071
  "tags": [
60224
60072
  "orgs"
60225
60073
  ],
@@ -60685,7 +60533,13 @@
60685
60533
  "category": "orgs",
60686
60534
  "subcategory": null
60687
60535
  },
60688
- "x-octokit": {}
60536
+ "x-octokit": {
60537
+ "diff": {
60538
+ "ghes-3.6": {
60539
+ "type": "changed"
60540
+ }
60541
+ }
60542
+ }
60689
60543
  },
60690
60544
  "patch": {
60691
60545
  "summary": "Update an organization",
@@ -61275,7 +61129,13 @@
61275
61129
  "category": "orgs",
61276
61130
  "subcategory": null
61277
61131
  },
61278
- "x-octokit": {}
61132
+ "x-octokit": {
61133
+ "diff": {
61134
+ "ghes-3.6": {
61135
+ "type": "changed"
61136
+ }
61137
+ }
61138
+ }
61279
61139
  }
61280
61140
  },
61281
61141
  "/orgs/{org}/actions/cache/usage": {
@@ -83061,14 +82921,6 @@
83061
82921
  "write"
83062
82922
  ]
83063
82923
  },
83064
- "organization_custom_roles": {
83065
- "type": "string",
83066
- "description": "The level of permission to grant the access token for custom roles management.",
83067
- "enum": [
83068
- "read",
83069
- "write"
83070
- ]
83071
- },
83072
82924
  "deployments": {
83073
82925
  "type": "string",
83074
82926
  "description": "The level of permission to grant the access token for deployments and deployment statuses.",
@@ -83872,14 +83724,6 @@
83872
83724
  "write"
83873
83725
  ]
83874
83726
  },
83875
- "organization_custom_roles": {
83876
- "type": "string",
83877
- "description": "The level of permission to grant the access token for custom roles management.",
83878
- "enum": [
83879
- "read",
83880
- "write"
83881
- ]
83882
- },
83883
83727
  "deployments": {
83884
83728
  "type": "string",
83885
83729
  "description": "The level of permission to grant the access token for deployments and deployment statuses.",
@@ -100533,8 +100377,8 @@
100533
100377
  "example": "2017-08-17T12:37:15Z"
100534
100378
  },
100535
100379
  "organization": {
100536
- "title": "Organization Full",
100537
- "description": "Organization Full",
100380
+ "title": "Team Organization",
100381
+ "description": "Team Organization",
100538
100382
  "type": "object",
100539
100383
  "properties": {
100540
100384
  "login": {
@@ -100969,7 +100813,13 @@
100969
100813
  "category": "teams",
100970
100814
  "subcategory": null
100971
100815
  },
100972
- "x-octokit": {}
100816
+ "x-octokit": {
100817
+ "diff": {
100818
+ "ghes-3.6": {
100819
+ "type": "changed"
100820
+ }
100821
+ }
100822
+ }
100973
100823
  }
100974
100824
  },
100975
100825
  "/orgs/{org}/teams/{team_slug}": {
@@ -101169,8 +101019,8 @@
101169
101019
  "example": "2017-08-17T12:37:15Z"
101170
101020
  },
101171
101021
  "organization": {
101172
- "title": "Organization Full",
101173
- "description": "Organization Full",
101022
+ "title": "Team Organization",
101023
+ "description": "Team Organization",
101174
101024
  "type": "object",
101175
101025
  "properties": {
101176
101026
  "login": {
@@ -101536,7 +101386,13 @@
101536
101386
  "category": "teams",
101537
101387
  "subcategory": null
101538
101388
  },
101539
- "x-octokit": {}
101389
+ "x-octokit": {
101390
+ "diff": {
101391
+ "ghes-3.6": {
101392
+ "type": "changed"
101393
+ }
101394
+ }
101395
+ }
101540
101396
  },
101541
101397
  "patch": {
101542
101398
  "summary": "Update a team",
@@ -101786,8 +101642,8 @@
101786
101642
  "example": "2017-08-17T12:37:15Z"
101787
101643
  },
101788
101644
  "organization": {
101789
- "title": "Organization Full",
101790
- "description": "Organization Full",
101645
+ "title": "Team Organization",
101646
+ "description": "Team Organization",
101791
101647
  "type": "object",
101792
101648
  "properties": {
101793
101649
  "login": {
@@ -102127,7 +101983,13 @@
102127
101983
  "category": "teams",
102128
101984
  "subcategory": null
102129
101985
  },
102130
- "x-octokit": {}
101986
+ "x-octokit": {
101987
+ "diff": {
101988
+ "ghes-3.6": {
101989
+ "type": "changed"
101990
+ }
101991
+ }
101992
+ }
102131
101993
  },
102132
101994
  "delete": {
102133
101995
  "summary": "Delete a team",
@@ -127711,7 +127573,6 @@
127711
127573
  "node_id": "MDc6TGljZW5zZW1pdA==",
127712
127574
  "html_url": "https://github.com/licenses/mit"
127713
127575
  },
127714
- "language": null,
127715
127576
  "forks_count": 9,
127716
127577
  "forks": 9,
127717
127578
  "stargazers_count": 80,
@@ -160083,6 +159944,111 @@
160083
159944
  "protected",
160084
159945
  "protection_url"
160085
159946
  ]
159947
+ },
159948
+ "examples": {
159949
+ "default": {
159950
+ "value": {
159951
+ "name": "main",
159952
+ "commit": {
159953
+ "sha": "7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
159954
+ "node_id": "MDY6Q29tbWl0MTI5NjI2OTo3ZmQxYTYwYjAxZjkxYjMxNGY1OTk1NWE0ZTRkNGU4MGQ4ZWRmMTFk",
159955
+ "commit": {
159956
+ "author": {
159957
+ "name": "The Octocat",
159958
+ "email": "octocat@nowhere.com",
159959
+ "date": "2012-03-06T23:06:50Z"
159960
+ },
159961
+ "committer": {
159962
+ "name": "The Octocat",
159963
+ "email": "octocat@nowhere.com",
159964
+ "date": "2012-03-06T23:06:50Z"
159965
+ },
159966
+ "message": "Merge pull request #6 from Spaceghost/patch-1\n\nNew line at end of file.",
159967
+ "tree": {
159968
+ "sha": "b4eecafa9be2f2006ce1b709d6857b07069b4608",
159969
+ "url": "https://api.github.com/repos/octocat/Hello-World/git/trees/b4eecafa9be2f2006ce1b709d6857b07069b4608"
159970
+ },
159971
+ "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
159972
+ "comment_count": 77,
159973
+ "verification": {
159974
+ "verified": false,
159975
+ "reason": "unsigned",
159976
+ "signature": null,
159977
+ "payload": null
159978
+ }
159979
+ },
159980
+ "url": "https://api.github.com/repos/octocat/Hello-World/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
159981
+ "html_url": "https://github.com/octocat/Hello-World/commit/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
159982
+ "comments_url": "https://api.github.com/repos/octocat/Hello-World/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d/comments",
159983
+ "author": {
159984
+ "login": "octocat",
159985
+ "id": 583231,
159986
+ "node_id": "MDQ6VXNlcjU4MzIzMQ==",
159987
+ "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4",
159988
+ "gravatar_id": "",
159989
+ "url": "https://api.github.com/users/octocat",
159990
+ "html_url": "https://github.com/octocat",
159991
+ "followers_url": "https://api.github.com/users/octocat/followers",
159992
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
159993
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
159994
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
159995
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
159996
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
159997
+ "repos_url": "https://api.github.com/users/octocat/repos",
159998
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
159999
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
160000
+ "type": "User",
160001
+ "site_admin": false
160002
+ },
160003
+ "committer": {
160004
+ "login": "octocat",
160005
+ "id": 583231,
160006
+ "node_id": "MDQ6VXNlcjU4MzIzMQ==",
160007
+ "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4",
160008
+ "gravatar_id": "",
160009
+ "url": "https://api.github.com/users/octocat",
160010
+ "html_url": "https://github.com/octocat",
160011
+ "followers_url": "https://api.github.com/users/octocat/followers",
160012
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
160013
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
160014
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
160015
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
160016
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
160017
+ "repos_url": "https://api.github.com/users/octocat/repos",
160018
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
160019
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
160020
+ "type": "User",
160021
+ "site_admin": false
160022
+ },
160023
+ "parents": [
160024
+ {
160025
+ "sha": "553c2077f0edc3d5dc5d17262f6aa498e69d6f8e",
160026
+ "url": "https://api.github.com/repos/octocat/Hello-World/commits/553c2077f0edc3d5dc5d17262f6aa498e69d6f8e",
160027
+ "html_url": "https://github.com/octocat/Hello-World/commit/553c2077f0edc3d5dc5d17262f6aa498e69d6f8e"
160028
+ },
160029
+ {
160030
+ "sha": "762941318ee16e59dabbacb1b4049eec22f0d303",
160031
+ "url": "https://api.github.com/repos/octocat/Hello-World/commits/762941318ee16e59dabbacb1b4049eec22f0d303",
160032
+ "html_url": "https://github.com/octocat/Hello-World/commit/762941318ee16e59dabbacb1b4049eec22f0d303"
160033
+ }
160034
+ ]
160035
+ },
160036
+ "_links": {
160037
+ "self": "https://api.github.com/repos/octocat/Hello-World/branches/main",
160038
+ "html": "https://github.com/octocat/Hello-World/tree/main"
160039
+ },
160040
+ "protected": false,
160041
+ "protection": {
160042
+ "enabled": false,
160043
+ "required_status_checks": {
160044
+ "enforcement_level": "off",
160045
+ "contexts": [],
160046
+ "checks": []
160047
+ }
160048
+ },
160049
+ "protection_url": "https://api.github.com/repos/octocat/Hello-World/branches/main/protection"
160050
+ }
160051
+ }
160086
160052
  }
160087
160053
  }
160088
160054
  }
@@ -163856,6 +163822,73 @@
163856
163822
  "required": [
163857
163823
  "url"
163858
163824
  ]
163825
+ },
163826
+ "examples": {
163827
+ "default": {
163828
+ "value": {
163829
+ "url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection",
163830
+ "required_status_checks": {
163831
+ "url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/required_status_checks",
163832
+ "strict": true,
163833
+ "contexts": [
163834
+ "continuous-integration/travis-ci"
163835
+ ],
163836
+ "contexts_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/required_status_checks/contexts",
163837
+ "checks": [
163838
+ {
163839
+ "context": "continuous-integration/travis-ci",
163840
+ "app_id": null
163841
+ }
163842
+ ]
163843
+ },
163844
+ "restrictions": {
163845
+ "url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/restrictions",
163846
+ "users_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/restrictions/users",
163847
+ "teams_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/restrictions/teams",
163848
+ "apps_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/restrictions/apps",
163849
+ "users": [],
163850
+ "teams": [],
163851
+ "apps": []
163852
+ },
163853
+ "required_pull_request_reviews": {
163854
+ "url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/required_pull_request_reviews",
163855
+ "dismiss_stale_reviews": true,
163856
+ "require_code_owner_reviews": true,
163857
+ "required_approving_review_count": 2,
163858
+ "dismissal_restrictions": {
163859
+ "url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/dismissal_restrictions",
163860
+ "users_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/dismissal_restrictions/users",
163861
+ "teams_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/dismissal_restrictions/teams",
163862
+ "users": [],
163863
+ "teams": [],
163864
+ "apps": []
163865
+ }
163866
+ },
163867
+ "required_signatures": {
163868
+ "url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/required_signatures",
163869
+ "enabled": false
163870
+ },
163871
+ "enforce_admins": {
163872
+ "url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/enforce_admins",
163873
+ "enabled": true
163874
+ },
163875
+ "required_linear_history": {
163876
+ "enabled": true
163877
+ },
163878
+ "allow_force_pushes": {
163879
+ "enabled": true
163880
+ },
163881
+ "allow_deletions": {
163882
+ "enabled": true
163883
+ },
163884
+ "block_creations": {
163885
+ "enabled": true
163886
+ },
163887
+ "required_conversation_resolution": {
163888
+ "enabled": true
163889
+ }
163890
+ }
163891
+ }
163859
163892
  }
163860
163893
  }
163861
163894
  }
@@ -168059,7 +168092,7 @@
168059
168092
  "properties": {
168060
168093
  "contexts": {
168061
168094
  "type": "array",
168062
- "description": "contexts parameter",
168095
+ "description": "The name of the status checks",
168063
168096
  "items": {
168064
168097
  "type": "string"
168065
168098
  }
@@ -168075,6 +168108,17 @@
168075
168108
  }
168076
168109
  }
168077
168110
  ]
168111
+ },
168112
+ "examples": {
168113
+ "default": {
168114
+ "summary": "Example adding status checks to a branch protection rule",
168115
+ "value": {
168116
+ "contexts": [
168117
+ "continuous-integration/travis-ci",
168118
+ "continuous-integration/jenkins"
168119
+ ]
168120
+ }
168121
+ }
168078
168122
  }
168079
168123
  }
168080
168124
  }
@@ -168284,7 +168328,7 @@
168284
168328
  "properties": {
168285
168329
  "contexts": {
168286
168330
  "type": "array",
168287
- "description": "contexts parameter",
168331
+ "description": "The name of the status checks",
168288
168332
  "items": {
168289
168333
  "type": "string"
168290
168334
  }
@@ -168300,6 +168344,16 @@
168300
168344
  }
168301
168345
  }
168302
168346
  ]
168347
+ },
168348
+ "examples": {
168349
+ "default": {
168350
+ "summary": "Example updating status checks for a branch protection rule",
168351
+ "value": {
168352
+ "contexts": [
168353
+ "continuous-integration/travis-ci"
168354
+ ]
168355
+ }
168356
+ }
168303
168357
  }
168304
168358
  }
168305
168359
  }
@@ -168481,7 +168535,7 @@
168481
168535
  "properties": {
168482
168536
  "contexts": {
168483
168537
  "type": "array",
168484
- "description": "contexts parameter",
168538
+ "description": "The name of the status checks",
168485
168539
  "items": {
168486
168540
  "type": "string"
168487
168541
  }
@@ -168497,6 +168551,16 @@
168497
168551
  }
168498
168552
  }
168499
168553
  ]
168554
+ },
168555
+ "examples": {
168556
+ "default": {
168557
+ "summary": "Example removing status checks from a branch protection rule",
168558
+ "value": {
168559
+ "contexts": [
168560
+ "continuous-integration/travis-ci"
168561
+ ]
168562
+ }
168563
+ }
168500
168564
  }
168501
168565
  }
168502
168566
  }
@@ -171202,7 +171266,7 @@
171202
171266
  "properties": {
171203
171267
  "teams": {
171204
171268
  "type": "array",
171205
- "description": "teams parameter",
171269
+ "description": "The slug values for teams",
171206
171270
  "items": {
171207
171271
  "type": "string"
171208
171272
  }
@@ -171218,6 +171282,16 @@
171218
171282
  }
171219
171283
  }
171220
171284
  ]
171285
+ },
171286
+ "examples": {
171287
+ "default": {
171288
+ "summary": "Example adding a team in a branch protection rule",
171289
+ "value": {
171290
+ "teams": [
171291
+ "justice-league"
171292
+ ]
171293
+ }
171294
+ }
171221
171295
  }
171222
171296
  }
171223
171297
  }
@@ -171548,7 +171622,7 @@
171548
171622
  "properties": {
171549
171623
  "teams": {
171550
171624
  "type": "array",
171551
- "description": "teams parameter",
171625
+ "description": "The slug values for teams",
171552
171626
  "items": {
171553
171627
  "type": "string"
171554
171628
  }
@@ -171559,11 +171633,21 @@
171559
171633
  ],
171560
171634
  "example": {
171561
171635
  "teams": [
171562
- "my-team"
171636
+ "justice-league"
171563
171637
  ]
171564
171638
  }
171565
171639
  }
171566
171640
  ]
171641
+ },
171642
+ "examples": {
171643
+ "default": {
171644
+ "summary": "Example replacing a team in a branch protection rule",
171645
+ "value": {
171646
+ "teams": [
171647
+ "justice-league"
171648
+ ]
171649
+ }
171650
+ }
171567
171651
  }
171568
171652
  }
171569
171653
  }
@@ -171893,7 +171977,7 @@
171893
171977
  "properties": {
171894
171978
  "teams": {
171895
171979
  "type": "array",
171896
- "description": "teams parameter",
171980
+ "description": "The slug values for teams",
171897
171981
  "items": {
171898
171982
  "type": "string"
171899
171983
  }
@@ -171909,6 +171993,16 @@
171909
171993
  }
171910
171994
  }
171911
171995
  ]
171996
+ },
171997
+ "examples": {
171998
+ "default": {
171999
+ "summary": "Example removing a team in a branch protection rule",
172000
+ "value": {
172001
+ "teams": [
172002
+ "justice-league"
172003
+ ]
172004
+ }
172005
+ }
171912
172006
  }
171913
172007
  }
171914
172008
  }
@@ -172473,7 +172567,7 @@
172473
172567
  "properties": {
172474
172568
  "users": {
172475
172569
  "type": "array",
172476
- "description": "users parameter",
172570
+ "description": "The username for users",
172477
172571
  "items": {
172478
172572
  "type": "string"
172479
172573
  }
@@ -172489,6 +172583,16 @@
172489
172583
  }
172490
172584
  }
172491
172585
  ]
172586
+ },
172587
+ "examples": {
172588
+ "default": {
172589
+ "summary": "Example adding a user in a branch protection rule",
172590
+ "value": {
172591
+ "users": [
172592
+ "octocat"
172593
+ ]
172594
+ }
172595
+ }
172492
172596
  }
172493
172597
  }
172494
172598
  }
@@ -172780,7 +172884,7 @@
172780
172884
  "properties": {
172781
172885
  "users": {
172782
172886
  "type": "array",
172783
- "description": "users parameter",
172887
+ "description": "The username for users",
172784
172888
  "items": {
172785
172889
  "type": "string"
172786
172890
  }
@@ -172796,6 +172900,16 @@
172796
172900
  }
172797
172901
  }
172798
172902
  ]
172903
+ },
172904
+ "examples": {
172905
+ "default": {
172906
+ "summary": "Example replacing a user in a branch protection rule",
172907
+ "value": {
172908
+ "users": [
172909
+ "octocat"
172910
+ ]
172911
+ }
172912
+ }
172799
172913
  }
172800
172914
  }
172801
172915
  }
@@ -173086,7 +173200,7 @@
173086
173200
  "properties": {
173087
173201
  "users": {
173088
173202
  "type": "array",
173089
- "description": "users parameter",
173203
+ "description": "The username for users",
173090
173204
  "items": {
173091
173205
  "type": "string"
173092
173206
  }
@@ -173102,6 +173216,16 @@
173102
173216
  }
173103
173217
  }
173104
173218
  ]
173219
+ },
173220
+ "examples": {
173221
+ "default": {
173222
+ "summary": "Example removing a user in a branch protection rule",
173223
+ "value": {
173224
+ "users": [
173225
+ "octocat"
173226
+ ]
173227
+ }
173228
+ }
173105
173229
  }
173106
173230
  }
173107
173231
  }
@@ -192472,6 +192596,7 @@
192472
192596
  "ref": "refs/heads/main",
192473
192597
  "analysis_key": ".github/workflows/codeql-analysis.yml:CodeQL-Build",
192474
192598
  "environment": "",
192599
+ "category": ".github/workflows/codeql-analysis.yml:CodeQL-Build",
192475
192600
  "state": "open",
192476
192601
  "fixed_at": null,
192477
192602
  "commit_sha": "39406e42cb832f683daa691dd652a8dc36ee8930",
@@ -193268,7 +193393,7 @@
193268
193393
  },
193269
193394
  "delete": {
193270
193395
  "summary": "Delete a code scanning analysis from a repository",
193271
- "description": "Deletes a specified code scanning analysis from a repository. For\nprivate repositories, you must use an access token with the `repo` scope. For public repositories,\nyou must use an access token with `public_repo` scope.\nGitHub Apps must have the `security_events` write permission to use this endpoint.\n\nYou can delete one analysis at a time.\nTo delete a series of analyses, start with the most recent analysis and work backwards.\nConceptually, the process is similar to the undo function in a text editor.\n\nWhen you list the analyses for a repository,\none or more will be identified as deletable in the response:\n\n```\n\"deletable\": true\n```\n\nAn analysis is deletable when it's the most recent in a set of analyses.\nTypically, a repository will have multiple sets of analyses\nfor each enabled code scanning tool,\nwhere a set is determined by a unique combination of analysis values:\n\n* `ref`\n* `tool`\n* `analysis_key`\n* `environment`\n\nIf you attempt to delete an analysis that is not the most recent in a set,\nyou'll get a 400 response with the message:\n\n```\nAnalysis specified is not deletable.\n```\n\nThe response from a successful `DELETE` operation provides you with\ntwo alternative URLs for deleting the next analysis in the set:\n`next_analysis_url` and `confirm_delete_url`.\nUse the `next_analysis_url` URL if you want to avoid accidentally deleting the final analysis\nin a set. This is a useful option if you want to preserve at least one analysis\nfor the specified tool in your repository.\nUse the `confirm_delete_url` URL if you are content to remove all analyses for a tool.\nWhen you delete the last analysis in a set, the value of `next_analysis_url` and `confirm_delete_url`\nin the 200 response is `null`.\n\nAs an example of the deletion process,\nlet's imagine that you added a workflow that configured a particular code scanning tool\nto analyze the code in a repository. This tool has added 15 analyses:\n10 on the default branch, and another 5 on a topic branch.\nYou therefore have two separate sets of analyses for this tool.\nYou've now decided that you want to remove all of the analyses for the tool.\nTo do this you must make 15 separate deletion requests.\nTo start, you must find an analysis that's identified as deletable.\nEach set of analyses always has one that's identified as deletable.\nHaving found the deletable analysis for one of the two sets,\ndelete this analysis and then continue deleting the next analysis in the set until they're all deleted.\nThen repeat the process for the second set.\nThe procedure therefore consists of a nested loop:\n\n**Outer loop**:\n* List the analyses for the repository, filtered by tool.\n* Parse this list to find a deletable analysis. If found:\n\n **Inner loop**:\n * Delete the identified analysis.\n * Parse the response for the value of `confirm_delete_url` and, if found, use this in the next iteration.\n\nThe above process assumes that you want to remove all trace of the tool's analyses from the GitHub user interface, for the specified repository, and it therefore uses the `confirm_delete_url` value. Alternatively, you could use the `next_analysis_url` value, which would leave the last analysis in each set undeleted to avoid removing a tool's analysis entirely.",
193396
+ "description": "Deletes a specified code scanning analysis from a repository. For\nprivate repositories, you must use an access token with the `repo` scope. For public repositories,\nyou must use an access token with `public_repo` scope.\nGitHub Apps must have the `security_events` write permission to use this endpoint.\n\nYou can delete one analysis at a time.\nTo delete a series of analyses, start with the most recent analysis and work backwards.\nConceptually, the process is similar to the undo function in a text editor.\n\nWhen you list the analyses for a repository,\none or more will be identified as deletable in the response:\n\n```\n\"deletable\": true\n```\n\nAn analysis is deletable when it's the most recent in a set of analyses.\nTypically, a repository will have multiple sets of analyses\nfor each enabled code scanning tool,\nwhere a set is determined by a unique combination of analysis values:\n\n* `ref`\n* `tool`\n* `category`\n\nIf you attempt to delete an analysis that is not the most recent in a set,\nyou'll get a 400 response with the message:\n\n```\nAnalysis specified is not deletable.\n```\n\nThe response from a successful `DELETE` operation provides you with\ntwo alternative URLs for deleting the next analysis in the set:\n`next_analysis_url` and `confirm_delete_url`.\nUse the `next_analysis_url` URL if you want to avoid accidentally deleting the final analysis\nin a set. This is a useful option if you want to preserve at least one analysis\nfor the specified tool in your repository.\nUse the `confirm_delete_url` URL if you are content to remove all analyses for a tool.\nWhen you delete the last analysis in a set, the value of `next_analysis_url` and `confirm_delete_url`\nin the 200 response is `null`.\n\nAs an example of the deletion process,\nlet's imagine that you added a workflow that configured a particular code scanning tool\nto analyze the code in a repository. This tool has added 15 analyses:\n10 on the default branch, and another 5 on a topic branch.\nYou therefore have two separate sets of analyses for this tool.\nYou've now decided that you want to remove all of the analyses for the tool.\nTo do this you must make 15 separate deletion requests.\nTo start, you must find an analysis that's identified as deletable.\nEach set of analyses always has one that's identified as deletable.\nHaving found the deletable analysis for one of the two sets,\ndelete this analysis and then continue deleting the next analysis in the set until they're all deleted.\nThen repeat the process for the second set.\nThe procedure therefore consists of a nested loop:\n\n**Outer loop**:\n* List the analyses for the repository, filtered by tool.\n* Parse this list to find a deletable analysis. If found:\n\n **Inner loop**:\n * Delete the identified analysis.\n * Parse the response for the value of `confirm_delete_url` and, if found, use this in the next iteration.\n\nThe above process assumes that you want to remove all trace of the tool's analyses from the GitHub user interface, for the specified repository, and it therefore uses the `confirm_delete_url` value. Alternatively, you could use the `next_analysis_url` value, which would leave the last analysis in each set undeleted to avoid removing a tool's analysis entirely.",
193272
193397
  "operationId": "code-scanning/delete-analysis",
193273
193398
  "tags": [
193274
193399
  "code-scanning"
@@ -214232,7 +214357,7 @@
214232
214357
  "/repos/{owner}/{repo}/contents/{path}": {
214233
214358
  "get": {
214234
214359
  "summary": "Get repository content",
214235
- "description": "Gets the contents of a file or directory in a repository. Specify the file path or directory in `:path`. If you omit\n`:path`, you will receive the contents of the repository's root directory. See the description below regarding what the API response includes for directories. \n\nFiles and symlinks support [a custom media type](https://docs.github.com/enterprise-server@3.5/rest/reference/repos#custom-media-types) for\nretrieving the raw content or rendered HTML (when supported). All content types support [a custom media\ntype](https://docs.github.com/enterprise-server@3.5/rest/reference/repos#custom-media-types) to ensure the content is returned in a consistent\nobject format.\n\n**Note**:\n* To get a repository's contents recursively, you can [recursively get the tree](https://docs.github.com/enterprise-server@3.5/rest/reference/git#trees).\n* This API has an upper limit of 1,000 files for a directory. If you need to retrieve more files, use the [Git Trees\nAPI](https://docs.github.com/enterprise-server@3.5/rest/reference/git#get-a-tree).\n* This API supports files up to 1 megabyte in size.\n\n#### If the content is a directory\nThe response will be an array of objects, one object for each item in the directory.\nWhen listing the contents of a directory, submodules have their \"type\" specified as \"file\". Logically, the value\n_should_ be \"submodule\". This behavior exists in API v3 [for backwards compatibility purposes](https://git.io/v1YCW).\nIn the next major version of the API, the type will be returned as \"submodule\".\n\n#### If the content is a symlink \nIf the requested `:path` points to a symlink, and the symlink's target is a normal file in the repository, then the\nAPI responds with the content of the file (in the format shown in the example. Otherwise, the API responds with an object \ndescribing the symlink itself.\n\n#### If the content is a submodule\nThe `submodule_git_url` identifies the location of the submodule repository, and the `sha` identifies a specific\ncommit within the submodule repository. Git uses the given URL when cloning the submodule repository, and checks out\nthe submodule at that specific commit.\n\nIf the submodule repository is not hosted on github.com, the Git URLs (`git_url` and `_links[\"git\"]`) and the\ngithub.com URLs (`html_url` and `_links[\"html\"]`) will have null values.",
214360
+ "description": "Gets the contents of a file or directory in a repository. Specify the file path or directory in `:path`. If you omit\n`:path`, you will receive the contents of the repository's root directory. See the description below regarding what the API response includes for directories. \n\nFiles and symlinks support [a custom media type](https://docs.github.com/enterprise-server@3.5/rest/reference/repos#custom-media-types) for\nretrieving the raw content or rendered HTML (when supported). All content types support [a custom media\ntype](https://docs.github.com/enterprise-server@3.5/rest/reference/repos#custom-media-types) to ensure the content is returned in a consistent\nobject format.\n\n**Notes**:\n* To get a repository's contents recursively, you can [recursively get the tree](https://docs.github.com/enterprise-server@3.5/rest/reference/git#trees).\n* This API has an upper limit of 1,000 files for a directory. If you need to retrieve more files, use the [Git Trees\nAPI](https://docs.github.com/enterprise-server@3.5/rest/reference/git#get-a-tree).\n * Download URLs expire and are meant to be used just once. To ensure the download URL does not expire, please use the contents API to obtain a fresh download URL for each download. \n* This API supports files up to 1 megabyte in size.\n\n#### If the content is a directory\nThe response will be an array of objects, one object for each item in the directory.\nWhen listing the contents of a directory, submodules have their \"type\" specified as \"file\". Logically, the value\n_should_ be \"submodule\". This behavior exists in API v3 [for backwards compatibility purposes](https://git.io/v1YCW).\nIn the next major version of the API, the type will be returned as \"submodule\".\n\n#### If the content is a symlink \nIf the requested `:path` points to a symlink, and the symlink's target is a normal file in the repository, then the\nAPI responds with the content of the file (in the format shown in the example. Otherwise, the API responds with an object \ndescribing the symlink itself.\n\n#### If the content is a submodule\nThe `submodule_git_url` identifies the location of the submodule repository, and the `sha` identifies a specific\ncommit within the submodule repository. Git uses the given URL when cloning the submodule repository, and checks out\nthe submodule at that specific commit.\n\nIf the submodule repository is not hosted on github.com, the Git URLs (`git_url` and `_links[\"git\"]`) and the\ngithub.com URLs (`html_url` and `_links[\"html\"]`) will have null values.",
214236
214361
  "tags": [
214237
214362
  "repos"
214238
214363
  ],
@@ -232910,7 +233035,6 @@
232910
233035
  "node_id": "MDc6TGljZW5zZW1pdA==",
232911
233036
  "html_url": "https://github.com/licenses/mit"
232912
233037
  },
232913
- "language": null,
232914
233038
  "forks_count": 9,
232915
233039
  "forks": 9,
232916
233040
  "stargazers_count": 80,
@@ -240022,14 +240146,6 @@
240022
240146
  "write"
240023
240147
  ]
240024
240148
  },
240025
- "organization_custom_roles": {
240026
- "type": "string",
240027
- "description": "The level of permission to grant the access token for custom roles management.",
240028
- "enum": [
240029
- "read",
240030
- "write"
240031
- ]
240032
- },
240033
240149
  "deployments": {
240034
240150
  "type": "string",
240035
240151
  "description": "The level of permission to grant the access token for deployments and deployment statuses.",
@@ -242794,6 +242910,14 @@
242794
242910
  ]
242795
242911
  }
242796
242912
  }
242913
+ },
242914
+ "examples": {
242915
+ "default": {
242916
+ "summary": "Example request body",
242917
+ "value": {
242918
+ "permissions": "write"
242919
+ }
242920
+ }
242797
242921
  }
242798
242922
  }
242799
242923
  }
@@ -247616,7 +247740,8 @@
247616
247740
  "type": "User",
247617
247741
  "site_admin": false
247618
247742
  },
247619
- "author_association": "COLLABORATOR"
247743
+ "author_association": "COLLABORATOR",
247744
+ "state_reason": "completed"
247620
247745
  }
247621
247746
  ]
247622
247747
  }
@@ -250391,7 +250516,8 @@
250391
250516
  "type": "User",
250392
250517
  "site_admin": false
250393
250518
  },
250394
- "author_association": "COLLABORATOR"
250519
+ "author_association": "COLLABORATOR",
250520
+ "state_reason": "completed"
250395
250521
  }
250396
250522
  }
250397
250523
  }
@@ -257362,7 +257488,8 @@
257362
257488
  "closed_at": null,
257363
257489
  "created_at": "2011-04-22T13:33:48Z",
257364
257490
  "updated_at": "2011-04-22T13:33:48Z",
257365
- "author_association": "COLLABORATOR"
257491
+ "author_association": "COLLABORATOR",
257492
+ "state_reason": "completed"
257366
257493
  }
257367
257494
  }
257368
257495
  ]
@@ -261233,7 +261360,8 @@
261233
261360
  "closed_at": null,
261234
261361
  "created_at": "2011-04-22T13:33:48Z",
261235
261362
  "updated_at": "2011-04-22T13:33:48Z",
261236
- "author_association": "COLLABORATOR"
261363
+ "author_association": "COLLABORATOR",
261364
+ "state_reason": "completed"
261237
261365
  }
261238
261366
  }
261239
261367
  }
@@ -263869,7 +263997,8 @@
263869
263997
  "type": "User",
263870
263998
  "site_admin": false
263871
263999
  },
263872
- "author_association": "COLLABORATOR"
264000
+ "author_association": "COLLABORATOR",
264001
+ "state_reason": "completed"
263873
264002
  }
263874
264003
  }
263875
264004
  }
@@ -264049,6 +264178,12 @@
264049
264178
  "closed"
264050
264179
  ]
264051
264180
  },
264181
+ "state_reason": {
264182
+ "type": "string",
264183
+ "nullable": true,
264184
+ "description": "The reason for the current state",
264185
+ "example": "not_planned"
264186
+ },
264052
264187
  "milestone": {
264053
264188
  "oneOf": [
264054
264189
  {
@@ -266612,7 +266747,8 @@
266612
266747
  "type": "User",
266613
266748
  "site_admin": false
266614
266749
  },
266615
- "author_association": "COLLABORATOR"
266750
+ "author_association": "COLLABORATOR",
266751
+ "state_reason": "completed"
266616
266752
  }
266617
266753
  }
266618
266754
  }
@@ -269392,7 +269528,8 @@
269392
269528
  "type": "User",
269393
269529
  "site_admin": false
269394
269530
  },
269395
- "author_association": "COLLABORATOR"
269531
+ "author_association": "COLLABORATOR",
269532
+ "state_reason": "completed"
269396
269533
  }
269397
269534
  }
269398
269535
  }
@@ -313544,7 +313681,13 @@
313544
313681
  "category": "pulls",
313545
313682
  "subcategory": null
313546
313683
  },
313547
- "x-octokit": {}
313684
+ "x-octokit": {
313685
+ "diff": {
313686
+ "ghes-3.6": {
313687
+ "type": "changed"
313688
+ }
313689
+ }
313690
+ }
313548
313691
  }
313549
313692
  },
313550
313693
  "/repos/{owner}/{repo}/pulls/comments": {
@@ -319531,7 +319674,13 @@
319531
319674
  "category": "pulls",
319532
319675
  "subcategory": null
319533
319676
  },
319534
- "x-octokit": {}
319677
+ "x-octokit": {
319678
+ "diff": {
319679
+ "ghes-3.6": {
319680
+ "type": "changed"
319681
+ }
319682
+ }
319683
+ }
319535
319684
  },
319536
319685
  "patch": {
319537
319686
  "summary": "Update a pull request",
@@ -322938,7 +323087,13 @@
322938
323087
  "category": "pulls",
322939
323088
  "subcategory": null
322940
323089
  },
322941
- "x-octokit": {}
323090
+ "x-octokit": {
323091
+ "diff": {
323092
+ "ghes-3.6": {
323093
+ "type": "changed"
323094
+ }
323095
+ }
323096
+ }
322942
323097
  }
322943
323098
  },
322944
323099
  "/repos/{owner}/{repo}/pulls/{pull_number}/comments": {
@@ -363480,7 +363635,8 @@
363480
363635
  "body": "...",
363481
363636
  "score": 1,
363482
363637
  "locked": true,
363483
- "author_association": "COLLABORATOR"
363638
+ "author_association": "COLLABORATOR",
363639
+ "state_reason": "completed"
363484
363640
  }
363485
363641
  ]
363486
363642
  }
@@ -364873,7 +365029,13 @@
364873
365029
  "category": "search",
364874
365030
  "subcategory": null
364875
365031
  },
364876
- "x-octokit": {}
365032
+ "x-octokit": {
365033
+ "diff": {
365034
+ "ghes-3.6": {
365035
+ "type": "changed"
365036
+ }
365037
+ }
365038
+ }
364877
365039
  }
364878
365040
  },
364879
365041
  "/search/topics": {
@@ -367261,8 +367423,8 @@
367261
367423
  "example": "2017-08-17T12:37:15Z"
367262
367424
  },
367263
367425
  "organization": {
367264
- "title": "Organization Full",
367265
- "description": "Organization Full",
367426
+ "title": "Team Organization",
367427
+ "description": "Team Organization",
367266
367428
  "type": "object",
367267
367429
  "properties": {
367268
367430
  "login": {
@@ -367631,7 +367793,13 @@
367631
367793
  "subcategory": null
367632
367794
  },
367633
367795
  "deprecated": true,
367634
- "x-octokit": {}
367796
+ "x-octokit": {
367797
+ "diff": {
367798
+ "ghes-3.6": {
367799
+ "type": "changed"
367800
+ }
367801
+ }
367802
+ }
367635
367803
  },
367636
367804
  "patch": {
367637
367805
  "summary": "Update a team (Legacy)",
@@ -367875,8 +368043,8 @@
367875
368043
  "example": "2017-08-17T12:37:15Z"
367876
368044
  },
367877
368045
  "organization": {
367878
- "title": "Organization Full",
367879
- "description": "Organization Full",
368046
+ "title": "Team Organization",
368047
+ "description": "Team Organization",
367880
368048
  "type": "object",
367881
368049
  "properties": {
367882
368050
  "login": {
@@ -368373,8 +368541,8 @@
368373
368541
  "example": "2017-08-17T12:37:15Z"
368374
368542
  },
368375
368543
  "organization": {
368376
- "title": "Organization Full",
368377
- "description": "Organization Full",
368544
+ "title": "Team Organization",
368545
+ "description": "Team Organization",
368378
368546
  "type": "object",
368379
368547
  "properties": {
368380
368548
  "login": {
@@ -368838,7 +369006,13 @@
368838
369006
  "subcategory": null
368839
369007
  },
368840
369008
  "deprecated": true,
368841
- "x-octokit": {}
369009
+ "x-octokit": {
369010
+ "diff": {
369011
+ "ghes-3.6": {
369012
+ "type": "changed"
369013
+ }
369014
+ }
369015
+ }
368842
369016
  },
368843
369017
  "delete": {
368844
369018
  "summary": "Delete a team (Legacy)",
@@ -384065,14 +384239,6 @@
384065
384239
  "write"
384066
384240
  ]
384067
384241
  },
384068
- "organization_custom_roles": {
384069
- "type": "string",
384070
- "description": "The level of permission to grant the access token for custom roles management.",
384071
- "enum": [
384072
- "read",
384073
- "write"
384074
- ]
384075
- },
384076
384242
  "deployments": {
384077
384243
  "type": "string",
384078
384244
  "description": "The level of permission to grant the access token for deployments and deployment statuses.",
@@ -408152,8 +408318,8 @@
408152
408318
  "example": "2017-08-17T12:37:15Z"
408153
408319
  },
408154
408320
  "organization": {
408155
- "title": "Organization Full",
408156
- "description": "Organization Full",
408321
+ "title": "Team Organization",
408322
+ "description": "Team Organization",
408157
408323
  "type": "object",
408158
408324
  "properties": {
408159
408325
  "login": {
@@ -408559,7 +408725,13 @@
408559
408725
  "category": "teams",
408560
408726
  "subcategory": null
408561
408727
  },
408562
- "x-octokit": {}
408728
+ "x-octokit": {
408729
+ "diff": {
408730
+ "ghes-3.6": {
408731
+ "type": "changed"
408732
+ }
408733
+ }
408734
+ }
408563
408735
  }
408564
408736
  },
408565
408737
  "/users": {
@@ -420543,14 +420715,6 @@
420543
420715
  "write"
420544
420716
  ]
420545
420717
  },
420546
- "organization_custom_roles": {
420547
- "type": "string",
420548
- "description": "The level of permission to grant the access token for custom roles management.",
420549
- "enum": [
420550
- "read",
420551
- "write"
420552
- ]
420553
- },
420554
420718
  "deployments": {
420555
420719
  "type": "string",
420556
420720
  "description": "The level of permission to grant the access token for deployments and deployment statuses.",