@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
|
@@ -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": {
|
|
@@ -12448,17 +12448,6 @@
|
|
|
12448
12448
|
}
|
|
12449
12449
|
}
|
|
12450
12450
|
},
|
|
12451
|
-
"302": {
|
|
12452
|
-
"description": "Response if requester is not an organization member",
|
|
12453
|
-
"headers": {
|
|
12454
|
-
"Location": {
|
|
12455
|
-
"example": "https://api.github.com/orgs/github/public_members",
|
|
12456
|
-
"schema": {
|
|
12457
|
-
"type": "string"
|
|
12458
|
-
}
|
|
12459
|
-
}
|
|
12460
|
-
}
|
|
12461
|
-
},
|
|
12462
12451
|
"422": {
|
|
12463
12452
|
"$ref": "#/components/responses/validation_failed"
|
|
12464
12453
|
}
|
|
@@ -21293,6 +21282,9 @@
|
|
|
21293
21282
|
},
|
|
21294
21283
|
{
|
|
21295
21284
|
"$ref": "#/components/parameters/workflow-run-check-suite-id"
|
|
21285
|
+
},
|
|
21286
|
+
{
|
|
21287
|
+
"$ref": "#/components/parameters/workflow-run-head-sha"
|
|
21296
21288
|
}
|
|
21297
21289
|
],
|
|
21298
21290
|
"responses": {
|
|
@@ -22969,6 +22961,9 @@
|
|
|
22969
22961
|
},
|
|
22970
22962
|
{
|
|
22971
22963
|
"$ref": "#/components/parameters/workflow-run-check-suite-id"
|
|
22964
|
+
},
|
|
22965
|
+
{
|
|
22966
|
+
"$ref": "#/components/parameters/workflow-run-head-sha"
|
|
22972
22967
|
}
|
|
22973
22968
|
],
|
|
22974
22969
|
"responses": {
|
|
@@ -23260,11 +23255,16 @@
|
|
|
23260
23255
|
"properties": {
|
|
23261
23256
|
"key_prefix": {
|
|
23262
23257
|
"type": "string",
|
|
23263
|
-
"description": "
|
|
23258
|
+
"description": "This prefix appended by certain characters will generate a link any time it is found in an issue, pull request, or commit."
|
|
23264
23259
|
},
|
|
23265
23260
|
"url_template": {
|
|
23266
23261
|
"type": "string",
|
|
23267
|
-
"description": "The URL must contain `<num>` for the reference number. `<num>` matches
|
|
23262
|
+
"description": "The URL must contain `<num>` for the reference number. `<num>` matches different characters depending on the value of `is_alphanumeric`."
|
|
23263
|
+
},
|
|
23264
|
+
"is_alphanumeric": {
|
|
23265
|
+
"type": "boolean",
|
|
23266
|
+
"default": "true",
|
|
23267
|
+
"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."
|
|
23268
23268
|
}
|
|
23269
23269
|
},
|
|
23270
23270
|
"required": [
|
|
@@ -23276,7 +23276,8 @@
|
|
|
23276
23276
|
"default": {
|
|
23277
23277
|
"value": {
|
|
23278
23278
|
"key_prefix": "TICKET-",
|
|
23279
|
-
"url_template": "https://example.com/TICKET?query=<num>"
|
|
23279
|
+
"url_template": "https://example.com/TICKET?query=<num>",
|
|
23280
|
+
"is_alphanumeric": true
|
|
23280
23281
|
}
|
|
23281
23282
|
}
|
|
23282
23283
|
}
|
|
@@ -30219,6 +30220,9 @@
|
|
|
30219
30220
|
},
|
|
30220
30221
|
"500": {
|
|
30221
30222
|
"$ref": "#/components/responses/internal_error"
|
|
30223
|
+
},
|
|
30224
|
+
"503": {
|
|
30225
|
+
"$ref": "#/components/responses/service_unavailable"
|
|
30222
30226
|
}
|
|
30223
30227
|
},
|
|
30224
30228
|
"x-github": {
|
|
@@ -30674,6 +30678,9 @@
|
|
|
30674
30678
|
},
|
|
30675
30679
|
"500": {
|
|
30676
30680
|
"$ref": "#/components/responses/internal_error"
|
|
30681
|
+
},
|
|
30682
|
+
"503": {
|
|
30683
|
+
"$ref": "#/components/responses/service_unavailable"
|
|
30677
30684
|
}
|
|
30678
30685
|
},
|
|
30679
30686
|
"x-github": {
|
|
@@ -36992,6 +36999,11 @@
|
|
|
36992
36999
|
},
|
|
36993
37000
|
"state_reason": {
|
|
36994
37001
|
"type": "string",
|
|
37002
|
+
"enum": [
|
|
37003
|
+
"completed",
|
|
37004
|
+
"not_planned",
|
|
37005
|
+
"reopened"
|
|
37006
|
+
],
|
|
36995
37007
|
"nullable": true,
|
|
36996
37008
|
"description": "The reason for the current state",
|
|
36997
37009
|
"example": "not_planned"
|
|
@@ -41476,6 +41488,9 @@
|
|
|
41476
41488
|
},
|
|
41477
41489
|
"500": {
|
|
41478
41490
|
"$ref": "#/components/responses/internal_error"
|
|
41491
|
+
},
|
|
41492
|
+
"503": {
|
|
41493
|
+
"$ref": "#/components/responses/service_unavailable"
|
|
41479
41494
|
}
|
|
41480
41495
|
},
|
|
41481
41496
|
"x-github": {
|
|
@@ -42153,6 +42168,9 @@
|
|
|
42153
42168
|
},
|
|
42154
42169
|
"500": {
|
|
42155
42170
|
"$ref": "#/components/responses/internal_error"
|
|
42171
|
+
},
|
|
42172
|
+
"503": {
|
|
42173
|
+
"$ref": "#/components/responses/service_unavailable"
|
|
42156
42174
|
}
|
|
42157
42175
|
},
|
|
42158
42176
|
"x-github": {
|
|
@@ -46495,7 +46513,7 @@
|
|
|
46495
46513
|
"/repos/{template_owner}/{template_repo}/generate": {
|
|
46496
46514
|
"post": {
|
|
46497
46515
|
"summary": "Create a repository using a template",
|
|
46498
|
-
"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.
|
|
46516
|
+
"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/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/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",
|
|
46499
46517
|
"tags": [
|
|
46500
46518
|
"repos"
|
|
46501
46519
|
],
|
|
@@ -61712,6 +61730,10 @@
|
|
|
61712
61730
|
"starred_at": {
|
|
61713
61731
|
"type": "string",
|
|
61714
61732
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
61733
|
+
},
|
|
61734
|
+
"anonymous_access_enabled": {
|
|
61735
|
+
"type": "boolean",
|
|
61736
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
61715
61737
|
}
|
|
61716
61738
|
},
|
|
61717
61739
|
"required": [
|
|
@@ -62932,6 +62954,11 @@
|
|
|
62932
62954
|
"nullable": true,
|
|
62933
62955
|
"type": "string",
|
|
62934
62956
|
"description": "Detailed documentation for the rule as GitHub Flavored Markdown."
|
|
62957
|
+
},
|
|
62958
|
+
"help_uri": {
|
|
62959
|
+
"nullable": true,
|
|
62960
|
+
"type": "string",
|
|
62961
|
+
"description": "A link to the documentation for the rule used to detect the alert."
|
|
62935
62962
|
}
|
|
62936
62963
|
}
|
|
62937
62964
|
},
|
|
@@ -64206,7 +64233,12 @@
|
|
|
64206
64233
|
"description": "The reason for the current state",
|
|
64207
64234
|
"example": "not_planned",
|
|
64208
64235
|
"type": "string",
|
|
64209
|
-
"nullable": true
|
|
64236
|
+
"nullable": true,
|
|
64237
|
+
"enum": [
|
|
64238
|
+
"completed",
|
|
64239
|
+
"reopened",
|
|
64240
|
+
"not_planned"
|
|
64241
|
+
]
|
|
64210
64242
|
},
|
|
64211
64243
|
"title": {
|
|
64212
64244
|
"description": "Title of the issue",
|
|
@@ -66656,6 +66688,10 @@
|
|
|
66656
66688
|
"starred_at": {
|
|
66657
66689
|
"type": "string",
|
|
66658
66690
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
66691
|
+
},
|
|
66692
|
+
"anonymous_access_enabled": {
|
|
66693
|
+
"type": "boolean",
|
|
66694
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
66659
66695
|
}
|
|
66660
66696
|
},
|
|
66661
66697
|
"required": [
|
|
@@ -73184,14 +73220,16 @@
|
|
|
73184
73220
|
"type": "string"
|
|
73185
73221
|
},
|
|
73186
73222
|
"is_alphanumeric": {
|
|
73187
|
-
"description": "Whether this autolink reference matches alphanumeric characters. If false, this autolink reference
|
|
73223
|
+
"description": "Whether this autolink reference matches alphanumeric characters. If false, this autolink reference only matches numeric characters.",
|
|
73224
|
+
"example": true,
|
|
73188
73225
|
"type": "boolean"
|
|
73189
73226
|
}
|
|
73190
73227
|
},
|
|
73191
73228
|
"required": [
|
|
73192
73229
|
"id",
|
|
73193
73230
|
"key_prefix",
|
|
73194
|
-
"url_template"
|
|
73231
|
+
"url_template",
|
|
73232
|
+
"is_alphanumeric"
|
|
73195
73233
|
]
|
|
73196
73234
|
},
|
|
73197
73235
|
"protected-branch-required-status-check": {
|
|
@@ -78829,7 +78867,12 @@
|
|
|
78829
78867
|
"description": "The reason for the current state",
|
|
78830
78868
|
"example": "not_planned",
|
|
78831
78869
|
"type": "string",
|
|
78832
|
-
"nullable": true
|
|
78870
|
+
"nullable": true,
|
|
78871
|
+
"enum": [
|
|
78872
|
+
"completed",
|
|
78873
|
+
"reopened",
|
|
78874
|
+
"not_planned"
|
|
78875
|
+
]
|
|
78833
78876
|
},
|
|
78834
78877
|
"title": {
|
|
78835
78878
|
"description": "Title of the issue",
|
|
@@ -93701,14 +93744,15 @@
|
|
|
93701
93744
|
},
|
|
93702
93745
|
"location": "WestUs2",
|
|
93703
93746
|
"idle_timeout_minutes": 60,
|
|
93704
|
-
"retention_period_minutes":
|
|
93705
|
-
"retention_expires_at":
|
|
93747
|
+
"retention_period_minutes": 43200,
|
|
93748
|
+
"retention_expires_at": null,
|
|
93706
93749
|
"web_url": "https://monalisa-octocat-hello-world-g4wpq6h95q.github.dev",
|
|
93707
93750
|
"machines_url": "https://api.github.com/user/codespaces/monalisa-octocat-hello-world-g4wpq6h95q/machines",
|
|
93708
93751
|
"start_url": "https://api.github.com/user/codespaces/monalisa-octocat-hello-world-g4wpq6h95q/start",
|
|
93709
93752
|
"stop_url": "https://api.github.com/user/codespaces/monalisa-octocat-hello-world-g4wpq6h95q/stop",
|
|
93710
93753
|
"pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls/1",
|
|
93711
|
-
"recent_folders": []
|
|
93754
|
+
"recent_folders": [],
|
|
93755
|
+
"template": null
|
|
93712
93756
|
}
|
|
93713
93757
|
},
|
|
93714
93758
|
"org-membership-response-if-user-has-an-active-admin-membership-with-organization": {
|
|
@@ -99640,7 +99684,8 @@
|
|
|
99640
99684
|
"security",
|
|
99641
99685
|
"external/cwe/cwe-022"
|
|
99642
99686
|
],
|
|
99643
|
-
"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 ..."
|
|
99687
|
+
"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 ...",
|
|
99688
|
+
"help_uri": "https://codeql.github.com/"
|
|
99644
99689
|
},
|
|
99645
99690
|
"tool": {
|
|
99646
99691
|
"name": "CodeQL",
|
|
@@ -99712,7 +99757,8 @@
|
|
|
99712
99757
|
"security",
|
|
99713
99758
|
"external/cwe/cwe-022"
|
|
99714
99759
|
],
|
|
99715
|
-
"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 ..."
|
|
99760
|
+
"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 ...",
|
|
99761
|
+
"help_uri": "https://codeql.github.com/"
|
|
99716
99762
|
},
|
|
99717
99763
|
"tool": {
|
|
99718
99764
|
"name": "CodeQL",
|
|
@@ -113264,6 +113310,15 @@
|
|
|
113264
113310
|
"type": "integer"
|
|
113265
113311
|
}
|
|
113266
113312
|
},
|
|
113313
|
+
"workflow-run-head-sha": {
|
|
113314
|
+
"name": "head_sha",
|
|
113315
|
+
"description": "Only returns workflow runs that are associated with the specified `head_sha`.",
|
|
113316
|
+
"in": "query",
|
|
113317
|
+
"required": false,
|
|
113318
|
+
"schema": {
|
|
113319
|
+
"type": "string"
|
|
113320
|
+
}
|
|
113321
|
+
},
|
|
113267
113322
|
"run-id": {
|
|
113268
113323
|
"name": "run_id",
|
|
113269
113324
|
"description": "The unique identifier of the workflow run.",
|
|
@@ -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": {
|
|
@@ -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": {
|