-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4b9cfb3
commit 20de914
Showing
18 changed files
with
99 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"openapi": "3.0.3", | ||
"info": { | ||
"version": "16.0.0", | ||
"version": "16.1.0", | ||
"title": "GitHub's official OpenAPI spec + Octokit extension", | ||
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs", | ||
"license": { | ||
|
@@ -102168,7 +102168,7 @@ | |
"properties": { | ||
"alerts_threshold": { | ||
"type": "string", | ||
"description": "The threshold at which code scanning results that introduce alerts block a ref update.", | ||
"description": "The severity level at which code scanning results that raise alerts block a reference update. For more information on alert severity levels, see \"[About code scanning alerts](https://docs.github.com/[email protected]/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", | ||
"enum": [ | ||
"none", | ||
"errors", | ||
|
@@ -102178,7 +102178,7 @@ | |
}, | ||
"security_alerts_threshold": { | ||
"type": "string", | ||
"description": "The threshold at which code scanning results that introduce security alerts block a ref update.", | ||
"description": "The severity level at which code scanning results that raise security alerts block a reference update. For more information on security severity levels, see \"[About code scanning alerts](https://docs.github.com/[email protected]/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", | ||
"enum": [ | ||
"none", | ||
"critical", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"openapi": "3.0.3", | ||
"info": { | ||
"version": "16.0.0", | ||
"version": "16.1.0", | ||
"title": "GitHub's official OpenAPI spec + Octokit extension", | ||
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs", | ||
"license": { | ||
|
@@ -10946,6 +10946,11 @@ | |
} | ||
} | ||
], | ||
"parameters": [ | ||
{ | ||
"$ref": "#/components/parameters/license-apply" | ||
} | ||
], | ||
"requestBody": { | ||
"required": true, | ||
"content": { | ||
|
@@ -104099,7 +104104,7 @@ | |
"properties": { | ||
"alerts_threshold": { | ||
"type": "string", | ||
"description": "The threshold at which code scanning results that introduce alerts block a ref update.", | ||
"description": "The severity level at which code scanning results that raise alerts block a reference update. For more information on alert severity levels, see \"[About code scanning alerts](https://docs.github.com/[email protected]/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", | ||
"enum": [ | ||
"none", | ||
"errors", | ||
|
@@ -104109,7 +104114,7 @@ | |
}, | ||
"security_alerts_threshold": { | ||
"type": "string", | ||
"description": "The threshold at which code scanning results that introduce security alerts block a ref update.", | ||
"description": "The severity level at which code scanning results that raise security alerts block a reference update. For more information on security severity levels, see \"[About code scanning alerts](https://docs.github.com/[email protected]/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels).\"", | ||
"enum": [ | ||
"none", | ||
"critical", | ||
|
@@ -301849,6 +301854,15 @@ | |
"type": "string" | ||
} | ||
}, | ||
"license-apply": { | ||
"name": "apply", | ||
"description": "Whether to apply changes from the license. Uploading a license does not automatically apply changes. To make the changes effective, you can specify to apply the license too.", | ||
"in": "query", | ||
"required": false, | ||
"schema": { | ||
"type": "boolean" | ||
} | ||
}, | ||
"uuid": { | ||
"name": "uuid", | ||
"description": "The UUID which identifies a node.", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15313,12 +15313,12 @@ export interface components { | |
*/ | ||
"repository-rule-params-code-scanning-tool": { | ||
/** | ||
* @description The threshold at which code scanning results that introduce alerts block a ref update. | ||
* @description The severity level at which code scanning results that raise alerts block a reference update. For more information on alert severity levels, see "[About code scanning alerts](https://docs.github.com/[email protected]/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels)." | ||
* @enum {string} | ||
*/ | ||
alerts_threshold: "none" | "errors" | "errors_and_warnings" | "all"; | ||
/** | ||
* @description The threshold at which code scanning results that introduce security alerts block a ref update. | ||
* @description The severity level at which code scanning results that raise security alerts block a reference update. For more information on security severity levels, see "[About code scanning alerts](https://docs.github.com/[email protected]/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels)." | ||
* @enum {string} | ||
*/ | ||
security_alerts_threshold: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15731,12 +15731,12 @@ export interface components { | |
*/ | ||
"repository-rule-params-code-scanning-tool": { | ||
/** | ||
* @description The threshold at which code scanning results that introduce alerts block a ref update. | ||
* @description The severity level at which code scanning results that raise alerts block a reference update. For more information on alert severity levels, see "[About code scanning alerts](https://docs.github.com/[email protected]/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels)." | ||
* @enum {string} | ||
*/ | ||
alerts_threshold: "none" | "errors" | "errors_and_warnings" | "all"; | ||
/** | ||
* @description The threshold at which code scanning results that introduce security alerts block a ref update. | ||
* @description The severity level at which code scanning results that raise security alerts block a reference update. For more information on security severity levels, see "[About code scanning alerts](https://docs.github.com/[email protected]/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts#about-alert-severity-and-security-severity-levels)." | ||
* @enum {string} | ||
*/ | ||
security_alerts_threshold: | ||
|
@@ -84295,6 +84295,8 @@ export interface components { | |
"comment-id": number; | ||
/** @description A list of comma separated label names. Example: `bug,ui,@high` */ | ||
labels?: string; | ||
/** @description Whether to apply changes from the license. Uploading a license does not automatically apply changes. To make the changes effective, you can specify to apply the license too. */ | ||
"license-apply"?: boolean; | ||
/** @description The UUID which identifies a node. */ | ||
uuid?: string; | ||
/** @description The cluster roles from the cluster configuration file. */ | ||
|
@@ -89314,6 +89316,11 @@ export interface operations { | |
* @description Uploads an enterprise license. This operation does not automatically activate the license. | ||
*/ | ||
"enterprise-admin/license-upload": { | ||
parameters: { | ||
query?: { | ||
apply?: components["parameters"]["license-apply"]; | ||
}; | ||
}; | ||
requestBody: { | ||
content: { | ||
"application/octet-stream": string; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.