@octokit/openapi 7.11.0 → 7.12.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 (31) hide show
  1. package/generated/api.github.com.deref.json +87 -32
  2. package/generated/api.github.com.json +62 -25
  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 +32 -14
  6. package/generated/ghes-3.2-diff-to-ghes-3.3.json +22 -13
  7. package/generated/ghes-3.2.deref.json +61 -27
  8. package/generated/ghes-3.2.json +48 -23
  9. package/generated/ghes-3.3-diff-to-ghes-3.4.deref.json +1 -1
  10. package/generated/ghes-3.3-diff-to-ghes-3.4.json +1 -1
  11. package/generated/ghes-3.3.deref.json +62 -28
  12. package/generated/ghes-3.3.json +48 -23
  13. package/generated/ghes-3.4-diff-to-ghes-3.5.deref.json +24 -8
  14. package/generated/ghes-3.4-diff-to-ghes-3.5.json +19 -3
  15. package/generated/ghes-3.4.deref.json +63 -29
  16. package/generated/ghes-3.4.json +48 -23
  17. package/generated/ghes-3.5-diff-to-api.github.com.deref.json +1 -1
  18. package/generated/ghes-3.5-diff-to-api.github.com.json +1 -1
  19. package/generated/ghes-3.5-diff-to-ghes-3.6.deref.json +18 -18
  20. package/generated/ghes-3.5-diff-to-ghes-3.6.json +13 -13
  21. package/generated/ghes-3.5.deref.json +73 -30
  22. package/generated/ghes-3.5.json +48 -23
  23. package/generated/ghes-3.6-diff-to-api.github.com.deref.json +19 -3
  24. package/generated/ghes-3.6-diff-to-api.github.com.json +18 -2
  25. package/generated/ghes-3.6.deref.json +73 -30
  26. package/generated/ghes-3.6.json +48 -23
  27. package/generated/github.ae-diff-to-api.github.com.deref.json +32 -16
  28. package/generated/github.ae-diff-to-api.github.com.json +29 -13
  29. package/generated/github.ae.deref.json +71 -28
  30. package/generated/github.ae.json +48 -23
  31. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "7.11.0",
4
+ "version": "7.12.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": {
@@ -20129,7 +20129,7 @@
20129
20129
  "/enterprises/{enterprise}/consumed-licenses": {
20130
20130
  "get": {
20131
20131
  "summary": "List enterprise consumed licenses",
20132
- "description": "Lists the license consumption information for all users, including those from connected servers, associated with an enterprise.\nTo use this endpoint, you must be an enterprise admin, and you must use an access\ntoken with the `read:enterprise` scope.",
20132
+ "description": "Lists the license consumption information for all users, including those from connected servers, associated with an enterprise.\nTo use this endpoint, you must be an enterprise admin, and you must use an access\ntoken with the `read:enterprise` scope.\n\n**Note:** The license consumption API endpoints for enterprise accounts are currently\nin Beta and are subject to change.",
20133
20133
  "tags": [
20134
20134
  "enterprise-admin"
20135
20135
  ],
@@ -20209,7 +20209,15 @@
20209
20209
  },
20210
20210
  "github_com_enterprise_role": {
20211
20211
  "type": "string",
20212
- "nullable": true
20212
+ "nullable": true,
20213
+ "description": "Deprecated: The most permissive enterprise role for a user."
20214
+ },
20215
+ "github_com_enterprise_roles": {
20216
+ "type": "array",
20217
+ "description": "All enterprise roles for a user.",
20218
+ "items": {
20219
+ "type": "string"
20220
+ }
20213
20221
  },
20214
20222
  "visual_studio_subscription_user": {
20215
20223
  "type": "boolean"
@@ -20280,6 +20288,9 @@
20280
20288
  "org2:Owner"
20281
20289
  ],
20282
20290
  "github_com_enterprise_role": "owner",
20291
+ "github_com_enterprise_roles": [
20292
+ "owner"
20293
+ ],
20283
20294
  "visual_studio_subscription_user": false,
20284
20295
  "github_com_verified_domain_emails": [
20285
20296
  "monalisa@github.com"
@@ -20308,6 +20319,7 @@
20308
20319
  "license_type": "enterprise",
20309
20320
  "github_com_member_roles": [],
20310
20321
  "github_com_enterprise_role": "",
20322
+ "github_com_enterprise_roles": [],
20311
20323
  "visual_studio_subscription_user": false,
20312
20324
  "github_com_verified_domain_emails": [],
20313
20325
  "github_com_saml_name_id": "",
@@ -20603,7 +20615,7 @@
20603
20615
  "description": "The REST API URL of the code locations for this alert."
20604
20616
  },
20605
20617
  "state": {
20606
- "description": "Sets the state of the secret scanning alert. Can be either `open` or `resolved`. You must provide `resolution` when you set the state to `resolved`.",
20618
+ "description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.",
20607
20619
  "type": "string",
20608
20620
  "enum": [
20609
20621
  "open",
@@ -37186,7 +37198,7 @@
37186
37198
  },
37187
37199
  {
37188
37200
  "name": "state",
37189
- "description": "Indicates the state of the issues to return. Can be either `open`, `closed`, or `all`.",
37201
+ "description": "Indicates the state of the issues to return.",
37190
37202
  "in": "query",
37191
37203
  "required": false,
37192
37204
  "schema": {
@@ -37210,7 +37222,7 @@
37210
37222
  },
37211
37223
  {
37212
37224
  "name": "sort",
37213
- "description": "What to sort results by. Can be either `created`, `updated`, `comments`.",
37225
+ "description": "What to sort results by.",
37214
37226
  "in": "query",
37215
37227
  "required": false,
37216
37228
  "schema": {
@@ -40518,7 +40530,7 @@
40518
40530
  "type": "string"
40519
40531
  },
40520
40532
  "mode": {
40521
- "description": "The rendering mode. Can be either `markdown` or `gfm`.",
40533
+ "description": "The rendering mode.",
40522
40534
  "enum": [
40523
40535
  "markdown",
40524
40536
  "gfm"
@@ -83043,7 +83055,7 @@
83043
83055
  },
83044
83056
  {
83045
83057
  "name": "state",
83046
- "description": "Indicates the state of the issues to return. Can be either `open`, `closed`, or `all`.",
83058
+ "description": "Indicates the state of the issues to return.",
83047
83059
  "in": "query",
83048
83060
  "required": false,
83049
83061
  "schema": {
@@ -83067,7 +83079,7 @@
83067
83079
  },
83068
83080
  {
83069
83081
  "name": "sort",
83070
- "description": "What to sort results by. Can be either `created`, `updated`, `comments`.",
83082
+ "description": "What to sort results by.",
83071
83083
  "in": "query",
83072
83084
  "required": false,
83073
83085
  "schema": {
@@ -103120,7 +103132,7 @@
103120
103132
  },
103121
103133
  {
103122
103134
  "name": "state",
103123
- "description": "Indicates the state of the projects to return. Can be either `open`, `closed`, or `all`.",
103135
+ "description": "Indicates the state of the projects to return.",
103124
103136
  "in": "query",
103125
103137
  "required": false,
103126
103138
  "schema": {
@@ -108077,7 +108089,7 @@
108077
108089
  "description": "The REST API URL of the code locations for this alert."
108078
108090
  },
108079
108091
  "state": {
108080
- "description": "Sets the state of the secret scanning alert. Can be either `open` or `resolved`. You must provide `resolution` when you set the state to `resolved`.",
108092
+ "description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.",
108081
108093
  "type": "string",
108082
108094
  "enum": [
108083
108095
  "open",
@@ -141941,7 +141953,16 @@
141941
141953
  "description": "The outcome of the job.",
141942
141954
  "example": "success",
141943
141955
  "type": "string",
141944
- "nullable": true
141956
+ "nullable": true,
141957
+ "enum": [
141958
+ "success",
141959
+ "failure",
141960
+ "neutral",
141961
+ "cancelled",
141962
+ "skipped",
141963
+ "timed_out",
141964
+ "action_required"
141965
+ ]
141945
141966
  },
141946
141967
  "started_at": {
141947
141968
  "description": "The time that the job started, in ISO 8601 format.",
@@ -161717,7 +161738,16 @@
161717
161738
  "description": "The outcome of the job.",
161718
161739
  "example": "success",
161719
161740
  "type": "string",
161720
- "nullable": true
161741
+ "nullable": true,
161742
+ "enum": [
161743
+ "success",
161744
+ "failure",
161745
+ "neutral",
161746
+ "cancelled",
161747
+ "skipped",
161748
+ "timed_out",
161749
+ "action_required"
161750
+ ]
161721
161751
  },
161722
161752
  "started_at": {
161723
161753
  "description": "The time that the job started, in ISO 8601 format.",
@@ -162333,7 +162363,16 @@
162333
162363
  "description": "The outcome of the job.",
162334
162364
  "example": "success",
162335
162365
  "type": "string",
162336
- "nullable": true
162366
+ "nullable": true,
162367
+ "enum": [
162368
+ "success",
162369
+ "failure",
162370
+ "neutral",
162371
+ "cancelled",
162372
+ "skipped",
162373
+ "timed_out",
162374
+ "action_required"
162375
+ ]
162337
162376
  },
162338
162377
  "started_at": {
162339
162378
  "description": "The time that the job started, in ISO 8601 format.",
@@ -218757,6 +218796,22 @@
218757
218796
  "default": "all"
218758
218797
  }
218759
218798
  },
218799
+ {
218800
+ "name": "permission",
218801
+ "description": "Filter collaborators by the permissions they have on the repository. If not specified, all collaborators will be returned.",
218802
+ "in": "query",
218803
+ "required": false,
218804
+ "schema": {
218805
+ "type": "string",
218806
+ "enum": [
218807
+ "pull",
218808
+ "triage",
218809
+ "push",
218810
+ "maintain",
218811
+ "admin"
218812
+ ]
218813
+ }
218814
+ },
218760
218815
  {
218761
218816
  "name": "per_page",
218762
218817
  "description": "The number of results per page (max 100).",
@@ -240461,7 +240516,7 @@
240461
240516
  },
240462
240517
  "put": {
240463
240518
  "summary": "Create or update file contents",
240464
- "description": "Creates a new file or replaces an existing file in a repository.",
240519
+ "description": "Creates a new file or replaces an existing file in a repository. You must authenticate using an access token with the `workflow` scope to use this endpoint.",
240465
240520
  "tags": [
240466
240521
  "repos"
240467
240522
  ],
@@ -252885,7 +252940,7 @@
252885
252940
  },
252886
252941
  {
252887
252942
  "name": "sort",
252888
- "description": "The sort order. Can be either `newest`, `oldest`, or `stargazers`.",
252943
+ "description": "The sort order. `stargazers` will sort by star count.",
252889
252944
  "in": "query",
252890
252945
  "required": false,
252891
252946
  "schema": {
@@ -263445,7 +263500,7 @@
263445
263500
  "/repos/{owner}/{repo}/hooks": {
263446
263501
  "get": {
263447
263502
  "summary": "List repository webhooks",
263448
- "description": "",
263503
+ "description": "Lists webhooks for a repository. `last response` may return null if there have not been any deliveries within 30 days.",
263449
263504
  "tags": [
263450
263505
  "repos"
263451
263506
  ],
@@ -273761,7 +273816,7 @@
273761
273816
  },
273762
273817
  {
273763
273818
  "name": "state",
273764
- "description": "Indicates the state of the issues to return. Can be either `open`, `closed`, or `all`.",
273819
+ "description": "Indicates the state of the issues to return.",
273765
273820
  "in": "query",
273766
273821
  "required": false,
273767
273822
  "schema": {
@@ -273812,7 +273867,7 @@
273812
273867
  },
273813
273868
  {
273814
273869
  "name": "sort",
273815
- "description": "What to sort results by. Can be either `created`, `updated`, `comments`.",
273870
+ "description": "What to sort results by.",
273816
273871
  "in": "query",
273817
273872
  "required": false,
273818
273873
  "schema": {
@@ -334463,7 +334518,7 @@
334463
334518
  },
334464
334519
  {
334465
334520
  "name": "state",
334466
- "description": "Indicates the state of the projects to return. Can be either `open`, `closed`, or `all`.",
334521
+ "description": "Indicates the state of the projects to return.",
334467
334522
  "in": "query",
334468
334523
  "required": false,
334469
334524
  "schema": {
@@ -335443,7 +335498,7 @@
335443
335498
  },
335444
335499
  {
335445
335500
  "name": "sort",
335446
- "description": "What to sort results by. Can be either `created`, `updated`, `popularity` (comment count) or `long-running` (age, filtering by pulls updated in the last month).",
335501
+ "description": "What to sort results by. `popularity` will sort by the number of comments. `long-running` will sort by date created and will limit the results to pull requests that have been open for more than a month and have had activity within the past month.",
335447
335502
  "in": "query",
335448
335503
  "required": false,
335449
335504
  "schema": {
@@ -335459,7 +335514,7 @@
335459
335514
  },
335460
335515
  {
335461
335516
  "name": "direction",
335462
- "description": "The direction of the sort. Can be either `asc` or `desc`. Default: `desc` when sort is `created` or sort is not specified, otherwise `asc`.",
335517
+ "description": "The direction of the sort. Default: `desc` when sort is `created` or sort is not specified, otherwise `asc`.",
335463
335518
  "in": "query",
335464
335519
  "required": false,
335465
335520
  "schema": {
@@ -343609,7 +343664,7 @@
343609
343664
  },
343610
343665
  {
343611
343666
  "name": "direction",
343612
- "description": "Can be either `asc` or `desc`. Ignored without `sort` parameter.",
343667
+ "description": "The direction to sort results. Ignored without `sort` parameter.",
343613
343668
  "in": "query",
343614
343669
  "required": false,
343615
343670
  "schema": {
@@ -358143,7 +358198,7 @@
358143
358198
  },
358144
358199
  {
358145
358200
  "name": "direction",
358146
- "description": "Can be either `asc` or `desc`. Ignored without `sort` parameter.",
358201
+ "description": "The direction to sort results. Ignored without `sort` parameter.",
358147
358202
  "in": "query",
358148
358203
  "required": false,
358149
358204
  "schema": {
@@ -381910,7 +381965,7 @@
381910
381965
  "description": "The REST API URL of the code locations for this alert."
381911
381966
  },
381912
381967
  "state": {
381913
- "description": "Sets the state of the secret scanning alert. Can be either `open` or `resolved`. You must provide `resolution` when you set the state to `resolved`.",
381968
+ "description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.",
381914
381969
  "type": "string",
381915
381970
  "enum": [
381916
381971
  "open",
@@ -382402,7 +382457,7 @@
382402
382457
  "description": "The REST API URL of the code locations for this alert."
382403
382458
  },
382404
382459
  "state": {
382405
- "description": "Sets the state of the secret scanning alert. Can be either `open` or `resolved`. You must provide `resolution` when you set the state to `resolved`.",
382460
+ "description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.",
382406
382461
  "type": "string",
382407
382462
  "enum": [
382408
382463
  "open",
@@ -382802,7 +382857,7 @@
382802
382857
  "type": "object",
382803
382858
  "properties": {
382804
382859
  "state": {
382805
- "description": "Sets the state of the secret scanning alert. Can be either `open` or `resolved`. You must provide `resolution` when you set the state to `resolved`.",
382860
+ "description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.",
382806
382861
  "type": "string",
382807
382862
  "enum": [
382808
382863
  "open",
@@ -382880,7 +382935,7 @@
382880
382935
  "description": "The REST API URL of the code locations for this alert."
382881
382936
  },
382882
382937
  "state": {
382883
- "description": "Sets the state of the secret scanning alert. Can be either `open` or `resolved`. You must provide `resolution` when you set the state to `resolved`.",
382938
+ "description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.",
382884
382939
  "type": "string",
382885
382940
  "enum": [
382886
382941
  "open",
@@ -452342,7 +452397,7 @@
452342
452397
  },
452343
452398
  {
452344
452399
  "name": "state",
452345
- "description": "Indicates the state of the issues to return. Can be either `open`, `closed`, or `all`.",
452400
+ "description": "Indicates the state of the issues to return.",
452346
452401
  "in": "query",
452347
452402
  "required": false,
452348
452403
  "schema": {
@@ -452366,7 +452421,7 @@
452366
452421
  },
452367
452422
  {
452368
452423
  "name": "sort",
452369
- "description": "What to sort results by. Can be either `created`, `updated`, `comments`.",
452424
+ "description": "What to sort results by.",
452370
452425
  "in": "query",
452371
452426
  "required": false,
452372
452427
  "schema": {
@@ -456593,7 +456648,7 @@
456593
456648
  "parameters": [
456594
456649
  {
456595
456650
  "name": "state",
456596
- "description": "Indicates the state of the memberships to return. Can be either `active` or `pending`. If not specified, the API returns both active and pending memberships.",
456651
+ "description": "Indicates the state of the memberships to return. If not specified, the API returns both active and pending memberships.",
456597
456652
  "in": "query",
456598
456653
  "required": false,
456599
456654
  "schema": {
@@ -502352,7 +502407,7 @@
502352
502407
  },
502353
502408
  {
502354
502409
  "name": "state",
502355
- "description": "Indicates the state of the projects to return. Can be either `open`, `closed`, or `all`.",
502410
+ "description": "Indicates the state of the projects to return.",
502356
502411
  "in": "query",
502357
502412
  "required": false,
502358
502413
  "schema": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "7.11.0",
4
+ "version": "7.12.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": {
@@ -3579,7 +3579,7 @@
3579
3579
  "/enterprises/{enterprise}/consumed-licenses": {
3580
3580
  "get": {
3581
3581
  "summary": "List enterprise consumed licenses",
3582
- "description": "Lists the license consumption information for all users, including those from connected servers, associated with an enterprise.\nTo use this endpoint, you must be an enterprise admin, and you must use an access\ntoken with the `read:enterprise` scope.",
3582
+ "description": "Lists the license consumption information for all users, including those from connected servers, associated with an enterprise.\nTo use this endpoint, you must be an enterprise admin, and you must use an access\ntoken with the `read:enterprise` scope.\n\n**Note:** The license consumption API endpoints for enterprise accounts are currently\nin Beta and are subject to change.",
3583
3583
  "tags": [
3584
3584
  "enterprise-admin"
3585
3585
  ],
@@ -5531,7 +5531,7 @@
5531
5531
  },
5532
5532
  {
5533
5533
  "name": "state",
5534
- "description": "Indicates the state of the issues to return. Can be either `open`, `closed`, or `all`.",
5534
+ "description": "Indicates the state of the issues to return.",
5535
5535
  "in": "query",
5536
5536
  "required": false,
5537
5537
  "schema": {
@@ -5549,7 +5549,7 @@
5549
5549
  },
5550
5550
  {
5551
5551
  "name": "sort",
5552
- "description": "What to sort results by. Can be either `created`, `updated`, `comments`.",
5552
+ "description": "What to sort results by.",
5553
5553
  "in": "query",
5554
5554
  "required": false,
5555
5555
  "schema": {
@@ -5791,7 +5791,7 @@
5791
5791
  "type": "string"
5792
5792
  },
5793
5793
  "mode": {
5794
- "description": "The rendering mode. Can be either `markdown` or `gfm`.",
5794
+ "description": "The rendering mode.",
5795
5795
  "enum": [
5796
5796
  "markdown",
5797
5797
  "gfm"
@@ -12637,7 +12637,7 @@
12637
12637
  },
12638
12638
  {
12639
12639
  "name": "state",
12640
- "description": "Indicates the state of the issues to return. Can be either `open`, `closed`, or `all`.",
12640
+ "description": "Indicates the state of the issues to return.",
12641
12641
  "in": "query",
12642
12642
  "required": false,
12643
12643
  "schema": {
@@ -12655,7 +12655,7 @@
12655
12655
  },
12656
12656
  {
12657
12657
  "name": "sort",
12658
- "description": "What to sort results by. Can be either `created`, `updated`, `comments`.",
12658
+ "description": "What to sort results by.",
12659
12659
  "in": "query",
12660
12660
  "required": false,
12661
12661
  "schema": {
@@ -14309,7 +14309,7 @@
14309
14309
  },
14310
14310
  {
14311
14311
  "name": "state",
14312
- "description": "Indicates the state of the projects to return. Can be either `open`, `closed`, or `all`.",
14312
+ "description": "Indicates the state of the projects to return.",
14313
14313
  "in": "query",
14314
14314
  "required": false,
14315
14315
  "schema": {
@@ -29439,6 +29439,22 @@
29439
29439
  "default": "all"
29440
29440
  }
29441
29441
  },
29442
+ {
29443
+ "name": "permission",
29444
+ "description": "Filter collaborators by the permissions they have on the repository. If not specified, all collaborators will be returned.",
29445
+ "in": "query",
29446
+ "required": false,
29447
+ "schema": {
29448
+ "type": "string",
29449
+ "enum": [
29450
+ "pull",
29451
+ "triage",
29452
+ "push",
29453
+ "maintain",
29454
+ "admin"
29455
+ ]
29456
+ }
29457
+ },
29442
29458
  {
29443
29459
  "$ref": "#/components/parameters/per-page"
29444
29460
  },
@@ -31166,7 +31182,7 @@
31166
31182
  },
31167
31183
  "put": {
31168
31184
  "summary": "Create or update file contents",
31169
- "description": "Creates a new file or replaces an existing file in a repository.",
31185
+ "description": "Creates a new file or replaces an existing file in a repository. You must authenticate using an access token with the `workflow` scope to use this endpoint.",
31170
31186
  "tags": [
31171
31187
  "repos"
31172
31188
  ],
@@ -33328,7 +33344,7 @@
33328
33344
  },
33329
33345
  {
33330
33346
  "name": "sort",
33331
- "description": "The sort order. Can be either `newest`, `oldest`, or `stargazers`.",
33347
+ "description": "The sort order. `stargazers` will sort by star count.",
33332
33348
  "in": "query",
33333
33349
  "required": false,
33334
33350
  "schema": {
@@ -34593,7 +34609,7 @@
34593
34609
  "/repos/{owner}/{repo}/hooks": {
34594
34610
  "get": {
34595
34611
  "summary": "List repository webhooks",
34596
- "description": "",
34612
+ "description": "Lists webhooks for a repository. `last response` may return null if there have not been any deliveries within 30 days.",
34597
34613
  "tags": [
34598
34614
  "repos"
34599
34615
  ],
@@ -36370,7 +36386,7 @@
36370
36386
  },
36371
36387
  {
36372
36388
  "name": "state",
36373
- "description": "Indicates the state of the issues to return. Can be either `open`, `closed`, or `all`.",
36389
+ "description": "Indicates the state of the issues to return.",
36374
36390
  "in": "query",
36375
36391
  "required": false,
36376
36392
  "schema": {
@@ -36415,7 +36431,7 @@
36415
36431
  },
36416
36432
  {
36417
36433
  "name": "sort",
36418
- "description": "What to sort results by. Can be either `created`, `updated`, `comments`.",
36434
+ "description": "What to sort results by.",
36419
36435
  "in": "query",
36420
36436
  "required": false,
36421
36437
  "schema": {
@@ -40935,7 +40951,7 @@
40935
40951
  },
40936
40952
  {
40937
40953
  "name": "state",
40938
- "description": "Indicates the state of the projects to return. Can be either `open`, `closed`, or `all`.",
40954
+ "description": "Indicates the state of the projects to return.",
40939
40955
  "in": "query",
40940
40956
  "required": false,
40941
40957
  "schema": {
@@ -41148,7 +41164,7 @@
41148
41164
  },
41149
41165
  {
41150
41166
  "name": "sort",
41151
- "description": "What to sort results by. Can be either `created`, `updated`, `popularity` (comment count) or `long-running` (age, filtering by pulls updated in the last month).",
41167
+ "description": "What to sort results by. `popularity` will sort by the number of comments. `long-running` will sort by date created and will limit the results to pull requests that have been open for more than a month and have had activity within the past month.",
41152
41168
  "in": "query",
41153
41169
  "required": false,
41154
41170
  "schema": {
@@ -41164,7 +41180,7 @@
41164
41180
  },
41165
41181
  {
41166
41182
  "name": "direction",
41167
- "description": "The direction of the sort. Can be either `asc` or `desc`. Default: `desc` when sort is `created` or sort is not specified, otherwise `asc`.",
41183
+ "description": "The direction of the sort. Default: `desc` when sort is `created` or sort is not specified, otherwise `asc`.",
41168
41184
  "in": "query",
41169
41185
  "required": false,
41170
41186
  "schema": {
@@ -41370,7 +41386,7 @@
41370
41386
  },
41371
41387
  {
41372
41388
  "name": "direction",
41373
- "description": "Can be either `asc` or `desc`. Ignored without `sort` parameter.",
41389
+ "description": "The direction to sort results. Ignored without `sort` parameter.",
41374
41390
  "in": "query",
41375
41391
  "required": false,
41376
41392
  "schema": {
@@ -42131,7 +42147,7 @@
42131
42147
  },
42132
42148
  {
42133
42149
  "name": "direction",
42134
- "description": "Can be either `asc` or `desc`. Ignored without `sort` parameter.",
42150
+ "description": "The direction to sort results. Ignored without `sort` parameter.",
42135
42151
  "in": "query",
42136
42152
  "required": false,
42137
42153
  "schema": {
@@ -54998,7 +55014,7 @@
54998
55014
  },
54999
55015
  {
55000
55016
  "name": "state",
55001
- "description": "Indicates the state of the issues to return. Can be either `open`, `closed`, or `all`.",
55017
+ "description": "Indicates the state of the issues to return.",
55002
55018
  "in": "query",
55003
55019
  "required": false,
55004
55020
  "schema": {
@@ -55016,7 +55032,7 @@
55016
55032
  },
55017
55033
  {
55018
55034
  "name": "sort",
55019
- "description": "What to sort results by. Can be either `created`, `updated`, `comments`.",
55035
+ "description": "What to sort results by.",
55020
55036
  "in": "query",
55021
55037
  "required": false,
55022
55038
  "schema": {
@@ -55499,7 +55515,7 @@
55499
55515
  "parameters": [
55500
55516
  {
55501
55517
  "name": "state",
55502
- "description": "Indicates the state of the memberships to return. Can be either `active` or `pending`. If not specified, the API returns both active and pending memberships.",
55518
+ "description": "Indicates the state of the memberships to return. If not specified, the API returns both active and pending memberships.",
55503
55519
  "in": "query",
55504
55520
  "required": false,
55505
55521
  "schema": {
@@ -59145,7 +59161,7 @@
59145
59161
  },
59146
59162
  {
59147
59163
  "name": "state",
59148
- "description": "Indicates the state of the projects to return. Can be either `open`, `closed`, or `all`.",
59164
+ "description": "Indicates the state of the projects to return.",
59149
59165
  "in": "query",
59150
59166
  "required": false,
59151
59167
  "schema": {
@@ -63849,7 +63865,15 @@
63849
63865
  },
63850
63866
  "github_com_enterprise_role": {
63851
63867
  "type": "string",
63852
- "nullable": true
63868
+ "nullable": true,
63869
+ "description": "Deprecated: The most permissive enterprise role for a user."
63870
+ },
63871
+ "github_com_enterprise_roles": {
63872
+ "type": "array",
63873
+ "description": "All enterprise roles for a user.",
63874
+ "items": {
63875
+ "type": "string"
63876
+ }
63853
63877
  },
63854
63878
  "visual_studio_subscription_user": {
63855
63879
  "type": "boolean"
@@ -63943,7 +63967,7 @@
63943
63967
  "nullable": true
63944
63968
  },
63945
63969
  "secret-scanning-alert-state": {
63946
- "description": "Sets the state of the secret scanning alert. Can be either `open` or `resolved`. You must provide `resolution` when you set the state to `resolved`.",
63970
+ "description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.",
63947
63971
  "type": "string",
63948
63972
  "enum": [
63949
63973
  "open",
@@ -72538,7 +72562,16 @@
72538
72562
  "description": "The outcome of the job.",
72539
72563
  "example": "success",
72540
72564
  "type": "string",
72541
- "nullable": true
72565
+ "nullable": true,
72566
+ "enum": [
72567
+ "success",
72568
+ "failure",
72569
+ "neutral",
72570
+ "cancelled",
72571
+ "skipped",
72572
+ "timed_out",
72573
+ "action_required"
72574
+ ]
72542
72575
  },
72543
72576
  "started_at": {
72544
72577
  "description": "The time that the job started, in ISO 8601 format.",
@@ -90734,6 +90767,9 @@
90734
90767
  "org2:Owner"
90735
90768
  ],
90736
90769
  "github_com_enterprise_role": "owner",
90770
+ "github_com_enterprise_roles": [
90771
+ "owner"
90772
+ ],
90737
90773
  "visual_studio_subscription_user": false,
90738
90774
  "github_com_verified_domain_emails": [
90739
90775
  "monalisa@github.com"
@@ -90762,6 +90798,7 @@
90762
90798
  "license_type": "enterprise",
90763
90799
  "github_com_member_roles": [],
90764
90800
  "github_com_enterprise_role": "",
90801
+ "github_com_enterprise_roles": [],
90765
90802
  "visual_studio_subscription_user": false,
90766
90803
  "github_com_verified_domain_emails": [],
90767
90804
  "github_com_saml_name_id": "",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "7.11.0",
4
+ "version": "7.12.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": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "7.11.0",
4
+ "version": "7.12.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": {