@octokit/openapi 7.5.0 → 7.8.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 +2249 -268
- package/generated/api.github.com.json +1222 -129
- 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 +386 -28
- package/generated/ghes-3.2-diff-to-ghes-3.3.json +43 -17
- package/generated/ghes-3.2.deref.json +778 -256
- package/generated/ghes-3.2.json +588 -40
- package/generated/ghes-3.3-anicca-diff-to-ghes-3.4.deref.json +0 -16
- package/generated/ghes-3.3-diff-to-ghes-3.4.deref.json +205 -225
- package/generated/ghes-3.3-diff-to-ghes-3.4.json +445 -12
- package/generated/ghes-3.3.deref.json +785 -257
- package/generated/ghes-3.3.json +595 -41
- package/generated/ghes-3.4-diff-to-ghes-3.5.deref.json +153 -1
- package/generated/ghes-3.4-diff-to-ghes-3.5.json +13 -1
- package/generated/ghes-3.4.deref.json +816 -243
- package/generated/ghes-3.4.json +603 -43
- 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 +462 -42
- package/generated/ghes-3.5-diff-to-ghes-3.6.json +304 -18
- package/generated/ghes-3.5.deref.json +829 -243
- package/generated/ghes-3.5.json +603 -43
- package/generated/ghes-3.6-anicca-diff-to-api.github.com.deref.json +519 -89
- package/generated/ghes-3.6-diff-to-api.github.com.deref.json +18071 -6614
- package/generated/ghes-3.6-diff-to-api.github.com.json +6665 -4290
- package/generated/ghes-3.6.deref.json +1048 -256
- package/generated/ghes-3.6.json +826 -56
- package/generated/github.ae-anicca-diff-to-api.github.com.deref.json +347 -32
- package/generated/github.ae-diff-to-api.github.com.deref.json +11634 -3854
- package/generated/github.ae-diff-to-api.github.com.json +1185 -40
- package/generated/github.ae.deref.json +1087 -178
- package/generated/github.ae.json +865 -50
- 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.8.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": {
|
|
@@ -4446,6 +4446,14 @@
|
|
|
4446
4446
|
]
|
|
4447
4447
|
}
|
|
4448
4448
|
}
|
|
4449
|
+
},
|
|
4450
|
+
"examples": {
|
|
4451
|
+
"default": {
|
|
4452
|
+
"summary": "Example request body",
|
|
4453
|
+
"value": {
|
|
4454
|
+
"permissions": "write"
|
|
4455
|
+
}
|
|
4456
|
+
}
|
|
4449
4457
|
}
|
|
4450
4458
|
}
|
|
4451
4459
|
}
|
|
@@ -5099,6 +5107,12 @@
|
|
|
5099
5107
|
"closed"
|
|
5100
5108
|
]
|
|
5101
5109
|
},
|
|
5110
|
+
"state_reason": {
|
|
5111
|
+
"type": "string",
|
|
5112
|
+
"nullable": true,
|
|
5113
|
+
"description": "The reason for the current state",
|
|
5114
|
+
"example": "not_planned"
|
|
5115
|
+
},
|
|
5102
5116
|
"milestone": {
|
|
5103
5117
|
"oneOf": [
|
|
5104
5118
|
{
|
|
@@ -6105,7 +6119,7 @@
|
|
|
6105
6119
|
"/repos/{template_owner}/{template_repo}/generate": {
|
|
6106
6120
|
"post": {
|
|
6107
6121
|
"summary": "Create a repository using a template",
|
|
6108
|
-
"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.
|
|
6122
|
+
"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",
|
|
6109
6123
|
"tags": [
|
|
6110
6124
|
"repos"
|
|
6111
6125
|
],
|
|
@@ -8382,14 +8396,6 @@
|
|
|
8382
8396
|
"write"
|
|
8383
8397
|
]
|
|
8384
8398
|
},
|
|
8385
|
-
"organization_custom_roles": {
|
|
8386
|
-
"type": "string",
|
|
8387
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
8388
|
-
"enum": [
|
|
8389
|
-
"read",
|
|
8390
|
-
"write"
|
|
8391
|
-
]
|
|
8392
|
-
},
|
|
8393
8399
|
"deployments": {
|
|
8394
8400
|
"type": "string",
|
|
8395
8401
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -9561,6 +9567,10 @@
|
|
|
9561
9567
|
"starred_at": {
|
|
9562
9568
|
"type": "string",
|
|
9563
9569
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
9570
|
+
},
|
|
9571
|
+
"anonymous_access_enabled": {
|
|
9572
|
+
"type": "boolean",
|
|
9573
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
9564
9574
|
}
|
|
9565
9575
|
},
|
|
9566
9576
|
"required": [
|
|
@@ -14866,6 +14876,10 @@
|
|
|
14866
14876
|
"starred_at": {
|
|
14867
14877
|
"type": "string",
|
|
14868
14878
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
14879
|
+
},
|
|
14880
|
+
"anonymous_access_enabled": {
|
|
14881
|
+
"type": "boolean",
|
|
14882
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
14869
14883
|
}
|
|
14870
14884
|
},
|
|
14871
14885
|
"required": [
|
|
@@ -15367,6 +15381,11 @@
|
|
|
15367
15381
|
"nullable": true,
|
|
15368
15382
|
"type": "string",
|
|
15369
15383
|
"description": "Detailed documentation for the rule as GitHub Flavored Markdown."
|
|
15384
|
+
},
|
|
15385
|
+
"help_uri": {
|
|
15386
|
+
"nullable": true,
|
|
15387
|
+
"type": "string",
|
|
15388
|
+
"description": "A link to the documentation for the rule used to detect the alert."
|
|
15370
15389
|
}
|
|
15371
15390
|
}
|
|
15372
15391
|
},
|
|
@@ -20892,7 +20911,8 @@
|
|
|
20892
20911
|
"security",
|
|
20893
20912
|
"external/cwe/cwe-022"
|
|
20894
20913
|
],
|
|
20895
|
-
"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 ..."
|
|
20914
|
+
"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 ...",
|
|
20915
|
+
"help_uri": "https://codeql.github.com/"
|
|
20896
20916
|
},
|
|
20897
20917
|
"tool": {
|
|
20898
20918
|
"name": "CodeQL",
|
|
@@ -20961,7 +20981,8 @@
|
|
|
20961
20981
|
"security",
|
|
20962
20982
|
"external/cwe/cwe-022"
|
|
20963
20983
|
],
|
|
20964
|
-
"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 ..."
|
|
20984
|
+
"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 ...",
|
|
20985
|
+
"help_uri": "https://codeql.github.com/"
|
|
20965
20986
|
},
|
|
20966
20987
|
"tool": {
|
|
20967
20988
|
"name": "CodeQL",
|
|
@@ -22651,7 +22672,8 @@
|
|
|
22651
22672
|
"type": "User",
|
|
22652
22673
|
"site_admin": false
|
|
22653
22674
|
},
|
|
22654
|
-
"author_association": "COLLABORATOR"
|
|
22675
|
+
"author_association": "COLLABORATOR",
|
|
22676
|
+
"state_reason": "completed"
|
|
22655
22677
|
}
|
|
22656
22678
|
]
|
|
22657
22679
|
},
|
|
@@ -22811,7 +22833,8 @@
|
|
|
22811
22833
|
"type": "User",
|
|
22812
22834
|
"site_admin": false
|
|
22813
22835
|
},
|
|
22814
|
-
"author_association": "COLLABORATOR"
|
|
22836
|
+
"author_association": "COLLABORATOR",
|
|
22837
|
+
"state_reason": "completed"
|
|
22815
22838
|
}
|
|
22816
22839
|
},
|
|
22817
22840
|
"issue-event-items": {
|
|
@@ -22979,7 +23002,8 @@
|
|
|
22979
23002
|
"closed_at": null,
|
|
22980
23003
|
"created_at": "2011-04-22T13:33:48Z",
|
|
22981
23004
|
"updated_at": "2011-04-22T13:33:48Z",
|
|
22982
|
-
"author_association": "COLLABORATOR"
|
|
23005
|
+
"author_association": "COLLABORATOR",
|
|
23006
|
+
"state_reason": "completed"
|
|
22983
23007
|
}
|
|
22984
23008
|
}
|
|
22985
23009
|
]
|
|
@@ -23188,7 +23212,8 @@
|
|
|
23188
23212
|
"closed_at": null,
|
|
23189
23213
|
"created_at": "2011-04-22T13:33:48Z",
|
|
23190
23214
|
"updated_at": "2011-04-22T13:33:48Z",
|
|
23191
|
-
"author_association": "COLLABORATOR"
|
|
23215
|
+
"author_association": "COLLABORATOR",
|
|
23216
|
+
"state_reason": "completed"
|
|
23192
23217
|
}
|
|
23193
23218
|
}
|
|
23194
23219
|
},
|
|
@@ -24595,7 +24620,8 @@
|
|
|
24595
24620
|
"body": "...",
|
|
24596
24621
|
"score": 1,
|
|
24597
24622
|
"locked": true,
|
|
24598
|
-
"author_association": "COLLABORATOR"
|
|
24623
|
+
"author_association": "COLLABORATOR",
|
|
24624
|
+
"state_reason": "completed"
|
|
24599
24625
|
}
|
|
24600
24626
|
]
|
|
24601
24627
|
}
|