diff --git a/descriptions-next/api.github.com/api.github.com.2022-11-28.json b/descriptions-next/api.github.com/api.github.com.2022-11-28.json index 217ca2ffb0..260017a71f 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.json @@ -2189,10 +2189,12 @@ }, "advanced_security": { "type": "string", - "description": "The enablement status of GitHub Advanced Security", + "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ], "default": "disabled" }, @@ -2538,10 +2540,12 @@ }, "advanced_security": { "type": "string", - "description": "The enablement status of GitHub Advanced Security. Must be set to enabled if you want to enable any GHAS settings.", + "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -11455,10 +11459,12 @@ }, "advanced_security": { "type": "string", - "description": "The enablement status of GitHub Advanced Security", + "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ], "default": "disabled" }, @@ -11918,10 +11924,12 @@ }, "advanced_security": { "type": "string", - "description": "The enablement status of GitHub Advanced Security", + "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -44830,7 +44838,7 @@ "description": "Response" }, "422": { - "$ref": "#/components/responses/validation_failed" + "description": "Validation failed, an attempt was made to delete the default branch, or the endpoint has been spammed." }, "409": { "$ref": "#/components/responses/conflict" @@ -99000,7 +99008,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { diff --git a/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml index d3d69d1807..a0794f9e90 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml @@ -1519,10 +1519,14 @@ paths: maxLength: 255 advanced_security: type: string - description: The enablement status of GitHub Advanced Security + description: The enablement status of GitHub Advanced Security features. + `enabled` will enable both Code Security and Secret Protection + features. enum: - enabled - disabled + - code_security + - secret_protection default: disabled dependency_graph: type: string @@ -1789,11 +1793,14 @@ paths: maxLength: 255 advanced_security: type: string - description: The enablement status of GitHub Advanced Security. - Must be set to enabled if you want to enable any GHAS settings. + description: The enablement status of GitHub Advanced Security features. + `enabled` will enable both Code Security and Secret Protection + features. enum: - enabled - disabled + - code_security + - secret_protection dependency_graph: type: string description: The enablement status of Dependency Graph @@ -8290,10 +8297,14 @@ paths: maxLength: 255 advanced_security: type: string - description: The enablement status of GitHub Advanced Security + description: The enablement status of GitHub Advanced Security features. + `enabled` will enable both Code Security and Secret Protection + features. enum: - enabled - disabled + - code_security + - secret_protection default: disabled dependency_graph: type: string @@ -8647,10 +8658,14 @@ paths: maxLength: 255 advanced_security: type: string - description: The enablement status of GitHub Advanced Security + description: The enablement status of GitHub Advanced Security features. + `enabled` will enable both Code Security and Secret Protection + features. enum: - enabled - disabled + - code_security + - secret_protection dependency_graph: type: string description: The enablement status of Dependency Graph @@ -32735,7 +32750,8 @@ paths: '204': description: Response '422': - "$ref": "#/components/responses/validation_failed" + description: Validation failed, an attempt was made to delete the default + branch, or the endpoint has been spammed. '409': "$ref": "#/components/responses/conflict" x-github: @@ -71671,6 +71687,8 @@ components: enum: - enabled - disabled + - code_security + - secret_protection dependency_graph: type: string description: The enablement status of Dependency Graph diff --git a/descriptions-next/api.github.com/api.github.com.json b/descriptions-next/api.github.com/api.github.com.json index 217ca2ffb0..260017a71f 100644 --- a/descriptions-next/api.github.com/api.github.com.json +++ b/descriptions-next/api.github.com/api.github.com.json @@ -2189,10 +2189,12 @@ }, "advanced_security": { "type": "string", - "description": "The enablement status of GitHub Advanced Security", + "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ], "default": "disabled" }, @@ -2538,10 +2540,12 @@ }, "advanced_security": { "type": "string", - "description": "The enablement status of GitHub Advanced Security. Must be set to enabled if you want to enable any GHAS settings.", + "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -11455,10 +11459,12 @@ }, "advanced_security": { "type": "string", - "description": "The enablement status of GitHub Advanced Security", + "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ], "default": "disabled" }, @@ -11918,10 +11924,12 @@ }, "advanced_security": { "type": "string", - "description": "The enablement status of GitHub Advanced Security", + "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -44830,7 +44838,7 @@ "description": "Response" }, "422": { - "$ref": "#/components/responses/validation_failed" + "description": "Validation failed, an attempt was made to delete the default branch, or the endpoint has been spammed." }, "409": { "$ref": "#/components/responses/conflict" @@ -99000,7 +99008,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { diff --git a/descriptions-next/api.github.com/api.github.com.yaml b/descriptions-next/api.github.com/api.github.com.yaml index d3d69d1807..a0794f9e90 100644 --- a/descriptions-next/api.github.com/api.github.com.yaml +++ b/descriptions-next/api.github.com/api.github.com.yaml @@ -1519,10 +1519,14 @@ paths: maxLength: 255 advanced_security: type: string - description: The enablement status of GitHub Advanced Security + description: The enablement status of GitHub Advanced Security features. + `enabled` will enable both Code Security and Secret Protection + features. enum: - enabled - disabled + - code_security + - secret_protection default: disabled dependency_graph: type: string @@ -1789,11 +1793,14 @@ paths: maxLength: 255 advanced_security: type: string - description: The enablement status of GitHub Advanced Security. - Must be set to enabled if you want to enable any GHAS settings. + description: The enablement status of GitHub Advanced Security features. + `enabled` will enable both Code Security and Secret Protection + features. enum: - enabled - disabled + - code_security + - secret_protection dependency_graph: type: string description: The enablement status of Dependency Graph @@ -8290,10 +8297,14 @@ paths: maxLength: 255 advanced_security: type: string - description: The enablement status of GitHub Advanced Security + description: The enablement status of GitHub Advanced Security features. + `enabled` will enable both Code Security and Secret Protection + features. enum: - enabled - disabled + - code_security + - secret_protection default: disabled dependency_graph: type: string @@ -8647,10 +8658,14 @@ paths: maxLength: 255 advanced_security: type: string - description: The enablement status of GitHub Advanced Security + description: The enablement status of GitHub Advanced Security features. + `enabled` will enable both Code Security and Secret Protection + features. enum: - enabled - disabled + - code_security + - secret_protection dependency_graph: type: string description: The enablement status of Dependency Graph @@ -32735,7 +32750,8 @@ paths: '204': description: Response '422': - "$ref": "#/components/responses/validation_failed" + description: Validation failed, an attempt was made to delete the default + branch, or the endpoint has been spammed. '409': "$ref": "#/components/responses/conflict" x-github: @@ -71671,6 +71687,8 @@ components: enum: - enabled - disabled + - code_security + - secret_protection dependency_graph: type: string description: The enablement status of Dependency Graph diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index 63296abdc4..cd6c9af71b 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -18170,7 +18170,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -18566,10 +18568,12 @@ }, "advanced_security": { "type": "string", - "description": "The enablement status of GitHub Advanced Security", + "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ], "default": "disabled" }, @@ -18805,7 +18809,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -19269,7 +19275,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -19658,7 +19666,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -20034,10 +20044,12 @@ }, "advanced_security": { "type": "string", - "description": "The enablement status of GitHub Advanced Security. Must be set to enabled if you want to enable any GHAS settings.", + "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -20253,7 +20265,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -21072,7 +21086,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -79731,7 +79747,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -80134,10 +80152,12 @@ }, "advanced_security": { "type": "string", - "description": "The enablement status of GitHub Advanced Security", + "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ], "default": "disabled" }, @@ -80413,7 +80433,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -80761,7 +80783,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -81419,7 +81443,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -81799,10 +81825,12 @@ }, "advanced_security": { "type": "string", - "description": "The enablement status of GitHub Advanced Security", + "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -82056,7 +82084,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -82738,7 +82768,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -269016,7 +269048,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -328672,79 +328706,7 @@ "description": "Response" }, "422": { - "description": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { - "title": "Validation Error", - "description": "Validation Error", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", - "required": [ - "code" - ], - "properties": { - "resource": { - "type": "string" - }, - "field": { - "type": "string" - }, - "message": { - "type": "string" - }, - "code": { - "type": "string" - }, - "index": { - "type": "integer" - }, - "value": { - "oneOf": [ - { - "type": [ - "string", - "null" - ] - }, - { - "type": [ - "integer", - "null" - ] - }, - { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - } - ] - } - } - } - } - } - } - } - } + "description": "Validation failed, an attempt was made to delete the default branch, or the endpoint has been spammed." }, "409": { "description": "Conflict", diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index 00d35eda9e..6fb5804d65 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -7301,6 +7301,8 @@ paths: enum: - enabled - disabled + - code_security + - secret_protection dependency_graph: type: string description: The enablement status of Dependency Graph @@ -7577,10 +7579,14 @@ paths: maxLength: 255 advanced_security: type: string - description: The enablement status of GitHub Advanced Security + description: The enablement status of GitHub Advanced Security features. + `enabled` will enable both Code Security and Secret Protection + features. enum: - enabled - disabled + - code_security + - secret_protection default: disabled dependency_graph: type: string @@ -7962,11 +7968,14 @@ paths: maxLength: 255 advanced_security: type: string - description: The enablement status of GitHub Advanced Security. - Must be set to enabled if you want to enable any GHAS settings. + description: The enablement status of GitHub Advanced Security features. + `enabled` will enable both Code Security and Secret Protection + features. enum: - enabled - disabled + - code_security + - secret_protection dependency_graph: type: string description: The enablement status of Dependency Graph @@ -22555,10 +22564,14 @@ paths: maxLength: 255 advanced_security: type: string - description: The enablement status of GitHub Advanced Security + description: The enablement status of GitHub Advanced Security features. + `enabled` will enable both Code Security and Secret Protection + features. enum: - enabled - disabled + - code_security + - secret_protection default: disabled dependency_graph: type: string @@ -22894,10 +22907,14 @@ paths: maxLength: 255 advanced_security: type: string - description: The enablement status of GitHub Advanced Security + description: The enablement status of GitHub Advanced Security features. + `enabled` will enable both Code Security and Secret Protection + features. enum: - enabled - disabled + - code_security + - secret_protection dependency_graph: type: string description: The enablement status of Dependency Graph @@ -69401,7 +69418,9 @@ paths: responses: '204': description: Response - '422': *15 + '422': + description: Validation failed, an attempt was made to delete the default + branch, or the endpoint has been spammed. '409': *44 x-github: githubCloudOnly: false diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json index 63296abdc4..cd6c9af71b 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json @@ -18170,7 +18170,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -18566,10 +18568,12 @@ }, "advanced_security": { "type": "string", - "description": "The enablement status of GitHub Advanced Security", + "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ], "default": "disabled" }, @@ -18805,7 +18809,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -19269,7 +19275,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -19658,7 +19666,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -20034,10 +20044,12 @@ }, "advanced_security": { "type": "string", - "description": "The enablement status of GitHub Advanced Security. Must be set to enabled if you want to enable any GHAS settings.", + "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -20253,7 +20265,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -21072,7 +21086,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -79731,7 +79747,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -80134,10 +80152,12 @@ }, "advanced_security": { "type": "string", - "description": "The enablement status of GitHub Advanced Security", + "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ], "default": "disabled" }, @@ -80413,7 +80433,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -80761,7 +80783,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -81419,7 +81443,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -81799,10 +81825,12 @@ }, "advanced_security": { "type": "string", - "description": "The enablement status of GitHub Advanced Security", + "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -82056,7 +82084,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -82738,7 +82768,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -269016,7 +269048,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -328672,79 +328706,7 @@ "description": "Response" }, "422": { - "description": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { - "title": "Validation Error", - "description": "Validation Error", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", - "required": [ - "code" - ], - "properties": { - "resource": { - "type": "string" - }, - "field": { - "type": "string" - }, - "message": { - "type": "string" - }, - "code": { - "type": "string" - }, - "index": { - "type": "integer" - }, - "value": { - "oneOf": [ - { - "type": [ - "string", - "null" - ] - }, - { - "type": [ - "integer", - "null" - ] - }, - { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - } - ] - } - } - } - } - } - } - } - } + "description": "Validation failed, an attempt was made to delete the default branch, or the endpoint has been spammed." }, "409": { "description": "Conflict", diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml index 00d35eda9e..6fb5804d65 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml @@ -7301,6 +7301,8 @@ paths: enum: - enabled - disabled + - code_security + - secret_protection dependency_graph: type: string description: The enablement status of Dependency Graph @@ -7577,10 +7579,14 @@ paths: maxLength: 255 advanced_security: type: string - description: The enablement status of GitHub Advanced Security + description: The enablement status of GitHub Advanced Security features. + `enabled` will enable both Code Security and Secret Protection + features. enum: - enabled - disabled + - code_security + - secret_protection default: disabled dependency_graph: type: string @@ -7962,11 +7968,14 @@ paths: maxLength: 255 advanced_security: type: string - description: The enablement status of GitHub Advanced Security. - Must be set to enabled if you want to enable any GHAS settings. + description: The enablement status of GitHub Advanced Security features. + `enabled` will enable both Code Security and Secret Protection + features. enum: - enabled - disabled + - code_security + - secret_protection dependency_graph: type: string description: The enablement status of Dependency Graph @@ -22555,10 +22564,14 @@ paths: maxLength: 255 advanced_security: type: string - description: The enablement status of GitHub Advanced Security + description: The enablement status of GitHub Advanced Security features. + `enabled` will enable both Code Security and Secret Protection + features. enum: - enabled - disabled + - code_security + - secret_protection default: disabled dependency_graph: type: string @@ -22894,10 +22907,14 @@ paths: maxLength: 255 advanced_security: type: string - description: The enablement status of GitHub Advanced Security + description: The enablement status of GitHub Advanced Security features. + `enabled` will enable both Code Security and Secret Protection + features. enum: - enabled - disabled + - code_security + - secret_protection dependency_graph: type: string description: The enablement status of Dependency Graph @@ -69401,7 +69418,9 @@ paths: responses: '204': description: Response - '422': *15 + '422': + description: Validation failed, an attempt was made to delete the default + branch, or the endpoint has been spammed. '409': *44 x-github: githubCloudOnly: false diff --git a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json index 5df6c124e0..41806d105b 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -30922,7 +30922,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -31318,10 +31320,12 @@ }, "advanced_security": { "type": "string", - "description": "The enablement status of GitHub Advanced Security", + "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ], "default": "disabled" }, @@ -31557,7 +31561,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -32021,7 +32027,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -32410,7 +32418,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -32786,10 +32796,12 @@ }, "advanced_security": { "type": "string", - "description": "The enablement status of GitHub Advanced Security. Must be set to enabled if you want to enable any GHAS settings.", + "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -33005,7 +33017,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -33824,7 +33838,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -50496,7 +50512,7 @@ "/enterprises/{enterprise}/settings/billing/actions": { "get": { "summary": "Get GitHub Actions billing for an enterprise", - "description": "Gets the summary of the free and paid GitHub Actions minutes used.\n\nPaid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nThe authenticated user must be an enterprise admin.", + "description": "Gets the summary of the free and paid GitHub Actions minutes used.\n\nPaid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nThe authenticated user must be an enterprise admin.\n\n> [!NOTE]\n> This endpoint is available to enterprise customers who are using the legacy billing platform.", "operationId": "billing/get-github-actions-billing-ghe", "tags": [ "billing" @@ -51576,7 +51592,7 @@ "/enterprises/{enterprise}/settings/billing/packages": { "get": { "summary": "Get GitHub Packages billing for an enterprise", - "description": "Gets the free and paid storage used for GitHub Packages in gigabytes.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nThe authenticated user must be an enterprise admin.", + "description": "Gets the free and paid storage used for GitHub Packages in gigabytes.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nThe authenticated user must be an enterprise admin.\n\n> [!NOTE]\n> This endpoint is available to enterprise customers who are using the legacy billing platform.", "operationId": "billing/get-github-packages-billing-ghe", "tags": [ "billing" @@ -51647,7 +51663,7 @@ "/enterprises/{enterprise}/settings/billing/shared-storage": { "get": { "summary": "Get shared storage billing for an enterprise", - "description": "Gets the estimated paid and estimated total storage used for GitHub Actions and GitHub Packages.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nThe authenticated user must be an enterprise admin.", + "description": "Gets the estimated paid and estimated total storage used for GitHub Actions and GitHub Packages.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nThe authenticated user must be an enterprise admin.\n\n> [!NOTE]\n> This endpoint is available to enterprise customers who are using the legacy billing platform.", "operationId": "billing/get-shared-storage-billing-ghe", "tags": [ "billing" @@ -108573,7 +108589,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -108976,10 +108994,12 @@ }, "advanced_security": { "type": "string", - "description": "The enablement status of GitHub Advanced Security", + "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ], "default": "disabled" }, @@ -109255,7 +109275,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -109603,7 +109625,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -110261,7 +110285,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -110641,10 +110667,12 @@ }, "advanced_security": { "type": "string", - "description": "The enablement status of GitHub Advanced Security", + "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -110898,7 +110926,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -111580,7 +111610,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -306444,7 +306476,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -366196,79 +366230,7 @@ "description": "Response" }, "422": { - "description": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { - "title": "Validation Error", - "description": "Validation Error", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", - "required": [ - "code" - ], - "properties": { - "resource": { - "type": "string" - }, - "field": { - "type": "string" - }, - "message": { - "type": "string" - }, - "code": { - "type": "string" - }, - "index": { - "type": "integer" - }, - "value": { - "oneOf": [ - { - "type": [ - "string", - "null" - ] - }, - { - "type": [ - "integer", - "null" - ] - }, - { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - } - ] - } - } - } - } - } - } - } - } + "description": "Validation failed, an attempt was made to delete the default branch, or the endpoint has been spammed." }, "409": { "description": "Conflict", diff --git a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml index ae88872320..13342235f5 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -12496,6 +12496,8 @@ paths: enum: - enabled - disabled + - code_security + - secret_protection dependency_graph: type: string description: The enablement status of Dependency Graph @@ -12772,10 +12774,14 @@ paths: maxLength: 255 advanced_security: type: string - description: The enablement status of GitHub Advanced Security + description: The enablement status of GitHub Advanced Security features. + `enabled` will enable both Code Security and Secret Protection + features. enum: - enabled - disabled + - code_security + - secret_protection default: disabled dependency_graph: type: string @@ -13157,11 +13163,14 @@ paths: maxLength: 255 advanced_security: type: string - description: The enablement status of GitHub Advanced Security. - Must be set to enabled if you want to enable any GHAS settings. + description: The enablement status of GitHub Advanced Security features. + `enabled` will enable both Code Security and Secret Protection + features. enum: - enabled - disabled + - code_security + - secret_protection dependency_graph: type: string description: The enablement status of Dependency Graph @@ -18380,6 +18389,9 @@ paths: Paid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)". The authenticated user must be an enterprise admin. + + > [!NOTE] + > This endpoint is available to enterprise customers who are using the legacy billing platform. operationId: billing/get-github-actions-billing-ghe tags: - billing @@ -18801,6 +18813,9 @@ paths: Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)." The authenticated user must be an enterprise admin. + + > [!NOTE] + > This endpoint is available to enterprise customers who are using the legacy billing platform. operationId: billing/get-github-packages-billing-ghe tags: - billing @@ -18851,6 +18866,9 @@ paths: Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)." The authenticated user must be an enterprise admin. + + > [!NOTE] + > This endpoint is available to enterprise customers who are using the legacy billing platform. operationId: billing/get-shared-storage-billing-ghe tags: - billing @@ -30742,10 +30760,14 @@ paths: maxLength: 255 advanced_security: type: string - description: The enablement status of GitHub Advanced Security + description: The enablement status of GitHub Advanced Security features. + `enabled` will enable both Code Security and Secret Protection + features. enum: - enabled - disabled + - code_security + - secret_protection default: disabled dependency_graph: type: string @@ -31081,10 +31103,14 @@ paths: maxLength: 255 advanced_security: type: string - description: The enablement status of GitHub Advanced Security + description: The enablement status of GitHub Advanced Security features. + `enabled` will enable both Code Security and Secret Protection + features. enum: - enabled - disabled + - code_security + - secret_protection dependency_graph: type: string description: The enablement status of Dependency Graph @@ -77534,7 +77560,9 @@ paths: responses: '204': description: Response - '422': *15 + '422': + description: Validation failed, an attempt was made to delete the default + branch, or the endpoint has been spammed. '409': *92 x-github: githubCloudOnly: false diff --git a/descriptions-next/ghec/dereferenced/ghec.deref.json b/descriptions-next/ghec/dereferenced/ghec.deref.json index 5df6c124e0..41806d105b 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.deref.json @@ -30922,7 +30922,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -31318,10 +31320,12 @@ }, "advanced_security": { "type": "string", - "description": "The enablement status of GitHub Advanced Security", + "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ], "default": "disabled" }, @@ -31557,7 +31561,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -32021,7 +32027,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -32410,7 +32418,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -32786,10 +32796,12 @@ }, "advanced_security": { "type": "string", - "description": "The enablement status of GitHub Advanced Security. Must be set to enabled if you want to enable any GHAS settings.", + "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -33005,7 +33017,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -33824,7 +33838,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -50496,7 +50512,7 @@ "/enterprises/{enterprise}/settings/billing/actions": { "get": { "summary": "Get GitHub Actions billing for an enterprise", - "description": "Gets the summary of the free and paid GitHub Actions minutes used.\n\nPaid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nThe authenticated user must be an enterprise admin.", + "description": "Gets the summary of the free and paid GitHub Actions minutes used.\n\nPaid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nThe authenticated user must be an enterprise admin.\n\n> [!NOTE]\n> This endpoint is available to enterprise customers who are using the legacy billing platform.", "operationId": "billing/get-github-actions-billing-ghe", "tags": [ "billing" @@ -51576,7 +51592,7 @@ "/enterprises/{enterprise}/settings/billing/packages": { "get": { "summary": "Get GitHub Packages billing for an enterprise", - "description": "Gets the free and paid storage used for GitHub Packages in gigabytes.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nThe authenticated user must be an enterprise admin.", + "description": "Gets the free and paid storage used for GitHub Packages in gigabytes.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nThe authenticated user must be an enterprise admin.\n\n> [!NOTE]\n> This endpoint is available to enterprise customers who are using the legacy billing platform.", "operationId": "billing/get-github-packages-billing-ghe", "tags": [ "billing" @@ -51647,7 +51663,7 @@ "/enterprises/{enterprise}/settings/billing/shared-storage": { "get": { "summary": "Get shared storage billing for an enterprise", - "description": "Gets the estimated paid and estimated total storage used for GitHub Actions and GitHub Packages.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nThe authenticated user must be an enterprise admin.", + "description": "Gets the estimated paid and estimated total storage used for GitHub Actions and GitHub Packages.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nThe authenticated user must be an enterprise admin.\n\n> [!NOTE]\n> This endpoint is available to enterprise customers who are using the legacy billing platform.", "operationId": "billing/get-shared-storage-billing-ghe", "tags": [ "billing" @@ -108573,7 +108589,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -108976,10 +108994,12 @@ }, "advanced_security": { "type": "string", - "description": "The enablement status of GitHub Advanced Security", + "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ], "default": "disabled" }, @@ -109255,7 +109275,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -109603,7 +109625,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -110261,7 +110285,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -110641,10 +110667,12 @@ }, "advanced_security": { "type": "string", - "description": "The enablement status of GitHub Advanced Security", + "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -110898,7 +110926,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -111580,7 +111610,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -306444,7 +306476,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -366196,79 +366230,7 @@ "description": "Response" }, "422": { - "description": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { - "title": "Validation Error", - "description": "Validation Error", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", - "required": [ - "code" - ], - "properties": { - "resource": { - "type": "string" - }, - "field": { - "type": "string" - }, - "message": { - "type": "string" - }, - "code": { - "type": "string" - }, - "index": { - "type": "integer" - }, - "value": { - "oneOf": [ - { - "type": [ - "string", - "null" - ] - }, - { - "type": [ - "integer", - "null" - ] - }, - { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - } - ] - } - } - } - } - } - } - } - } + "description": "Validation failed, an attempt was made to delete the default branch, or the endpoint has been spammed." }, "409": { "description": "Conflict", diff --git a/descriptions-next/ghec/dereferenced/ghec.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.deref.yaml index ae88872320..13342235f5 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.deref.yaml @@ -12496,6 +12496,8 @@ paths: enum: - enabled - disabled + - code_security + - secret_protection dependency_graph: type: string description: The enablement status of Dependency Graph @@ -12772,10 +12774,14 @@ paths: maxLength: 255 advanced_security: type: string - description: The enablement status of GitHub Advanced Security + description: The enablement status of GitHub Advanced Security features. + `enabled` will enable both Code Security and Secret Protection + features. enum: - enabled - disabled + - code_security + - secret_protection default: disabled dependency_graph: type: string @@ -13157,11 +13163,14 @@ paths: maxLength: 255 advanced_security: type: string - description: The enablement status of GitHub Advanced Security. - Must be set to enabled if you want to enable any GHAS settings. + description: The enablement status of GitHub Advanced Security features. + `enabled` will enable both Code Security and Secret Protection + features. enum: - enabled - disabled + - code_security + - secret_protection dependency_graph: type: string description: The enablement status of Dependency Graph @@ -18380,6 +18389,9 @@ paths: Paid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)". The authenticated user must be an enterprise admin. + + > [!NOTE] + > This endpoint is available to enterprise customers who are using the legacy billing platform. operationId: billing/get-github-actions-billing-ghe tags: - billing @@ -18801,6 +18813,9 @@ paths: Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)." The authenticated user must be an enterprise admin. + + > [!NOTE] + > This endpoint is available to enterprise customers who are using the legacy billing platform. operationId: billing/get-github-packages-billing-ghe tags: - billing @@ -18851,6 +18866,9 @@ paths: Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)." The authenticated user must be an enterprise admin. + + > [!NOTE] + > This endpoint is available to enterprise customers who are using the legacy billing platform. operationId: billing/get-shared-storage-billing-ghe tags: - billing @@ -30742,10 +30760,14 @@ paths: maxLength: 255 advanced_security: type: string - description: The enablement status of GitHub Advanced Security + description: The enablement status of GitHub Advanced Security features. + `enabled` will enable both Code Security and Secret Protection + features. enum: - enabled - disabled + - code_security + - secret_protection default: disabled dependency_graph: type: string @@ -31081,10 +31103,14 @@ paths: maxLength: 255 advanced_security: type: string - description: The enablement status of GitHub Advanced Security + description: The enablement status of GitHub Advanced Security features. + `enabled` will enable both Code Security and Secret Protection + features. enum: - enabled - disabled + - code_security + - secret_protection dependency_graph: type: string description: The enablement status of Dependency Graph @@ -77534,7 +77560,9 @@ paths: responses: '204': description: Response - '422': *15 + '422': + description: Validation failed, an attempt was made to delete the default + branch, or the endpoint has been spammed. '409': *92 x-github: githubCloudOnly: false diff --git a/descriptions-next/ghec/ghec.2022-11-28.json b/descriptions-next/ghec/ghec.2022-11-28.json index 23d79faf34..efdc9e2507 100644 --- a/descriptions-next/ghec/ghec.2022-11-28.json +++ b/descriptions-next/ghec/ghec.2022-11-28.json @@ -5609,10 +5609,12 @@ }, "advanced_security": { "type": "string", - "description": "The enablement status of GitHub Advanced Security", + "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ], "default": "disabled" }, @@ -5958,10 +5960,12 @@ }, "advanced_security": { "type": "string", - "description": "The enablement status of GitHub Advanced Security. Must be set to enabled if you want to enable any GHAS settings.", + "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -8307,7 +8311,7 @@ "/enterprises/{enterprise}/settings/billing/actions": { "get": { "summary": "Get GitHub Actions billing for an enterprise", - "description": "Gets the summary of the free and paid GitHub Actions minutes used.\n\nPaid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nThe authenticated user must be an enterprise admin.", + "description": "Gets the summary of the free and paid GitHub Actions minutes used.\n\nPaid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nThe authenticated user must be an enterprise admin.\n\n> [!NOTE]\n> This endpoint is available to enterprise customers who are using the legacy billing platform.", "operationId": "billing/get-github-actions-billing-ghe", "tags": [ "billing" @@ -8595,7 +8599,7 @@ "/enterprises/{enterprise}/settings/billing/packages": { "get": { "summary": "Get GitHub Packages billing for an enterprise", - "description": "Gets the free and paid storage used for GitHub Packages in gigabytes.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nThe authenticated user must be an enterprise admin.", + "description": "Gets the free and paid storage used for GitHub Packages in gigabytes.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nThe authenticated user must be an enterprise admin.\n\n> [!NOTE]\n> This endpoint is available to enterprise customers who are using the legacy billing platform.", "operationId": "billing/get-github-packages-billing-ghe", "tags": [ "billing" @@ -8637,7 +8641,7 @@ "/enterprises/{enterprise}/settings/billing/shared-storage": { "get": { "summary": "Get shared storage billing for an enterprise", - "description": "Gets the estimated paid and estimated total storage used for GitHub Actions and GitHub Packages.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nThe authenticated user must be an enterprise admin.", + "description": "Gets the estimated paid and estimated total storage used for GitHub Actions and GitHub Packages.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nThe authenticated user must be an enterprise admin.\n\n> [!NOTE]\n> This endpoint is available to enterprise customers who are using the legacy billing platform.", "operationId": "billing/get-shared-storage-billing-ghe", "tags": [ "billing" @@ -17506,10 +17510,12 @@ }, "advanced_security": { "type": "string", - "description": "The enablement status of GitHub Advanced Security", + "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ], "default": "disabled" }, @@ -17969,10 +17975,12 @@ }, "advanced_security": { "type": "string", - "description": "The enablement status of GitHub Advanced Security", + "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -52836,7 +52844,7 @@ "description": "Response" }, "422": { - "$ref": "#/components/responses/validation_failed" + "description": "Validation failed, an attempt was made to delete the default branch, or the endpoint has been spammed." }, "409": { "$ref": "#/components/responses/conflict" @@ -113205,7 +113213,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { diff --git a/descriptions-next/ghec/ghec.2022-11-28.yaml b/descriptions-next/ghec/ghec.2022-11-28.yaml index f4cbfb47c9..bde401ffb6 100644 --- a/descriptions-next/ghec/ghec.2022-11-28.yaml +++ b/descriptions-next/ghec/ghec.2022-11-28.yaml @@ -3920,10 +3920,14 @@ paths: maxLength: 255 advanced_security: type: string - description: The enablement status of GitHub Advanced Security + description: The enablement status of GitHub Advanced Security features. + `enabled` will enable both Code Security and Secret Protection + features. enum: - enabled - disabled + - code_security + - secret_protection default: disabled dependency_graph: type: string @@ -4190,11 +4194,14 @@ paths: maxLength: 255 advanced_security: type: string - description: The enablement status of GitHub Advanced Security. - Must be set to enabled if you want to enable any GHAS settings. + description: The enablement status of GitHub Advanced Security features. + `enabled` will enable both Code Security and Secret Protection + features. enum: - enabled - disabled + - code_security + - secret_protection dependency_graph: type: string description: The enablement status of Dependency Graph @@ -5862,6 +5869,9 @@ paths: Paid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)". The authenticated user must be an enterprise admin. + + > [!NOTE] + > This endpoint is available to enterprise customers who are using the legacy billing platform. operationId: billing/get-github-actions-billing-ghe tags: - billing @@ -6061,6 +6071,9 @@ paths: Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)." The authenticated user must be an enterprise admin. + + > [!NOTE] + > This endpoint is available to enterprise customers who are using the legacy billing platform. operationId: billing/get-github-packages-billing-ghe tags: - billing @@ -6093,6 +6106,9 @@ paths: Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)." The authenticated user must be an enterprise admin. + + > [!NOTE] + > This endpoint is available to enterprise customers who are using the legacy billing platform. operationId: billing/get-shared-storage-billing-ghe tags: - billing @@ -12571,10 +12587,14 @@ paths: maxLength: 255 advanced_security: type: string - description: The enablement status of GitHub Advanced Security + description: The enablement status of GitHub Advanced Security features. + `enabled` will enable both Code Security and Secret Protection + features. enum: - enabled - disabled + - code_security + - secret_protection default: disabled dependency_graph: type: string @@ -12928,10 +12948,14 @@ paths: maxLength: 255 advanced_security: type: string - description: The enablement status of GitHub Advanced Security + description: The enablement status of GitHub Advanced Security features. + `enabled` will enable both Code Security and Secret Protection + features. enum: - enabled - disabled + - code_security + - secret_protection dependency_graph: type: string description: The enablement status of Dependency Graph @@ -38455,7 +38479,8 @@ paths: '204': description: Response '422': - "$ref": "#/components/responses/validation_failed" + description: Validation failed, an attempt was made to delete the default + branch, or the endpoint has been spammed. '409': "$ref": "#/components/responses/conflict" x-github: @@ -81962,6 +81987,8 @@ components: enum: - enabled - disabled + - code_security + - secret_protection dependency_graph: type: string description: The enablement status of Dependency Graph diff --git a/descriptions-next/ghec/ghec.json b/descriptions-next/ghec/ghec.json index 23d79faf34..efdc9e2507 100644 --- a/descriptions-next/ghec/ghec.json +++ b/descriptions-next/ghec/ghec.json @@ -5609,10 +5609,12 @@ }, "advanced_security": { "type": "string", - "description": "The enablement status of GitHub Advanced Security", + "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ], "default": "disabled" }, @@ -5958,10 +5960,12 @@ }, "advanced_security": { "type": "string", - "description": "The enablement status of GitHub Advanced Security. Must be set to enabled if you want to enable any GHAS settings.", + "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -8307,7 +8311,7 @@ "/enterprises/{enterprise}/settings/billing/actions": { "get": { "summary": "Get GitHub Actions billing for an enterprise", - "description": "Gets the summary of the free and paid GitHub Actions minutes used.\n\nPaid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nThe authenticated user must be an enterprise admin.", + "description": "Gets the summary of the free and paid GitHub Actions minutes used.\n\nPaid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nThe authenticated user must be an enterprise admin.\n\n> [!NOTE]\n> This endpoint is available to enterprise customers who are using the legacy billing platform.", "operationId": "billing/get-github-actions-billing-ghe", "tags": [ "billing" @@ -8595,7 +8599,7 @@ "/enterprises/{enterprise}/settings/billing/packages": { "get": { "summary": "Get GitHub Packages billing for an enterprise", - "description": "Gets the free and paid storage used for GitHub Packages in gigabytes.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nThe authenticated user must be an enterprise admin.", + "description": "Gets the free and paid storage used for GitHub Packages in gigabytes.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nThe authenticated user must be an enterprise admin.\n\n> [!NOTE]\n> This endpoint is available to enterprise customers who are using the legacy billing platform.", "operationId": "billing/get-github-packages-billing-ghe", "tags": [ "billing" @@ -8637,7 +8641,7 @@ "/enterprises/{enterprise}/settings/billing/shared-storage": { "get": { "summary": "Get shared storage billing for an enterprise", - "description": "Gets the estimated paid and estimated total storage used for GitHub Actions and GitHub Packages.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nThe authenticated user must be an enterprise admin.", + "description": "Gets the estimated paid and estimated total storage used for GitHub Actions and GitHub Packages.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nThe authenticated user must be an enterprise admin.\n\n> [!NOTE]\n> This endpoint is available to enterprise customers who are using the legacy billing platform.", "operationId": "billing/get-shared-storage-billing-ghe", "tags": [ "billing" @@ -17506,10 +17510,12 @@ }, "advanced_security": { "type": "string", - "description": "The enablement status of GitHub Advanced Security", + "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ], "default": "disabled" }, @@ -17969,10 +17975,12 @@ }, "advanced_security": { "type": "string", - "description": "The enablement status of GitHub Advanced Security", + "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -52836,7 +52844,7 @@ "description": "Response" }, "422": { - "$ref": "#/components/responses/validation_failed" + "description": "Validation failed, an attempt was made to delete the default branch, or the endpoint has been spammed." }, "409": { "$ref": "#/components/responses/conflict" @@ -113205,7 +113213,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { diff --git a/descriptions-next/ghec/ghec.yaml b/descriptions-next/ghec/ghec.yaml index f4cbfb47c9..bde401ffb6 100644 --- a/descriptions-next/ghec/ghec.yaml +++ b/descriptions-next/ghec/ghec.yaml @@ -3920,10 +3920,14 @@ paths: maxLength: 255 advanced_security: type: string - description: The enablement status of GitHub Advanced Security + description: The enablement status of GitHub Advanced Security features. + `enabled` will enable both Code Security and Secret Protection + features. enum: - enabled - disabled + - code_security + - secret_protection default: disabled dependency_graph: type: string @@ -4190,11 +4194,14 @@ paths: maxLength: 255 advanced_security: type: string - description: The enablement status of GitHub Advanced Security. - Must be set to enabled if you want to enable any GHAS settings. + description: The enablement status of GitHub Advanced Security features. + `enabled` will enable both Code Security and Secret Protection + features. enum: - enabled - disabled + - code_security + - secret_protection dependency_graph: type: string description: The enablement status of Dependency Graph @@ -5862,6 +5869,9 @@ paths: Paid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)". The authenticated user must be an enterprise admin. + + > [!NOTE] + > This endpoint is available to enterprise customers who are using the legacy billing platform. operationId: billing/get-github-actions-billing-ghe tags: - billing @@ -6061,6 +6071,9 @@ paths: Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)." The authenticated user must be an enterprise admin. + + > [!NOTE] + > This endpoint is available to enterprise customers who are using the legacy billing platform. operationId: billing/get-github-packages-billing-ghe tags: - billing @@ -6093,6 +6106,9 @@ paths: Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)." The authenticated user must be an enterprise admin. + + > [!NOTE] + > This endpoint is available to enterprise customers who are using the legacy billing platform. operationId: billing/get-shared-storage-billing-ghe tags: - billing @@ -12571,10 +12587,14 @@ paths: maxLength: 255 advanced_security: type: string - description: The enablement status of GitHub Advanced Security + description: The enablement status of GitHub Advanced Security features. + `enabled` will enable both Code Security and Secret Protection + features. enum: - enabled - disabled + - code_security + - secret_protection default: disabled dependency_graph: type: string @@ -12928,10 +12948,14 @@ paths: maxLength: 255 advanced_security: type: string - description: The enablement status of GitHub Advanced Security + description: The enablement status of GitHub Advanced Security features. + `enabled` will enable both Code Security and Secret Protection + features. enum: - enabled - disabled + - code_security + - secret_protection dependency_graph: type: string description: The enablement status of Dependency Graph @@ -38455,7 +38479,8 @@ paths: '204': description: Response '422': - "$ref": "#/components/responses/validation_failed" + description: Validation failed, an attempt was made to delete the default + branch, or the endpoint has been spammed. '409': "$ref": "#/components/responses/conflict" x-github: @@ -81962,6 +81987,8 @@ components: enum: - enabled - disabled + - code_security + - secret_protection dependency_graph: type: string description: The enablement status of Dependency Graph diff --git a/descriptions-next/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.json b/descriptions-next/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.json index c6533f3cc9..a50732cbe3 100644 --- a/descriptions-next/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.json +++ b/descriptions-next/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.json @@ -295086,79 +295086,7 @@ "description": "Response" }, "422": { - "description": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { - "title": "Validation Error", - "description": "Validation Error", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", - "required": [ - "code" - ], - "properties": { - "resource": { - "type": "string" - }, - "field": { - "type": "string" - }, - "message": { - "type": "string" - }, - "code": { - "type": "string" - }, - "index": { - "type": "integer" - }, - "value": { - "oneOf": [ - { - "type": [ - "string", - "null" - ] - }, - { - "type": [ - "integer", - "null" - ] - }, - { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - } - ] - } - } - } - } - } - } - } - } + "description": "Validation failed, an attempt was made to delete the default branch, or the endpoint has been spammed." }, "409": { "description": "Conflict", diff --git a/descriptions-next/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.yaml b/descriptions-next/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.yaml index 937912e880..ab2237019e 100644 --- a/descriptions-next/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.yaml +++ b/descriptions-next/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.yaml @@ -62103,7 +62103,9 @@ paths: responses: '204': description: Response - '422': *33 + '422': + description: Validation failed, an attempt was made to delete the default + branch, or the endpoint has been spammed. '409': *135 x-github: githubCloudOnly: false diff --git a/descriptions-next/ghes-3.12/dereferenced/ghes-3.12.deref.json b/descriptions-next/ghes-3.12/dereferenced/ghes-3.12.deref.json index c6533f3cc9..a50732cbe3 100644 --- a/descriptions-next/ghes-3.12/dereferenced/ghes-3.12.deref.json +++ b/descriptions-next/ghes-3.12/dereferenced/ghes-3.12.deref.json @@ -295086,79 +295086,7 @@ "description": "Response" }, "422": { - "description": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { - "title": "Validation Error", - "description": "Validation Error", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", - "required": [ - "code" - ], - "properties": { - "resource": { - "type": "string" - }, - "field": { - "type": "string" - }, - "message": { - "type": "string" - }, - "code": { - "type": "string" - }, - "index": { - "type": "integer" - }, - "value": { - "oneOf": [ - { - "type": [ - "string", - "null" - ] - }, - { - "type": [ - "integer", - "null" - ] - }, - { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - } - ] - } - } - } - } - } - } - } - } + "description": "Validation failed, an attempt was made to delete the default branch, or the endpoint has been spammed." }, "409": { "description": "Conflict", diff --git a/descriptions-next/ghes-3.12/dereferenced/ghes-3.12.deref.yaml b/descriptions-next/ghes-3.12/dereferenced/ghes-3.12.deref.yaml index 937912e880..ab2237019e 100644 --- a/descriptions-next/ghes-3.12/dereferenced/ghes-3.12.deref.yaml +++ b/descriptions-next/ghes-3.12/dereferenced/ghes-3.12.deref.yaml @@ -62103,7 +62103,9 @@ paths: responses: '204': description: Response - '422': *33 + '422': + description: Validation failed, an attempt was made to delete the default + branch, or the endpoint has been spammed. '409': *135 x-github: githubCloudOnly: false diff --git a/descriptions-next/ghes-3.12/ghes-3.12.2022-11-28.json b/descriptions-next/ghes-3.12/ghes-3.12.2022-11-28.json index 6d1be66333..2291da1efb 100644 --- a/descriptions-next/ghes-3.12/ghes-3.12.2022-11-28.json +++ b/descriptions-next/ghes-3.12/ghes-3.12.2022-11-28.json @@ -41534,7 +41534,7 @@ "description": "Response" }, "422": { - "$ref": "#/components/responses/validation_failed" + "description": "Validation failed, an attempt was made to delete the default branch, or the endpoint has been spammed." }, "409": { "$ref": "#/components/responses/conflict" diff --git a/descriptions-next/ghes-3.12/ghes-3.12.2022-11-28.yaml b/descriptions-next/ghes-3.12/ghes-3.12.2022-11-28.yaml index f7338fa2af..e0fda61d34 100644 --- a/descriptions-next/ghes-3.12/ghes-3.12.2022-11-28.yaml +++ b/descriptions-next/ghes-3.12/ghes-3.12.2022-11-28.yaml @@ -30082,7 +30082,8 @@ paths: '204': description: Response '422': - "$ref": "#/components/responses/validation_failed" + description: Validation failed, an attempt was made to delete the default + branch, or the endpoint has been spammed. '409': "$ref": "#/components/responses/conflict" x-github: diff --git a/descriptions-next/ghes-3.12/ghes-3.12.json b/descriptions-next/ghes-3.12/ghes-3.12.json index 6d1be66333..2291da1efb 100644 --- a/descriptions-next/ghes-3.12/ghes-3.12.json +++ b/descriptions-next/ghes-3.12/ghes-3.12.json @@ -41534,7 +41534,7 @@ "description": "Response" }, "422": { - "$ref": "#/components/responses/validation_failed" + "description": "Validation failed, an attempt was made to delete the default branch, or the endpoint has been spammed." }, "409": { "$ref": "#/components/responses/conflict" diff --git a/descriptions-next/ghes-3.12/ghes-3.12.yaml b/descriptions-next/ghes-3.12/ghes-3.12.yaml index f7338fa2af..e0fda61d34 100644 --- a/descriptions-next/ghes-3.12/ghes-3.12.yaml +++ b/descriptions-next/ghes-3.12/ghes-3.12.yaml @@ -30082,7 +30082,8 @@ paths: '204': description: Response '422': - "$ref": "#/components/responses/validation_failed" + description: Validation failed, an attempt was made to delete the default + branch, or the endpoint has been spammed. '409': "$ref": "#/components/responses/conflict" x-gi{"code":"internal","msg":"git-diff-tree: context deadline exceeded","meta":{"cause":"*fmt.wrapError"}}