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..f538052eab 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": { @@ -104631,7 +104641,7 @@ "type": "object", "properties": { "assignee": { - "$ref": "#/components/schemas/simple-user" + "$ref": "#/components/schemas/nullable-simple-user" }, "organization": { "$ref": "#/components/schemas/nullable-organization-simple" @@ -104687,7 +104697,6 @@ } }, "required": [ - "assignee", "created_at" ], "additionalProperties": false 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..be21a61010 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 @@ -76470,7 +76488,7 @@ components: type: object properties: assignee: - "$ref": "#/components/schemas/simple-user" + "$ref": "#/components/schemas/nullable-simple-user" organization: "$ref": "#/components/schemas/nullable-organization-simple" assigning_team: @@ -76521,7 +76539,6 @@ components: - enterprise - unknown required: - - assignee - created_at additionalProperties: false copilot-ide-code-completions: diff --git a/descriptions/api.github.com/api.github.com.json b/descriptions/api.github.com/api.github.com.json index b76ea38697..f538052eab 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": { @@ -104631,7 +104641,7 @@ "type": "object", "properties": { "assignee": { - "$ref": "#/components/schemas/simple-user" + "$ref": "#/components/schemas/nullable-simple-user" }, "organization": { "$ref": "#/components/schemas/nullable-organization-simple" @@ -104687,7 +104697,6 @@ } }, "required": [ - "assignee", "created_at" ], "additionalProperties": false diff --git a/descriptions/api.github.com/api.github.com.yaml b/descriptions/api.github.com/api.github.com.yaml index 0be3e65de7..be21a61010 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 @@ -76470,7 +76488,7 @@ components: type: object properties: assignee: - "$ref": "#/components/schemas/simple-user" + "$ref": "#/components/schemas/nullable-simple-user" organization: "$ref": "#/components/schemas/nullable-organization-simple" assigning_team: @@ -76521,7 +76539,6 @@ components: - enterprise - unknown required: - - assignee - created_at additionalProperties: false copilot-ide-code-completions: 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..5838daccd0 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": { @@ -77952,7 +77984,8 @@ "subscriptions_url", "type", "url" - ] + ], + "nullable": true }, "organization": { "title": "Organization Simple", @@ -78307,7 +78340,6 @@ } }, "required": [ - "assignee", "created_at" ], "additionalProperties": false @@ -102010,7 +102042,8 @@ "subscriptions_url", "type", "url" - ] + ], + "nullable": true }, "organization": { "title": "Organization Simple", @@ -102365,7 +102398,6 @@ } }, "required": [ - "assignee", "created_at" ], "additionalProperties": false @@ -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..b2cef57f93 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 @@ -24156,7 +24173,13 @@ paths: for a user, team, or organization. type: object properties: - assignee: *4 + assignee: + title: Simple User + description: A GitHub user. + type: object + properties: *20 + required: *21 + nullable: true organization: title: Organization Simple description: A GitHub organization. @@ -24260,7 +24283,6 @@ paths: - enterprise - unknown required: - - assignee - created_at additionalProperties: false examples: @@ -67620,7 +67642,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..5838daccd0 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": { @@ -77952,7 +77984,8 @@ "subscriptions_url", "type", "url" - ] + ], + "nullable": true }, "organization": { "title": "Organization Simple", @@ -78307,7 +78340,6 @@ } }, "required": [ - "assignee", "created_at" ], "additionalProperties": false @@ -102010,7 +102042,8 @@ "subscriptions_url", "type", "url" - ] + ], + "nullable": true }, "organization": { "title": "Organization Simple", @@ -102365,7 +102398,6 @@ } }, "required": [ - "assignee", "created_at" ], "additionalProperties": false @@ -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..b2cef57f93 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 @@ -24156,7 +24173,13 @@ paths: for a user, team, or organization. type: object properties: - assignee: *4 + assignee: + title: Simple User + description: A GitHub user. + type: object + properties: *20 + required: *21 + nullable: true organization: title: Organization Simple description: A GitHub organization. @@ -24260,7 +24283,6 @@ paths: - enterprise - unknown required: - - assignee - created_at additionalProperties: false examples: @@ -67620,7 +67642,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..5012b56cf5 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -26000,6 +26000,7 @@ "enum": [ "completed", "cancelled", + "approved", "expired", "deleted", "denied", @@ -27840,7 +27841,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -28229,10 +28232,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 +28469,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -28913,7 +28920,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -29295,7 +29304,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -29664,10 +29675,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 +29892,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -30683,7 +30698,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -32348,7 +32365,8 @@ "subscriptions_url", "type", "url" - ] + ], + "nullable": true }, "organization": { "title": "Organization Simple", @@ -32703,7 +32721,6 @@ } }, "required": [ - "assignee", "created_at" ], "additionalProperties": false @@ -46301,7 +46318,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 +47358,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 +47429,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" @@ -91422,6 +91439,7 @@ "enum": [ "completed", "cancelled", + "approved", "expired", "deleted", "denied", @@ -91875,6 +91893,7 @@ "enum": [ "completed", "cancelled", + "approved", "expired", "deleted", "denied", @@ -96371,7 +96390,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -96767,10 +96788,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 +97065,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -97383,7 +97408,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -98026,7 +98053,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -98399,10 +98428,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 +98683,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -99319,7 +99352,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -105101,7 +105136,8 @@ "subscriptions_url", "type", "url" - ] + ], + "nullable": true }, "organization": { "title": "Organization Simple", @@ -105456,7 +105492,6 @@ } }, "required": [ - "assignee", "created_at" ], "additionalProperties": false @@ -132455,7 +132490,8 @@ "subscriptions_url", "type", "url" - ] + ], + "nullable": true }, "organization": { "title": "Organization Simple", @@ -132810,7 +132846,6 @@ } }, "required": [ - "assignee", "created_at" ], "additionalProperties": false @@ -244239,6 +244274,7 @@ "enum": [ "completed", "cancelled", + "approved", "expired", "deleted", "denied", @@ -245037,6 +245073,7 @@ "enum": [ "completed", "cancelled", + "approved", "expired", "deleted", "denied", @@ -267572,7 +267609,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -318176,73 +318215,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..0da7814637 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -10905,6 +10905,7 @@ paths: enum: - completed - cancelled + - approved - expired - deleted - denied @@ -12047,6 +12048,8 @@ paths: enum: - enabled - disabled + - code_security + - secret_protection dependency_graph: type: string description: The enablement status of Dependency Graph @@ -12319,10 +12322,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 +12709,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 @@ -13568,7 +13578,13 @@ paths: for a user, team, or organization. type: object properties: - assignee: *4 + assignee: + title: Simple User + description: A GitHub user. + type: object + properties: *20 + required: *21 + nullable: true organization: title: Organization Simple description: A GitHub organization. @@ -13810,7 +13826,6 @@ paths: - enterprise - unknown required: - - assignee - created_at additionalProperties: false examples: @@ -17831,6 +17846,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 +18262,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 +18315,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 +29953,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 +30296,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 +75689,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..5012b56cf5 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.json +++ b/descriptions/ghec/dereferenced/ghec.deref.json @@ -26000,6 +26000,7 @@ "enum": [ "completed", "cancelled", + "approved", "expired", "deleted", "denied", @@ -27840,7 +27841,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -28229,10 +28232,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 +28469,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -28913,7 +28920,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -29295,7 +29304,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -29664,10 +29675,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 +29892,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -30683,7 +30698,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -32348,7 +32365,8 @@ "subscriptions_url", "type", "url" - ] + ], + "nullable": true }, "organization": { "title": "Organization Simple", @@ -32703,7 +32721,6 @@ } }, "required": [ - "assignee", "created_at" ], "additionalProperties": false @@ -46301,7 +46318,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 +47358,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 +47429,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" @@ -91422,6 +91439,7 @@ "enum": [ "completed", "cancelled", + "approved", "expired", "deleted", "denied", @@ -91875,6 +91893,7 @@ "enum": [ "completed", "cancelled", + "approved", "expired", "deleted", "denied", @@ -96371,7 +96390,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -96767,10 +96788,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 +97065,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -97383,7 +97408,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -98026,7 +98053,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -98399,10 +98428,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 +98683,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -99319,7 +99352,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -105101,7 +105136,8 @@ "subscriptions_url", "type", "url" - ] + ], + "nullable": true }, "organization": { "title": "Organization Simple", @@ -105456,7 +105492,6 @@ } }, "required": [ - "assignee", "created_at" ], "additionalProperties": false @@ -132455,7 +132490,8 @@ "subscriptions_url", "type", "url" - ] + ], + "nullable": true }, "organization": { "title": "Organization Simple", @@ -132810,7 +132846,6 @@ } }, "required": [ - "assignee", "created_at" ], "additionalProperties": false @@ -244239,6 +244274,7 @@ "enum": [ "completed", "cancelled", + "approved", "expired", "deleted", "denied", @@ -245037,6 +245073,7 @@ "enum": [ "completed", "cancelled", + "approved", "expired", "deleted", "denied", @@ -267572,7 +267609,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -318176,73 +318215,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..0da7814637 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.deref.yaml @@ -10905,6 +10905,7 @@ paths: enum: - completed - cancelled + - approved - expired - deleted - denied @@ -12047,6 +12048,8 @@ paths: enum: - enabled - disabled + - code_security + - secret_protection dependency_graph: type: string description: The enablement status of Dependency Graph @@ -12319,10 +12322,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 +12709,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 @@ -13568,7 +13578,13 @@ paths: for a user, team, or organization. type: object properties: - assignee: *4 + assignee: + title: Simple User + description: A GitHub user. + type: object + properties: *20 + required: *21 + nullable: true organization: title: Organization Simple description: A GitHub organization. @@ -13810,7 +13826,6 @@ paths: - enterprise - unknown required: - - assignee - created_at additionalProperties: false examples: @@ -17831,6 +17846,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 +18262,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 +18315,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 +29953,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 +30296,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 +75689,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..8bfd8836d1 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": { @@ -112745,7 +112755,7 @@ "type": "object", "properties": { "assignee": { - "$ref": "#/components/schemas/simple-user" + "$ref": "#/components/schemas/nullable-simple-user" }, "organization": { "$ref": "#/components/schemas/nullable-organization-simple" @@ -112801,7 +112811,6 @@ } }, "required": [ - "assignee", "created_at" ], "additionalProperties": false @@ -316023,6 +316032,7 @@ "enum": [ "completed", "cancelled", + "approved", "expired", "deleted", "denied", diff --git a/descriptions/ghec/ghec.2022-11-28.yaml b/descriptions/ghec/ghec.2022-11-28.yaml index b71cf126b0..4e0cbefeb6 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 @@ -81995,7 +82022,7 @@ components: type: object properties: assignee: - "$ref": "#/components/schemas/simple-user" + "$ref": "#/components/schemas/nullable-simple-user" organization: "$ref": "#/components/schemas/nullable-organization-simple" assigning_team: @@ -82046,7 +82073,6 @@ components: - enterprise - unknown required: - - assignee - created_at additionalProperties: false copilot-ide-code-completions: @@ -239484,6 +239510,7 @@ components: enum: - completed - cancelled + - approved - expired - deleted - denied diff --git a/descriptions/ghec/ghec.json b/descriptions/ghec/ghec.json index af64bc76d8..8bfd8836d1 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": { @@ -112745,7 +112755,7 @@ "type": "object", "properties": { "assignee": { - "$ref": "#/components/schemas/simple-user" + "$ref": "#/components/schemas/nullable-simple-user" }, "organization": { "$ref": "#/components/schemas/nullable-organization-simple" @@ -112801,7 +112811,6 @@ } }, "required": [ - "assignee", "created_at" ], "additionalProperties": false @@ -316023,6 +316032,7 @@ "enum": [ "completed", "cancelled", + "approved", "expired", "deleted", "denied", diff --git a/descriptions/ghec/ghec.yaml b/descriptions/ghec/ghec.yaml index b71cf126b0..4e0cbefeb6 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 @@ -81995,7 +82022,7 @@ components: type: object properties: assignee: - "$ref": "#/components/schemas/simple-user" + "$ref": "#/components/schemas/nullable-simple-user" organization: "$ref": "#/components/schemas/nullable-organization-simple" assigning_team: @@ -82046,7 +82073,6 @@ components: - enterprise - unknown required: - - assignee - created_at additionalProperties: false copilot-ide-code-completions: @@ -239484,6 +239510,7 @@ components: enum: - completed - cancelled + - approved - expired - deleted - denied 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 - }, - { - {"code":"internal","msg":"git-diff-tree: context deadline exceeded","meta":{"cause":"*fmt.wrapError"}}