Skip to content

Commit f414616

Browse files
authored
feat: mentions_count key in release response, mention repos alias for all when filtering issues (#131)
1 parent d05963d commit f414616

File tree

15 files changed

+45
-45
lines changed

15 files changed

+45
-45
lines changed

cache/api.github.com.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"openapi": "3.0.3",
33
"info": {
4-
"version": "3.1.2",
4+
"version": "3.2.0",
55
"title": "GitHub's official OpenAPI spec + Octokit extension",
66
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
77
"license": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
@@ -4369,7 +4369,7 @@
43694369
"parameters": [
43704370
{
43714371
"name": "filter",
4372-
"description": "Indicates which sorts of issues to return. Can be one of: \n\\* `assigned`: Issues assigned to you \n\\* `created`: Issues created by you \n\\* `mentioned`: Issues mentioning you \n\\* `subscribed`: Issues you're subscribed to updates for \n\\* `all`: All issues the authenticated user can see, regardless of participation or creation",
4372+
"description": "Indicates which sorts of issues to return. Can be one of: \n\\* `assigned`: Issues assigned to you \n\\* `created`: Issues created by you \n\\* `mentioned`: Issues mentioning you \n\\* `subscribed`: Issues you're subscribed to updates for \n\\* `all` or `repos`: All issues the authenticated user can see, regardless of participation or creation",
43734373
"in": "query",
43744374
"required": false,
43754375
"schema": {
@@ -8335,7 +8335,7 @@
83358335
{ "$ref": "#/components/parameters/org" },
83368336
{
83378337
"name": "filter",
8338-
"description": "Indicates which sorts of issues to return. Can be one of: \n\\* `assigned`: Issues assigned to you \n\\* `created`: Issues created by you \n\\* `mentioned`: Issues mentioning you \n\\* `subscribed`: Issues you're subscribed to updates for \n\\* `all`: All issues the authenticated user can see, regardless of participation or creation",
8338+
"description": "Indicates which sorts of issues to return. Can be one of: \n\\* `assigned`: Issues assigned to you \n\\* `created`: Issues created by you \n\\* `mentioned`: Issues mentioning you \n\\* `subscribed`: Issues you're subscribed to updates for \n\\* `all` or `repos`: All issues the authenticated user can see, regardless of participation or creation",
83398339
"in": "query",
83408340
"required": false,
83418341
"schema": {
@@ -36362,7 +36362,7 @@
3636236362
"parameters": [
3636336363
{
3636436364
"name": "filter",
36365-
"description": "Indicates which sorts of issues to return. Can be one of: \n\\* `assigned`: Issues assigned to you \n\\* `created`: Issues created by you \n\\* `mentioned`: Issues mentioning you \n\\* `subscribed`: Issues you're subscribed to updates for \n\\* `all`: All issues the authenticated user can see, regardless of participation or creation",
36365+
"description": "Indicates which sorts of issues to return. Can be one of: \n\\* `assigned`: Issues assigned to you \n\\* `created`: Issues created by you \n\\* `mentioned`: Issues mentioning you \n\\* `subscribed`: Issues you're subscribed to updates for \n\\* `all` or `repos`: All issues the authenticated user can see, regardless of participation or creation",
3636636366
"in": "query",
3636736367
"required": false,
3636836368
"schema": {
@@ -52695,6 +52695,7 @@
5269552695
},
5269652696
"body_html": { "type": "string" },
5269752697
"body_text": { "type": "string" },
52698+
"mentions_count": { "type": "integer" },
5269852699
"discussion_url": {
5269952700
"description": "The URL of the release discussion.",
5270052701
"type": "string",

cache/ghes-2.22.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"openapi": "3.0.3",
33
"info": {
4-
"version": "3.1.2",
4+
"version": "3.2.0",
55
"title": "GitHub's official OpenAPI spec + Octokit extension",
66
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
77
"license": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
@@ -5879,7 +5879,7 @@
58795879
"parameters": [
58805880
{
58815881
"name": "filter",
5882-
"description": "Indicates which sorts of issues to return. Can be one of: \n\\* `assigned`: Issues assigned to you \n\\* `created`: Issues created by you \n\\* `mentioned`: Issues mentioning you \n\\* `subscribed`: Issues you're subscribed to updates for \n\\* `all`: All issues the authenticated user can see, regardless of participation or creation",
5882+
"description": "Indicates which sorts of issues to return. Can be one of: \n\\* `assigned`: Issues assigned to you \n\\* `created`: Issues created by you \n\\* `mentioned`: Issues mentioning you \n\\* `subscribed`: Issues you're subscribed to updates for \n\\* `all` or `repos`: All issues the authenticated user can see, regardless of participation or creation",
58835883
"in": "query",
58845884
"required": false,
58855885
"schema": {
@@ -8448,7 +8448,7 @@
84488448
{ "$ref": "#/components/parameters/org" },
84498449
{
84508450
"name": "filter",
8451-
"description": "Indicates which sorts of issues to return. Can be one of: \n\\* `assigned`: Issues assigned to you \n\\* `created`: Issues created by you \n\\* `mentioned`: Issues mentioning you \n\\* `subscribed`: Issues you're subscribed to updates for \n\\* `all`: All issues the authenticated user can see, regardless of participation or creation",
8451+
"description": "Indicates which sorts of issues to return. Can be one of: \n\\* `assigned`: Issues assigned to you \n\\* `created`: Issues created by you \n\\* `mentioned`: Issues mentioning you \n\\* `subscribed`: Issues you're subscribed to updates for \n\\* `all` or `repos`: All issues the authenticated user can see, regardless of participation or creation",
84528452
"in": "query",
84538453
"required": false,
84548454
"schema": {
@@ -32017,7 +32017,7 @@
3201732017
"parameters": [
3201832018
{
3201932019
"name": "filter",
32020-
"description": "Indicates which sorts of issues to return. Can be one of: \n\\* `assigned`: Issues assigned to you \n\\* `created`: Issues created by you \n\\* `mentioned`: Issues mentioning you \n\\* `subscribed`: Issues you're subscribed to updates for \n\\* `all`: All issues the authenticated user can see, regardless of participation or creation",
32020+
"description": "Indicates which sorts of issues to return. Can be one of: \n\\* `assigned`: Issues assigned to you \n\\* `created`: Issues created by you \n\\* `mentioned`: Issues mentioning you \n\\* `subscribed`: Issues you're subscribed to updates for \n\\* `all` or `repos`: All issues the authenticated user can see, regardless of participation or creation",
3202132021
"in": "query",
3202232022
"required": false,
3202332023
"schema": {

cache/ghes-3.0.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"openapi": "3.0.3",
33
"info": {
4-
"version": "3.1.2",
4+
"version": "3.2.0",
55
"title": "GitHub's official OpenAPI spec + Octokit extension",
66
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
77
"license": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
@@ -6406,7 +6406,7 @@
64066406
"parameters": [
64076407
{
64086408
"name": "filter",
6409-
"description": "Indicates which sorts of issues to return. Can be one of: \n\\* `assigned`: Issues assigned to you \n\\* `created`: Issues created by you \n\\* `mentioned`: Issues mentioning you \n\\* `subscribed`: Issues you're subscribed to updates for \n\\* `all`: All issues the authenticated user can see, regardless of participation or creation",
6409+
"description": "Indicates which sorts of issues to return. Can be one of: \n\\* `assigned`: Issues assigned to you \n\\* `created`: Issues created by you \n\\* `mentioned`: Issues mentioning you \n\\* `subscribed`: Issues you're subscribed to updates for \n\\* `all` or `repos`: All issues the authenticated user can see, regardless of participation or creation",
64106410
"in": "query",
64116411
"required": false,
64126412
"schema": {
@@ -9355,7 +9355,7 @@
93559355
{ "$ref": "#/components/parameters/org" },
93569356
{
93579357
"name": "filter",
9358-
"description": "Indicates which sorts of issues to return. Can be one of: \n\\* `assigned`: Issues assigned to you \n\\* `created`: Issues created by you \n\\* `mentioned`: Issues mentioning you \n\\* `subscribed`: Issues you're subscribed to updates for \n\\* `all`: All issues the authenticated user can see, regardless of participation or creation",
9358+
"description": "Indicates which sorts of issues to return. Can be one of: \n\\* `assigned`: Issues assigned to you \n\\* `created`: Issues created by you \n\\* `mentioned`: Issues mentioning you \n\\* `subscribed`: Issues you're subscribed to updates for \n\\* `all` or `repos`: All issues the authenticated user can see, regardless of participation or creation",
93599359
"in": "query",
93609360
"required": false,
93619361
"schema": {
@@ -33175,7 +33175,7 @@
3317533175
"parameters": [
3317633176
{
3317733177
"name": "filter",
33178-
"description": "Indicates which sorts of issues to return. Can be one of: \n\\* `assigned`: Issues assigned to you \n\\* `created`: Issues created by you \n\\* `mentioned`: Issues mentioning you \n\\* `subscribed`: Issues you're subscribed to updates for \n\\* `all`: All issues the authenticated user can see, regardless of participation or creation",
33178+
"description": "Indicates which sorts of issues to return. Can be one of: \n\\* `assigned`: Issues assigned to you \n\\* `created`: Issues created by you \n\\* `mentioned`: Issues mentioning you \n\\* `subscribed`: Issues you're subscribed to updates for \n\\* `all` or `repos`: All issues the authenticated user can see, regardless of participation or creation",
3317933179
"in": "query",
3318033180
"required": false,
3318133181
"schema": {

cache/ghes-3.1.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"openapi": "3.0.3",
33
"info": {
4-
"version": "3.1.2",
4+
"version": "3.2.0",
55
"title": "GitHub's official OpenAPI spec + Octokit extension",
66
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
77
"license": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
@@ -6406,7 +6406,7 @@
64066406
"parameters": [
64076407
{
64086408
"name": "filter",
6409-
"description": "Indicates which sorts of issues to return. Can be one of: \n\\* `assigned`: Issues assigned to you \n\\* `created`: Issues created by you \n\\* `mentioned`: Issues mentioning you \n\\* `subscribed`: Issues you're subscribed to updates for \n\\* `all`: All issues the authenticated user can see, regardless of participation or creation",
6409+
"description": "Indicates which sorts of issues to return. Can be one of: \n\\* `assigned`: Issues assigned to you \n\\* `created`: Issues created by you \n\\* `mentioned`: Issues mentioning you \n\\* `subscribed`: Issues you're subscribed to updates for \n\\* `all` or `repos`: All issues the authenticated user can see, regardless of participation or creation",
64106410
"in": "query",
64116411
"required": false,
64126412
"schema": {
@@ -9401,7 +9401,7 @@
94019401
{ "$ref": "#/components/parameters/org" },
94029402
{
94039403
"name": "filter",
9404-
"description": "Indicates which sorts of issues to return. Can be one of: \n\\* `assigned`: Issues assigned to you \n\\* `created`: Issues created by you \n\\* `mentioned`: Issues mentioning you \n\\* `subscribed`: Issues you're subscribed to updates for \n\\* `all`: All issues the authenticated user can see, regardless of participation or creation",
9404+
"description": "Indicates which sorts of issues to return. Can be one of: \n\\* `assigned`: Issues assigned to you \n\\* `created`: Issues created by you \n\\* `mentioned`: Issues mentioning you \n\\* `subscribed`: Issues you're subscribed to updates for \n\\* `all` or `repos`: All issues the authenticated user can see, regardless of participation or creation",
94059405
"in": "query",
94069406
"required": false,
94079407
"schema": {
@@ -33619,7 +33619,7 @@
3361933619
"parameters": [
3362033620
{
3362133621
"name": "filter",
33622-
"description": "Indicates which sorts of issues to return. Can be one of: \n\\* `assigned`: Issues assigned to you \n\\* `created`: Issues created by you \n\\* `mentioned`: Issues mentioning you \n\\* `subscribed`: Issues you're subscribed to updates for \n\\* `all`: All issues the authenticated user can see, regardless of participation or creation",
33622+
"description": "Indicates which sorts of issues to return. Can be one of: \n\\* `assigned`: Issues assigned to you \n\\* `created`: Issues created by you \n\\* `mentioned`: Issues mentioning you \n\\* `subscribed`: Issues you're subscribed to updates for \n\\* `all` or `repos`: All issues the authenticated user can see, regardless of participation or creation",
3362333623
"in": "query",
3362433624
"required": false,
3362533625
"schema": {

cache/github.ae.json

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"openapi": "3.0.3",
33
"info": {
4-
"version": "3.1.2",
4+
"version": "3.2.0",
55
"title": "GitHub's official OpenAPI spec + Octokit extension",
66
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
77
"license": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
@@ -100,15 +100,11 @@
100100
],
101101
"servers": [
102102
{
103-
"url": "{protocol}://api.{hostname}",
103+
"url": "https://{hostname}/api/v3",
104104
"variables": {
105105
"hostname": {
106106
"description": "Self-hosted GitHub AE hostname",
107107
"default": "HOSTNAME"
108-
},
109-
"protocol": {
110-
"description": "Self-hosted GitHub AE protocol",
111-
"default": "http"
112108
}
113109
}
114110
}
@@ -4906,7 +4902,7 @@
49064902
"parameters": [
49074903
{
49084904
"name": "filter",
4909-
"description": "Indicates which sorts of issues to return. Can be one of: \n\\* `assigned`: Issues assigned to you \n\\* `created`: Issues created by you \n\\* `mentioned`: Issues mentioning you \n\\* `subscribed`: Issues you're subscribed to updates for \n\\* `all`: All issues the authenticated user can see, regardless of participation or creation",
4905+
"description": "Indicates which sorts of issues to return. Can be one of: \n\\* `assigned`: Issues assigned to you \n\\* `created`: Issues created by you \n\\* `mentioned`: Issues mentioning you \n\\* `subscribed`: Issues you're subscribed to updates for \n\\* `all` or `repos`: All issues the authenticated user can see, regardless of participation or creation",
49104906
"in": "query",
49114907
"required": false,
49124908
"schema": {
@@ -7273,7 +7269,7 @@
72737269
{ "$ref": "#/components/parameters/org" },
72747270
{
72757271
"name": "filter",
7276-
"description": "Indicates which sorts of issues to return. Can be one of: \n\\* `assigned`: Issues assigned to you \n\\* `created`: Issues created by you \n\\* `mentioned`: Issues mentioning you \n\\* `subscribed`: Issues you're subscribed to updates for \n\\* `all`: All issues the authenticated user can see, regardless of participation or creation",
7272+
"description": "Indicates which sorts of issues to return. Can be one of: \n\\* `assigned`: Issues assigned to you \n\\* `created`: Issues created by you \n\\* `mentioned`: Issues mentioning you \n\\* `subscribed`: Issues you're subscribed to updates for \n\\* `all` or `repos`: All issues the authenticated user can see, regardless of participation or creation",
72777273
"in": "query",
72787274
"required": false,
72797275
"schema": {
@@ -30465,7 +30461,7 @@
3046530461
"parameters": [
3046630462
{
3046730463
"name": "filter",
30468-
"description": "Indicates which sorts of issues to return. Can be one of: \n\\* `assigned`: Issues assigned to you \n\\* `created`: Issues created by you \n\\* `mentioned`: Issues mentioning you \n\\* `subscribed`: Issues you're subscribed to updates for \n\\* `all`: All issues the authenticated user can see, regardless of participation or creation",
30464+
"description": "Indicates which sorts of issues to return. Can be one of: \n\\* `assigned`: Issues assigned to you \n\\* `created`: Issues created by you \n\\* `mentioned`: Issues mentioning you \n\\* `subscribed`: Issues you're subscribed to updates for \n\\* `all` or `repos`: All issues the authenticated user can see, regardless of participation or creation",
3046930465
"in": "query",
3047030466
"required": false,
3047130467
"schema": {
@@ -45248,6 +45244,7 @@
4524845244
},
4524945245
"body_html": { "type": "string" },
4525045246
"body_text": { "type": "string" },
45247+
"mentions_count": { "type": "integer" },
4525145248
"discussion_url": {
4525245249
"description": "The URL of the release discussion.",
4525345250
"type": "string",

packages/openapi-types-ghes-2.22/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@
1212
"types": "types.d.ts",
1313
"author": "Gregor Martynus (https://twitter.com/gr2m)",
1414
"license": "MIT",
15-
"octokit": { "openapi-version": "3.1.2" }
15+
"octokit": { "openapi-version": "3.2.0" }
1616
}

packages/openapi-types-ghes-2.22/types.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12114,7 +12114,7 @@ export interface operations {
1211412114
* \* `created`: Issues created by you
1211512115
* \* `mentioned`: Issues mentioning you
1211612116
* \* `subscribed`: Issues you're subscribed to updates for
12117-
* \* `all`: All issues the authenticated user can see, regardless of participation or creation
12117+
* \* `all` or `repos`: All issues the authenticated user can see, regardless of participation or creation
1211812118
*/
1211912119
filter?:
1212012120
| "assigned"
@@ -13586,7 +13586,7 @@ export interface operations {
1358613586
* \* `created`: Issues created by you
1358713587
* \* `mentioned`: Issues mentioning you
1358813588
* \* `subscribed`: Issues you're subscribed to updates for
13589-
* \* `all`: All issues the authenticated user can see, regardless of participation or creation
13589+
* \* `all` or `repos`: All issues the authenticated user can see, regardless of participation or creation
1359013590
*/
1359113591
filter?:
1359213592
| "assigned"
@@ -26172,7 +26172,7 @@ export interface operations {
2617226172
* \* `created`: Issues created by you
2617326173
* \* `mentioned`: Issues mentioning you
2617426174
* \* `subscribed`: Issues you're subscribed to updates for
26175-
* \* `all`: All issues the authenticated user can see, regardless of participation or creation
26175+
* \* `all` or `repos`: All issues the authenticated user can see, regardless of participation or creation
2617626176
*/
2617726177
filter?:
2617826178
| "assigned"

packages/openapi-types-ghes-3.0/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@
1212
"types": "types.d.ts",
1313
"author": "Gregor Martynus (https://twitter.com/gr2m)",
1414
"license": "MIT",
15-
"octokit": { "openapi-version": "3.1.2" }
15+
"octokit": { "openapi-version": "3.2.0" }
1616
}

0 commit comments

Comments
 (0)