@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.5.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": {
|
|
@@ -14117,17 +14117,6 @@
|
|
|
14117
14117
|
}
|
|
14118
14118
|
}
|
|
14119
14119
|
},
|
|
14120
|
-
"302": {
|
|
14121
|
-
"description": "Response if requester is not an organization member",
|
|
14122
|
-
"headers": {
|
|
14123
|
-
"Location": {
|
|
14124
|
-
"example": "https://api.github.com/orgs/github/public_members",
|
|
14125
|
-
"schema": {
|
|
14126
|
-
"type": "string"
|
|
14127
|
-
}
|
|
14128
|
-
}
|
|
14129
|
-
}
|
|
14130
|
-
},
|
|
14131
14120
|
"422": {
|
|
14132
14121
|
"$ref": "#/components/responses/validation_failed"
|
|
14133
14122
|
}
|
|
@@ -23382,6 +23371,11 @@
|
|
|
23382
23371
|
"url_template": {
|
|
23383
23372
|
"type": "string",
|
|
23384
23373
|
"description": "The URL must contain `<num>` for the reference number."
|
|
23374
|
+
},
|
|
23375
|
+
"is_alphanumeric": {
|
|
23376
|
+
"type": "boolean",
|
|
23377
|
+
"default": "true",
|
|
23378
|
+
"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."
|
|
23385
23379
|
}
|
|
23386
23380
|
},
|
|
23387
23381
|
"required": [
|
|
@@ -23393,7 +23387,8 @@
|
|
|
23393
23387
|
"default": {
|
|
23394
23388
|
"value": {
|
|
23395
23389
|
"key_prefix": "TICKET-",
|
|
23396
|
-
"url_template": "https://example.com/TICKET?query=<num>"
|
|
23390
|
+
"url_template": "https://example.com/TICKET?query=<num>",
|
|
23391
|
+
"is_alphanumeric": true
|
|
23397
23392
|
}
|
|
23398
23393
|
}
|
|
23399
23394
|
}
|
|
@@ -29523,6 +29518,9 @@
|
|
|
29523
29518
|
},
|
|
29524
29519
|
"500": {
|
|
29525
29520
|
"$ref": "#/components/responses/internal_error"
|
|
29521
|
+
},
|
|
29522
|
+
"503": {
|
|
29523
|
+
"$ref": "#/components/responses/service_unavailable"
|
|
29526
29524
|
}
|
|
29527
29525
|
},
|
|
29528
29526
|
"x-github": {
|
|
@@ -29944,6 +29942,9 @@
|
|
|
29944
29942
|
},
|
|
29945
29943
|
"500": {
|
|
29946
29944
|
"$ref": "#/components/responses/internal_error"
|
|
29945
|
+
},
|
|
29946
|
+
"503": {
|
|
29947
|
+
"$ref": "#/components/responses/service_unavailable"
|
|
29947
29948
|
}
|
|
29948
29949
|
},
|
|
29949
29950
|
"x-github": {
|
|
@@ -35436,6 +35437,11 @@
|
|
|
35436
35437
|
},
|
|
35437
35438
|
"state_reason": {
|
|
35438
35439
|
"type": "string",
|
|
35440
|
+
"enum": [
|
|
35441
|
+
"completed",
|
|
35442
|
+
"not_planned",
|
|
35443
|
+
"reopened"
|
|
35444
|
+
],
|
|
35439
35445
|
"nullable": true,
|
|
35440
35446
|
"description": "The reason for the current state",
|
|
35441
35447
|
"example": "not_planned"
|
|
@@ -40022,6 +40028,9 @@
|
|
|
40022
40028
|
},
|
|
40023
40029
|
"500": {
|
|
40024
40030
|
"$ref": "#/components/responses/internal_error"
|
|
40031
|
+
},
|
|
40032
|
+
"503": {
|
|
40033
|
+
"$ref": "#/components/responses/service_unavailable"
|
|
40025
40034
|
}
|
|
40026
40035
|
},
|
|
40027
40036
|
"x-github": {
|
|
@@ -40581,6 +40590,9 @@
|
|
|
40581
40590
|
},
|
|
40582
40591
|
"500": {
|
|
40583
40592
|
"$ref": "#/components/responses/internal_error"
|
|
40593
|
+
},
|
|
40594
|
+
"503": {
|
|
40595
|
+
"$ref": "#/components/responses/service_unavailable"
|
|
40584
40596
|
}
|
|
40585
40597
|
},
|
|
40586
40598
|
"x-github": {
|
|
@@ -44731,7 +44743,7 @@
|
|
|
44731
44743
|
"/repos/{template_owner}/{template_repo}/generate": {
|
|
44732
44744
|
"post": {
|
|
44733
44745
|
"summary": "Create a repository using a template",
|
|
44734
|
-
"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.
|
|
44746
|
+
"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.5/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.5/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",
|
|
44735
44747
|
"tags": [
|
|
44736
44748
|
"repos"
|
|
44737
44749
|
],
|
|
@@ -56652,6 +56664,10 @@
|
|
|
56652
56664
|
"starred_at": {
|
|
56653
56665
|
"type": "string",
|
|
56654
56666
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
56667
|
+
},
|
|
56668
|
+
"anonymous_access_enabled": {
|
|
56669
|
+
"type": "boolean",
|
|
56670
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
56655
56671
|
}
|
|
56656
56672
|
},
|
|
56657
56673
|
"required": [
|
|
@@ -58505,7 +58521,12 @@
|
|
|
58505
58521
|
"description": "The reason for the current state",
|
|
58506
58522
|
"example": "not_planned",
|
|
58507
58523
|
"type": "string",
|
|
58508
|
-
"nullable": true
|
|
58524
|
+
"nullable": true,
|
|
58525
|
+
"enum": [
|
|
58526
|
+
"completed",
|
|
58527
|
+
"reopened",
|
|
58528
|
+
"not_planned"
|
|
58529
|
+
]
|
|
58509
58530
|
},
|
|
58510
58531
|
"title": {
|
|
58511
58532
|
"description": "Title of the issue",
|
|
@@ -60617,6 +60638,10 @@
|
|
|
60617
60638
|
"starred_at": {
|
|
60618
60639
|
"type": "string",
|
|
60619
60640
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
60641
|
+
},
|
|
60642
|
+
"anonymous_access_enabled": {
|
|
60643
|
+
"type": "boolean",
|
|
60644
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
60620
60645
|
}
|
|
60621
60646
|
},
|
|
60622
60647
|
"required": [
|
|
@@ -61858,6 +61883,11 @@
|
|
|
61858
61883
|
"nullable": true,
|
|
61859
61884
|
"type": "string",
|
|
61860
61885
|
"description": "Detailed documentation for the rule as GitHub Flavored Markdown."
|
|
61886
|
+
},
|
|
61887
|
+
"help_uri": {
|
|
61888
|
+
"nullable": true,
|
|
61889
|
+
"type": "string",
|
|
61890
|
+
"description": "A link to the documentation for the rule used to detect the alert."
|
|
61861
61891
|
}
|
|
61862
61892
|
}
|
|
61863
61893
|
},
|
|
@@ -70630,7 +70660,12 @@
|
|
|
70630
70660
|
"description": "The reason for the current state",
|
|
70631
70661
|
"example": "not_planned",
|
|
70632
70662
|
"type": "string",
|
|
70633
|
-
"nullable": true
|
|
70663
|
+
"nullable": true,
|
|
70664
|
+
"enum": [
|
|
70665
|
+
"completed",
|
|
70666
|
+
"reopened",
|
|
70667
|
+
"not_planned"
|
|
70668
|
+
]
|
|
70634
70669
|
},
|
|
70635
70670
|
"title": {
|
|
70636
70671
|
"description": "Title of the issue",
|
|
@@ -90068,7 +90103,8 @@
|
|
|
90068
90103
|
"security",
|
|
90069
90104
|
"external/cwe/cwe-022"
|
|
90070
90105
|
],
|
|
90071
|
-
"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 ..."
|
|
90106
|
+
"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 ...",
|
|
90107
|
+
"help_uri": "https://codeql.github.com/"
|
|
90072
90108
|
},
|
|
90073
90109
|
"tool": {
|
|
90074
90110
|
"name": "CodeQL",
|
|
@@ -90138,7 +90174,8 @@
|
|
|
90138
90174
|
"security",
|
|
90139
90175
|
"external/cwe/cwe-022"
|
|
90140
90176
|
],
|
|
90141
|
-
"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 ..."
|
|
90177
|
+
"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 ...",
|
|
90178
|
+
"help_uri": "https://codeql.github.com/"
|
|
90142
90179
|
},
|
|
90143
90180
|
"tool": {
|
|
90144
90181
|
"name": "CodeQL",
|
|
@@ -17915,6 +17915,42 @@
|
|
|
17915
17915
|
}
|
|
17916
17916
|
}
|
|
17917
17917
|
},
|
|
17918
|
+
"/repos/{owner}/{repo}/actions/runs": {
|
|
17919
|
+
"get": {
|
|
17920
|
+
"parameters": {
|
|
17921
|
+
"removed": [
|
|
17922
|
+
{
|
|
17923
|
+
"description": "Only returns workflow runs that are associated with the specified `head_sha`.",
|
|
17924
|
+
"in": "query",
|
|
17925
|
+
"name": "head_sha",
|
|
17926
|
+
"required": false,
|
|
17927
|
+
"schema": {
|
|
17928
|
+
"type": "string"
|
|
17929
|
+
},
|
|
17930
|
+
"style": "form"
|
|
17931
|
+
}
|
|
17932
|
+
]
|
|
17933
|
+
}
|
|
17934
|
+
}
|
|
17935
|
+
},
|
|
17936
|
+
"/repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs": {
|
|
17937
|
+
"get": {
|
|
17938
|
+
"parameters": {
|
|
17939
|
+
"removed": [
|
|
17940
|
+
{
|
|
17941
|
+
"description": "Only returns workflow runs that are associated with the specified `head_sha`.",
|
|
17942
|
+
"in": "query",
|
|
17943
|
+
"name": "head_sha",
|
|
17944
|
+
"required": false,
|
|
17945
|
+
"schema": {
|
|
17946
|
+
"type": "string"
|
|
17947
|
+
},
|
|
17948
|
+
"style": "form"
|
|
17949
|
+
}
|
|
17950
|
+
]
|
|
17951
|
+
}
|
|
17952
|
+
}
|
|
17953
|
+
},
|
|
17918
17954
|
"/repos/{owner}/{repo}/autolinks": {
|
|
17919
17955
|
"get": {
|
|
17920
17956
|
"responses": {
|
|
@@ -17929,6 +17965,11 @@
|
|
|
17929
17965
|
"removed": [
|
|
17930
17966
|
"is_alphanumeric"
|
|
17931
17967
|
]
|
|
17968
|
+
},
|
|
17969
|
+
"required_changed": {
|
|
17970
|
+
"removed": [
|
|
17971
|
+
"is_alphanumeric"
|
|
17972
|
+
]
|
|
17932
17973
|
}
|
|
17933
17974
|
}
|
|
17934
17975
|
}
|
|
@@ -17951,6 +17992,11 @@
|
|
|
17951
17992
|
"removed": [
|
|
17952
17993
|
"is_alphanumeric"
|
|
17953
17994
|
]
|
|
17995
|
+
},
|
|
17996
|
+
"required_changed": {
|
|
17997
|
+
"removed": [
|
|
17998
|
+
"is_alphanumeric"
|
|
17999
|
+
]
|
|
17954
18000
|
}
|
|
17955
18001
|
}
|
|
17956
18002
|
}
|
|
@@ -17974,6 +18020,11 @@
|
|
|
17974
18020
|
"removed": [
|
|
17975
18021
|
"is_alphanumeric"
|
|
17976
18022
|
]
|
|
18023
|
+
},
|
|
18024
|
+
"required_changed": {
|
|
18025
|
+
"removed": [
|
|
18026
|
+
"is_alphanumeric"
|
|
18027
|
+
]
|
|
17977
18028
|
}
|
|
17978
18029
|
}
|
|
17979
18030
|
}
|