@octokit/openapi 7.7.0 → 7.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/generated/api.github.com.deref.json +806 -77
- package/generated/api.github.com.json +80 -25
- 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 +475 -23
- package/generated/ghes-3.2-diff-to-ghes-3.3.json +36 -6
- package/generated/ghes-3.2.deref.json +585 -35
- package/generated/ghes-3.2.json +48 -17
- package/generated/ghes-3.3-diff-to-ghes-3.4.deref.json +19 -3
- package/generated/ghes-3.3-diff-to-ghes-3.4.json +14 -3
- package/generated/ghes-3.3.deref.json +592 -36
- package/generated/ghes-3.3.json +55 -18
- package/generated/ghes-3.4-diff-to-ghes-3.5.deref.json +145 -1
- package/generated/ghes-3.4-diff-to-ghes-3.5.json +5 -1
- package/generated/ghes-3.4.deref.json +620 -36
- package/generated/ghes-3.4.json +55 -18
- 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-diff-to-ghes-3.6.deref.json +537 -23
- package/generated/ghes-3.5-diff-to-ghes-3.6.json +39 -6
- package/generated/ghes-3.5.deref.json +633 -36
- package/generated/ghes-3.5.json +55 -18
- package/generated/ghes-3.6-anicca-diff-to-api.github.com.deref.json +51 -0
- package/generated/ghes-3.6-diff-to-api.github.com.deref.json +9586 -496
- package/generated/ghes-3.6-diff-to-api.github.com.json +927 -20
- package/generated/ghes-3.6.deref.json +647 -38
- package/generated/ghes-3.6.json +69 -20
- package/generated/github.ae-anicca-diff-to-api.github.com.deref.json +35 -0
- package/generated/github.ae-diff-to-api.github.com.deref.json +446 -18
- package/generated/github.ae-diff-to-api.github.com.json +43 -7
- package/generated/github.ae.deref.json +556 -30
- package/generated/github.ae.json +55 -18
- package/package.json +1 -1
package/generated/ghes-3.6.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "7.
|
|
4
|
+
"version": "7.9.1",
|
|
5
5
|
"title": "GitHub's official OpenAPI spec + Octokit extension",
|
|
6
6
|
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
|
|
7
7
|
"license": {
|
|
@@ -14539,17 +14539,6 @@
|
|
|
14539
14539
|
}
|
|
14540
14540
|
}
|
|
14541
14541
|
},
|
|
14542
|
-
"302": {
|
|
14543
|
-
"description": "Response if requester is not an organization member",
|
|
14544
|
-
"headers": {
|
|
14545
|
-
"Location": {
|
|
14546
|
-
"example": "https://api.github.com/orgs/github/public_members",
|
|
14547
|
-
"schema": {
|
|
14548
|
-
"type": "string"
|
|
14549
|
-
}
|
|
14550
|
-
}
|
|
14551
|
-
}
|
|
14552
|
-
},
|
|
14553
14542
|
"422": {
|
|
14554
14543
|
"$ref": "#/components/responses/validation_failed"
|
|
14555
14544
|
}
|
|
@@ -22092,7 +22081,13 @@
|
|
|
22092
22081
|
"category": "actions",
|
|
22093
22082
|
"subcategory": "workflow-runs"
|
|
22094
22083
|
},
|
|
22095
|
-
"x-octokit": {
|
|
22084
|
+
"x-octokit": {
|
|
22085
|
+
"diff": {
|
|
22086
|
+
"api.github.com": {
|
|
22087
|
+
"type": "changed"
|
|
22088
|
+
}
|
|
22089
|
+
}
|
|
22090
|
+
}
|
|
22096
22091
|
}
|
|
22097
22092
|
},
|
|
22098
22093
|
"/repos/{owner}/{repo}/actions/runs/{run_id}": {
|
|
@@ -23664,7 +23659,13 @@
|
|
|
23664
23659
|
"category": "actions",
|
|
23665
23660
|
"subcategory": "workflow-runs"
|
|
23666
23661
|
},
|
|
23667
|
-
"x-octokit": {
|
|
23662
|
+
"x-octokit": {
|
|
23663
|
+
"diff": {
|
|
23664
|
+
"api.github.com": {
|
|
23665
|
+
"type": "changed"
|
|
23666
|
+
}
|
|
23667
|
+
}
|
|
23668
|
+
}
|
|
23668
23669
|
}
|
|
23669
23670
|
},
|
|
23670
23671
|
"/repos/{owner}/{repo}/assignees": {
|
|
@@ -23872,6 +23873,11 @@
|
|
|
23872
23873
|
"url_template": {
|
|
23873
23874
|
"type": "string",
|
|
23874
23875
|
"description": "The URL must contain `<num>` for the reference number."
|
|
23876
|
+
},
|
|
23877
|
+
"is_alphanumeric": {
|
|
23878
|
+
"type": "boolean",
|
|
23879
|
+
"default": "true",
|
|
23880
|
+
"description": "Whether this autolink reference matches alphanumeric characters. If true, the `<num>` parameter of the `url_template` matches alphanumeric characters `A-Z` (case insensitive), `0-9`, and `-`. If false, this autolink reference only matches numeric characters."
|
|
23875
23881
|
}
|
|
23876
23882
|
},
|
|
23877
23883
|
"required": [
|
|
@@ -23883,7 +23889,8 @@
|
|
|
23883
23889
|
"default": {
|
|
23884
23890
|
"value": {
|
|
23885
23891
|
"key_prefix": "TICKET-",
|
|
23886
|
-
"url_template": "https://example.com/TICKET?query=<num>"
|
|
23892
|
+
"url_template": "https://example.com/TICKET?query=<num>",
|
|
23893
|
+
"is_alphanumeric": true
|
|
23887
23894
|
}
|
|
23888
23895
|
}
|
|
23889
23896
|
}
|
|
@@ -30005,6 +30012,9 @@
|
|
|
30005
30012
|
},
|
|
30006
30013
|
"500": {
|
|
30007
30014
|
"$ref": "#/components/responses/internal_error"
|
|
30015
|
+
},
|
|
30016
|
+
"503": {
|
|
30017
|
+
"$ref": "#/components/responses/service_unavailable"
|
|
30008
30018
|
}
|
|
30009
30019
|
},
|
|
30010
30020
|
"x-github": {
|
|
@@ -30414,6 +30424,9 @@
|
|
|
30414
30424
|
},
|
|
30415
30425
|
"500": {
|
|
30416
30426
|
"$ref": "#/components/responses/internal_error"
|
|
30427
|
+
},
|
|
30428
|
+
"503": {
|
|
30429
|
+
"$ref": "#/components/responses/service_unavailable"
|
|
30417
30430
|
}
|
|
30418
30431
|
},
|
|
30419
30432
|
"x-github": {
|
|
@@ -35926,6 +35939,11 @@
|
|
|
35926
35939
|
},
|
|
35927
35940
|
"state_reason": {
|
|
35928
35941
|
"type": "string",
|
|
35942
|
+
"enum": [
|
|
35943
|
+
"completed",
|
|
35944
|
+
"not_planned",
|
|
35945
|
+
"reopened"
|
|
35946
|
+
],
|
|
35929
35947
|
"nullable": true,
|
|
35930
35948
|
"description": "The reason for the current state",
|
|
35931
35949
|
"example": "not_planned"
|
|
@@ -40524,6 +40542,9 @@
|
|
|
40524
40542
|
},
|
|
40525
40543
|
"500": {
|
|
40526
40544
|
"$ref": "#/components/responses/internal_error"
|
|
40545
|
+
},
|
|
40546
|
+
"503": {
|
|
40547
|
+
"$ref": "#/components/responses/service_unavailable"
|
|
40527
40548
|
}
|
|
40528
40549
|
},
|
|
40529
40550
|
"x-github": {
|
|
@@ -41071,6 +41092,9 @@
|
|
|
41071
41092
|
},
|
|
41072
41093
|
"500": {
|
|
41073
41094
|
"$ref": "#/components/responses/internal_error"
|
|
41095
|
+
},
|
|
41096
|
+
"503": {
|
|
41097
|
+
"$ref": "#/components/responses/service_unavailable"
|
|
41074
41098
|
}
|
|
41075
41099
|
},
|
|
41076
41100
|
"x-github": {
|
|
@@ -45245,7 +45269,7 @@
|
|
|
45245
45269
|
"/repos/{template_owner}/{template_repo}/generate": {
|
|
45246
45270
|
"post": {
|
|
45247
45271
|
"summary": "Create a repository using a template",
|
|
45248
|
-
"description": "Creates a new repository using a repository template. Use the `template_owner` and `template_repo` route parameters to specify the repository to use as the template.
|
|
45272
|
+
"description": "Creates a new repository using a repository template. Use the `template_owner` and `template_repo` route parameters to specify the repository to use as the template. If the repository is not public, the authenticated user must own or be a member of an organization that owns the repository. To check if a repository is available to use as a template, get the repository's information using the [Get a repository](https://docs.github.com/enterprise-server@3.6/rest/reference/repos#get-a-repository) endpoint and check that the `is_template` key is `true`.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@3.6/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository. Note: For GitHub AE, use `repo` scope to create an internal repository.\n* `repo` scope to create a private repository",
|
|
45249
45273
|
"tags": [
|
|
45250
45274
|
"repos"
|
|
45251
45275
|
],
|
|
@@ -60909,6 +60933,10 @@
|
|
|
60909
60933
|
"starred_at": {
|
|
60910
60934
|
"type": "string",
|
|
60911
60935
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
60936
|
+
},
|
|
60937
|
+
"anonymous_access_enabled": {
|
|
60938
|
+
"type": "boolean",
|
|
60939
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
60912
60940
|
}
|
|
60913
60941
|
},
|
|
60914
60942
|
"required": [
|
|
@@ -62814,7 +62842,12 @@
|
|
|
62814
62842
|
"description": "The reason for the current state",
|
|
62815
62843
|
"example": "not_planned",
|
|
62816
62844
|
"type": "string",
|
|
62817
|
-
"nullable": true
|
|
62845
|
+
"nullable": true,
|
|
62846
|
+
"enum": [
|
|
62847
|
+
"completed",
|
|
62848
|
+
"reopened",
|
|
62849
|
+
"not_planned"
|
|
62850
|
+
]
|
|
62818
62851
|
},
|
|
62819
62852
|
"title": {
|
|
62820
62853
|
"description": "Title of the issue",
|
|
@@ -65007,6 +65040,10 @@
|
|
|
65007
65040
|
"starred_at": {
|
|
65008
65041
|
"type": "string",
|
|
65009
65042
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
65043
|
+
},
|
|
65044
|
+
"anonymous_access_enabled": {
|
|
65045
|
+
"type": "boolean",
|
|
65046
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
65010
65047
|
}
|
|
65011
65048
|
},
|
|
65012
65049
|
"required": [
|
|
@@ -66224,6 +66261,11 @@
|
|
|
66224
66261
|
"nullable": true,
|
|
66225
66262
|
"type": "string",
|
|
66226
66263
|
"description": "Detailed documentation for the rule as GitHub Flavored Markdown."
|
|
66264
|
+
},
|
|
66265
|
+
"help_uri": {
|
|
66266
|
+
"nullable": true,
|
|
66267
|
+
"type": "string",
|
|
66268
|
+
"description": "A link to the documentation for the rule used to detect the alert."
|
|
66227
66269
|
}
|
|
66228
66270
|
}
|
|
66229
66271
|
},
|
|
@@ -75182,7 +75224,12 @@
|
|
|
75182
75224
|
"description": "The reason for the current state",
|
|
75183
75225
|
"example": "not_planned",
|
|
75184
75226
|
"type": "string",
|
|
75185
|
-
"nullable": true
|
|
75227
|
+
"nullable": true,
|
|
75228
|
+
"enum": [
|
|
75229
|
+
"completed",
|
|
75230
|
+
"reopened",
|
|
75231
|
+
"not_planned"
|
|
75232
|
+
]
|
|
75186
75233
|
},
|
|
75187
75234
|
"title": {
|
|
75188
75235
|
"description": "Title of the issue",
|
|
@@ -94730,7 +94777,8 @@
|
|
|
94730
94777
|
"security",
|
|
94731
94778
|
"external/cwe/cwe-022"
|
|
94732
94779
|
],
|
|
94733
|
-
"help": "# Arbitrary file write during zip extraction (\"Zip Slip\")\\nExtracting files from a malicious zip archive without validating that the destination file path is within the destination directory can cause files outside the destination directory to be overwritten ..."
|
|
94780
|
+
"help": "# Arbitrary file write during zip extraction (\"Zip Slip\")\\nExtracting files from a malicious zip archive without validating that the destination file path is within the destination directory can cause files outside the destination directory to be overwritten ...",
|
|
94781
|
+
"help_uri": "https://codeql.github.com/"
|
|
94734
94782
|
},
|
|
94735
94783
|
"tool": {
|
|
94736
94784
|
"name": "CodeQL",
|
|
@@ -94802,7 +94850,8 @@
|
|
|
94802
94850
|
"security",
|
|
94803
94851
|
"external/cwe/cwe-022"
|
|
94804
94852
|
],
|
|
94805
|
-
"help": "# Arbitrary file write during zip extraction (\"Zip Slip\")\\nExtracting files from a malicious zip archive without validating that the destination file path is within the destination directory can cause files outside the destination directory to be overwritten ..."
|
|
94853
|
+
"help": "# Arbitrary file write during zip extraction (\"Zip Slip\")\\nExtracting files from a malicious zip archive without validating that the destination file path is within the destination directory can cause files outside the destination directory to be overwritten ...",
|
|
94854
|
+
"help_uri": "https://codeql.github.com/"
|
|
94806
94855
|
},
|
|
94807
94856
|
"tool": {
|
|
94808
94857
|
"name": "CodeQL",
|
|
@@ -8023,6 +8023,16 @@
|
|
|
8023
8023
|
"type": "integer"
|
|
8024
8024
|
},
|
|
8025
8025
|
"style": "form"
|
|
8026
|
+
},
|
|
8027
|
+
{
|
|
8028
|
+
"description": "Only returns workflow runs that are associated with the specified `head_sha`.",
|
|
8029
|
+
"in": "query",
|
|
8030
|
+
"name": "head_sha",
|
|
8031
|
+
"required": false,
|
|
8032
|
+
"schema": {
|
|
8033
|
+
"type": "string"
|
|
8034
|
+
},
|
|
8035
|
+
"style": "form"
|
|
8026
8036
|
}
|
|
8027
8037
|
]
|
|
8028
8038
|
},
|
|
@@ -8310,6 +8320,16 @@
|
|
|
8310
8320
|
"type": "integer"
|
|
8311
8321
|
},
|
|
8312
8322
|
"style": "form"
|
|
8323
|
+
},
|
|
8324
|
+
{
|
|
8325
|
+
"description": "Only returns workflow runs that are associated with the specified `head_sha`.",
|
|
8326
|
+
"in": "query",
|
|
8327
|
+
"name": "head_sha",
|
|
8328
|
+
"required": false,
|
|
8329
|
+
"schema": {
|
|
8330
|
+
"type": "string"
|
|
8331
|
+
},
|
|
8332
|
+
"style": "form"
|
|
8313
8333
|
}
|
|
8314
8334
|
]
|
|
8315
8335
|
},
|
|
@@ -8415,6 +8435,11 @@
|
|
|
8415
8435
|
"removed": [
|
|
8416
8436
|
"is_alphanumeric"
|
|
8417
8437
|
]
|
|
8438
|
+
},
|
|
8439
|
+
"required_changed": {
|
|
8440
|
+
"removed": [
|
|
8441
|
+
"is_alphanumeric"
|
|
8442
|
+
]
|
|
8418
8443
|
}
|
|
8419
8444
|
}
|
|
8420
8445
|
}
|
|
@@ -8437,6 +8462,11 @@
|
|
|
8437
8462
|
"removed": [
|
|
8438
8463
|
"is_alphanumeric"
|
|
8439
8464
|
]
|
|
8465
|
+
},
|
|
8466
|
+
"required_changed": {
|
|
8467
|
+
"removed": [
|
|
8468
|
+
"is_alphanumeric"
|
|
8469
|
+
]
|
|
8440
8470
|
}
|
|
8441
8471
|
}
|
|
8442
8472
|
}
|
|
@@ -8460,6 +8490,11 @@
|
|
|
8460
8490
|
"removed": [
|
|
8461
8491
|
"is_alphanumeric"
|
|
8462
8492
|
]
|
|
8493
|
+
},
|
|
8494
|
+
"required_changed": {
|
|
8495
|
+
"removed": [
|
|
8496
|
+
"is_alphanumeric"
|
|
8497
|
+
]
|
|
8463
8498
|
}
|
|
8464
8499
|
}
|
|
8465
8500
|
}
|