diff --git a/descriptions-next/api.github.com/api.github.com.2022-11-28.json b/descriptions-next/api.github.com/api.github.com.2022-11-28.json index 217ca2ffb0..a8fdf85a0a 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.json @@ -2189,10 +2189,12 @@ }, "advanced_security": { "type": "string", - "description": "The enablement status of GitHub Advanced Security", + "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ], "default": "disabled" }, @@ -2538,10 +2540,12 @@ }, "advanced_security": { "type": "string", - "description": "The enablement status of GitHub Advanced Security. Must be set to enabled if you want to enable any GHAS settings.", + "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -11455,10 +11459,12 @@ }, "advanced_security": { "type": "string", - "description": "The enablement status of GitHub Advanced Security", + "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ], "default": "disabled" }, @@ -11918,10 +11924,12 @@ }, "advanced_security": { "type": "string", - "description": "The enablement status of GitHub Advanced Security", + "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -44830,7 +44838,7 @@ "description": "Response" }, "422": { - "$ref": "#/components/responses/validation_failed" + "description": "Validation failed, an attempt was made to delete the default branch, or the endpoint has been spammed." }, "409": { "$ref": "#/components/responses/conflict" @@ -99000,7 +99008,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -106399,7 +106409,14 @@ "type": "object", "properties": { "assignee": { - "$ref": "#/components/schemas/simple-user" + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } + ] }, "organization": { "anyOf": [ @@ -106471,7 +106488,6 @@ } }, "required": [ - "assignee", "created_at" ], "additionalProperties": false diff --git a/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml index d3d69d1807..d81627f57b 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml @@ -1519,10 +1519,14 @@ paths: maxLength: 255 advanced_security: type: string - description: The enablement status of GitHub Advanced Security + description: The enablement status of GitHub Advanced Security features. + `enabled` will enable both Code Security and Secret Protection + features. enum: - enabled - disabled + - code_security + - secret_protection default: disabled dependency_graph: type: string @@ -1789,11 +1793,14 @@ paths: maxLength: 255 advanced_security: type: string - description: The enablement status of GitHub Advanced Security. - Must be set to enabled if you want to enable any GHAS settings. + description: The enablement status of GitHub Advanced Security features. + `enabled` will enable both Code Security and Secret Protection + features. enum: - enabled - disabled + - code_security + - secret_protection dependency_graph: type: string description: The enablement status of Dependency Graph @@ -8290,10 +8297,14 @@ paths: maxLength: 255 advanced_security: type: string - description: The enablement status of GitHub Advanced Security + description: The enablement status of GitHub Advanced Security features. + `enabled` will enable both Code Security and Secret Protection + features. enum: - enabled - disabled + - code_security + - secret_protection default: disabled dependency_graph: type: string @@ -8647,10 +8658,14 @@ paths: maxLength: 255 advanced_security: type: string - description: The enablement status of GitHub Advanced Security + description: The enablement status of GitHub Advanced Security features. + `enabled` will enable both Code Security and Secret Protection + features. enum: - enabled - disabled + - code_security + - secret_protection dependency_graph: type: string description: The enablement status of Dependency Graph @@ -32735,7 +32750,8 @@ paths: '204': description: Response '422': - "$ref": "#/components/responses/validation_failed" + description: Validation failed, an attempt was made to delete the default + branch, or the endpoint has been spammed. '409': "$ref": "#/components/responses/conflict" x-github: @@ -71671,6 +71687,8 @@ components: enum: - enabled - disabled + - code_security + - secret_protection dependency_graph: type: string description: The enablement status of Dependency Graph @@ -77204,7 +77222,9 @@ components: type: object properties: assignee: - "$ref": "#/components/schemas/simple-user" + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-user" organization: anyOf: - type: 'null' @@ -77262,7 +77282,6 @@ components: - enterprise - unknown required: - - assignee - created_at additionalProperties: false copilot-ide-code-completions: diff --git a/descriptions-next/api.github.com/api.github.com.json b/descriptions-next/api.github.com/api.github.com.json index 217ca2ffb0..a8fdf85a0a 100644 --- a/descriptions-next/api.github.com/api.github.com.json +++ b/descriptions-next/api.github.com/api.github.com.json @@ -2189,10 +2189,12 @@ }, "advanced_security": { "type": "string", - "description": "The enablement status of GitHub Advanced Security", + "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ], "default": "disabled" }, @@ -2538,10 +2540,12 @@ }, "advanced_security": { "type": "string", - "description": "The enablement status of GitHub Advanced Security. Must be set to enabled if you want to enable any GHAS settings.", + "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -11455,10 +11459,12 @@ }, "advanced_security": { "type": "string", - "description": "The enablement status of GitHub Advanced Security", + "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ], "default": "disabled" }, @@ -11918,10 +11924,12 @@ }, "advanced_security": { "type": "string", - "description": "The enablement status of GitHub Advanced Security", + "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -44830,7 +44838,7 @@ "description": "Response" }, "422": { - "$ref": "#/components/responses/validation_failed" + "description": "Validation failed, an attempt was made to delete the default branch, or the endpoint has been spammed." }, "409": { "$ref": "#/components/responses/conflict" @@ -99000,7 +99008,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -106399,7 +106409,14 @@ "type": "object", "properties": { "assignee": { - "$ref": "#/components/schemas/simple-user" + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } + ] }, "organization": { "anyOf": [ @@ -106471,7 +106488,6 @@ } }, "required": [ - "assignee", "created_at" ], "additionalProperties": false diff --git a/descriptions-next/api.github.com/api.github.com.yaml b/descriptions-next/api.github.com/api.github.com.yaml index d3d69d1807..d81627f57b 100644 --- a/descriptions-next/api.github.com/api.github.com.yaml +++ b/descriptions-next/api.github.com/api.github.com.yaml @@ -1519,10 +1519,14 @@ paths: maxLength: 255 advanced_security: type: string - description: The enablement status of GitHub Advanced Security + description: The enablement status of GitHub Advanced Security features. + `enabled` will enable both Code Security and Secret Protection + features. enum: - enabled - disabled + - code_security + - secret_protection default: disabled dependency_graph: type: string @@ -1789,11 +1793,14 @@ paths: maxLength: 255 advanced_security: type: string - description: The enablement status of GitHub Advanced Security. - Must be set to enabled if you want to enable any GHAS settings. + description: The enablement status of GitHub Advanced Security features. + `enabled` will enable both Code Security and Secret Protection + features. enum: - enabled - disabled + - code_security + - secret_protection dependency_graph: type: string description: The enablement status of Dependency Graph @@ -8290,10 +8297,14 @@ paths: maxLength: 255 advanced_security: type: string - description: The enablement status of GitHub Advanced Security + description: The enablement status of GitHub Advanced Security features. + `enabled` will enable both Code Security and Secret Protection + features. enum: - enabled - disabled + - code_security + - secret_protection default: disabled dependency_graph: type: string @@ -8647,10 +8658,14 @@ paths: maxLength: 255 advanced_security: type: string - description: The enablement status of GitHub Advanced Security + description: The enablement status of GitHub Advanced Security features. + `enabled` will enable both Code Security and Secret Protection + features. enum: - enabled - disabled + - code_security + - secret_protection dependency_graph: type: string description: The enablement status of Dependency Graph @@ -32735,7 +32750,8 @@ paths: '204': description: Response '422': - "$ref": "#/components/responses/validation_failed" + description: Validation failed, an attempt was made to delete the default + branch, or the endpoint has been spammed. '409': "$ref": "#/components/responses/conflict" x-github: @@ -71671,6 +71687,8 @@ components: enum: - enabled - disabled + - code_security + - secret_protection dependency_graph: type: string description: The enablement status of Dependency Graph @@ -77204,7 +77222,9 @@ components: type: object properties: assignee: - "$ref": "#/components/schemas/simple-user" + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-user" organization: anyOf: - type: 'null' @@ -77262,7 +77282,6 @@ components: - enterprise - unknown required: - - assignee - created_at additionalProperties: false copilot-ide-code-completions: diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index 63296abdc4..de105b078d 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -18170,7 +18170,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -18566,10 +18568,12 @@ }, "advanced_security": { "type": "string", - "description": "The enablement status of GitHub Advanced Security", + "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ], "default": "disabled" }, @@ -18805,7 +18809,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -19269,7 +19275,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -19658,7 +19666,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -20034,10 +20044,12 @@ }, "advanced_security": { "type": "string", - "description": "The enablement status of GitHub Advanced Security. Must be set to enabled if you want to enable any GHAS settings.", + "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -20253,7 +20265,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -21072,7 +21086,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -79731,7 +79747,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -80134,10 +80152,12 @@ }, "advanced_security": { "type": "string", - "description": "The enablement status of GitHub Advanced Security", + "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ], "default": "disabled" }, @@ -80413,7 +80433,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -80761,7 +80783,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -81419,7 +81443,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -81799,10 +81825,12 @@ }, "advanced_security": { "type": "string", - "description": "The enablement status of GitHub Advanced Security", + "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -82056,7 +82084,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -82738,7 +82768,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -89093,171 +89125,178 @@ "type": "object", "properties": { "assignee": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] + "anyOf": [ + { + "type": "null" }, - "user_view_type": { - "type": "string", - "examples": [ - "public" + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" ] } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" ] }, "organization": { @@ -89704,7 +89743,6 @@ } }, "required": [ - "assignee", "created_at" ], "additionalProperties": false @@ -117057,171 +117095,178 @@ "type": "object", "properties": { "assignee": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] + "anyOf": [ + { + "type": "null" }, - "user_view_type": { - "type": "string", - "examples": [ - "public" + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" ] } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" ] }, "organization": { @@ -117668,7 +117713,6 @@ } }, "required": [ - "assignee", "created_at" ], "additionalProperties": false @@ -269016,7 +269060,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -328672,79 +328718,7 @@ "description": "Response" }, "422": { - "description": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { - "title": "Validation Error", - "description": "Validation Error", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", - "required": [ - "code" - ], - "properties": { - "resource": { - "type": "string" - }, - "field": { - "type": "string" - }, - "message": { - "type": "string" - }, - "code": { - "type": "string" - }, - "index": { - "type": "integer" - }, - "value": { - "oneOf": [ - { - "type": [ - "string", - "null" - ] - }, - { - "type": [ - "integer", - "null" - ] - }, - { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - } - ] - } - } - } - } - } - } - } - } + "description": "Validation failed, an attempt was made to delete the default branch, or the endpoint has been spammed." }, "409": { "description": "Conflict", diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index 00d35eda9e..13e0ee2c2c 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -7301,6 +7301,8 @@ paths: enum: - enabled - disabled + - code_security + - secret_protection dependency_graph: type: string description: The enablement status of Dependency Graph @@ -7577,10 +7579,14 @@ paths: maxLength: 255 advanced_security: type: string - description: The enablement status of GitHub Advanced Security + description: The enablement status of GitHub Advanced Security features. + `enabled` will enable both Code Security and Secret Protection + features. enum: - enabled - disabled + - code_security + - secret_protection default: disabled dependency_graph: type: string @@ -7962,11 +7968,14 @@ paths: maxLength: 255 advanced_security: type: string - description: The enablement status of GitHub Advanced Security. - Must be set to enabled if you want to enable any GHAS settings. + description: The enablement status of GitHub Advanced Security features. + `enabled` will enable both Code Security and Secret Protection + features. enum: - enabled - disabled + - code_security + - secret_protection dependency_graph: type: string description: The enablement status of Dependency Graph @@ -22555,10 +22564,14 @@ paths: maxLength: 255 advanced_security: type: string - description: The enablement status of GitHub Advanced Security + description: The enablement status of GitHub Advanced Security features. + `enabled` will enable both Code Security and Secret Protection + features. enum: - enabled - disabled + - code_security + - secret_protection default: disabled dependency_graph: type: string @@ -22894,10 +22907,14 @@ paths: maxLength: 255 advanced_security: type: string - description: The enablement status of GitHub Advanced Security + description: The enablement status of GitHub Advanced Security features. + `enabled` will enable both Code Security and Secret Protection + features. enum: - enabled - disabled + - code_security + - secret_protection dependency_graph: type: string description: The enablement status of Dependency Graph @@ -24914,7 +24931,10 @@ paths: for a user, team, or organization. type: object properties: - assignee: *4 + assignee: + anyOf: + - type: 'null' + - *4 organization: anyOf: - type: 'null' @@ -25026,7 +25046,6 @@ paths: - enterprise - unknown required: - - assignee - created_at additionalProperties: false examples: @@ -69401,7 +69420,9 @@ paths: responses: '204': description: Response - '422': *15 + '422': + description: Validation failed, an attempt was made to delete the default + branch, or the endpoint has been spammed. '409': *44 x-github: githubCloudOnly: false diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json index 63296abdc4..de105b078d 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json @@ -18170,7 +18170,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -18566,10 +18568,12 @@ }, "advanced_security": { "type": "string", - "description": "The enablement status of GitHub Advanced Security", + "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ], "default": "disabled" }, @@ -18805,7 +18809,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -19269,7 +19275,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -19658,7 +19666,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -20034,10 +20044,12 @@ }, "advanced_security": { "type": "string", - "description": "The enablement status of GitHub Advanced Security. Must be set to enabled if you want to enable any GHAS settings.", + "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -20253,7 +20265,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -21072,7 +21086,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -79731,7 +79747,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -80134,10 +80152,12 @@ }, "advanced_security": { "type": "string", - "description": "The enablement status of GitHub Advanced Security", + "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ], "default": "disabled" }, @@ -80413,7 +80433,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -80761,7 +80783,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -81419,7 +81443,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -81799,10 +81825,12 @@ }, "advanced_security": { "type": "string", - "description": "The enablement status of GitHub Advanced Security", + "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -82056,7 +82084,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -82738,7 +82768,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -89093,171 +89125,178 @@ "type": "object", "properties": { "assignee": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] + "anyOf": [ + { + "type": "null" }, - "user_view_type": { - "type": "string", - "examples": [ - "public" + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" ] } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" ] }, "organization": { @@ -89704,7 +89743,6 @@ } }, "required": [ - "assignee", "created_at" ], "additionalProperties": false @@ -117057,171 +117095,178 @@ "type": "object", "properties": { "assignee": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] + "anyOf": [ + { + "type": "null" }, - "user_view_type": { - "type": "string", - "examples": [ - "public" + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" ] } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" ] }, "organization": { @@ -117668,7 +117713,6 @@ } }, "required": [ - "assignee", "created_at" ], "additionalProperties": false @@ -269016,7 +269060,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -328672,79 +328718,7 @@ "description": "Response" }, "422": { - "description": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { - "title": "Validation Error", - "description": "Validation Error", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", - "required": [ - "code" - ], - "properties": { - "resource": { - "type": "string" - }, - "field": { - "type": "string" - }, - "message": { - "type": "string" - }, - "code": { - "type": "string" - }, - "index": { - "type": "integer" - }, - "value": { - "oneOf": [ - { - "type": [ - "string", - "null" - ] - }, - { - "type": [ - "integer", - "null" - ] - }, - { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - } - ] - } - } - } - } - } - } - } - } + "description": "Validation failed, an attempt was made to delete the default branch, or the endpoint has been spammed." }, "409": { "description": "Conflict", diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml index 00d35eda9e..13e0ee2c2c 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml @@ -7301,6 +7301,8 @@ paths: enum: - enabled - disabled + - code_security + - secret_protection dependency_graph: type: string description: The enablement status of Dependency Graph @@ -7577,10 +7579,14 @@ paths: maxLength: 255 advanced_security: type: string - description: The enablement status of GitHub Advanced Security + description: The enablement status of GitHub Advanced Security features. + `enabled` will enable both Code Security and Secret Protection + features. enum: - enabled - disabled + - code_security + - secret_protection default: disabled dependency_graph: type: string @@ -7962,11 +7968,14 @@ paths: maxLength: 255 advanced_security: type: string - description: The enablement status of GitHub Advanced Security. - Must be set to enabled if you want to enable any GHAS settings. + description: The enablement status of GitHub Advanced Security features. + `enabled` will enable both Code Security and Secret Protection + features. enum: - enabled - disabled + - code_security + - secret_protection dependency_graph: type: string description: The enablement status of Dependency Graph @@ -22555,10 +22564,14 @@ paths: maxLength: 255 advanced_security: type: string - description: The enablement status of GitHub Advanced Security + description: The enablement status of GitHub Advanced Security features. + `enabled` will enable both Code Security and Secret Protection + features. enum: - enabled - disabled + - code_security + - secret_protection default: disabled dependency_graph: type: string @@ -22894,10 +22907,14 @@ paths: maxLength: 255 advanced_security: type: string - description: The enablement status of GitHub Advanced Security + description: The enablement status of GitHub Advanced Security features. + `enabled` will enable both Code Security and Secret Protection + features. enum: - enabled - disabled + - code_security + - secret_protection dependency_graph: type: string description: The enablement status of Dependency Graph @@ -24914,7 +24931,10 @@ paths: for a user, team, or organization. type: object properties: - assignee: *4 + assignee: + anyOf: + - type: 'null' + - *4 organization: anyOf: - type: 'null' @@ -25026,7 +25046,6 @@ paths: - enterprise - unknown required: - - assignee - created_at additionalProperties: false examples: @@ -69401,7 +69420,9 @@ paths: responses: '204': description: Response - '422': *15 + '422': + description: Validation failed, an attempt was made to delete the default + branch, or the endpoint has been spammed. '409': *44 x-github: githubCloudOnly: false diff --git a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json index 5df6c124e0..76108b62db 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -28790,6 +28790,7 @@ "enum": [ "completed", "cancelled", + "approved", "expired", "deleted", "denied", @@ -30922,7 +30923,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -31318,10 +31321,12 @@ }, "advanced_security": { "type": "string", - "description": "The enablement status of GitHub Advanced Security", + "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ], "default": "disabled" }, @@ -31557,7 +31562,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -32021,7 +32028,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -32410,7 +32419,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -32786,10 +32797,12 @@ }, "advanced_security": { "type": "string", - "description": "The enablement status of GitHub Advanced Security. Must be set to enabled if you want to enable any GHAS settings.", + "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -33005,7 +33018,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -33824,7 +33839,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -35543,171 +35560,178 @@ "type": "object", "properties": { "assignee": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] + "anyOf": [ + { + "type": "null" }, - "user_view_type": { - "type": "string", - "examples": [ - "public" + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" ] } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" ] }, "organization": { @@ -36154,7 +36178,6 @@ } }, "required": [ - "assignee", "created_at" ], "additionalProperties": false @@ -50496,7 +50519,7 @@ "/enterprises/{enterprise}/settings/billing/actions": { "get": { "summary": "Get GitHub Actions billing for an enterprise", - "description": "Gets the summary of the free and paid GitHub Actions minutes used.\n\nPaid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nThe authenticated user must be an enterprise admin.", + "description": "Gets the summary of the free and paid GitHub Actions minutes used.\n\nPaid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nThe authenticated user must be an enterprise admin.\n\n> [!NOTE]\n> This endpoint is available to enterprise customers who are using the legacy billing platform.", "operationId": "billing/get-github-actions-billing-ghe", "tags": [ "billing" @@ -51576,7 +51599,7 @@ "/enterprises/{enterprise}/settings/billing/packages": { "get": { "summary": "Get GitHub Packages billing for an enterprise", - "description": "Gets the free and paid storage used for GitHub Packages in gigabytes.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nThe authenticated user must be an enterprise admin.", + "description": "Gets the free and paid storage used for GitHub Packages in gigabytes.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nThe authenticated user must be an enterprise admin.\n\n> [!NOTE]\n> This endpoint is available to enterprise customers who are using the legacy billing platform.", "operationId": "billing/get-github-packages-billing-ghe", "tags": [ "billing" @@ -51647,7 +51670,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" @@ -102972,6 +102995,7 @@ "enum": [ "completed", "cancelled", + "approved", "expired", "deleted", "denied", @@ -103447,6 +103471,7 @@ "enum": [ "completed", "cancelled", + "approved", "expired", "deleted", "denied", @@ -108573,7 +108598,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -108976,10 +109003,12 @@ }, "advanced_security": { "type": "string", - "description": "The enablement status of GitHub Advanced Security", + "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ], "default": "disabled" }, @@ -109255,7 +109284,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -109603,7 +109634,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -110261,7 +110294,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -110641,10 +110676,12 @@ }, "advanced_security": { "type": "string", - "description": "The enablement status of GitHub Advanced Security", + "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -110898,7 +110935,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -111580,7 +111619,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -117959,171 +118000,178 @@ "type": "object", "properties": { "assignee": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] + "anyOf": [ + { + "type": "null" }, - "user_view_type": { - "type": "string", - "examples": [ - "public" + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" ] } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" ] }, "organization": { @@ -118570,7 +118618,6 @@ } }, "required": [ - "assignee", "created_at" ], "additionalProperties": false @@ -149629,171 +149676,178 @@ "type": "object", "properties": { "assignee": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] + "anyOf": [ + { + "type": "null" }, - "user_view_type": { - "type": "string", - "examples": [ - "public" + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" ] } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" ] }, "organization": { @@ -150240,7 +150294,6 @@ } }, "required": [ - "assignee", "created_at" ], "additionalProperties": false @@ -279476,6 +279529,7 @@ "enum": [ "completed", "cancelled", + "approved", "expired", "deleted", "denied", @@ -280318,6 +280372,7 @@ "enum": [ "completed", "cancelled", + "approved", "expired", "deleted", "denied", @@ -306444,7 +306499,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -366196,79 +366253,7 @@ "description": "Response" }, "422": { - "description": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { - "title": "Validation Error", - "description": "Validation Error", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", - "required": [ - "code" - ], - "properties": { - "resource": { - "type": "string" - }, - "field": { - "type": "string" - }, - "message": { - "type": "string" - }, - "code": { - "type": "string" - }, - "index": { - "type": "integer" - }, - "value": { - "oneOf": [ - { - "type": [ - "string", - "null" - ] - }, - { - "type": [ - "integer", - "null" - ] - }, - { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - } - ] - } - } - } - } - } - } - } - } + "description": "Validation failed, an attempt was made to delete the default branch, or the endpoint has been spammed." }, "409": { "description": "Conflict", diff --git a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml index ae88872320..b9f6f08a54 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -11286,6 +11286,7 @@ paths: enum: - completed - cancelled + - approved - expired - deleted - denied @@ -12496,6 +12497,8 @@ paths: enum: - enabled - disabled + - code_security + - secret_protection dependency_graph: type: string description: The enablement status of Dependency Graph @@ -12772,10 +12775,14 @@ paths: maxLength: 255 advanced_security: type: string - description: The enablement status of GitHub Advanced Security + description: The enablement status of GitHub Advanced Security features. + `enabled` will enable both Code Security and Secret Protection + features. enum: - enabled - disabled + - code_security + - secret_protection default: disabled dependency_graph: type: string @@ -13157,11 +13164,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 @@ -14041,7 +14051,10 @@ paths: for a user, team, or organization. type: object properties: - assignee: *4 + assignee: + anyOf: + - type: 'null' + - *4 organization: anyOf: - type: 'null' @@ -14309,7 +14322,6 @@ paths: - enterprise - unknown required: - - assignee - created_at additionalProperties: false examples: @@ -18380,6 +18392,9 @@ paths: Paid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)". The authenticated user must be an enterprise admin. + + > [!NOTE] + > This endpoint is available to enterprise customers who are using the legacy billing platform. operationId: billing/get-github-actions-billing-ghe tags: - billing @@ -18801,6 +18816,9 @@ paths: Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)." The authenticated user must be an enterprise admin. + + > [!NOTE] + > This endpoint is available to enterprise customers who are using the legacy billing platform. operationId: billing/get-github-packages-billing-ghe tags: - billing @@ -18851,6 +18869,9 @@ paths: Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)." The authenticated user must be an enterprise admin. + + > [!NOTE] + > This endpoint is available to enterprise customers who are using the legacy billing platform. operationId: billing/get-shared-storage-billing-ghe tags: - billing @@ -30742,10 +30763,14 @@ paths: maxLength: 255 advanced_security: type: string - description: The enablement status of GitHub Advanced Security + description: The enablement status of GitHub Advanced Security features. + `enabled` will enable both Code Security and Secret Protection + features. enum: - enabled - disabled + - code_security + - secret_protection default: disabled dependency_graph: type: string @@ -31081,10 +31106,14 @@ paths: maxLength: 255 advanced_security: type: string - description: The enablement status of GitHub Advanced Security + description: The enablement status of GitHub Advanced Security features. + `enabled` will enable both Code Security and Secret Protection + features. enum: - enabled - disabled + - code_security + - secret_protection dependency_graph: type: string description: The enablement status of Dependency Graph @@ -77534,7 +77563,9 @@ paths: responses: '204': description: Response - '422': *15 + '422': + description: Validation failed, an attempt was made to delete the default + branch, or the endpoint has been spammed. '409': *92 x-github: githubCloudOnly: false diff --git a/descriptions-next/ghec/dereferenced/ghec.deref.json b/descriptions-next/ghec/dereferenced/ghec.deref.json index 5df6c124e0..76108b62db 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.deref.json @@ -28790,6 +28790,7 @@ "enum": [ "completed", "cancelled", + "approved", "expired", "deleted", "denied", @@ -30922,7 +30923,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -31318,10 +31321,12 @@ }, "advanced_security": { "type": "string", - "description": "The enablement status of GitHub Advanced Security", + "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ], "default": "disabled" }, @@ -31557,7 +31562,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -32021,7 +32028,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -32410,7 +32419,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -32786,10 +32797,12 @@ }, "advanced_security": { "type": "string", - "description": "The enablement status of GitHub Advanced Security. Must be set to enabled if you want to enable any GHAS settings.", + "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -33005,7 +33018,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -33824,7 +33839,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -35543,171 +35560,178 @@ "type": "object", "properties": { "assignee": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] + "anyOf": [ + { + "type": "null" }, - "user_view_type": { - "type": "string", - "examples": [ - "public" + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" ] } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" ] }, "organization": { @@ -36154,7 +36178,6 @@ } }, "required": [ - "assignee", "created_at" ], "additionalProperties": false @@ -50496,7 +50519,7 @@ "/enterprises/{enterprise}/settings/billing/actions": { "get": { "summary": "Get GitHub Actions billing for an enterprise", - "description": "Gets the summary of the free and paid GitHub Actions minutes used.\n\nPaid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nThe authenticated user must be an enterprise admin.", + "description": "Gets the summary of the free and paid GitHub Actions minutes used.\n\nPaid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nThe authenticated user must be an enterprise admin.\n\n> [!NOTE]\n> This endpoint is available to enterprise customers who are using the legacy billing platform.", "operationId": "billing/get-github-actions-billing-ghe", "tags": [ "billing" @@ -51576,7 +51599,7 @@ "/enterprises/{enterprise}/settings/billing/packages": { "get": { "summary": "Get GitHub Packages billing for an enterprise", - "description": "Gets the free and paid storage used for GitHub Packages in gigabytes.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nThe authenticated user must be an enterprise admin.", + "description": "Gets the free and paid storage used for GitHub Packages in gigabytes.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nThe authenticated user must be an enterprise admin.\n\n> [!NOTE]\n> This endpoint is available to enterprise customers who are using the legacy billing platform.", "operationId": "billing/get-github-packages-billing-ghe", "tags": [ "billing" @@ -51647,7 +51670,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" @@ -102972,6 +102995,7 @@ "enum": [ "completed", "cancelled", + "approved", "expired", "deleted", "denied", @@ -103447,6 +103471,7 @@ "enum": [ "completed", "cancelled", + "approved", "expired", "deleted", "denied", @@ -108573,7 +108598,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -108976,10 +109003,12 @@ }, "advanced_security": { "type": "string", - "description": "The enablement status of GitHub Advanced Security", + "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ], "default": "disabled" }, @@ -109255,7 +109284,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -109603,7 +109634,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -110261,7 +110294,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -110641,10 +110676,12 @@ }, "advanced_security": { "type": "string", - "description": "The enablement status of GitHub Advanced Security", + "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -110898,7 +110935,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -111580,7 +111619,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -117959,171 +118000,178 @@ "type": "object", "properties": { "assignee": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] + "anyOf": [ + { + "type": "null" }, - "user_view_type": { - "type": "string", - "examples": [ - "public" + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" ] } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" ] }, "organization": { @@ -118570,7 +118618,6 @@ } }, "required": [ - "assignee", "created_at" ], "additionalProperties": false @@ -149629,171 +149676,178 @@ "type": "object", "properties": { "assignee": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] + "anyOf": [ + { + "type": "null" }, - "user_view_type": { - "type": "string", - "examples": [ - "public" + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" ] } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" ] }, "organization": { @@ -150240,7 +150294,6 @@ } }, "required": [ - "assignee", "created_at" ], "additionalProperties": false @@ -279476,6 +279529,7 @@ "enum": [ "completed", "cancelled", + "approved", "expired", "deleted", "denied", @@ -280318,6 +280372,7 @@ "enum": [ "completed", "cancelled", + "approved", "expired", "deleted", "denied", @@ -306444,7 +306499,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -366196,79 +366253,7 @@ "description": "Response" }, "422": { - "description": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { - "title": "Validation Error", - "description": "Validation Error", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", - "required": [ - "code" - ], - "properties": { - "resource": { - "type": "string" - }, - "field": { - "type": "string" - }, - "message": { - "type": "string" - }, - "code": { - "type": "string" - }, - "index": { - "type": "integer" - }, - "value": { - "oneOf": [ - { - "type": [ - "string", - "null" - ] - }, - { - "type": [ - "integer", - "null" - ] - }, - { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - } - ] - } - } - } - } - } - } - } - } + "description": "Validation failed, an attempt was made to delete the default branch, or the endpoint has been spammed." }, "409": { "description": "Conflict", diff --git a/descriptions-next/ghec/dereferenced/ghec.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.deref.yaml index ae88872320..b9f6f08a54 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.deref.yaml @@ -11286,6 +11286,7 @@ paths: enum: - completed - cancelled + - approved - expired - deleted - denied @@ -12496,6 +12497,8 @@ paths: enum: - enabled - disabled + - code_security + - secret_protection dependency_graph: type: string description: The enablement status of Dependency Graph @@ -12772,10 +12775,14 @@ paths: maxLength: 255 advanced_security: type: string - description: The enablement status of GitHub Advanced Security + description: The enablement status of GitHub Advanced Security features. + `enabled` will enable both Code Security and Secret Protection + features. enum: - enabled - disabled + - code_security + - secret_protection default: disabled dependency_graph: type: string @@ -13157,11 +13164,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 @@ -14041,7 +14051,10 @@ paths: for a user, team, or organization. type: object properties: - assignee: *4 + assignee: + anyOf: + - type: 'null' + - *4 organization: anyOf: - type: 'null' @@ -14309,7 +14322,6 @@ paths: - enterprise - unknown required: - - assignee - created_at additionalProperties: false examples: @@ -18380,6 +18392,9 @@ paths: Paid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)". The authenticated user must be an enterprise admin. + + > [!NOTE] + > This endpoint is available to enterprise customers who are using the legacy billing platform. operationId: billing/get-github-actions-billing-ghe tags: - billing @@ -18801,6 +18816,9 @@ paths: Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)." The authenticated user must be an enterprise admin. + + > [!NOTE] + > This endpoint is available to enterprise customers who are using the legacy billing platform. operationId: billing/get-github-packages-billing-ghe tags: - billing @@ -18851,6 +18869,9 @@ paths: Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)." The authenticated user must be an enterprise admin. + + > [!NOTE] + > This endpoint is available to enterprise customers who are using the legacy billing platform. operationId: billing/get-shared-storage-billing-ghe tags: - billing @@ -30742,10 +30763,14 @@ paths: maxLength: 255 advanced_security: type: string - description: The enablement status of GitHub Advanced Security + description: The enablement status of GitHub Advanced Security features. + `enabled` will enable both Code Security and Secret Protection + features. enum: - enabled - disabled + - code_security + - secret_protection default: disabled dependency_graph: type: string @@ -31081,10 +31106,14 @@ paths: maxLength: 255 advanced_security: type: string - description: The enablement status of GitHub Advanced Security + description: The enablement status of GitHub Advanced Security features. + `enabled` will enable both Code Security and Secret Protection + features. enum: - enabled - disabled + - code_security + - secret_protection dependency_graph: type: string description: The enablement status of Dependency Graph @@ -77534,7 +77563,9 @@ paths: responses: '204': description: Response - '422': *15 + '422': + description: Validation failed, an attempt was made to delete the default + branch, or the endpoint has been spammed. '409': *92 x-github: githubCloudOnly: false diff --git a/descriptions-next/ghec/ghec.2022-11-28.json b/descriptions-next/ghec/ghec.2022-11-28.json index 23d79faf34..0062d51db4 100644 --- a/descriptions-next/ghec/ghec.2022-11-28.json +++ b/descriptions-next/ghec/ghec.2022-11-28.json @@ -5609,10 +5609,12 @@ }, "advanced_security": { "type": "string", - "description": "The enablement status of GitHub Advanced Security", + "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ], "default": "disabled" }, @@ -5958,10 +5960,12 @@ }, "advanced_security": { "type": "string", - "description": "The enablement status of GitHub Advanced Security. Must be set to enabled if you want to enable any GHAS settings.", + "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -8307,7 +8311,7 @@ "/enterprises/{enterprise}/settings/billing/actions": { "get": { "summary": "Get GitHub Actions billing for an enterprise", - "description": "Gets the summary of the free and paid GitHub Actions minutes used.\n\nPaid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nThe authenticated user must be an enterprise admin.", + "description": "Gets the summary of the free and paid GitHub Actions minutes used.\n\nPaid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nThe authenticated user must be an enterprise admin.\n\n> [!NOTE]\n> This endpoint is available to enterprise customers who are using the legacy billing platform.", "operationId": "billing/get-github-actions-billing-ghe", "tags": [ "billing" @@ -8595,7 +8599,7 @@ "/enterprises/{enterprise}/settings/billing/packages": { "get": { "summary": "Get GitHub Packages billing for an enterprise", - "description": "Gets the free and paid storage used for GitHub Packages in gigabytes.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nThe authenticated user must be an enterprise admin.", + "description": "Gets the free and paid storage used for GitHub Packages in gigabytes.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nThe authenticated user must be an enterprise admin.\n\n> [!NOTE]\n> This endpoint is available to enterprise customers who are using the legacy billing platform.", "operationId": "billing/get-github-packages-billing-ghe", "tags": [ "billing" @@ -8637,7 +8641,7 @@ "/enterprises/{enterprise}/settings/billing/shared-storage": { "get": { "summary": "Get shared storage billing for an enterprise", - "description": "Gets the estimated paid and estimated total storage used for GitHub Actions and GitHub Packages.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nThe authenticated user must be an enterprise admin.", + "description": "Gets the estimated paid and estimated total storage used for GitHub Actions and GitHub Packages.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nThe authenticated user must be an enterprise admin.\n\n> [!NOTE]\n> This endpoint is available to enterprise customers who are using the legacy billing platform.", "operationId": "billing/get-shared-storage-billing-ghe", "tags": [ "billing" @@ -17506,10 +17510,12 @@ }, "advanced_security": { "type": "string", - "description": "The enablement status of GitHub Advanced Security", + "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ], "default": "disabled" }, @@ -17969,10 +17975,12 @@ }, "advanced_security": { "type": "string", - "description": "The enablement status of GitHub Advanced Security", + "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -52836,7 +52844,7 @@ "description": "Response" }, "422": { - "$ref": "#/components/responses/validation_failed" + "description": "Validation failed, an attempt was made to delete the default branch, or the endpoint has been spammed." }, "409": { "$ref": "#/components/responses/conflict" @@ -113205,7 +113213,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -113978,7 +113988,14 @@ "type": "object", "properties": { "assignee": { - "$ref": "#/components/schemas/simple-user" + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } + ] }, "organization": { "anyOf": [ @@ -114050,7 +114067,6 @@ } }, "required": [ - "assignee", "created_at" ], "additionalProperties": false @@ -325431,6 +325447,7 @@ "enum": [ "completed", "cancelled", + "approved", "expired", "deleted", "denied", diff --git a/descriptions-next/ghec/ghec.2022-11-28.yaml b/descriptions-next/ghec/ghec.2022-11-28.yaml index f4cbfb47c9..be1dda786f 100644 --- a/descriptions-next/ghec/ghec.2022-11-28.yaml +++ b/descriptions-next/ghec/ghec.2022-11-28.yaml @@ -3920,10 +3920,14 @@ paths: maxLength: 255 advanced_security: type: string - description: The enablement status of GitHub Advanced Security + description: The enablement status of GitHub Advanced Security features. + `enabled` will enable both Code Security and Secret Protection + features. enum: - enabled - disabled + - code_security + - secret_protection default: disabled dependency_graph: type: string @@ -4190,11 +4194,14 @@ paths: maxLength: 255 advanced_security: type: string - description: The enablement status of GitHub Advanced Security. - Must be set to enabled if you want to enable any GHAS settings. + description: The enablement status of GitHub Advanced Security features. + `enabled` will enable both Code Security and Secret Protection + features. enum: - enabled - disabled + - code_security + - secret_protection dependency_graph: type: string description: The enablement status of Dependency Graph @@ -5862,6 +5869,9 @@ paths: Paid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)". The authenticated user must be an enterprise admin. + + > [!NOTE] + > This endpoint is available to enterprise customers who are using the legacy billing platform. operationId: billing/get-github-actions-billing-ghe tags: - billing @@ -6061,6 +6071,9 @@ paths: Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)." The authenticated user must be an enterprise admin. + + > [!NOTE] + > This endpoint is available to enterprise customers who are using the legacy billing platform. operationId: billing/get-github-packages-billing-ghe tags: - billing @@ -6093,6 +6106,9 @@ paths: Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)." The authenticated user must be an enterprise admin. + + > [!NOTE] + > This endpoint is available to enterprise customers who are using the legacy billing platform. operationId: billing/get-shared-storage-billing-ghe tags: - billing @@ -12571,10 +12587,14 @@ paths: maxLength: 255 advanced_security: type: string - description: The enablement status of GitHub Advanced Security + description: The enablement status of GitHub Advanced Security features. + `enabled` will enable both Code Security and Secret Protection + features. enum: - enabled - disabled + - code_security + - secret_protection default: disabled dependency_graph: type: string @@ -12928,10 +12948,14 @@ paths: maxLength: 255 advanced_security: type: string - description: The enablement status of GitHub Advanced Security + description: The enablement status of GitHub Advanced Security features. + `enabled` will enable both Code Security and Secret Protection + features. enum: - enabled - disabled + - code_security + - secret_protection dependency_graph: type: string description: The enablement status of Dependency Graph @@ -38455,7 +38479,8 @@ paths: '204': description: Response '422': - "$ref": "#/components/responses/validation_failed" + description: Validation failed, an attempt was made to delete the default + branch, or the endpoint has been spammed. '409': "$ref": "#/components/responses/conflict" x-github: @@ -81962,6 +81987,8 @@ components: enum: - enabled - disabled + - code_security + - secret_protection dependency_graph: type: string description: The enablement status of Dependency Graph @@ -82540,7 +82567,9 @@ components: type: object properties: assignee: - "$ref": "#/components/schemas/simple-user" + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-user" organization: anyOf: - type: 'null' @@ -82598,7 +82627,6 @@ components: - enterprise - unknown required: - - assignee - created_at additionalProperties: false copilot-ide-code-completions: @@ -243147,6 +243175,7 @@ components: enum: - completed - cancelled + - approved - expired - deleted - denied diff --git a/descriptions-next/ghec/ghec.json b/descriptions-next/ghec/ghec.json index 23d79faf34..0062d51db4 100644 --- a/descriptions-next/ghec/ghec.json +++ b/descriptions-next/ghec/ghec.json @@ -5609,10 +5609,12 @@ }, "advanced_security": { "type": "string", - "description": "The enablement status of GitHub Advanced Security", + "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ], "default": "disabled" }, @@ -5958,10 +5960,12 @@ }, "advanced_security": { "type": "string", - "description": "The enablement status of GitHub Advanced Security. Must be set to enabled if you want to enable any GHAS settings.", + "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -8307,7 +8311,7 @@ "/enterprises/{enterprise}/settings/billing/actions": { "get": { "summary": "Get GitHub Actions billing for an enterprise", - "description": "Gets the summary of the free and paid GitHub Actions minutes used.\n\nPaid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nThe authenticated user must be an enterprise admin.", + "description": "Gets the summary of the free and paid GitHub Actions minutes used.\n\nPaid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nThe authenticated user must be an enterprise admin.\n\n> [!NOTE]\n> This endpoint is available to enterprise customers who are using the legacy billing platform.", "operationId": "billing/get-github-actions-billing-ghe", "tags": [ "billing" @@ -8595,7 +8599,7 @@ "/enterprises/{enterprise}/settings/billing/packages": { "get": { "summary": "Get GitHub Packages billing for an enterprise", - "description": "Gets the free and paid storage used for GitHub Packages in gigabytes.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nThe authenticated user must be an enterprise admin.", + "description": "Gets the free and paid storage used for GitHub Packages in gigabytes.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nThe authenticated user must be an enterprise admin.\n\n> [!NOTE]\n> This endpoint is available to enterprise customers who are using the legacy billing platform.", "operationId": "billing/get-github-packages-billing-ghe", "tags": [ "billing" @@ -8637,7 +8641,7 @@ "/enterprises/{enterprise}/settings/billing/shared-storage": { "get": { "summary": "Get shared storage billing for an enterprise", - "description": "Gets the estimated paid and estimated total storage used for GitHub Actions and GitHub Packages.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nThe authenticated user must be an enterprise admin.", + "description": "Gets the estimated paid and estimated total storage used for GitHub Actions and GitHub Packages.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nThe authenticated user must be an enterprise admin.\n\n> [!NOTE]\n> This endpoint is available to enterprise customers who are using the legacy billing platform.", "operationId": "billing/get-shared-storage-billing-ghe", "tags": [ "billing" @@ -17506,10 +17510,12 @@ }, "advanced_security": { "type": "string", - "description": "The enablement status of GitHub Advanced Security", + "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ], "default": "disabled" }, @@ -17969,10 +17975,12 @@ }, "advanced_security": { "type": "string", - "description": "The enablement status of GitHub Advanced Security", + "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -52836,7 +52844,7 @@ "description": "Response" }, "422": { - "$ref": "#/components/responses/validation_failed" + "description": "Validation failed, an attempt was made to delete the default branch, or the endpoint has been spammed." }, "409": { "$ref": "#/components/responses/conflict" @@ -113205,7 +113213,9 @@ "description": "The enablement status of GitHub Advanced Security", "enum": [ "enabled", - "disabled" + "disabled", + "code_security", + "secret_protection" ] }, "dependency_graph": { @@ -113978,7 +113988,14 @@ "type": "object", "properties": { "assignee": { - "$ref": "#/components/schemas/simple-user" + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } + ] }, "organization": { "anyOf": [ @@ -114050,7 +114067,6 @@ } }, "required": [ - "assignee", "created_at" ], "additionalProperties": false @@ -325431,6 +325447,7 @@ "enum": [ "completed", "cancelled", + "approved", "expired", "deleted", "denied", diff --git a/descriptions-next/ghec/ghec.yaml b/descriptions-next/ghec/ghec.yaml index f4cbfb47c9..be1dda786f 100644 --- a/descriptions-next/ghec/ghec.yaml +++ b/descriptions-next/ghec/ghec.yaml @@ -3920,10 +3920,14 @@ paths: maxLength: 255 advanced_security: type: string - description: The enablement status of GitHub Advanced Security + description: The enablement status of GitHub Advanced Security features. + `enabled` will enable both Code Security and Secret Protection + features. enum: - enabled - disabled + - code_security + - secret_protection default: disabled dependency_graph: type: string @@ -4190,11 +4194,14 @@ paths: maxLength: 255 advanced_security: type: string - description: The enablement status of GitHub Advanced Security. - Must be set to enabled if you want to enable any GHAS settings. + description: The enablement status of GitHub Advanced Security features. + `enabled` will enable both Code Security and Secret Protection + features. enum: - enabled - disabled + - code_security + - secret_protection dependency_graph: type: string description: The enablement status of Dependency Graph @@ -5862,6 +5869,9 @@ paths: Paid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)". The authenticated user must be an enterprise admin. + + > [!NOTE] + > This endpoint is available to enterprise customers who are using the legacy billing platform. operationId: billing/get-github-actions-billing-ghe tags: - billing @@ -6061,6 +6071,9 @@ paths: Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)." The authenticated user must be an enterprise admin. + + > [!NOTE] + > This endpoint is available to enterprise customers who are using the legacy billing platform. operationId: billing/get-github-packages-billing-ghe tags: - billing @@ -6093,6 +6106,9 @@ paths: Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)." The authenticated user must be an enterprise admin. + + > [!NOTE] + > This endpoint is available to enterprise customers who are using the legacy billing platform. operationId: billing/get-shared-storage-billing-ghe tags: - billing @@ -12571,10 +12587,14 @@ paths: maxLength: 255 advanced_security: type: string - description: The enablement status of GitHub Advanced Security + description: The enablement status of GitHub Advanced Security features. + `enabled` will enable both Code Security and Secret Protection + features. enum: - enabled - disabled + - code_security + - secret_protection default: disabled dependency_graph: type: string @@ -12928,10 +12948,14 @@ paths: maxLength: 255 advanced_security: type: string - description: The enablement status of GitHub Advanced Security + description: The enablement status of GitHub Advanced Security features. + `enabled` will enable both Code Security and Secret Protection + features. enum: - enabled - disabled + - code_security + - secret_protection dependency_graph: type: string description: The enablement status of Dependency Graph @@ -38455,7 +38479,8 @@ paths: '204': description: Response '422': - "$ref": "#/components/responses/validation_failed" + description: Validation failed, an attempt was made to delete the default + branch, or the endpoint has been spammed. '409': "$ref": "#/components/responses/conflict" x-github: @@ -81962,6 +81987,8 @@ components: enum: - enabled - disabled + - code_security + - secret_protection dependency_graph: type: string description: The enablement status of Dependency Graph @@ -82540,7 +82567,9 @@ components: type: object properties: assignee: - "$ref": "#/components/schemas/simple-user" + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-user" organization: anyOf: - type: 'null' @@ -82598,7 +82627,6 @@ components: - enterprise - unknown required: - - assignee - created_at additionalProperties: false copilot-ide-code-completions: @@ -243147,6 +243175,7 @@ components: enum: - completed - cancelled + - approved - expired - deleted - denied diff --git a/descriptions-next/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.json b/descriptions-next/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.json index c6533f3cc9..a50732cbe3 100644 --- a/descriptions-next/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.json +++ b/descriptions-next/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.json @@ -295086,79 +295086,7 @@ "description": "Response" }, "422": { - "description": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { - "title": "Validation Error", - "description": "Validation Error", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", - "required": [ - "code" - ], - "properties": { - "resource": { - "type": "string" - }, - "field": { - "type": "string" - }, - "message": { - "type": "string" - }, - "code": { - "type": "string" - }, - "index": { - "type": "integer" - }, - "value": { - "oneOf": [ - { - "type": [ - "string", - "null" - ] - }, - { - "type": [ - "integer", - "null" - ] - }, - { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - } - ] - } - } - } - } - } - } - } - } + "description": "Validation failed, an attempt was made to delete the default branch, or the endpoint has been spammed." }, "409": { "description": "Conflict", diff --git a/descriptions-next/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.yaml b/descriptions-next/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.yaml index 937912e880..ab2237019e 100644 --- a/descriptions-next/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.yaml +++ b/descriptions-next/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.yaml @@ -62103,7 +62103,9 @@ paths: responses: '204': description: Response - '422': *33 + '422': + description: Validation failed, an attempt was made to delete the default + branch, or the endpoint has been spammed. '409': *135 x-github: githubCloudOnly: false diff --git a/descriptions-next/ghes-3.12/dereferenced/ghes-3.12.deref.json b/descriptions-next/ghes-3.12/dereferenced/ghes-3.12.deref.json index c6533f3cc9..a50732cbe3 100644 --- a/descriptions-next/ghes-3.12/dereferenced/ghes-3.12.deref.json +++ b/descriptions-next/ghes-3.12/dereferenced/ghes-3.12.deref.json @@ -295086,79 +295086,7 @@ "description": "Response" }, "422": { - "description": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { - "title": "Validation Error", - "description": "Validation Error", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", - "required": [ - "code" - ], - "properties": { - "resource": { - "type": "string" - }, - "field": { - "type": "string" - }, - "message": { - "type": "string" - }, - "code": { - "type": "string" - }, - "index": { - "type": "integer" - }, - "value": { - "oneOf": [ - { - "type": [ - "string", - "null" - ] - }, - { - "type": [ - "integer", - "null" - ] - }, - { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - } - ] - } - } - } - } - } - } - } - } + "description": "Validation failed, an attempt was made to delete the default branch, or the endpoint has been spammed." }, "409": { "description": "Conflict", diff --git a/descriptions-next/ghes-3.12/dereferenced/ghes-3.12.deref.yaml b/descriptions-next/ghes-3.12/dereferenced/ghes-3.12.deref.yaml index 937912e880..ab2237019e 100644 --- a/descriptions-next/ghes-3.12/dereferenced/ghes-3.12.deref.yaml +++ b/descriptions-next/ghes-3.12/dereferenced/ghes-3.12.deref.yaml @@ -62103,7 +62103,9 @@ paths: responses: '204': description: Response - '422': *33 + '422': + description: Validation failed, an attempt was made to delete the default + branch, or the endpoint has been spammed. '409': *135 x-github: githubCloudOnly: false diff --git a/descriptions-next/ghes-3.12/ghes-3.12.2022-11-28.json b/descriptions-next/ghes-3.12/ghes-3.12.2022-11-28.json index 6d1be66333..2291da1efb 100644 --- a/descriptions-next/ghes-3.12/ghes-3.12.2022-11-28.json +++ b/descriptions-next/ghes-3.12/ghes-3.12.2022-11-28.json @@ -41534,7 +41534,7 @@ {"code":"internal","msg":"git-diff-tree: context deadline exceeded","meta":{"cause":"*fmt.wrapError"}}