@octokit/openapi 7.6.0 → 7.9.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 +1927 -149
- package/generated/api.github.com.json +566 -22
- 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 +122 -1
- package/generated/ghes-3.6-diff-to-api.github.com.deref.json +9482 -2
- package/generated/ghes-3.6-diff-to-api.github.com.json +1044 -31
- package/generated/ghes-3.6.deref.json +782 -39
- package/generated/ghes-3.6.json +204 -21
- package/generated/github.ae-anicca-diff-to-api.github.com.deref.json +49 -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 +768 -30
- package/generated/github.ae.json +237 -18
- package/package.json +1 -1
package/generated/ghes-3.2.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "7.
|
|
4
|
+
"version": "7.9.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": {
|
|
@@ -12582,17 +12582,6 @@
|
|
|
12582
12582
|
}
|
|
12583
12583
|
}
|
|
12584
12584
|
},
|
|
12585
|
-
"302": {
|
|
12586
|
-
"description": "Response if requester is not an organization member",
|
|
12587
|
-
"headers": {
|
|
12588
|
-
"Location": {
|
|
12589
|
-
"example": "https://api.github.com/orgs/github/public_members",
|
|
12590
|
-
"schema": {
|
|
12591
|
-
"type": "string"
|
|
12592
|
-
}
|
|
12593
|
-
}
|
|
12594
|
-
}
|
|
12595
|
-
},
|
|
12596
12585
|
"422": {
|
|
12597
12586
|
"$ref": "#/components/responses/validation_failed"
|
|
12598
12587
|
}
|
|
@@ -26756,6 +26745,9 @@
|
|
|
26756
26745
|
},
|
|
26757
26746
|
"500": {
|
|
26758
26747
|
"$ref": "#/components/responses/internal_error"
|
|
26748
|
+
},
|
|
26749
|
+
"503": {
|
|
26750
|
+
"$ref": "#/components/responses/service_unavailable"
|
|
26759
26751
|
}
|
|
26760
26752
|
},
|
|
26761
26753
|
"x-github": {
|
|
@@ -27177,6 +27169,9 @@
|
|
|
27177
27169
|
},
|
|
27178
27170
|
"500": {
|
|
27179
27171
|
"$ref": "#/components/responses/internal_error"
|
|
27172
|
+
},
|
|
27173
|
+
"503": {
|
|
27174
|
+
"$ref": "#/components/responses/service_unavailable"
|
|
27180
27175
|
}
|
|
27181
27176
|
},
|
|
27182
27177
|
"x-github": {
|
|
@@ -32638,6 +32633,11 @@
|
|
|
32638
32633
|
},
|
|
32639
32634
|
"state_reason": {
|
|
32640
32635
|
"type": "string",
|
|
32636
|
+
"enum": [
|
|
32637
|
+
"completed",
|
|
32638
|
+
"not_planned",
|
|
32639
|
+
"reopened"
|
|
32640
|
+
],
|
|
32641
32641
|
"nullable": true,
|
|
32642
32642
|
"description": "The reason for the current state",
|
|
32643
32643
|
"example": "not_planned"
|
|
@@ -37218,6 +37218,9 @@
|
|
|
37218
37218
|
},
|
|
37219
37219
|
"500": {
|
|
37220
37220
|
"$ref": "#/components/responses/internal_error"
|
|
37221
|
+
},
|
|
37222
|
+
"503": {
|
|
37223
|
+
"$ref": "#/components/responses/service_unavailable"
|
|
37221
37224
|
}
|
|
37222
37225
|
},
|
|
37223
37226
|
"x-github": {
|
|
@@ -37784,6 +37787,9 @@
|
|
|
37784
37787
|
},
|
|
37785
37788
|
"500": {
|
|
37786
37789
|
"$ref": "#/components/responses/internal_error"
|
|
37790
|
+
},
|
|
37791
|
+
"503": {
|
|
37792
|
+
"$ref": "#/components/responses/service_unavailable"
|
|
37787
37793
|
}
|
|
37788
37794
|
},
|
|
37789
37795
|
"x-github": {
|
|
@@ -41518,7 +41524,7 @@
|
|
|
41518
41524
|
"/repos/{template_owner}/{template_repo}/generate": {
|
|
41519
41525
|
"post": {
|
|
41520
41526
|
"summary": "Create a repository using a template",
|
|
41521
|
-
"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.
|
|
41527
|
+
"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.2/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.2/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",
|
|
41522
41528
|
"tags": [
|
|
41523
41529
|
"repos"
|
|
41524
41530
|
],
|
|
@@ -53557,6 +53563,10 @@
|
|
|
53557
53563
|
"starred_at": {
|
|
53558
53564
|
"type": "string",
|
|
53559
53565
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
53566
|
+
},
|
|
53567
|
+
"anonymous_access_enabled": {
|
|
53568
|
+
"type": "boolean",
|
|
53569
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
53560
53570
|
}
|
|
53561
53571
|
},
|
|
53562
53572
|
"required": [
|
|
@@ -54838,7 +54848,12 @@
|
|
|
54838
54848
|
"description": "The reason for the current state",
|
|
54839
54849
|
"example": "not_planned",
|
|
54840
54850
|
"type": "string",
|
|
54841
|
-
"nullable": true
|
|
54851
|
+
"nullable": true,
|
|
54852
|
+
"enum": [
|
|
54853
|
+
"completed",
|
|
54854
|
+
"reopened",
|
|
54855
|
+
"not_planned"
|
|
54856
|
+
]
|
|
54842
54857
|
},
|
|
54843
54858
|
"title": {
|
|
54844
54859
|
"description": "Title of the issue",
|
|
@@ -56941,6 +56956,10 @@
|
|
|
56941
56956
|
"starred_at": {
|
|
56942
56957
|
"type": "string",
|
|
56943
56958
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
56959
|
+
},
|
|
56960
|
+
"anonymous_access_enabled": {
|
|
56961
|
+
"type": "boolean",
|
|
56962
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
56944
56963
|
}
|
|
56945
56964
|
},
|
|
56946
56965
|
"required": [
|
|
@@ -63254,6 +63273,11 @@
|
|
|
63254
63273
|
"nullable": true,
|
|
63255
63274
|
"type": "string",
|
|
63256
63275
|
"description": "Detailed documentation for the rule as GitHub Flavored Markdown."
|
|
63276
|
+
},
|
|
63277
|
+
"help_uri": {
|
|
63278
|
+
"nullable": true,
|
|
63279
|
+
"type": "string",
|
|
63280
|
+
"description": "A link to the documentation for the rule used to detect the alert."
|
|
63257
63281
|
}
|
|
63258
63282
|
}
|
|
63259
63283
|
},
|
|
@@ -66309,7 +66333,12 @@
|
|
|
66309
66333
|
"description": "The reason for the current state",
|
|
66310
66334
|
"example": "not_planned",
|
|
66311
66335
|
"type": "string",
|
|
66312
|
-
"nullable": true
|
|
66336
|
+
"nullable": true,
|
|
66337
|
+
"enum": [
|
|
66338
|
+
"completed",
|
|
66339
|
+
"reopened",
|
|
66340
|
+
"not_planned"
|
|
66341
|
+
]
|
|
66313
66342
|
},
|
|
66314
66343
|
"title": {
|
|
66315
66344
|
"description": "Title of the issue",
|
|
@@ -84695,7 +84724,8 @@
|
|
|
84695
84724
|
"security",
|
|
84696
84725
|
"external/cwe/cwe-022"
|
|
84697
84726
|
],
|
|
84698
|
-
"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 ..."
|
|
84727
|
+
"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 ...",
|
|
84728
|
+
"help_uri": "https://codeql.github.com/"
|
|
84699
84729
|
},
|
|
84700
84730
|
"tool": {
|
|
84701
84731
|
"name": "CodeQL",
|
|
@@ -84764,7 +84794,8 @@
|
|
|
84764
84794
|
"security",
|
|
84765
84795
|
"external/cwe/cwe-022"
|
|
84766
84796
|
],
|
|
84767
|
-
"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 ..."
|
|
84797
|
+
"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 ...",
|
|
84798
|
+
"help_uri": "https://codeql.github.com/"
|
|
84768
84799
|
},
|
|
84769
84800
|
"tool": {
|
|
84770
84801
|
"name": "CodeQL",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "7.
|
|
4
|
+
"version": "7.9.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": {
|
|
@@ -5619,6 +5619,10 @@
|
|
|
5619
5619
|
"starred_at": {
|
|
5620
5620
|
"type": "string",
|
|
5621
5621
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
5622
|
+
},
|
|
5623
|
+
"anonymous_access_enabled": {
|
|
5624
|
+
"type": "boolean",
|
|
5625
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
5622
5626
|
}
|
|
5623
5627
|
},
|
|
5624
5628
|
"required": [
|
|
@@ -32962,6 +32966,11 @@
|
|
|
32962
32966
|
"nullable": true,
|
|
32963
32967
|
"type": "string",
|
|
32964
32968
|
"description": "Detailed documentation for the rule as GitHub Flavored Markdown."
|
|
32969
|
+
},
|
|
32970
|
+
"help_uri": {
|
|
32971
|
+
"nullable": true,
|
|
32972
|
+
"type": "string",
|
|
32973
|
+
"description": "A link to the documentation for the rule used to detect the alert."
|
|
32965
32974
|
}
|
|
32966
32975
|
}
|
|
32967
32976
|
},
|
|
@@ -33122,7 +33131,8 @@
|
|
|
33122
33131
|
"security",
|
|
33123
33132
|
"external/cwe/cwe-022"
|
|
33124
33133
|
],
|
|
33125
|
-
"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 ..."
|
|
33134
|
+
"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 ...",
|
|
33135
|
+
"help_uri": "https://codeql.github.com/"
|
|
33126
33136
|
},
|
|
33127
33137
|
"tool": {
|
|
33128
33138
|
"name": "CodeQL",
|
|
@@ -33578,6 +33588,11 @@
|
|
|
33578
33588
|
"nullable": true,
|
|
33579
33589
|
"type": "string",
|
|
33580
33590
|
"description": "Detailed documentation for the rule as GitHub Flavored Markdown."
|
|
33591
|
+
},
|
|
33592
|
+
"help_uri": {
|
|
33593
|
+
"nullable": true,
|
|
33594
|
+
"type": "string",
|
|
33595
|
+
"description": "A link to the documentation for the rule used to detect the alert."
|
|
33581
33596
|
}
|
|
33582
33597
|
}
|
|
33583
33598
|
},
|
|
@@ -33738,7 +33753,8 @@
|
|
|
33738
33753
|
"security",
|
|
33739
33754
|
"external/cwe/cwe-022"
|
|
33740
33755
|
],
|
|
33741
|
-
"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 ..."
|
|
33756
|
+
"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 ...",
|
|
33757
|
+
"help_uri": "https://codeql.github.com/"
|
|
33742
33758
|
},
|
|
33743
33759
|
"tool": {
|
|
33744
33760
|
"name": "CodeQL",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "7.
|
|
4
|
+
"version": "7.9.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": {
|
|
@@ -7916,6 +7916,10 @@
|
|
|
7916
7916
|
"starred_at": {
|
|
7917
7917
|
"type": "string",
|
|
7918
7918
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
7919
|
+
},
|
|
7920
|
+
"anonymous_access_enabled": {
|
|
7921
|
+
"type": "boolean",
|
|
7922
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
7919
7923
|
}
|
|
7920
7924
|
},
|
|
7921
7925
|
"required": [
|
|
@@ -9419,6 +9423,11 @@
|
|
|
9419
9423
|
"nullable": true,
|
|
9420
9424
|
"type": "string",
|
|
9421
9425
|
"description": "Detailed documentation for the rule as GitHub Flavored Markdown."
|
|
9426
|
+
},
|
|
9427
|
+
"help_uri": {
|
|
9428
|
+
"nullable": true,
|
|
9429
|
+
"type": "string",
|
|
9430
|
+
"description": "A link to the documentation for the rule used to detect the alert."
|
|
9422
9431
|
}
|
|
9423
9432
|
}
|
|
9424
9433
|
}
|
|
@@ -11070,7 +11079,8 @@
|
|
|
11070
11079
|
"security",
|
|
11071
11080
|
"external/cwe/cwe-022"
|
|
11072
11081
|
],
|
|
11073
|
-
"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 ..."
|
|
11082
|
+
"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 ...",
|
|
11083
|
+
"help_uri": "https://codeql.github.com/"
|
|
11074
11084
|
},
|
|
11075
11085
|
"tool": {
|
|
11076
11086
|
"name": "CodeQL",
|
|
@@ -11140,7 +11150,8 @@
|
|
|
11140
11150
|
"security",
|
|
11141
11151
|
"external/cwe/cwe-022"
|
|
11142
11152
|
],
|
|
11143
|
-
"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 ..."
|
|
11153
|
+
"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 ...",
|
|
11154
|
+
"help_uri": "https://codeql.github.com/"
|
|
11144
11155
|
},
|
|
11145
11156
|
"tool": {
|
|
11146
11157
|
"name": "CodeQL",
|