@octokit/openapi 6.6.1 → 6.6.2
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.
- package/generated/api.github.com.deref.json +39 -5
- package/generated/api.github.com.json +45 -3
- package/generated/ghes-3.2-diff-to-api.github.com.deref.json +1 -1
- package/generated/ghes-3.2-diff-to-api.github.com.json +1 -1
- package/generated/ghes-3.2-diff-to-ghes-3.3.deref.json +1 -1
- package/generated/ghes-3.2-diff-to-ghes-3.3.json +1 -1
- package/generated/ghes-3.2.deref.json +39 -5
- package/generated/ghes-3.2.json +45 -3
- package/generated/ghes-3.3-diff-to-ghes-3.4.deref.json +39 -5
- package/generated/ghes-3.3-diff-to-ghes-3.4.json +45 -3
- package/generated/ghes-3.3.deref.json +39 -5
- package/generated/ghes-3.3.json +45 -3
- package/generated/ghes-3.4-diff-to-ghes-3.5.deref.json +1 -1
- package/generated/ghes-3.4-diff-to-ghes-3.5.json +1 -1
- package/generated/ghes-3.4.deref.json +39 -5
- package/generated/ghes-3.4.json +45 -3
- package/generated/ghes-3.5-diff-to-api.github.com.deref.json +1 -1
- package/generated/ghes-3.5-diff-to-api.github.com.json +1 -1
- package/generated/ghes-3.5.deref.json +39 -5
- package/generated/ghes-3.5.json +45 -3
- package/generated/github.ae-diff-to-api.github.com.deref.json +1 -1
- package/generated/github.ae-diff-to-api.github.com.json +1 -1
- package/generated/github.ae.deref.json +1 -1
- package/generated/github.ae.json +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "6.6.
|
|
4
|
+
"version": "6.6.2",
|
|
5
5
|
"title": "GitHub's official OpenAPI spec + Octokit extension",
|
|
6
6
|
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
|
|
7
7
|
"license": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
|
|
@@ -8594,6 +8594,18 @@
|
|
|
8594
8594
|
"type": "string"
|
|
8595
8595
|
}
|
|
8596
8596
|
}
|
|
8597
|
+
},
|
|
8598
|
+
"examples": {
|
|
8599
|
+
"default": {
|
|
8600
|
+
"summary": "Create an authorization",
|
|
8601
|
+
"value": {
|
|
8602
|
+
"scopes": ["public_repo"],
|
|
8603
|
+
"note": "optional note",
|
|
8604
|
+
"note_url": "http://optional/note/url",
|
|
8605
|
+
"client_id": "abcde12345fghij67890",
|
|
8606
|
+
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f"
|
|
8607
|
+
}
|
|
8608
|
+
}
|
|
8597
8609
|
}
|
|
8598
8610
|
}
|
|
8599
8611
|
}
|
|
@@ -9222,9 +9234,9 @@
|
|
|
9222
9234
|
"name": "client_id",
|
|
9223
9235
|
"in": "path",
|
|
9224
9236
|
"required": true,
|
|
9225
|
-
"description": "The client ID of the
|
|
9237
|
+
"description": "The client ID of the OAuth app.",
|
|
9226
9238
|
"schema": { "type": "string" },
|
|
9227
|
-
"examples": { "default": { "value": "
|
|
9239
|
+
"examples": { "default": { "value": "abcde12345fghij67890" } }
|
|
9228
9240
|
}
|
|
9229
9241
|
],
|
|
9230
9242
|
"requestBody": {
|
|
@@ -9261,6 +9273,17 @@
|
|
|
9261
9273
|
},
|
|
9262
9274
|
"required": ["client_secret"],
|
|
9263
9275
|
"type": "object"
|
|
9276
|
+
},
|
|
9277
|
+
"examples": {
|
|
9278
|
+
"default": {
|
|
9279
|
+
"summary": "Create an authorization for an app",
|
|
9280
|
+
"value": {
|
|
9281
|
+
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f",
|
|
9282
|
+
"scopes": ["public_repo"],
|
|
9283
|
+
"note": "optional note",
|
|
9284
|
+
"note_url": "http://optional/note/url"
|
|
9285
|
+
}
|
|
9286
|
+
}
|
|
9264
9287
|
}
|
|
9265
9288
|
}
|
|
9266
9289
|
}
|
|
@@ -10369,9 +10392,9 @@
|
|
|
10369
10392
|
"name": "client_id",
|
|
10370
10393
|
"in": "path",
|
|
10371
10394
|
"required": true,
|
|
10372
|
-
"description": "The client ID of the
|
|
10395
|
+
"description": "The client ID of the OAuth app.",
|
|
10373
10396
|
"schema": { "type": "string" },
|
|
10374
|
-
"examples": { "default": { "value": "
|
|
10397
|
+
"examples": { "default": { "value": "abcde12345fghij67890" } }
|
|
10375
10398
|
},
|
|
10376
10399
|
{
|
|
10377
10400
|
"name": "fingerprint",
|
|
@@ -10410,6 +10433,17 @@
|
|
|
10410
10433
|
},
|
|
10411
10434
|
"required": ["client_secret"],
|
|
10412
10435
|
"type": "object"
|
|
10436
|
+
},
|
|
10437
|
+
"examples": {
|
|
10438
|
+
"default": {
|
|
10439
|
+
"summary": "Create an authorization for an app and fingerprint",
|
|
10440
|
+
"value": {
|
|
10441
|
+
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f",
|
|
10442
|
+
"scopes": ["public_repo"],
|
|
10443
|
+
"note": "optional note",
|
|
10444
|
+
"note_url": "http://optional/note/url"
|
|
10445
|
+
}
|
|
10446
|
+
}
|
|
10413
10447
|
}
|
|
10414
10448
|
}
|
|
10415
10449
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "6.6.
|
|
4
|
+
"version": "6.6.2",
|
|
5
5
|
"title": "GitHub's official OpenAPI spec + Octokit extension",
|
|
6
6
|
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
|
|
7
7
|
"license": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
|
|
@@ -1239,6 +1239,18 @@
|
|
|
1239
1239
|
"type": "string"
|
|
1240
1240
|
}
|
|
1241
1241
|
}
|
|
1242
|
+
},
|
|
1243
|
+
"examples": {
|
|
1244
|
+
"default": {
|
|
1245
|
+
"summary": "Create an authorization",
|
|
1246
|
+
"value": {
|
|
1247
|
+
"scopes": ["public_repo"],
|
|
1248
|
+
"note": "optional note",
|
|
1249
|
+
"note_url": "http://optional/note/url",
|
|
1250
|
+
"client_id": "abcde12345fghij67890",
|
|
1251
|
+
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f"
|
|
1252
|
+
}
|
|
1253
|
+
}
|
|
1242
1254
|
}
|
|
1243
1255
|
}
|
|
1244
1256
|
}
|
|
@@ -1289,7 +1301,7 @@
|
|
|
1289
1301
|
"description": "API method documentation",
|
|
1290
1302
|
"url": "https://docs.github.com/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app"
|
|
1291
1303
|
},
|
|
1292
|
-
"parameters": [{ "$ref": "#/components/parameters/client-id" }],
|
|
1304
|
+
"parameters": [{ "$ref": "#/components/parameters/oauth-client-id" }],
|
|
1293
1305
|
"requestBody": {
|
|
1294
1306
|
"required": true,
|
|
1295
1307
|
"content": {
|
|
@@ -1324,6 +1336,17 @@
|
|
|
1324
1336
|
},
|
|
1325
1337
|
"required": ["client_secret"],
|
|
1326
1338
|
"type": "object"
|
|
1339
|
+
},
|
|
1340
|
+
"examples": {
|
|
1341
|
+
"default": {
|
|
1342
|
+
"summary": "Create an authorization for an app",
|
|
1343
|
+
"value": {
|
|
1344
|
+
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f",
|
|
1345
|
+
"scopes": ["public_repo"],
|
|
1346
|
+
"note": "optional note",
|
|
1347
|
+
"note_url": "http://optional/note/url"
|
|
1348
|
+
}
|
|
1349
|
+
}
|
|
1327
1350
|
}
|
|
1328
1351
|
}
|
|
1329
1352
|
}
|
|
@@ -1393,7 +1416,7 @@
|
|
|
1393
1416
|
"url": "https://docs.github.com/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app-and-fingerprint"
|
|
1394
1417
|
},
|
|
1395
1418
|
"parameters": [
|
|
1396
|
-
{ "$ref": "#/components/parameters/client-id" },
|
|
1419
|
+
{ "$ref": "#/components/parameters/oauth-client-id" },
|
|
1397
1420
|
{
|
|
1398
1421
|
"name": "fingerprint",
|
|
1399
1422
|
"in": "path",
|
|
@@ -1431,6 +1454,17 @@
|
|
|
1431
1454
|
},
|
|
1432
1455
|
"required": ["client_secret"],
|
|
1433
1456
|
"type": "object"
|
|
1457
|
+
},
|
|
1458
|
+
"examples": {
|
|
1459
|
+
"default": {
|
|
1460
|
+
"summary": "Create an authorization for an app and fingerprint",
|
|
1461
|
+
"value": {
|
|
1462
|
+
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f",
|
|
1463
|
+
"scopes": ["public_repo"],
|
|
1464
|
+
"note": "optional note",
|
|
1465
|
+
"note_url": "http://optional/note/url"
|
|
1466
|
+
}
|
|
1467
|
+
}
|
|
1434
1468
|
}
|
|
1435
1469
|
}
|
|
1436
1470
|
}
|
|
@@ -86328,6 +86362,14 @@
|
|
|
86328
86362
|
"required": true,
|
|
86329
86363
|
"schema": { "type": "string" }
|
|
86330
86364
|
},
|
|
86365
|
+
"oauth-client-id": {
|
|
86366
|
+
"name": "client_id",
|
|
86367
|
+
"in": "path",
|
|
86368
|
+
"required": true,
|
|
86369
|
+
"description": "The client ID of the OAuth app.",
|
|
86370
|
+
"schema": { "type": "string" },
|
|
86371
|
+
"examples": { "default": { "value": "abcde12345fghij67890" } }
|
|
86372
|
+
},
|
|
86331
86373
|
"authorization-id": {
|
|
86332
86374
|
"name": "authorization_id",
|
|
86333
86375
|
"description": "The unique identifier of the authorization.",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "6.6.
|
|
4
|
+
"version": "6.6.2",
|
|
5
5
|
"title": "GitHub's official OpenAPI spec + Octokit extension",
|
|
6
6
|
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
|
|
7
7
|
"license": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "6.6.
|
|
4
|
+
"version": "6.6.2",
|
|
5
5
|
"title": "GitHub's official OpenAPI spec + Octokit extension",
|
|
6
6
|
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
|
|
7
7
|
"license": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "6.6.
|
|
4
|
+
"version": "6.6.2",
|
|
5
5
|
"title": "GitHub's official OpenAPI spec + Octokit extension",
|
|
6
6
|
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
|
|
7
7
|
"license": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "6.6.
|
|
4
|
+
"version": "6.6.2",
|
|
5
5
|
"title": "GitHub's official OpenAPI spec + Octokit extension",
|
|
6
6
|
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
|
|
7
7
|
"license": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "6.6.
|
|
4
|
+
"version": "6.6.2",
|
|
5
5
|
"title": "GitHub's official OpenAPI spec + Octokit extension",
|
|
6
6
|
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
|
|
7
7
|
"license": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
|
|
@@ -14597,6 +14597,18 @@
|
|
|
14597
14597
|
"type": "string"
|
|
14598
14598
|
}
|
|
14599
14599
|
}
|
|
14600
|
+
},
|
|
14601
|
+
"examples": {
|
|
14602
|
+
"default": {
|
|
14603
|
+
"summary": "Create an authorization",
|
|
14604
|
+
"value": {
|
|
14605
|
+
"scopes": ["public_repo"],
|
|
14606
|
+
"note": "optional note",
|
|
14607
|
+
"note_url": "http://optional/note/url",
|
|
14608
|
+
"client_id": "abcde12345fghij67890",
|
|
14609
|
+
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f"
|
|
14610
|
+
}
|
|
14611
|
+
}
|
|
14600
14612
|
}
|
|
14601
14613
|
}
|
|
14602
14614
|
}
|
|
@@ -15230,9 +15242,9 @@
|
|
|
15230
15242
|
"name": "client_id",
|
|
15231
15243
|
"in": "path",
|
|
15232
15244
|
"required": true,
|
|
15233
|
-
"description": "The client ID of the
|
|
15245
|
+
"description": "The client ID of the OAuth app.",
|
|
15234
15246
|
"schema": { "type": "string" },
|
|
15235
|
-
"examples": { "default": { "value": "
|
|
15247
|
+
"examples": { "default": { "value": "abcde12345fghij67890" } }
|
|
15236
15248
|
}
|
|
15237
15249
|
],
|
|
15238
15250
|
"requestBody": {
|
|
@@ -15269,6 +15281,17 @@
|
|
|
15269
15281
|
},
|
|
15270
15282
|
"required": ["client_secret"],
|
|
15271
15283
|
"type": "object"
|
|
15284
|
+
},
|
|
15285
|
+
"examples": {
|
|
15286
|
+
"default": {
|
|
15287
|
+
"summary": "Create an authorization for an app",
|
|
15288
|
+
"value": {
|
|
15289
|
+
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f",
|
|
15290
|
+
"scopes": ["public_repo"],
|
|
15291
|
+
"note": "optional note",
|
|
15292
|
+
"note_url": "http://optional/note/url"
|
|
15293
|
+
}
|
|
15294
|
+
}
|
|
15272
15295
|
}
|
|
15273
15296
|
}
|
|
15274
15297
|
}
|
|
@@ -16387,9 +16410,9 @@
|
|
|
16387
16410
|
"name": "client_id",
|
|
16388
16411
|
"in": "path",
|
|
16389
16412
|
"required": true,
|
|
16390
|
-
"description": "The client ID of the
|
|
16413
|
+
"description": "The client ID of the OAuth app.",
|
|
16391
16414
|
"schema": { "type": "string" },
|
|
16392
|
-
"examples": { "default": { "value": "
|
|
16415
|
+
"examples": { "default": { "value": "abcde12345fghij67890" } }
|
|
16393
16416
|
},
|
|
16394
16417
|
{
|
|
16395
16418
|
"name": "fingerprint",
|
|
@@ -16428,6 +16451,17 @@
|
|
|
16428
16451
|
},
|
|
16429
16452
|
"required": ["client_secret"],
|
|
16430
16453
|
"type": "object"
|
|
16454
|
+
},
|
|
16455
|
+
"examples": {
|
|
16456
|
+
"default": {
|
|
16457
|
+
"summary": "Create an authorization for an app and fingerprint",
|
|
16458
|
+
"value": {
|
|
16459
|
+
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f",
|
|
16460
|
+
"scopes": ["public_repo"],
|
|
16461
|
+
"note": "optional note",
|
|
16462
|
+
"note_url": "http://optional/note/url"
|
|
16463
|
+
}
|
|
16464
|
+
}
|
|
16431
16465
|
}
|
|
16432
16466
|
}
|
|
16433
16467
|
}
|
package/generated/ghes-3.2.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "6.6.
|
|
4
|
+
"version": "6.6.2",
|
|
5
5
|
"title": "GitHub's official OpenAPI spec + Octokit extension",
|
|
6
6
|
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
|
|
7
7
|
"license": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
|
|
@@ -3245,6 +3245,18 @@
|
|
|
3245
3245
|
"type": "string"
|
|
3246
3246
|
}
|
|
3247
3247
|
}
|
|
3248
|
+
},
|
|
3249
|
+
"examples": {
|
|
3250
|
+
"default": {
|
|
3251
|
+
"summary": "Create an authorization",
|
|
3252
|
+
"value": {
|
|
3253
|
+
"scopes": ["public_repo"],
|
|
3254
|
+
"note": "optional note",
|
|
3255
|
+
"note_url": "http://optional/note/url",
|
|
3256
|
+
"client_id": "abcde12345fghij67890",
|
|
3257
|
+
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f"
|
|
3258
|
+
}
|
|
3259
|
+
}
|
|
3248
3260
|
}
|
|
3249
3261
|
}
|
|
3250
3262
|
}
|
|
@@ -3295,7 +3307,7 @@
|
|
|
3295
3307
|
"description": "API method documentation",
|
|
3296
3308
|
"url": "https://docs.github.com/enterprise-server@3.2/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app"
|
|
3297
3309
|
},
|
|
3298
|
-
"parameters": [{ "$ref": "#/components/parameters/client-id" }],
|
|
3310
|
+
"parameters": [{ "$ref": "#/components/parameters/oauth-client-id" }],
|
|
3299
3311
|
"requestBody": {
|
|
3300
3312
|
"required": true,
|
|
3301
3313
|
"content": {
|
|
@@ -3330,6 +3342,17 @@
|
|
|
3330
3342
|
},
|
|
3331
3343
|
"required": ["client_secret"],
|
|
3332
3344
|
"type": "object"
|
|
3345
|
+
},
|
|
3346
|
+
"examples": {
|
|
3347
|
+
"default": {
|
|
3348
|
+
"summary": "Create an authorization for an app",
|
|
3349
|
+
"value": {
|
|
3350
|
+
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f",
|
|
3351
|
+
"scopes": ["public_repo"],
|
|
3352
|
+
"note": "optional note",
|
|
3353
|
+
"note_url": "http://optional/note/url"
|
|
3354
|
+
}
|
|
3355
|
+
}
|
|
3333
3356
|
}
|
|
3334
3357
|
}
|
|
3335
3358
|
}
|
|
@@ -3399,7 +3422,7 @@
|
|
|
3399
3422
|
"url": "https://docs.github.com/enterprise-server@3.2/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app-and-fingerprint"
|
|
3400
3423
|
},
|
|
3401
3424
|
"parameters": [
|
|
3402
|
-
{ "$ref": "#/components/parameters/client-id" },
|
|
3425
|
+
{ "$ref": "#/components/parameters/oauth-client-id" },
|
|
3403
3426
|
{
|
|
3404
3427
|
"name": "fingerprint",
|
|
3405
3428
|
"in": "path",
|
|
@@ -3437,6 +3460,17 @@
|
|
|
3437
3460
|
},
|
|
3438
3461
|
"required": ["client_secret"],
|
|
3439
3462
|
"type": "object"
|
|
3463
|
+
},
|
|
3464
|
+
"examples": {
|
|
3465
|
+
"default": {
|
|
3466
|
+
"summary": "Create an authorization for an app and fingerprint",
|
|
3467
|
+
"value": {
|
|
3468
|
+
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f",
|
|
3469
|
+
"scopes": ["public_repo"],
|
|
3470
|
+
"note": "optional note",
|
|
3471
|
+
"note_url": "http://optional/note/url"
|
|
3472
|
+
}
|
|
3473
|
+
}
|
|
3440
3474
|
}
|
|
3441
3475
|
}
|
|
3442
3476
|
}
|
|
@@ -72880,6 +72914,14 @@
|
|
|
72880
72914
|
"required": true,
|
|
72881
72915
|
"schema": { "type": "string" }
|
|
72882
72916
|
},
|
|
72917
|
+
"oauth-client-id": {
|
|
72918
|
+
"name": "client_id",
|
|
72919
|
+
"in": "path",
|
|
72920
|
+
"required": true,
|
|
72921
|
+
"description": "The client ID of the OAuth app.",
|
|
72922
|
+
"schema": { "type": "string" },
|
|
72923
|
+
"examples": { "default": { "value": "abcde12345fghij67890" } }
|
|
72924
|
+
},
|
|
72883
72925
|
"authorization-id": {
|
|
72884
72926
|
"name": "authorization_id",
|
|
72885
72927
|
"description": "The unique identifier of the authorization.",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "6.6.
|
|
4
|
+
"version": "6.6.2",
|
|
5
5
|
"title": "GitHub's official OpenAPI spec + Octokit extension",
|
|
6
6
|
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
|
|
7
7
|
"license": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
|
|
@@ -8549,6 +8549,18 @@
|
|
|
8549
8549
|
"type": "string"
|
|
8550
8550
|
}
|
|
8551
8551
|
}
|
|
8552
|
+
},
|
|
8553
|
+
"examples": {
|
|
8554
|
+
"default": {
|
|
8555
|
+
"summary": "Create an authorization",
|
|
8556
|
+
"value": {
|
|
8557
|
+
"scopes": ["public_repo"],
|
|
8558
|
+
"note": "optional note",
|
|
8559
|
+
"note_url": "http://optional/note/url",
|
|
8560
|
+
"client_id": "abcde12345fghij67890",
|
|
8561
|
+
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f"
|
|
8562
|
+
}
|
|
8563
|
+
}
|
|
8552
8564
|
}
|
|
8553
8565
|
}
|
|
8554
8566
|
}
|
|
@@ -9182,9 +9194,9 @@
|
|
|
9182
9194
|
"name": "client_id",
|
|
9183
9195
|
"in": "path",
|
|
9184
9196
|
"required": true,
|
|
9185
|
-
"description": "The client ID of the
|
|
9197
|
+
"description": "The client ID of the OAuth app.",
|
|
9186
9198
|
"schema": { "type": "string" },
|
|
9187
|
-
"examples": { "default": { "value": "
|
|
9199
|
+
"examples": { "default": { "value": "abcde12345fghij67890" } }
|
|
9188
9200
|
}
|
|
9189
9201
|
],
|
|
9190
9202
|
"requestBody": {
|
|
@@ -9221,6 +9233,17 @@
|
|
|
9221
9233
|
},
|
|
9222
9234
|
"required": ["client_secret"],
|
|
9223
9235
|
"type": "object"
|
|
9236
|
+
},
|
|
9237
|
+
"examples": {
|
|
9238
|
+
"default": {
|
|
9239
|
+
"summary": "Create an authorization for an app",
|
|
9240
|
+
"value": {
|
|
9241
|
+
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f",
|
|
9242
|
+
"scopes": ["public_repo"],
|
|
9243
|
+
"note": "optional note",
|
|
9244
|
+
"note_url": "http://optional/note/url"
|
|
9245
|
+
}
|
|
9246
|
+
}
|
|
9224
9247
|
}
|
|
9225
9248
|
}
|
|
9226
9249
|
}
|
|
@@ -10339,9 +10362,9 @@
|
|
|
10339
10362
|
"name": "client_id",
|
|
10340
10363
|
"in": "path",
|
|
10341
10364
|
"required": true,
|
|
10342
|
-
"description": "The client ID of the
|
|
10365
|
+
"description": "The client ID of the OAuth app.",
|
|
10343
10366
|
"schema": { "type": "string" },
|
|
10344
|
-
"examples": { "default": { "value": "
|
|
10367
|
+
"examples": { "default": { "value": "abcde12345fghij67890" } }
|
|
10345
10368
|
},
|
|
10346
10369
|
{
|
|
10347
10370
|
"name": "fingerprint",
|
|
@@ -10380,6 +10403,17 @@
|
|
|
10380
10403
|
},
|
|
10381
10404
|
"required": ["client_secret"],
|
|
10382
10405
|
"type": "object"
|
|
10406
|
+
},
|
|
10407
|
+
"examples": {
|
|
10408
|
+
"default": {
|
|
10409
|
+
"summary": "Create an authorization for an app and fingerprint",
|
|
10410
|
+
"value": {
|
|
10411
|
+
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f",
|
|
10412
|
+
"scopes": ["public_repo"],
|
|
10413
|
+
"note": "optional note",
|
|
10414
|
+
"note_url": "http://optional/note/url"
|
|
10415
|
+
}
|
|
10416
|
+
}
|
|
10383
10417
|
}
|
|
10384
10418
|
}
|
|
10385
10419
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "6.6.
|
|
4
|
+
"version": "6.6.2",
|
|
5
5
|
"title": "GitHub's official OpenAPI spec + Octokit extension",
|
|
6
6
|
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
|
|
7
7
|
"license": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
|
|
@@ -842,6 +842,18 @@
|
|
|
842
842
|
"type": "string"
|
|
843
843
|
}
|
|
844
844
|
}
|
|
845
|
+
},
|
|
846
|
+
"examples": {
|
|
847
|
+
"default": {
|
|
848
|
+
"summary": "Create an authorization",
|
|
849
|
+
"value": {
|
|
850
|
+
"scopes": ["public_repo"],
|
|
851
|
+
"note": "optional note",
|
|
852
|
+
"note_url": "http://optional/note/url",
|
|
853
|
+
"client_id": "abcde12345fghij67890",
|
|
854
|
+
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f"
|
|
855
|
+
}
|
|
856
|
+
}
|
|
845
857
|
}
|
|
846
858
|
}
|
|
847
859
|
}
|
|
@@ -892,7 +904,7 @@
|
|
|
892
904
|
"description": "API method documentation",
|
|
893
905
|
"url": "https://docs.github.com/enterprise-server@3.3/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app"
|
|
894
906
|
},
|
|
895
|
-
"parameters": [{ "$ref": "#/components/parameters/client-id" }],
|
|
907
|
+
"parameters": [{ "$ref": "#/components/parameters/oauth-client-id" }],
|
|
896
908
|
"requestBody": {
|
|
897
909
|
"required": true,
|
|
898
910
|
"content": {
|
|
@@ -927,6 +939,17 @@
|
|
|
927
939
|
},
|
|
928
940
|
"required": ["client_secret"],
|
|
929
941
|
"type": "object"
|
|
942
|
+
},
|
|
943
|
+
"examples": {
|
|
944
|
+
"default": {
|
|
945
|
+
"summary": "Create an authorization for an app",
|
|
946
|
+
"value": {
|
|
947
|
+
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f",
|
|
948
|
+
"scopes": ["public_repo"],
|
|
949
|
+
"note": "optional note",
|
|
950
|
+
"note_url": "http://optional/note/url"
|
|
951
|
+
}
|
|
952
|
+
}
|
|
930
953
|
}
|
|
931
954
|
}
|
|
932
955
|
}
|
|
@@ -996,7 +1019,7 @@
|
|
|
996
1019
|
"url": "https://docs.github.com/enterprise-server@3.3/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app-and-fingerprint"
|
|
997
1020
|
},
|
|
998
1021
|
"parameters": [
|
|
999
|
-
{ "$ref": "#/components/parameters/client-id" },
|
|
1022
|
+
{ "$ref": "#/components/parameters/oauth-client-id" },
|
|
1000
1023
|
{
|
|
1001
1024
|
"name": "fingerprint",
|
|
1002
1025
|
"in": "path",
|
|
@@ -1034,6 +1057,17 @@
|
|
|
1034
1057
|
},
|
|
1035
1058
|
"required": ["client_secret"],
|
|
1036
1059
|
"type": "object"
|
|
1060
|
+
},
|
|
1061
|
+
"examples": {
|
|
1062
|
+
"default": {
|
|
1063
|
+
"summary": "Create an authorization for an app and fingerprint",
|
|
1064
|
+
"value": {
|
|
1065
|
+
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f",
|
|
1066
|
+
"scopes": ["public_repo"],
|
|
1067
|
+
"note": "optional note",
|
|
1068
|
+
"note_url": "http://optional/note/url"
|
|
1069
|
+
}
|
|
1070
|
+
}
|
|
1037
1071
|
}
|
|
1038
1072
|
}
|
|
1039
1073
|
}
|
|
@@ -3349,6 +3383,14 @@
|
|
|
3349
3383
|
"required": true,
|
|
3350
3384
|
"schema": { "type": "string" }
|
|
3351
3385
|
},
|
|
3386
|
+
"oauth-client-id": {
|
|
3387
|
+
"name": "client_id",
|
|
3388
|
+
"in": "path",
|
|
3389
|
+
"required": true,
|
|
3390
|
+
"description": "The client ID of the OAuth app.",
|
|
3391
|
+
"schema": { "type": "string" },
|
|
3392
|
+
"examples": { "default": { "value": "abcde12345fghij67890" } }
|
|
3393
|
+
},
|
|
3352
3394
|
"authorization-id": {
|
|
3353
3395
|
"name": "authorization_id",
|
|
3354
3396
|
"description": "The unique identifier of the authorization.",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "6.6.
|
|
4
|
+
"version": "6.6.2",
|
|
5
5
|
"title": "GitHub's official OpenAPI spec + Octokit extension",
|
|
6
6
|
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
|
|
7
7
|
"license": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
|
|
@@ -14458,6 +14458,18 @@
|
|
|
14458
14458
|
"type": "string"
|
|
14459
14459
|
}
|
|
14460
14460
|
}
|
|
14461
|
+
},
|
|
14462
|
+
"examples": {
|
|
14463
|
+
"default": {
|
|
14464
|
+
"summary": "Create an authorization",
|
|
14465
|
+
"value": {
|
|
14466
|
+
"scopes": ["public_repo"],
|
|
14467
|
+
"note": "optional note",
|
|
14468
|
+
"note_url": "http://optional/note/url",
|
|
14469
|
+
"client_id": "abcde12345fghij67890",
|
|
14470
|
+
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f"
|
|
14471
|
+
}
|
|
14472
|
+
}
|
|
14461
14473
|
}
|
|
14462
14474
|
}
|
|
14463
14475
|
}
|
|
@@ -15091,9 +15103,9 @@
|
|
|
15091
15103
|
"name": "client_id",
|
|
15092
15104
|
"in": "path",
|
|
15093
15105
|
"required": true,
|
|
15094
|
-
"description": "The client ID of the
|
|
15106
|
+
"description": "The client ID of the OAuth app.",
|
|
15095
15107
|
"schema": { "type": "string" },
|
|
15096
|
-
"examples": { "default": { "value": "
|
|
15108
|
+
"examples": { "default": { "value": "abcde12345fghij67890" } }
|
|
15097
15109
|
}
|
|
15098
15110
|
],
|
|
15099
15111
|
"requestBody": {
|
|
@@ -15130,6 +15142,17 @@
|
|
|
15130
15142
|
},
|
|
15131
15143
|
"required": ["client_secret"],
|
|
15132
15144
|
"type": "object"
|
|
15145
|
+
},
|
|
15146
|
+
"examples": {
|
|
15147
|
+
"default": {
|
|
15148
|
+
"summary": "Create an authorization for an app",
|
|
15149
|
+
"value": {
|
|
15150
|
+
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f",
|
|
15151
|
+
"scopes": ["public_repo"],
|
|
15152
|
+
"note": "optional note",
|
|
15153
|
+
"note_url": "http://optional/note/url"
|
|
15154
|
+
}
|
|
15155
|
+
}
|
|
15133
15156
|
}
|
|
15134
15157
|
}
|
|
15135
15158
|
}
|
|
@@ -16248,9 +16271,9 @@
|
|
|
16248
16271
|
"name": "client_id",
|
|
16249
16272
|
"in": "path",
|
|
16250
16273
|
"required": true,
|
|
16251
|
-
"description": "The client ID of the
|
|
16274
|
+
"description": "The client ID of the OAuth app.",
|
|
16252
16275
|
"schema": { "type": "string" },
|
|
16253
|
-
"examples": { "default": { "value": "
|
|
16276
|
+
"examples": { "default": { "value": "abcde12345fghij67890" } }
|
|
16254
16277
|
},
|
|
16255
16278
|
{
|
|
16256
16279
|
"name": "fingerprint",
|
|
@@ -16289,6 +16312,17 @@
|
|
|
16289
16312
|
},
|
|
16290
16313
|
"required": ["client_secret"],
|
|
16291
16314
|
"type": "object"
|
|
16315
|
+
},
|
|
16316
|
+
"examples": {
|
|
16317
|
+
"default": {
|
|
16318
|
+
"summary": "Create an authorization for an app and fingerprint",
|
|
16319
|
+
"value": {
|
|
16320
|
+
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f",
|
|
16321
|
+
"scopes": ["public_repo"],
|
|
16322
|
+
"note": "optional note",
|
|
16323
|
+
"note_url": "http://optional/note/url"
|
|
16324
|
+
}
|
|
16325
|
+
}
|
|
16292
16326
|
}
|
|
16293
16327
|
}
|
|
16294
16328
|
}
|
package/generated/ghes-3.3.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "6.6.
|
|
4
|
+
"version": "6.6.2",
|
|
5
5
|
"title": "GitHub's official OpenAPI spec + Octokit extension",
|
|
6
6
|
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
|
|
7
7
|
"license": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
|
|
@@ -3076,6 +3076,18 @@
|
|
|
3076
3076
|
"type": "string"
|
|
3077
3077
|
}
|
|
3078
3078
|
}
|
|
3079
|
+
},
|
|
3080
|
+
"examples": {
|
|
3081
|
+
"default": {
|
|
3082
|
+
"summary": "Create an authorization",
|
|
3083
|
+
"value": {
|
|
3084
|
+
"scopes": ["public_repo"],
|
|
3085
|
+
"note": "optional note",
|
|
3086
|
+
"note_url": "http://optional/note/url",
|
|
3087
|
+
"client_id": "abcde12345fghij67890",
|
|
3088
|
+
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f"
|
|
3089
|
+
}
|
|
3090
|
+
}
|
|
3079
3091
|
}
|
|
3080
3092
|
}
|
|
3081
3093
|
}
|
|
@@ -3126,7 +3138,7 @@
|
|
|
3126
3138
|
"description": "API method documentation",
|
|
3127
3139
|
"url": "https://docs.github.com/enterprise-server@3.3/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app"
|
|
3128
3140
|
},
|
|
3129
|
-
"parameters": [{ "$ref": "#/components/parameters/client-id" }],
|
|
3141
|
+
"parameters": [{ "$ref": "#/components/parameters/oauth-client-id" }],
|
|
3130
3142
|
"requestBody": {
|
|
3131
3143
|
"required": true,
|
|
3132
3144
|
"content": {
|
|
@@ -3161,6 +3173,17 @@
|
|
|
3161
3173
|
},
|
|
3162
3174
|
"required": ["client_secret"],
|
|
3163
3175
|
"type": "object"
|
|
3176
|
+
},
|
|
3177
|
+
"examples": {
|
|
3178
|
+
"default": {
|
|
3179
|
+
"summary": "Create an authorization for an app",
|
|
3180
|
+
"value": {
|
|
3181
|
+
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f",
|
|
3182
|
+
"scopes": ["public_repo"],
|
|
3183
|
+
"note": "optional note",
|
|
3184
|
+
"note_url": "http://optional/note/url"
|
|
3185
|
+
}
|
|
3186
|
+
}
|
|
3164
3187
|
}
|
|
3165
3188
|
}
|
|
3166
3189
|
}
|
|
@@ -3230,7 +3253,7 @@
|
|
|
3230
3253
|
"url": "https://docs.github.com/enterprise-server@3.3/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app-and-fingerprint"
|
|
3231
3254
|
},
|
|
3232
3255
|
"parameters": [
|
|
3233
|
-
{ "$ref": "#/components/parameters/client-id" },
|
|
3256
|
+
{ "$ref": "#/components/parameters/oauth-client-id" },
|
|
3234
3257
|
{
|
|
3235
3258
|
"name": "fingerprint",
|
|
3236
3259
|
"in": "path",
|
|
@@ -3268,6 +3291,17 @@
|
|
|
3268
3291
|
},
|
|
3269
3292
|
"required": ["client_secret"],
|
|
3270
3293
|
"type": "object"
|
|
3294
|
+
},
|
|
3295
|
+
"examples": {
|
|
3296
|
+
"default": {
|
|
3297
|
+
"summary": "Create an authorization for an app and fingerprint",
|
|
3298
|
+
"value": {
|
|
3299
|
+
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f",
|
|
3300
|
+
"scopes": ["public_repo"],
|
|
3301
|
+
"note": "optional note",
|
|
3302
|
+
"note_url": "http://optional/note/url"
|
|
3303
|
+
}
|
|
3304
|
+
}
|
|
3271
3305
|
}
|
|
3272
3306
|
}
|
|
3273
3307
|
}
|
|
@@ -73315,6 +73349,14 @@
|
|
|
73315
73349
|
"required": true,
|
|
73316
73350
|
"schema": { "type": "string" }
|
|
73317
73351
|
},
|
|
73352
|
+
"oauth-client-id": {
|
|
73353
|
+
"name": "client_id",
|
|
73354
|
+
"in": "path",
|
|
73355
|
+
"required": true,
|
|
73356
|
+
"description": "The client ID of the OAuth app.",
|
|
73357
|
+
"schema": { "type": "string" },
|
|
73358
|
+
"examples": { "default": { "value": "abcde12345fghij67890" } }
|
|
73359
|
+
},
|
|
73318
73360
|
"authorization-id": {
|
|
73319
73361
|
"name": "authorization_id",
|
|
73320
73362
|
"description": "The unique identifier of the authorization.",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "6.6.
|
|
4
|
+
"version": "6.6.2",
|
|
5
5
|
"title": "GitHub's official OpenAPI spec + Octokit extension",
|
|
6
6
|
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
|
|
7
7
|
"license": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "6.6.
|
|
4
|
+
"version": "6.6.2",
|
|
5
5
|
"title": "GitHub's official OpenAPI spec + Octokit extension",
|
|
6
6
|
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
|
|
7
7
|
"license": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "6.6.
|
|
4
|
+
"version": "6.6.2",
|
|
5
5
|
"title": "GitHub's official OpenAPI spec + Octokit extension",
|
|
6
6
|
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
|
|
7
7
|
"license": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
|
|
@@ -13191,6 +13191,18 @@
|
|
|
13191
13191
|
"type": "string"
|
|
13192
13192
|
}
|
|
13193
13193
|
}
|
|
13194
|
+
},
|
|
13195
|
+
"examples": {
|
|
13196
|
+
"default": {
|
|
13197
|
+
"summary": "Create an authorization",
|
|
13198
|
+
"value": {
|
|
13199
|
+
"scopes": ["public_repo"],
|
|
13200
|
+
"note": "optional note",
|
|
13201
|
+
"note_url": "http://optional/note/url",
|
|
13202
|
+
"client_id": "abcde12345fghij67890",
|
|
13203
|
+
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f"
|
|
13204
|
+
}
|
|
13205
|
+
}
|
|
13194
13206
|
}
|
|
13195
13207
|
}
|
|
13196
13208
|
}
|
|
@@ -13819,9 +13831,9 @@
|
|
|
13819
13831
|
"name": "client_id",
|
|
13820
13832
|
"in": "path",
|
|
13821
13833
|
"required": true,
|
|
13822
|
-
"description": "The client ID of the
|
|
13834
|
+
"description": "The client ID of the OAuth app.",
|
|
13823
13835
|
"schema": { "type": "string" },
|
|
13824
|
-
"examples": { "default": { "value": "
|
|
13836
|
+
"examples": { "default": { "value": "abcde12345fghij67890" } }
|
|
13825
13837
|
}
|
|
13826
13838
|
],
|
|
13827
13839
|
"requestBody": {
|
|
@@ -13858,6 +13870,17 @@
|
|
|
13858
13870
|
},
|
|
13859
13871
|
"required": ["client_secret"],
|
|
13860
13872
|
"type": "object"
|
|
13873
|
+
},
|
|
13874
|
+
"examples": {
|
|
13875
|
+
"default": {
|
|
13876
|
+
"summary": "Create an authorization for an app",
|
|
13877
|
+
"value": {
|
|
13878
|
+
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f",
|
|
13879
|
+
"scopes": ["public_repo"],
|
|
13880
|
+
"note": "optional note",
|
|
13881
|
+
"note_url": "http://optional/note/url"
|
|
13882
|
+
}
|
|
13883
|
+
}
|
|
13861
13884
|
}
|
|
13862
13885
|
}
|
|
13863
13886
|
}
|
|
@@ -14966,9 +14989,9 @@
|
|
|
14966
14989
|
"name": "client_id",
|
|
14967
14990
|
"in": "path",
|
|
14968
14991
|
"required": true,
|
|
14969
|
-
"description": "The client ID of the
|
|
14992
|
+
"description": "The client ID of the OAuth app.",
|
|
14970
14993
|
"schema": { "type": "string" },
|
|
14971
|
-
"examples": { "default": { "value": "
|
|
14994
|
+
"examples": { "default": { "value": "abcde12345fghij67890" } }
|
|
14972
14995
|
},
|
|
14973
14996
|
{
|
|
14974
14997
|
"name": "fingerprint",
|
|
@@ -15007,6 +15030,17 @@
|
|
|
15007
15030
|
},
|
|
15008
15031
|
"required": ["client_secret"],
|
|
15009
15032
|
"type": "object"
|
|
15033
|
+
},
|
|
15034
|
+
"examples": {
|
|
15035
|
+
"default": {
|
|
15036
|
+
"summary": "Create an authorization for an app and fingerprint",
|
|
15037
|
+
"value": {
|
|
15038
|
+
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f",
|
|
15039
|
+
"scopes": ["public_repo"],
|
|
15040
|
+
"note": "optional note",
|
|
15041
|
+
"note_url": "http://optional/note/url"
|
|
15042
|
+
}
|
|
15043
|
+
}
|
|
15010
15044
|
}
|
|
15011
15045
|
}
|
|
15012
15046
|
}
|
package/generated/ghes-3.4.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "6.6.
|
|
4
|
+
"version": "6.6.2",
|
|
5
5
|
"title": "GitHub's official OpenAPI spec + Octokit extension",
|
|
6
6
|
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
|
|
7
7
|
"license": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
|
|
@@ -2941,6 +2941,18 @@
|
|
|
2941
2941
|
"type": "string"
|
|
2942
2942
|
}
|
|
2943
2943
|
}
|
|
2944
|
+
},
|
|
2945
|
+
"examples": {
|
|
2946
|
+
"default": {
|
|
2947
|
+
"summary": "Create an authorization",
|
|
2948
|
+
"value": {
|
|
2949
|
+
"scopes": ["public_repo"],
|
|
2950
|
+
"note": "optional note",
|
|
2951
|
+
"note_url": "http://optional/note/url",
|
|
2952
|
+
"client_id": "abcde12345fghij67890",
|
|
2953
|
+
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f"
|
|
2954
|
+
}
|
|
2955
|
+
}
|
|
2944
2956
|
}
|
|
2945
2957
|
}
|
|
2946
2958
|
}
|
|
@@ -2991,7 +3003,7 @@
|
|
|
2991
3003
|
"description": "API method documentation",
|
|
2992
3004
|
"url": "https://docs.github.com/enterprise-server@3.4/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app"
|
|
2993
3005
|
},
|
|
2994
|
-
"parameters": [{ "$ref": "#/components/parameters/client-id" }],
|
|
3006
|
+
"parameters": [{ "$ref": "#/components/parameters/oauth-client-id" }],
|
|
2995
3007
|
"requestBody": {
|
|
2996
3008
|
"required": true,
|
|
2997
3009
|
"content": {
|
|
@@ -3026,6 +3038,17 @@
|
|
|
3026
3038
|
},
|
|
3027
3039
|
"required": ["client_secret"],
|
|
3028
3040
|
"type": "object"
|
|
3041
|
+
},
|
|
3042
|
+
"examples": {
|
|
3043
|
+
"default": {
|
|
3044
|
+
"summary": "Create an authorization for an app",
|
|
3045
|
+
"value": {
|
|
3046
|
+
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f",
|
|
3047
|
+
"scopes": ["public_repo"],
|
|
3048
|
+
"note": "optional note",
|
|
3049
|
+
"note_url": "http://optional/note/url"
|
|
3050
|
+
}
|
|
3051
|
+
}
|
|
3029
3052
|
}
|
|
3030
3053
|
}
|
|
3031
3054
|
}
|
|
@@ -3095,7 +3118,7 @@
|
|
|
3095
3118
|
"url": "https://docs.github.com/enterprise-server@3.4/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app-and-fingerprint"
|
|
3096
3119
|
},
|
|
3097
3120
|
"parameters": [
|
|
3098
|
-
{ "$ref": "#/components/parameters/client-id" },
|
|
3121
|
+
{ "$ref": "#/components/parameters/oauth-client-id" },
|
|
3099
3122
|
{
|
|
3100
3123
|
"name": "fingerprint",
|
|
3101
3124
|
"in": "path",
|
|
@@ -3133,6 +3156,17 @@
|
|
|
3133
3156
|
},
|
|
3134
3157
|
"required": ["client_secret"],
|
|
3135
3158
|
"type": "object"
|
|
3159
|
+
},
|
|
3160
|
+
"examples": {
|
|
3161
|
+
"default": {
|
|
3162
|
+
"summary": "Create an authorization for an app and fingerprint",
|
|
3163
|
+
"value": {
|
|
3164
|
+
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f",
|
|
3165
|
+
"scopes": ["public_repo"],
|
|
3166
|
+
"note": "optional note",
|
|
3167
|
+
"note_url": "http://optional/note/url"
|
|
3168
|
+
}
|
|
3169
|
+
}
|
|
3136
3170
|
}
|
|
3137
3171
|
}
|
|
3138
3172
|
}
|
|
@@ -75744,6 +75778,14 @@
|
|
|
75744
75778
|
"required": true,
|
|
75745
75779
|
"schema": { "type": "string" }
|
|
75746
75780
|
},
|
|
75781
|
+
"oauth-client-id": {
|
|
75782
|
+
"name": "client_id",
|
|
75783
|
+
"in": "path",
|
|
75784
|
+
"required": true,
|
|
75785
|
+
"description": "The client ID of the OAuth app.",
|
|
75786
|
+
"schema": { "type": "string" },
|
|
75787
|
+
"examples": { "default": { "value": "abcde12345fghij67890" } }
|
|
75788
|
+
},
|
|
75747
75789
|
"authorization-id": {
|
|
75748
75790
|
"name": "authorization_id",
|
|
75749
75791
|
"description": "The unique identifier of the authorization.",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "6.6.
|
|
4
|
+
"version": "6.6.2",
|
|
5
5
|
"title": "GitHub's official OpenAPI spec + Octokit extension",
|
|
6
6
|
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
|
|
7
7
|
"license": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "6.6.
|
|
4
|
+
"version": "6.6.2",
|
|
5
5
|
"title": "GitHub's official OpenAPI spec + Octokit extension",
|
|
6
6
|
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
|
|
7
7
|
"license": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "6.6.
|
|
4
|
+
"version": "6.6.2",
|
|
5
5
|
"title": "GitHub's official OpenAPI spec + Octokit extension",
|
|
6
6
|
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
|
|
7
7
|
"license": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
|
|
@@ -13191,6 +13191,18 @@
|
|
|
13191
13191
|
"type": "string"
|
|
13192
13192
|
}
|
|
13193
13193
|
}
|
|
13194
|
+
},
|
|
13195
|
+
"examples": {
|
|
13196
|
+
"default": {
|
|
13197
|
+
"summary": "Create an authorization",
|
|
13198
|
+
"value": {
|
|
13199
|
+
"scopes": ["public_repo"],
|
|
13200
|
+
"note": "optional note",
|
|
13201
|
+
"note_url": "http://optional/note/url",
|
|
13202
|
+
"client_id": "abcde12345fghij67890",
|
|
13203
|
+
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f"
|
|
13204
|
+
}
|
|
13205
|
+
}
|
|
13194
13206
|
}
|
|
13195
13207
|
}
|
|
13196
13208
|
}
|
|
@@ -13819,9 +13831,9 @@
|
|
|
13819
13831
|
"name": "client_id",
|
|
13820
13832
|
"in": "path",
|
|
13821
13833
|
"required": true,
|
|
13822
|
-
"description": "The client ID of the
|
|
13834
|
+
"description": "The client ID of the OAuth app.",
|
|
13823
13835
|
"schema": { "type": "string" },
|
|
13824
|
-
"examples": { "default": { "value": "
|
|
13836
|
+
"examples": { "default": { "value": "abcde12345fghij67890" } }
|
|
13825
13837
|
}
|
|
13826
13838
|
],
|
|
13827
13839
|
"requestBody": {
|
|
@@ -13858,6 +13870,17 @@
|
|
|
13858
13870
|
},
|
|
13859
13871
|
"required": ["client_secret"],
|
|
13860
13872
|
"type": "object"
|
|
13873
|
+
},
|
|
13874
|
+
"examples": {
|
|
13875
|
+
"default": {
|
|
13876
|
+
"summary": "Create an authorization for an app",
|
|
13877
|
+
"value": {
|
|
13878
|
+
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f",
|
|
13879
|
+
"scopes": ["public_repo"],
|
|
13880
|
+
"note": "optional note",
|
|
13881
|
+
"note_url": "http://optional/note/url"
|
|
13882
|
+
}
|
|
13883
|
+
}
|
|
13861
13884
|
}
|
|
13862
13885
|
}
|
|
13863
13886
|
}
|
|
@@ -14966,9 +14989,9 @@
|
|
|
14966
14989
|
"name": "client_id",
|
|
14967
14990
|
"in": "path",
|
|
14968
14991
|
"required": true,
|
|
14969
|
-
"description": "The client ID of the
|
|
14992
|
+
"description": "The client ID of the OAuth app.",
|
|
14970
14993
|
"schema": { "type": "string" },
|
|
14971
|
-
"examples": { "default": { "value": "
|
|
14994
|
+
"examples": { "default": { "value": "abcde12345fghij67890" } }
|
|
14972
14995
|
},
|
|
14973
14996
|
{
|
|
14974
14997
|
"name": "fingerprint",
|
|
@@ -15007,6 +15030,17 @@
|
|
|
15007
15030
|
},
|
|
15008
15031
|
"required": ["client_secret"],
|
|
15009
15032
|
"type": "object"
|
|
15033
|
+
},
|
|
15034
|
+
"examples": {
|
|
15035
|
+
"default": {
|
|
15036
|
+
"summary": "Create an authorization for an app and fingerprint",
|
|
15037
|
+
"value": {
|
|
15038
|
+
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f",
|
|
15039
|
+
"scopes": ["public_repo"],
|
|
15040
|
+
"note": "optional note",
|
|
15041
|
+
"note_url": "http://optional/note/url"
|
|
15042
|
+
}
|
|
15043
|
+
}
|
|
15010
15044
|
}
|
|
15011
15045
|
}
|
|
15012
15046
|
}
|
package/generated/ghes-3.5.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "6.6.
|
|
4
|
+
"version": "6.6.2",
|
|
5
5
|
"title": "GitHub's official OpenAPI spec + Octokit extension",
|
|
6
6
|
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
|
|
7
7
|
"license": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
|
|
@@ -2941,6 +2941,18 @@
|
|
|
2941
2941
|
"type": "string"
|
|
2942
2942
|
}
|
|
2943
2943
|
}
|
|
2944
|
+
},
|
|
2945
|
+
"examples": {
|
|
2946
|
+
"default": {
|
|
2947
|
+
"summary": "Create an authorization",
|
|
2948
|
+
"value": {
|
|
2949
|
+
"scopes": ["public_repo"],
|
|
2950
|
+
"note": "optional note",
|
|
2951
|
+
"note_url": "http://optional/note/url",
|
|
2952
|
+
"client_id": "abcde12345fghij67890",
|
|
2953
|
+
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f"
|
|
2954
|
+
}
|
|
2955
|
+
}
|
|
2944
2956
|
}
|
|
2945
2957
|
}
|
|
2946
2958
|
}
|
|
@@ -2991,7 +3003,7 @@
|
|
|
2991
3003
|
"description": "API method documentation",
|
|
2992
3004
|
"url": "https://docs.github.com/enterprise-server@3.5/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app"
|
|
2993
3005
|
},
|
|
2994
|
-
"parameters": [{ "$ref": "#/components/parameters/client-id" }],
|
|
3006
|
+
"parameters": [{ "$ref": "#/components/parameters/oauth-client-id" }],
|
|
2995
3007
|
"requestBody": {
|
|
2996
3008
|
"required": true,
|
|
2997
3009
|
"content": {
|
|
@@ -3026,6 +3038,17 @@
|
|
|
3026
3038
|
},
|
|
3027
3039
|
"required": ["client_secret"],
|
|
3028
3040
|
"type": "object"
|
|
3041
|
+
},
|
|
3042
|
+
"examples": {
|
|
3043
|
+
"default": {
|
|
3044
|
+
"summary": "Create an authorization for an app",
|
|
3045
|
+
"value": {
|
|
3046
|
+
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f",
|
|
3047
|
+
"scopes": ["public_repo"],
|
|
3048
|
+
"note": "optional note",
|
|
3049
|
+
"note_url": "http://optional/note/url"
|
|
3050
|
+
}
|
|
3051
|
+
}
|
|
3029
3052
|
}
|
|
3030
3053
|
}
|
|
3031
3054
|
}
|
|
@@ -3095,7 +3118,7 @@
|
|
|
3095
3118
|
"url": "https://docs.github.com/enterprise-server@3.5/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app-and-fingerprint"
|
|
3096
3119
|
},
|
|
3097
3120
|
"parameters": [
|
|
3098
|
-
{ "$ref": "#/components/parameters/client-id" },
|
|
3121
|
+
{ "$ref": "#/components/parameters/oauth-client-id" },
|
|
3099
3122
|
{
|
|
3100
3123
|
"name": "fingerprint",
|
|
3101
3124
|
"in": "path",
|
|
@@ -3133,6 +3156,17 @@
|
|
|
3133
3156
|
},
|
|
3134
3157
|
"required": ["client_secret"],
|
|
3135
3158
|
"type": "object"
|
|
3159
|
+
},
|
|
3160
|
+
"examples": {
|
|
3161
|
+
"default": {
|
|
3162
|
+
"summary": "Create an authorization for an app and fingerprint",
|
|
3163
|
+
"value": {
|
|
3164
|
+
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f",
|
|
3165
|
+
"scopes": ["public_repo"],
|
|
3166
|
+
"note": "optional note",
|
|
3167
|
+
"note_url": "http://optional/note/url"
|
|
3168
|
+
}
|
|
3169
|
+
}
|
|
3136
3170
|
}
|
|
3137
3171
|
}
|
|
3138
3172
|
}
|
|
@@ -79446,6 +79480,14 @@
|
|
|
79446
79480
|
"required": true,
|
|
79447
79481
|
"schema": { "type": "string" }
|
|
79448
79482
|
},
|
|
79483
|
+
"oauth-client-id": {
|
|
79484
|
+
"name": "client_id",
|
|
79485
|
+
"in": "path",
|
|
79486
|
+
"required": true,
|
|
79487
|
+
"description": "The client ID of the OAuth app.",
|
|
79488
|
+
"schema": { "type": "string" },
|
|
79489
|
+
"examples": { "default": { "value": "abcde12345fghij67890" } }
|
|
79490
|
+
},
|
|
79449
79491
|
"authorization-id": {
|
|
79450
79492
|
"name": "authorization_id",
|
|
79451
79493
|
"description": "The unique identifier of the authorization.",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "6.6.
|
|
4
|
+
"version": "6.6.2",
|
|
5
5
|
"title": "GitHub's official OpenAPI spec + Octokit extension",
|
|
6
6
|
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
|
|
7
7
|
"license": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "6.6.
|
|
4
|
+
"version": "6.6.2",
|
|
5
5
|
"title": "GitHub's official OpenAPI spec + Octokit extension",
|
|
6
6
|
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
|
|
7
7
|
"license": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "6.6.
|
|
4
|
+
"version": "6.6.2",
|
|
5
5
|
"title": "GitHub's official OpenAPI spec + Octokit extension",
|
|
6
6
|
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
|
|
7
7
|
"license": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
|
package/generated/github.ae.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "6.6.
|
|
4
|
+
"version": "6.6.2",
|
|
5
5
|
"title": "GitHub's official OpenAPI spec + Octokit extension",
|
|
6
6
|
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
|
|
7
7
|
"license": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
|