diff --git a/descriptions/api.github.com/api.github.com.2022-11-28.json b/descriptions/api.github.com/api.github.com.2022-11-28.json index b76ea38697..3b1ea39193 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions/api.github.com/api.github.com.2022-11-28.json @@ -2177,10 +2177,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" }, @@ -2526,10 +2528,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": { @@ -11405,10 +11409,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" }, @@ -11868,10 +11874,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": { @@ -44638,7 +44646,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" @@ -98107,7 +98115,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { diff --git a/descriptions/api.github.com/api.github.com.2022-11-28.yaml b/descriptions/api.github.com/api.github.com.2022-11-28.yaml index 0be3e65de7..343dcf6365 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions/api.github.com/api.github.com.2022-11-28.yaml @@ -1513,10 +1513,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 @@ -1783,11 +1787,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 @@ -8267,10 +8274,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 @@ -8624,10 +8635,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 @@ -32642,7 +32657,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: @@ -71269,6 +71285,8 @@ components: enum: - enabled - disabled + - code_security + - secret_protection dependency_graph: type: string description: The enablement status of Dependency Graph diff --git a/descriptions/api.github.com/api.github.com.json b/descriptions/api.github.com/api.github.com.json index b76ea38697..3b1ea39193 100644 --- a/descriptions/api.github.com/api.github.com.json +++ b/descriptions/api.github.com/api.github.com.json @@ -2177,10 +2177,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" }, @@ -2526,10 +2528,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": { @@ -11405,10 +11409,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" }, @@ -11868,10 +11874,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": { @@ -44638,7 +44646,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" @@ -98107,7 +98115,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { diff --git a/descriptions/api.github.com/api.github.com.yaml b/descriptions/api.github.com/api.github.com.yaml index 0be3e65de7..343dcf6365 100644 --- a/descriptions/api.github.com/api.github.com.yaml +++ b/descriptions/api.github.com/api.github.com.yaml @@ -1513,10 +1513,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 @@ -1783,11 +1787,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 @@ -8267,10 +8274,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 @@ -8624,10 +8635,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 @@ -32642,7 +32657,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: @@ -71269,6 +71285,8 @@ components: enum: - enabled - disabled + - code_security + - secret_protection dependency_graph: type: string description: The enablement status of Dependency Graph diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index f14ec9647d..9b7384b495 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -16240,7 +16240,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -16629,10 +16631,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" }, @@ -16864,7 +16868,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -17313,7 +17319,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -17695,7 +17703,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -18064,10 +18074,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": { @@ -18279,7 +18291,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -19083,7 +19097,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -69246,7 +69262,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -69642,10 +69660,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" }, @@ -69917,7 +69937,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -70258,7 +70280,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -70901,7 +70925,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -71274,10 +71300,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": { @@ -71527,7 +71555,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -72194,7 +72224,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -232563,7 +232595,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -283071,73 +283105,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", - "nullable": true - }, - { - "type": "integer", - "nullable": true - }, - { - "type": "array", - "nullable": true, - "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/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index 4abf0ec91d..8cae60b9e0 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -6982,6 +6982,8 @@ paths: enum: - enabled - disabled + - code_security + - secret_protection dependency_graph: type: string description: The enablement status of Dependency Graph @@ -7254,10 +7256,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 @@ -7637,11 +7643,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 @@ -21850,10 +21859,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 @@ -22189,10 +22202,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 @@ -67620,7 +67637,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': *46 x-github: githubCloudOnly: false diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.deref.json index f14ec9647d..9b7384b495 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.json @@ -16240,7 +16240,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -16629,10 +16631,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" }, @@ -16864,7 +16868,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -17313,7 +17319,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -17695,7 +17703,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -18064,10 +18074,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": { @@ -18279,7 +18291,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -19083,7 +19097,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -69246,7 +69262,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -69642,10 +69660,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" }, @@ -69917,7 +69937,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -70258,7 +70280,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -70901,7 +70925,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -71274,10 +71300,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": { @@ -71527,7 +71555,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -72194,7 +72224,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -232563,7 +232595,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -283071,73 +283105,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", - "nullable": true - }, - { - "type": "integer", - "nullable": true - }, - { - "type": "array", - "nullable": true, - "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/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml index 4abf0ec91d..8cae60b9e0 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml @@ -6982,6 +6982,8 @@ paths: enum: - enabled - disabled + - code_security + - secret_protection dependency_graph: type: string description: The enablement status of Dependency Graph @@ -7254,10 +7256,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 @@ -7637,11 +7643,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 @@ -21850,10 +21859,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 @@ -22189,10 +22202,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 @@ -67620,7 +67637,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': *46 x-github: githubCloudOnly: false diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json index 797a6e0c4c..cf11e1252e 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -27840,7 +27840,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -28229,10 +28231,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" }, @@ -28464,7 +28468,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -28913,7 +28919,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -29295,7 +29303,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -29664,10 +29674,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": { @@ -29879,7 +29891,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -30683,7 +30697,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -46301,7 +46317,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" @@ -47341,7 +47357,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" @@ -47412,7 +47428,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" @@ -96371,7 +96387,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -96767,10 +96785,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" }, @@ -97042,7 +97062,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -97383,7 +97405,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -98026,7 +98050,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -98399,10 +98425,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": { @@ -98652,7 +98680,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -99319,7 +99349,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -267572,7 +267604,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -318176,73 +318210,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", - "nullable": true - }, - { - "type": "integer", - "nullable": true - }, - { - "type": "array", - "nullable": true, - "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/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml index 97ae582ecd..ad8a2a778c 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -12047,6 +12047,8 @@ paths: enum: - enabled - disabled + - code_security + - secret_protection dependency_graph: type: string description: The enablement status of Dependency Graph @@ -12319,10 +12321,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 @@ -12702,11 +12708,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 @@ -17831,6 +17840,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 @@ -18244,6 +18256,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 @@ -18294,6 +18309,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 @@ -29929,10 +29947,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 @@ -30268,10 +30290,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 @@ -75657,7 +75683,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': *94 x-github: githubCloudOnly: false diff --git a/descriptions/ghec/dereferenced/ghec.deref.json b/descriptions/ghec/dereferenced/ghec.deref.json index 797a6e0c4c..cf11e1252e 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.json +++ b/descriptions/ghec/dereferenced/ghec.deref.json @@ -27840,7 +27840,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -28229,10 +28231,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" }, @@ -28464,7 +28468,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -28913,7 +28919,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -29295,7 +29303,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -29664,10 +29674,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": { @@ -29879,7 +29891,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -30683,7 +30697,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -46301,7 +46317,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" @@ -47341,7 +47357,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" @@ -47412,7 +47428,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" @@ -96371,7 +96387,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -96767,10 +96785,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" }, @@ -97042,7 +97062,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -97383,7 +97405,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -98026,7 +98050,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -98399,10 +98425,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": { @@ -98652,7 +98680,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -99319,7 +99349,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -267572,7 +267604,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -318176,73 +318210,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", - "nullable": true - }, - { - "type": "integer", - "nullable": true - }, - { - "type": "array", - "nullable": true, - "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/ghec/dereferenced/ghec.deref.yaml b/descriptions/ghec/dereferenced/ghec.deref.yaml index 97ae582ecd..ad8a2a778c 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.deref.yaml @@ -12047,6 +12047,8 @@ paths: enum: - enabled - disabled + - code_security + - secret_protection dependency_graph: type: string description: The enablement status of Dependency Graph @@ -12319,10 +12321,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 @@ -12702,11 +12708,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 @@ -17831,6 +17840,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 @@ -18244,6 +18256,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 @@ -18294,6 +18309,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 @@ -29929,10 +29947,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 @@ -30268,10 +30290,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 @@ -75657,7 +75683,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': *94 x-github: githubCloudOnly: false diff --git a/descriptions/ghec/ghec.2022-11-28.json b/descriptions/ghec/ghec.2022-11-28.json index af64bc76d8..745a7f7d2c 100644 --- a/descriptions/ghec/ghec.2022-11-28.json +++ b/descriptions/ghec/ghec.2022-11-28.json @@ -5591,10 +5591,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" }, @@ -5940,10 +5942,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": { @@ -8285,7 +8289,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" @@ -8573,7 +8577,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" @@ -8615,7 +8619,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" @@ -17444,10 +17448,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" }, @@ -17907,10 +17913,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": { @@ -52628,7 +52636,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" @@ -111991,7 +111999,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { diff --git a/descriptions/ghec/ghec.2022-11-28.yaml b/descriptions/ghec/ghec.2022-11-28.yaml index b71cf126b0..ba9d8b3320 100644 --- a/descriptions/ghec/ghec.2022-11-28.yaml +++ b/descriptions/ghec/ghec.2022-11-28.yaml @@ -3911,10 +3911,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 @@ -4181,11 +4185,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 @@ -5851,6 +5858,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 @@ -6050,6 +6060,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 @@ -6082,6 +6095,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 @@ -12542,10 +12558,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 @@ -12899,10 +12919,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 @@ -38354,7 +38378,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: @@ -81403,6 +81428,8 @@ components: enum: - enabled - disabled + - code_security + - secret_protection dependency_graph: type: string description: The enablement status of Dependency Graph diff --git a/descriptions/ghec/ghec.json b/descriptions/ghec/ghec.json index af64bc76d8..745a7f7d2c 100644 --- a/descriptions/ghec/ghec.json +++ b/descriptions/ghec/ghec.json @@ -5591,10 +5591,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" }, @@ -5940,10 +5942,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": { @@ -8285,7 +8289,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" @@ -8573,7 +8577,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" @@ -8615,7 +8619,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" @@ -17444,10 +17448,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" }, @@ -17907,10 +17913,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": { @@ -52628,7 +52636,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" @@ -111991,7 +111999,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { diff --git a/descriptions/ghec/ghec.yaml b/descriptions/ghec/ghec.yaml index b71cf126b0..ba9d8b3320 100644 --- a/descriptions/ghec/ghec.yaml +++ b/descriptions/ghec/ghec.yaml @@ -3911,10 +3911,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 @@ -4181,11 +4185,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 @@ -5851,6 +5858,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 @@ -6050,6 +6060,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 @@ -6082,6 +6095,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 @@ -12542,10 +12558,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 @@ -12899,10 +12919,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 @@ -38354,7 +38378,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: @@ -81403,6 +81428,8 @@ components: enum: - enabled - disabled + - code_security + - secret_protection dependency_graph: type: string description: The enablement status of Dependency Graph diff --git a/descriptions/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.json b/descriptions/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.json index f3334a9111..fa049a7b94 100644 --- a/descriptions/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.json +++ b/descriptions/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.json @@ -253445,73 +253445,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", - "nullable": true - }, - { - "type": "integer", - "nullable": true - }, - { - "type": "array", - "nullable": true, - "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/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.yaml b/descriptions/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.yaml index 172401a500..2d2519ff12 100644 --- a/descriptions/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.yaml +++ b/descriptions/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.yaml @@ -60515,7 +60515,9 @@ paths: responses: '204': description: Response - '422': *35 + '422': + description: Validation failed, an attempt was made to delete the default + branch, or the endpoint has been spammed. '409': *140 x-github: githubCloudOnly: false diff --git a/descriptions/ghes-3.12/dereferenced/ghes-3.12.deref.json b/descriptions/ghes-3.12/dereferenced/ghes-3.12.deref.json index f3334a9111..fa049a7b94 100644 --- a/descriptions/ghes-3.12/dereferenced/ghes-3.12.deref.json +++ b/descriptions/ghes-3.12/dereferenced/ghes-3.12.deref.json @@ -253445,73 +253445,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", - "nullable": true - }, - { - "type": "integer", - "nullable": true - }, - { - "type": "array", - "nullable": true, - "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/ghes-3.12/dereferenced/ghes-3.12.deref.yaml b/descriptions/ghes-3.12/dereferenced/ghes-3.12.deref.yaml index 172401a500..2d2519ff12 100644 --- a/descriptions/ghes-3.12/dereferenced/ghes-3.12.deref.yaml +++ b/descriptions/ghes-3.12/dereferenced/ghes-3.12.deref.yaml @@ -60515,7 +60515,9 @@ paths: responses: '204': description: Response - '422': *35 + '422': + description: Validation failed, an attempt was made to delete the default + branch, or the endpoint has been spammed. '409': *140 x-github: githubCloudOnly: false diff --git a/descriptions/ghes-3.12/ghes-3.12.2022-11-28.json b/descriptions/ghes-3.12/ghes-3.12.2022-11-28.json index b48267ba09..3eaa45f81a 100644 --- a/descriptions/ghes-3.12/ghes-3.12.2022-11-28.json +++ b/descriptions/ghes-3.12/ghes-3.12.2022-11-28.json @@ -41344,7 +41344,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/ghes-3.12/ghes-3.12.2022-11-28.yaml b/descriptions/ghes-3.12/ghes-3.12.2022-11-28.yaml index 28de2edf02..54b6ddcc6e 100644 --- a/descriptions/ghes-3.12/ghes-3.12.2022-11-28.yaml +++ b/descriptions/ghes-3.12/ghes-3.12.2022-11-28.yaml @@ -29990,7 +29990,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/ghes-3.12/ghes-3.12.json b/descriptions/ghes-3.12/ghes-3.12.json index b48267ba09..3eaa45f81a 100644 --- a/descriptions/ghes-3.12/ghes-3.12.json +++ b/descriptions/ghes-3.12/ghes-3.12.json @@ -41344,7 +41344,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/ghes-3.12/ghes-3.12.yaml b/descriptions/ghes-3.12/ghes-3.12.yaml index 28de2edf02..54b6ddcc6e 100644 --- a/descriptions/ghes-3.12/ghes-3.12.yaml +++ b/descriptions/ghes-3.12/ghes-3.12.yaml @@ -29990,7 +29990,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/ghes-3.13/dereferenced/ghes-3.13.2022-11-28.deref.json b/descriptions/ghes-3.13/dereferenced/ghes-3.13.2022-11-28.deref.json index 65aeb5ce98..449428220e 100644 --- a/descriptions/ghes-3.13/dereferenced/ghes-3.13.2022-11-28.deref.json +++ b/descriptions/ghes-3.13/dereferenced/ghes-3.13.2022-11-28.deref.json @@ -255890,73 +255890,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" - }, - {"code":"internal","msg":"git-diff-tree: context deadline exceeded","meta":{"cause":"*fmt.wrapError"}}