@octokit/openapi 6.2.1 → 6.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/generated/api.github.com.deref.json +7628 -7780
- package/generated/api.github.com.json +1267 -1290
- 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 +15 -5
- package/generated/ghes-3.2.json +28 -26
- package/generated/ghes-3.3-anicca-diff-to-ghes-3.4.deref.json +23 -0
- package/generated/ghes-3.3-diff-to-ghes-3.4.deref.json +96 -1
- package/generated/ghes-3.3-diff-to-ghes-3.4.json +92 -1
- package/generated/ghes-3.3.deref.json +18 -8
- package/generated/ghes-3.3.json +31 -29
- 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 +27 -13
- package/generated/ghes-3.4.json +40 -34
- package/generated/ghes-3.5-anicca-diff-to-api.github.com.deref.json +60 -2
- package/generated/ghes-3.5-diff-to-api.github.com.deref.json +328 -1
- package/generated/ghes-3.5-diff-to-api.github.com.json +206 -10
- package/generated/ghes-3.5.deref.json +44 -45
- package/generated/ghes-3.5.json +65 -68
- package/generated/github.ae-anicca-diff-to-api.github.com.deref.json +83 -1
- package/generated/github.ae-diff-to-api.github.com.deref.json +423 -1
- package/generated/github.ae-diff-to-api.github.com.json +294 -12
- package/generated/github.ae.deref.json +34 -117
- package/generated/github.ae.json +57 -93
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "6.
|
|
4
|
+
"version": "6.3.0",
|
|
5
5
|
"title": "GitHub's official OpenAPI spec + Octokit extension",
|
|
6
6
|
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
|
|
7
7
|
"license": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
|
|
@@ -71259,6 +71259,333 @@
|
|
|
71259
71259
|
"x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
|
|
71260
71260
|
}
|
|
71261
71261
|
},
|
|
71262
|
+
"/repos/{owner}/{repo}/autolinks": {
|
|
71263
|
+
"get": {
|
|
71264
|
+
"summary": "List all autolinks of a repository",
|
|
71265
|
+
"description": "This returns a list of autolinks configured for the given repository.\n\nInformation about autolinks are only available to repository administrators.",
|
|
71266
|
+
"tags": ["repos"],
|
|
71267
|
+
"operationId": "repos/list-autolinks",
|
|
71268
|
+
"externalDocs": {
|
|
71269
|
+
"description": "API method documentation",
|
|
71270
|
+
"url": "https://docs.github.com/enterprise-server@3.5/v3/repos#list-autolinks"
|
|
71271
|
+
},
|
|
71272
|
+
"parameters": [
|
|
71273
|
+
{
|
|
71274
|
+
"name": "owner",
|
|
71275
|
+
"description": "The account owner of the repository. The name is not case sensitive.",
|
|
71276
|
+
"in": "path",
|
|
71277
|
+
"required": true,
|
|
71278
|
+
"schema": { "type": "string" }
|
|
71279
|
+
},
|
|
71280
|
+
{
|
|
71281
|
+
"name": "repo",
|
|
71282
|
+
"description": "The name of the repository. The name is not case sensitive.",
|
|
71283
|
+
"in": "path",
|
|
71284
|
+
"required": true,
|
|
71285
|
+
"schema": { "type": "string" }
|
|
71286
|
+
},
|
|
71287
|
+
{
|
|
71288
|
+
"name": "page",
|
|
71289
|
+
"description": "Page number of the results to fetch.",
|
|
71290
|
+
"in": "query",
|
|
71291
|
+
"schema": { "type": "integer", "default": 1 }
|
|
71292
|
+
}
|
|
71293
|
+
],
|
|
71294
|
+
"responses": {
|
|
71295
|
+
"200": {
|
|
71296
|
+
"description": "Response",
|
|
71297
|
+
"content": {
|
|
71298
|
+
"application/json": {
|
|
71299
|
+
"schema": {
|
|
71300
|
+
"type": "array",
|
|
71301
|
+
"items": {
|
|
71302
|
+
"title": "Autolink reference",
|
|
71303
|
+
"description": "An autolink reference.",
|
|
71304
|
+
"type": "object",
|
|
71305
|
+
"properties": {
|
|
71306
|
+
"id": { "type": "integer", "example": 3 },
|
|
71307
|
+
"key_prefix": {
|
|
71308
|
+
"description": "The prefix of a key that is linkified.",
|
|
71309
|
+
"example": "TICKET-",
|
|
71310
|
+
"type": "string"
|
|
71311
|
+
},
|
|
71312
|
+
"url_template": {
|
|
71313
|
+
"description": "A template for the target URL that is generated if a key was found.",
|
|
71314
|
+
"example": "https://example.com/TICKET?query=<num>",
|
|
71315
|
+
"type": "string"
|
|
71316
|
+
}
|
|
71317
|
+
},
|
|
71318
|
+
"required": ["id", "key_prefix", "url_template"]
|
|
71319
|
+
}
|
|
71320
|
+
},
|
|
71321
|
+
"examples": {
|
|
71322
|
+
"default": {
|
|
71323
|
+
"value": [
|
|
71324
|
+
{
|
|
71325
|
+
"id": 1,
|
|
71326
|
+
"key_prefix": "TICKET-",
|
|
71327
|
+
"url_template": "https://example.com/TICKET?query=<num>"
|
|
71328
|
+
}
|
|
71329
|
+
]
|
|
71330
|
+
}
|
|
71331
|
+
}
|
|
71332
|
+
}
|
|
71333
|
+
}
|
|
71334
|
+
}
|
|
71335
|
+
},
|
|
71336
|
+
"x-github": {
|
|
71337
|
+
"githubCloudOnly": false,
|
|
71338
|
+
"enabledForGitHubApps": true,
|
|
71339
|
+
"category": "repos",
|
|
71340
|
+
"subcategory": "autolinks"
|
|
71341
|
+
},
|
|
71342
|
+
"x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
|
|
71343
|
+
},
|
|
71344
|
+
"post": {
|
|
71345
|
+
"summary": "Create an autolink reference for a repository",
|
|
71346
|
+
"description": "Users with admin access to the repository can create an autolink.",
|
|
71347
|
+
"tags": ["repos"],
|
|
71348
|
+
"operationId": "repos/create-autolink",
|
|
71349
|
+
"externalDocs": {
|
|
71350
|
+
"description": "API method documentation",
|
|
71351
|
+
"url": "https://docs.github.com/enterprise-server@3.5/v3/repos#create-an-autolink"
|
|
71352
|
+
},
|
|
71353
|
+
"parameters": [
|
|
71354
|
+
{
|
|
71355
|
+
"name": "owner",
|
|
71356
|
+
"description": "The account owner of the repository. The name is not case sensitive.",
|
|
71357
|
+
"in": "path",
|
|
71358
|
+
"required": true,
|
|
71359
|
+
"schema": { "type": "string" }
|
|
71360
|
+
},
|
|
71361
|
+
{
|
|
71362
|
+
"name": "repo",
|
|
71363
|
+
"description": "The name of the repository. The name is not case sensitive.",
|
|
71364
|
+
"in": "path",
|
|
71365
|
+
"required": true,
|
|
71366
|
+
"schema": { "type": "string" }
|
|
71367
|
+
}
|
|
71368
|
+
],
|
|
71369
|
+
"requestBody": {
|
|
71370
|
+
"required": true,
|
|
71371
|
+
"content": {
|
|
71372
|
+
"application/json": {
|
|
71373
|
+
"schema": {
|
|
71374
|
+
"type": "object",
|
|
71375
|
+
"properties": {
|
|
71376
|
+
"key_prefix": {
|
|
71377
|
+
"type": "string",
|
|
71378
|
+
"description": "The prefix appended by a number will generate a link any time it is found in an issue, pull request, or commit."
|
|
71379
|
+
},
|
|
71380
|
+
"url_template": {
|
|
71381
|
+
"type": "string",
|
|
71382
|
+
"description": "The URL must contain `<num>` for the reference number."
|
|
71383
|
+
}
|
|
71384
|
+
},
|
|
71385
|
+
"required": ["key_prefix", "url_template"]
|
|
71386
|
+
},
|
|
71387
|
+
"examples": {
|
|
71388
|
+
"default": {
|
|
71389
|
+
"value": {
|
|
71390
|
+
"key_prefix": "TICKET-",
|
|
71391
|
+
"url_template": "https://example.com/TICKET?query=<num>"
|
|
71392
|
+
}
|
|
71393
|
+
}
|
|
71394
|
+
}
|
|
71395
|
+
}
|
|
71396
|
+
}
|
|
71397
|
+
},
|
|
71398
|
+
"responses": {
|
|
71399
|
+
"201": {
|
|
71400
|
+
"description": "response",
|
|
71401
|
+
"content": {
|
|
71402
|
+
"application/json": {
|
|
71403
|
+
"schema": {
|
|
71404
|
+
"title": "Autolink reference",
|
|
71405
|
+
"description": "An autolink reference.",
|
|
71406
|
+
"type": "object",
|
|
71407
|
+
"properties": {
|
|
71408
|
+
"id": { "type": "integer", "example": 3 },
|
|
71409
|
+
"key_prefix": {
|
|
71410
|
+
"description": "The prefix of a key that is linkified.",
|
|
71411
|
+
"example": "TICKET-",
|
|
71412
|
+
"type": "string"
|
|
71413
|
+
},
|
|
71414
|
+
"url_template": {
|
|
71415
|
+
"description": "A template for the target URL that is generated if a key was found.",
|
|
71416
|
+
"example": "https://example.com/TICKET?query=<num>",
|
|
71417
|
+
"type": "string"
|
|
71418
|
+
}
|
|
71419
|
+
},
|
|
71420
|
+
"required": ["id", "key_prefix", "url_template"]
|
|
71421
|
+
},
|
|
71422
|
+
"examples": {
|
|
71423
|
+
"default": {
|
|
71424
|
+
"value": {
|
|
71425
|
+
"id": 1,
|
|
71426
|
+
"key_prefix": "TICKET-",
|
|
71427
|
+
"url_template": "https://example.com/TICKET?query=<num>"
|
|
71428
|
+
}
|
|
71429
|
+
}
|
|
71430
|
+
}
|
|
71431
|
+
}
|
|
71432
|
+
},
|
|
71433
|
+
"headers": {
|
|
71434
|
+
"Location": {
|
|
71435
|
+
"example": "https://api.github.com/repos/octocat/Hello-World/autolinks/1",
|
|
71436
|
+
"schema": { "type": "string" }
|
|
71437
|
+
}
|
|
71438
|
+
}
|
|
71439
|
+
},
|
|
71440
|
+
"422": {
|
|
71441
|
+
"description": "Validation failed",
|
|
71442
|
+
"content": {
|
|
71443
|
+
"application/json": {
|
|
71444
|
+
"schema": {
|
|
71445
|
+
"title": "Validation Error",
|
|
71446
|
+
"description": "Validation Error",
|
|
71447
|
+
"type": "object",
|
|
71448
|
+
"required": ["message", "documentation_url"],
|
|
71449
|
+
"properties": {
|
|
71450
|
+
"message": { "type": "string" },
|
|
71451
|
+
"documentation_url": { "type": "string" },
|
|
71452
|
+
"errors": {
|
|
71453
|
+
"type": "array",
|
|
71454
|
+
"items": {
|
|
71455
|
+
"type": "object",
|
|
71456
|
+
"required": ["code"],
|
|
71457
|
+
"properties": {
|
|
71458
|
+
"resource": { "type": "string" },
|
|
71459
|
+
"field": { "type": "string" },
|
|
71460
|
+
"message": { "type": "string" },
|
|
71461
|
+
"code": { "type": "string" },
|
|
71462
|
+
"index": { "type": "integer" },
|
|
71463
|
+
"value": {
|
|
71464
|
+
"oneOf": [
|
|
71465
|
+
{ "type": "string", "nullable": true },
|
|
71466
|
+
{ "type": "integer", "nullable": true },
|
|
71467
|
+
{
|
|
71468
|
+
"type": "array",
|
|
71469
|
+
"nullable": true,
|
|
71470
|
+
"items": { "type": "string" }
|
|
71471
|
+
}
|
|
71472
|
+
]
|
|
71473
|
+
}
|
|
71474
|
+
}
|
|
71475
|
+
}
|
|
71476
|
+
}
|
|
71477
|
+
}
|
|
71478
|
+
}
|
|
71479
|
+
}
|
|
71480
|
+
}
|
|
71481
|
+
}
|
|
71482
|
+
},
|
|
71483
|
+
"x-github": {
|
|
71484
|
+
"githubCloudOnly": false,
|
|
71485
|
+
"enabledForGitHubApps": true,
|
|
71486
|
+
"category": "repos",
|
|
71487
|
+
"subcategory": "autolinks"
|
|
71488
|
+
},
|
|
71489
|
+
"x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
|
|
71490
|
+
}
|
|
71491
|
+
},
|
|
71492
|
+
"/repos/{owner}/{repo}/autolinks/{autolink_id}": {
|
|
71493
|
+
"get": {
|
|
71494
|
+
"summary": "Get an autolink reference of a repository",
|
|
71495
|
+
"description": "This returns a single autolink reference by ID that was configured for the given repository.\n\nInformation about autolinks are only available to repository administrators.",
|
|
71496
|
+
"tags": ["repos"],
|
|
71497
|
+
"operationId": "repos/get-autolink",
|
|
71498
|
+
"externalDocs": {
|
|
71499
|
+
"description": "API method documentation",
|
|
71500
|
+
"url": "https://docs.github.com/enterprise-server@3.5/v3/repos#get-autolink"
|
|
71501
|
+
},
|
|
71502
|
+
"parameters": [
|
|
71503
|
+
{
|
|
71504
|
+
"name": "owner",
|
|
71505
|
+
"description": "The account owner of the repository. The name is not case sensitive.",
|
|
71506
|
+
"in": "path",
|
|
71507
|
+
"required": true,
|
|
71508
|
+
"schema": { "type": "string" }
|
|
71509
|
+
},
|
|
71510
|
+
{
|
|
71511
|
+
"name": "repo",
|
|
71512
|
+
"description": "The name of the repository. The name is not case sensitive.",
|
|
71513
|
+
"in": "path",
|
|
71514
|
+
"required": true,
|
|
71515
|
+
"schema": { "type": "string" }
|
|
71516
|
+
},
|
|
71517
|
+
{
|
|
71518
|
+
"name": "autolink_id",
|
|
71519
|
+
"description": "The unique identifier of the autolink.",
|
|
71520
|
+
"in": "path",
|
|
71521
|
+
"required": true,
|
|
71522
|
+
"schema": { "type": "integer" }
|
|
71523
|
+
}
|
|
71524
|
+
],
|
|
71525
|
+
"responses": {
|
|
71526
|
+
"200": {
|
|
71527
|
+
"description": "Response",
|
|
71528
|
+
"content": {
|
|
71529
|
+
"application/json": {
|
|
71530
|
+
"schema": {
|
|
71531
|
+
"title": "Autolink reference",
|
|
71532
|
+
"description": "An autolink reference.",
|
|
71533
|
+
"type": "object",
|
|
71534
|
+
"properties": {
|
|
71535
|
+
"id": { "type": "integer", "example": 3 },
|
|
71536
|
+
"key_prefix": {
|
|
71537
|
+
"description": "The prefix of a key that is linkified.",
|
|
71538
|
+
"example": "TICKET-",
|
|
71539
|
+
"type": "string"
|
|
71540
|
+
},
|
|
71541
|
+
"url_template": {
|
|
71542
|
+
"description": "A template for the target URL that is generated if a key was found.",
|
|
71543
|
+
"example": "https://example.com/TICKET?query=<num>",
|
|
71544
|
+
"type": "string"
|
|
71545
|
+
}
|
|
71546
|
+
},
|
|
71547
|
+
"required": ["id", "key_prefix", "url_template"]
|
|
71548
|
+
},
|
|
71549
|
+
"examples": {
|
|
71550
|
+
"default": {
|
|
71551
|
+
"value": {
|
|
71552
|
+
"id": 1,
|
|
71553
|
+
"key_prefix": "TICKET-",
|
|
71554
|
+
"url_template": "https://example.com/TICKET?query=<num>"
|
|
71555
|
+
}
|
|
71556
|
+
}
|
|
71557
|
+
}
|
|
71558
|
+
}
|
|
71559
|
+
}
|
|
71560
|
+
},
|
|
71561
|
+
"404": {
|
|
71562
|
+
"description": "Resource not found",
|
|
71563
|
+
"content": {
|
|
71564
|
+
"application/json": {
|
|
71565
|
+
"schema": {
|
|
71566
|
+
"title": "Basic Error",
|
|
71567
|
+
"description": "Basic Error",
|
|
71568
|
+
"type": "object",
|
|
71569
|
+
"properties": {
|
|
71570
|
+
"message": { "type": "string" },
|
|
71571
|
+
"documentation_url": { "type": "string" },
|
|
71572
|
+
"url": { "type": "string" },
|
|
71573
|
+
"status": { "type": "string" }
|
|
71574
|
+
}
|
|
71575
|
+
}
|
|
71576
|
+
}
|
|
71577
|
+
}
|
|
71578
|
+
}
|
|
71579
|
+
},
|
|
71580
|
+
"x-github": {
|
|
71581
|
+
"githubCloudOnly": false,
|
|
71582
|
+
"enabledForGitHubApps": true,
|
|
71583
|
+
"category": "repos",
|
|
71584
|
+
"subcategory": "autolinks"
|
|
71585
|
+
},
|
|
71586
|
+
"x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
|
|
71587
|
+
}
|
|
71588
|
+
},
|
|
71262
71589
|
"/repos/{owner}/{repo}/check-suites": {
|
|
71263
71590
|
"post": {
|
|
71264
71591
|
"summary": "Create a check suite",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "6.
|
|
4
|
+
"version": "6.3.0",
|
|
5
5
|
"title": "GitHub's official OpenAPI spec + Octokit extension",
|
|
6
6
|
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
|
|
7
7
|
"license": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
|
|
@@ -5617,6 +5617,160 @@
|
|
|
5617
5617
|
}
|
|
5618
5618
|
}
|
|
5619
5619
|
},
|
|
5620
|
+
"/repos/{owner}/{repo}/autolinks": {
|
|
5621
|
+
"get": {
|
|
5622
|
+
"summary": "List all autolinks of a repository",
|
|
5623
|
+
"description": "This returns a list of autolinks configured for the given repository.\n\nInformation about autolinks are only available to repository administrators.",
|
|
5624
|
+
"tags": ["repos"],
|
|
5625
|
+
"operationId": "repos/list-autolinks",
|
|
5626
|
+
"externalDocs": {
|
|
5627
|
+
"description": "API method documentation",
|
|
5628
|
+
"url": "https://docs.github.com/enterprise-server@3.5/v3/repos#list-autolinks"
|
|
5629
|
+
},
|
|
5630
|
+
"parameters": [
|
|
5631
|
+
{ "$ref": "#/components/parameters/owner" },
|
|
5632
|
+
{ "$ref": "#/components/parameters/repo" },
|
|
5633
|
+
{ "$ref": "#/components/parameters/page" }
|
|
5634
|
+
],
|
|
5635
|
+
"responses": {
|
|
5636
|
+
"200": {
|
|
5637
|
+
"description": "Response",
|
|
5638
|
+
"content": {
|
|
5639
|
+
"application/json": {
|
|
5640
|
+
"schema": {
|
|
5641
|
+
"type": "array",
|
|
5642
|
+
"items": { "$ref": "#/components/schemas/autolink" }
|
|
5643
|
+
},
|
|
5644
|
+
"examples": {
|
|
5645
|
+
"default": { "$ref": "#/components/examples/autolink-items" }
|
|
5646
|
+
}
|
|
5647
|
+
}
|
|
5648
|
+
}
|
|
5649
|
+
}
|
|
5650
|
+
},
|
|
5651
|
+
"x-github": {
|
|
5652
|
+
"githubCloudOnly": false,
|
|
5653
|
+
"enabledForGitHubApps": true,
|
|
5654
|
+
"category": "repos",
|
|
5655
|
+
"subcategory": "autolinks"
|
|
5656
|
+
},
|
|
5657
|
+
"x-octokit": {
|
|
5658
|
+
"diff": { "api.github.com.json": { "type": "changed" } }
|
|
5659
|
+
}
|
|
5660
|
+
},
|
|
5661
|
+
"post": {
|
|
5662
|
+
"summary": "Create an autolink reference for a repository",
|
|
5663
|
+
"description": "Users with admin access to the repository can create an autolink.",
|
|
5664
|
+
"tags": ["repos"],
|
|
5665
|
+
"operationId": "repos/create-autolink",
|
|
5666
|
+
"externalDocs": {
|
|
5667
|
+
"description": "API method documentation",
|
|
5668
|
+
"url": "https://docs.github.com/enterprise-server@3.5/v3/repos#create-an-autolink"
|
|
5669
|
+
},
|
|
5670
|
+
"parameters": [
|
|
5671
|
+
{ "$ref": "#/components/parameters/owner" },
|
|
5672
|
+
{ "$ref": "#/components/parameters/repo" }
|
|
5673
|
+
],
|
|
5674
|
+
"requestBody": {
|
|
5675
|
+
"required": true,
|
|
5676
|
+
"content": {
|
|
5677
|
+
"application/json": {
|
|
5678
|
+
"schema": {
|
|
5679
|
+
"type": "object",
|
|
5680
|
+
"properties": {
|
|
5681
|
+
"key_prefix": {
|
|
5682
|
+
"type": "string",
|
|
5683
|
+
"description": "The prefix appended by a number will generate a link any time it is found in an issue, pull request, or commit."
|
|
5684
|
+
},
|
|
5685
|
+
"url_template": {
|
|
5686
|
+
"type": "string",
|
|
5687
|
+
"description": "The URL must contain `<num>` for the reference number."
|
|
5688
|
+
}
|
|
5689
|
+
},
|
|
5690
|
+
"required": ["key_prefix", "url_template"]
|
|
5691
|
+
},
|
|
5692
|
+
"examples": {
|
|
5693
|
+
"default": {
|
|
5694
|
+
"value": {
|
|
5695
|
+
"key_prefix": "TICKET-",
|
|
5696
|
+
"url_template": "https://example.com/TICKET?query=<num>"
|
|
5697
|
+
}
|
|
5698
|
+
}
|
|
5699
|
+
}
|
|
5700
|
+
}
|
|
5701
|
+
}
|
|
5702
|
+
},
|
|
5703
|
+
"responses": {
|
|
5704
|
+
"201": {
|
|
5705
|
+
"description": "response",
|
|
5706
|
+
"content": {
|
|
5707
|
+
"application/json": {
|
|
5708
|
+
"schema": { "$ref": "#/components/schemas/autolink" },
|
|
5709
|
+
"examples": {
|
|
5710
|
+
"default": { "$ref": "#/components/examples/autolink" }
|
|
5711
|
+
}
|
|
5712
|
+
}
|
|
5713
|
+
},
|
|
5714
|
+
"headers": {
|
|
5715
|
+
"Location": {
|
|
5716
|
+
"example": "https://api.github.com/repos/octocat/Hello-World/autolinks/1",
|
|
5717
|
+
"schema": { "type": "string" }
|
|
5718
|
+
}
|
|
5719
|
+
}
|
|
5720
|
+
},
|
|
5721
|
+
"422": { "$ref": "#/components/responses/validation_failed" }
|
|
5722
|
+
},
|
|
5723
|
+
"x-github": {
|
|
5724
|
+
"githubCloudOnly": false,
|
|
5725
|
+
"enabledForGitHubApps": true,
|
|
5726
|
+
"category": "repos",
|
|
5727
|
+
"subcategory": "autolinks"
|
|
5728
|
+
},
|
|
5729
|
+
"x-octokit": {
|
|
5730
|
+
"diff": { "api.github.com.json": { "type": "changed" } }
|
|
5731
|
+
}
|
|
5732
|
+
}
|
|
5733
|
+
},
|
|
5734
|
+
"/repos/{owner}/{repo}/autolinks/{autolink_id}": {
|
|
5735
|
+
"get": {
|
|
5736
|
+
"summary": "Get an autolink reference of a repository",
|
|
5737
|
+
"description": "This returns a single autolink reference by ID that was configured for the given repository.\n\nInformation about autolinks are only available to repository administrators.",
|
|
5738
|
+
"tags": ["repos"],
|
|
5739
|
+
"operationId": "repos/get-autolink",
|
|
5740
|
+
"externalDocs": {
|
|
5741
|
+
"description": "API method documentation",
|
|
5742
|
+
"url": "https://docs.github.com/enterprise-server@3.5/v3/repos#get-autolink"
|
|
5743
|
+
},
|
|
5744
|
+
"parameters": [
|
|
5745
|
+
{ "$ref": "#/components/parameters/owner" },
|
|
5746
|
+
{ "$ref": "#/components/parameters/repo" },
|
|
5747
|
+
{ "$ref": "#/components/parameters/autolink-id" }
|
|
5748
|
+
],
|
|
5749
|
+
"responses": {
|
|
5750
|
+
"200": {
|
|
5751
|
+
"description": "Response",
|
|
5752
|
+
"content": {
|
|
5753
|
+
"application/json": {
|
|
5754
|
+
"schema": { "$ref": "#/components/schemas/autolink" },
|
|
5755
|
+
"examples": {
|
|
5756
|
+
"default": { "$ref": "#/components/examples/autolink" }
|
|
5757
|
+
}
|
|
5758
|
+
}
|
|
5759
|
+
}
|
|
5760
|
+
},
|
|
5761
|
+
"404": { "$ref": "#/components/responses/not_found" }
|
|
5762
|
+
},
|
|
5763
|
+
"x-github": {
|
|
5764
|
+
"githubCloudOnly": false,
|
|
5765
|
+
"enabledForGitHubApps": true,
|
|
5766
|
+
"category": "repos",
|
|
5767
|
+
"subcategory": "autolinks"
|
|
5768
|
+
},
|
|
5769
|
+
"x-octokit": {
|
|
5770
|
+
"diff": { "api.github.com.json": { "type": "changed" } }
|
|
5771
|
+
}
|
|
5772
|
+
}
|
|
5773
|
+
},
|
|
5620
5774
|
"/repos/{owner}/{repo}/check-suites": {
|
|
5621
5775
|
"post": {
|
|
5622
5776
|
"summary": "Create a check suite",
|
|
@@ -11183,6 +11337,13 @@
|
|
|
11183
11337
|
"required": true,
|
|
11184
11338
|
"schema": { "oneOf": [{ "type": "integer" }, { "type": "string" }] }
|
|
11185
11339
|
},
|
|
11340
|
+
"autolink-id": {
|
|
11341
|
+
"name": "autolink_id",
|
|
11342
|
+
"description": "The unique identifier of the autolink.",
|
|
11343
|
+
"in": "path",
|
|
11344
|
+
"required": true,
|
|
11345
|
+
"schema": { "type": "integer" }
|
|
11346
|
+
},
|
|
11186
11347
|
"check-suite-id": {
|
|
11187
11348
|
"name": "check_suite_id",
|
|
11188
11349
|
"description": "The unique identifier of the check suite.",
|
|
@@ -13124,7 +13285,7 @@
|
|
|
13124
13285
|
"$ref": "#/components/schemas/nullable-integration"
|
|
13125
13286
|
},
|
|
13126
13287
|
"author_association": {
|
|
13127
|
-
"$ref": "#/components/schemas/
|
|
13288
|
+
"$ref": "#/components/schemas/author-association"
|
|
13128
13289
|
},
|
|
13129
13290
|
"reactions": { "$ref": "#/components/schemas/reaction-rollup" }
|
|
13130
13291
|
},
|
|
@@ -15122,6 +15283,25 @@
|
|
|
15122
15283
|
"pull_requests"
|
|
15123
15284
|
]
|
|
15124
15285
|
},
|
|
15286
|
+
"autolink": {
|
|
15287
|
+
"title": "Autolink reference",
|
|
15288
|
+
"description": "An autolink reference.",
|
|
15289
|
+
"type": "object",
|
|
15290
|
+
"properties": {
|
|
15291
|
+
"id": { "type": "integer", "example": 3 },
|
|
15292
|
+
"key_prefix": {
|
|
15293
|
+
"description": "The prefix of a key that is linkified.",
|
|
15294
|
+
"example": "TICKET-",
|
|
15295
|
+
"type": "string"
|
|
15296
|
+
},
|
|
15297
|
+
"url_template": {
|
|
15298
|
+
"description": "A template for the target URL that is generated if a key was found.",
|
|
15299
|
+
"example": "https://example.com/TICKET?query=<num>",
|
|
15300
|
+
"type": "string"
|
|
15301
|
+
}
|
|
15302
|
+
},
|
|
15303
|
+
"required": ["id", "key_prefix", "url_template"]
|
|
15304
|
+
},
|
|
15125
15305
|
"check-suite": {
|
|
15126
15306
|
"title": "CheckSuite",
|
|
15127
15307
|
"description": "A suite of checks performed on the code of a given code change",
|
|
@@ -15706,9 +15886,9 @@
|
|
|
15706
15886
|
]
|
|
15707
15887
|
},
|
|
15708
15888
|
"author_association": {
|
|
15709
|
-
"$ref": "#/components/schemas/
|
|
15889
|
+
"$ref": "#/components/schemas/author-association"
|
|
15710
15890
|
},
|
|
15711
|
-
"auto_merge": { "$ref": "#/components/schemas/
|
|
15891
|
+
"auto_merge": { "$ref": "#/components/schemas/auto-merge" },
|
|
15712
15892
|
"draft": {
|
|
15713
15893
|
"description": "Indicates whether or not the pull request is a draft.",
|
|
15714
15894
|
"example": false,
|
|
@@ -15824,7 +16004,7 @@
|
|
|
15824
16004
|
},
|
|
15825
16005
|
"rename": { "$ref": "#/components/schemas/issue-event-rename" },
|
|
15826
16006
|
"author_association": {
|
|
15827
|
-
"$ref": "#/components/schemas/
|
|
16007
|
+
"$ref": "#/components/schemas/author-association"
|
|
15828
16008
|
},
|
|
15829
16009
|
"lock_reason": { "type": "string", "nullable": true },
|
|
15830
16010
|
"performed_via_github_app": {
|
|
@@ -16180,7 +16360,7 @@
|
|
|
16180
16360
|
"body": { "type": "string" },
|
|
16181
16361
|
"score": { "type": "number" },
|
|
16182
16362
|
"author_association": {
|
|
16183
|
-
"$ref": "#/components/schemas/
|
|
16363
|
+
"$ref": "#/components/schemas/author-association"
|
|
16184
16364
|
},
|
|
16185
16365
|
"draft": { "type": "boolean" },
|
|
16186
16366
|
"repository": { "$ref": "#/components/schemas/repository" },
|
|
@@ -17088,7 +17268,7 @@
|
|
|
17088
17268
|
},
|
|
17089
17269
|
"issue_url": { "type": "string", "format": "uri" },
|
|
17090
17270
|
"author_association": {
|
|
17091
|
-
"$ref": "#/components/schemas/
|
|
17271
|
+
"$ref": "#/components/schemas/author-association"
|
|
17092
17272
|
},
|
|
17093
17273
|
"performed_via_github_app": {
|
|
17094
17274
|
"$ref": "#/components/schemas/nullable-integration"
|
|
@@ -17107,7 +17287,7 @@
|
|
|
17107
17287
|
"updated_at"
|
|
17108
17288
|
]
|
|
17109
17289
|
},
|
|
17110
|
-
"
|
|
17290
|
+
"author-association": {
|
|
17111
17291
|
"title": "author_association",
|
|
17112
17292
|
"type": "string",
|
|
17113
17293
|
"example": "OWNER",
|
|
@@ -18550,7 +18730,7 @@
|
|
|
18550
18730
|
"properties": { "href": { "type": "string" } },
|
|
18551
18731
|
"required": ["href"]
|
|
18552
18732
|
},
|
|
18553
|
-
"
|
|
18733
|
+
"auto-merge": {
|
|
18554
18734
|
"title": "Auto merge",
|
|
18555
18735
|
"description": "The status of auto merging a pull request.",
|
|
18556
18736
|
"type": "object",
|
|
@@ -18742,7 +18922,7 @@
|
|
|
18742
18922
|
"$ref": "#/components/schemas/nullable-integration"
|
|
18743
18923
|
},
|
|
18744
18924
|
"author_association": {
|
|
18745
|
-
"$ref": "#/components/schemas/
|
|
18925
|
+
"$ref": "#/components/schemas/author-association"
|
|
18746
18926
|
},
|
|
18747
18927
|
"reactions": { "$ref": "#/components/schemas/reaction-rollup" }
|
|
18748
18928
|
},
|
|
@@ -23805,6 +23985,22 @@
|
|
|
23805
23985
|
}
|
|
23806
23986
|
}
|
|
23807
23987
|
},
|
|
23988
|
+
"autolink-items": {
|
|
23989
|
+
"value": [
|
|
23990
|
+
{
|
|
23991
|
+
"id": 1,
|
|
23992
|
+
"key_prefix": "TICKET-",
|
|
23993
|
+
"url_template": "https://example.com/TICKET?query=<num>"
|
|
23994
|
+
}
|
|
23995
|
+
]
|
|
23996
|
+
},
|
|
23997
|
+
"autolink": {
|
|
23998
|
+
"value": {
|
|
23999
|
+
"id": 1,
|
|
24000
|
+
"key_prefix": "TICKET-",
|
|
24001
|
+
"url_template": "https://example.com/TICKET?query=<num>"
|
|
24002
|
+
}
|
|
24003
|
+
},
|
|
23808
24004
|
"check-suite": {
|
|
23809
24005
|
"value": {
|
|
23810
24006
|
"id": 5,
|