summaryrefslogtreecommitdiffstats
path: root/descriptions/api.github.com
diff options
context:
space:
mode:
authorgithub-openapi-bot <security+github-openapi-bot@github.com>2025-04-15 12:36:05 -0700
committergithub-openapi-bot <security+github-openapi-bot@github.com>2025-04-15 12:36:05 -0700
commitcd8f316c60c41d658eed633a42e7212e3cb31f90 (patch)
tree7076732552b57b22f53aec021ae2bfad1af09154 /descriptions/api.github.com
parent1cd73ab20b4ba8355d380bd1f422ddf49c47a7af (diff)
downloadrest-api-description-cd8f316c60c41d658eed633a42e7212e3cb31f90.tar.gz
rest-api-description-cd8f316c60c41d658eed633a42e7212e3cb31f90.zip
Update OpenAPI 3.0 Descriptions
Diffstat (limited to 'descriptions/api.github.com')
-rw-r--r--descriptions/api.github.com/api.github.com.2022-11-28.json33
-rw-r--r--descriptions/api.github.com/api.github.com.2022-11-28.yaml33
-rw-r--r--descriptions/api.github.com/api.github.com.json33
-rw-r--r--descriptions/api.github.com/api.github.com.yaml33
-rw-r--r--descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json152
-rw-r--r--descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml40
-rw-r--r--descriptions/api.github.com/dereferenced/api.github.com.deref.json152
-rw-r--r--descriptions/api.github.com/dereferenced/api.github.com.deref.yaml40
8 files changed, 276 insertions, 240 deletions
diff --git a/descriptions/api.github.com/api.github.com.2022-11-28.json b/descriptions/api.github.com/api.github.com.2022-11-28.json
index b76ea3869..f538052ea 100644
--- a/descriptions/api.github.com/api.github.com.2022-11-28.json
+++ b/descriptions/api.github.com/api.github.com.2022-11-28.json
@@ -2177,10 +2177,12 @@
},
"advanced_security": {
"type": "string",
- "description": "The enablement status of GitHub Advanced Security",
+ "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.",
"enum": [
"enabled",
- "disabled"
+ "disabled",
+ "code_security",
+ "secret_protection"
],
"default": "disabled"
},
@@ -2526,10 +2528,12 @@
},
"advanced_security": {
"type": "string",
- "description": "The enablement status of GitHub Advanced Security. Must be set to enabled if you want to enable any GHAS settings.",
+ "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.",
"enum": [
"enabled",
- "disabled"
+ "disabled",
+ "code_security",
+ "secret_protection"
]
},
"dependency_graph": {
@@ -11405,10 +11409,12 @@
},
"advanced_security": {
"type": "string",
- "description": "The enablement status of GitHub Advanced Security",
+ "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.",
"enum": [
"enabled",
- "disabled"
+ "disabled",
+ "code_security",
+ "secret_protection"
],
"default": "disabled"
},
@@ -11868,10 +11874,12 @@
},
"advanced_security": {
"type": "string",
- "description": "The enablement status of GitHub Advanced Security",
+ "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.",
"enum": [
"enabled",
- "disabled"
+ "disabled",
+ "code_security",
+ "secret_protection"
]
},
"dependency_graph": {
@@ -44638,7 +44646,7 @@
"description": "Response"
},
"422": {
- "$ref": "#/components/responses/validation_failed"
+ "description": "Validation failed, an attempt was made to delete the default branch, or the endpoint has been spammed."
},
"409": {
"$ref": "#/components/responses/conflict"
@@ -98107,7 +98115,9 @@
"description": "The enablement status of GitHub Advanced Security",
"enum": [
"enabled",
- "disabled"
+ "disabled",
+ "code_security",
+ "secret_protection"
]
},
"dependency_graph": {
@@ -104631,7 +104641,7 @@
"type": "object",
"properties": {
"assignee": {
- "$ref": "#/components/schemas/simple-user"
+ "$ref": "#/components/schemas/nullable-simple-user"
},
"organization": {
"$ref": "#/components/schemas/nullable-organization-simple"
@@ -104687,7 +104697,6 @@
}
},
"required": [
- "assignee",
"created_at"
],
"additionalProperties": false
diff --git a/descriptions/api.github.com/api.github.com.2022-11-28.yaml b/descriptions/api.github.com/api.github.com.2022-11-28.yaml
index 0be3e65de..be21a6101 100644
--- a/descriptions/api.github.com/api.github.com.2022-11-28.yaml
+++ b/descriptions/api.github.com/api.github.com.2022-11-28.yaml
@@ -1513,10 +1513,14 @@ paths:
maxLength: 255
advanced_security:
type: string
- description: The enablement status of GitHub Advanced Security
+ description: The enablement status of GitHub Advanced Security features.
+ `enabled` will enable both Code Security and Secret Protection
+ features.
enum:
- enabled
- disabled
+ - code_security
+ - secret_protection
default: disabled
dependency_graph:
type: string
@@ -1783,11 +1787,14 @@ paths:
maxLength: 255
advanced_security:
type: string
- description: The enablement status of GitHub Advanced Security.
- Must be set to enabled if you want to enable any GHAS settings.
+ description: The enablement status of GitHub Advanced Security features.
+ `enabled` will enable both Code Security and Secret Protection
+ features.
enum:
- enabled
- disabled
+ - code_security
+ - secret_protection
dependency_graph:
type: string
description: The enablement status of Dependency Graph
@@ -8267,10 +8274,14 @@ paths:
maxLength: 255
advanced_security:
type: string
- description: The enablement status of GitHub Advanced Security
+ description: The enablement status of GitHub Advanced Security features.
+ `enabled` will enable both Code Security and Secret Protection
+ features.
enum:
- enabled
- disabled
+ - code_security
+ - secret_protection
default: disabled
dependency_graph:
type: string
@@ -8624,10 +8635,14 @@ paths:
maxLength: 255
advanced_security:
type: string
- description: The enablement status of GitHub Advanced Security
+ description: The enablement status of GitHub Advanced Security features.
+ `enabled` will enable both Code Security and Secret Protection
+ features.
enum:
- enabled
- disabled
+ - code_security
+ - secret_protection
dependency_graph:
type: string
description: The enablement status of Dependency Graph
@@ -32642,7 +32657,8 @@ paths:
'204':
description: Response
'422':
- "$ref": "#/components/responses/validation_failed"
+ description: Validation failed, an attempt was made to delete the default
+ branch, or the endpoint has been spammed.
'409':
"$ref": "#/components/responses/conflict"
x-github:
@@ -71269,6 +71285,8 @@ components:
enum:
- enabled
- disabled
+ - code_security
+ - secret_protection
dependency_graph:
type: string
description: The enablement status of Dependency Graph
@@ -76470,7 +76488,7 @@ components:
type: object
properties:
assignee:
- "$ref": "#/components/schemas/simple-user"
+ "$ref": "#/components/schemas/nullable-simple-user"
organization:
"$ref": "#/components/schemas/nullable-organization-simple"
assigning_team:
@@ -76521,7 +76539,6 @@ components:
- enterprise
- unknown
required:
- - assignee
- created_at
additionalProperties: false
copilot-ide-code-completions:
diff --git a/descriptions/api.github.com/api.github.com.json b/descriptions/api.github.com/api.github.com.json
index b76ea3869..f538052ea 100644
--- a/descriptions/api.github.com/api.github.com.json
+++ b/descriptions/api.github.com/api.github.com.json
@@ -2177,10 +2177,12 @@
},
"advanced_security": {
"type": "string",
- "description": "The enablement status of GitHub Advanced Security",
+ "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.",
"enum": [
"enabled",
- "disabled"
+ "disabled",
+ "code_security",
+ "secret_protection"
],
"default": "disabled"
},
@@ -2526,10 +2528,12 @@
},
"advanced_security": {
"type": "string",
- "description": "The enablement status of GitHub Advanced Security. Must be set to enabled if you want to enable any GHAS settings.",
+ "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.",
"enum": [
"enabled",
- "disabled"
+ "disabled",
+ "code_security",
+ "secret_protection"
]
},
"dependency_graph": {
@@ -11405,10 +11409,12 @@
},
"advanced_security": {
"type": "string",
- "description": "The enablement status of GitHub Advanced Security",
+ "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.",
"enum": [
"enabled",
- "disabled"
+ "disabled",
+ "code_security",
+ "secret_protection"
],
"default": "disabled"
},
@@ -11868,10 +11874,12 @@
},
"advanced_security": {
"type": "string",
- "description": "The enablement status of GitHub Advanced Security",
+ "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.",
"enum": [
"enabled",
- "disabled"
+ "disabled",
+ "code_security",
+ "secret_protection"
]
},
"dependency_graph": {
@@ -44638,7 +44646,7 @@
"description": "Response"
},
"422": {
- "$ref": "#/components/responses/validation_failed"
+ "description": "Validation failed, an attempt was made to delete the default branch, or the endpoint has been spammed."
},
"409": {
"$ref": "#/components/responses/conflict"
@@ -98107,7 +98115,9 @@
"description": "The enablement status of GitHub Advanced Security",
"enum": [
"enabled",
- "disabled"
+ "disabled",
+ "code_security",
+ "secret_protection"
]
},
"dependency_graph": {
@@ -104631,7 +104641,7 @@
"type": "object",
"properties": {
"assignee": {
- "$ref": "#/components/schemas/simple-user"
+ "$ref": "#/components/schemas/nullable-simple-user"
},
"organization": {
"$ref": "#/components/schemas/nullable-organization-simple"
@@ -104687,7 +104697,6 @@
}
},
"required": [
- "assignee",
"created_at"
],
"additionalProperties": false
diff --git a/descriptions/api.github.com/api.github.com.yaml b/descriptions/api.github.com/api.github.com.yaml
index 0be3e65de..be21a6101 100644
--- a/descriptions/api.github.com/api.github.com.yaml
+++ b/descriptions/api.github.com/api.github.com.yaml
@@ -1513,10 +1513,14 @@ paths:
maxLength: 255
advanced_security:
type: string
- description: The enablement status of GitHub Advanced Security
+ description: The enablement status of GitHub Advanced Security features.
+ `enabled` will enable both Code Security and Secret Protection
+ features.
enum:
- enabled
- disabled
+ - code_security
+ - secret_protection
default: disabled
dependency_graph:
type: string
@@ -1783,11 +1787,14 @@ paths:
maxLength: 255
advanced_security:
type: string
- description: The enablement status of GitHub Advanced Security.
- Must be set to enabled if you want to enable any GHAS settings.
+ description: The enablement status of GitHub Advanced Security features.
+ `enabled` will enable both Code Security and Secret Protection
+ features.
enum:
- enabled
- disabled
+ - code_security
+ - secret_protection
dependency_graph:
type: string
description: The enablement status of Dependency Graph
@@ -8267,10 +8274,14 @@ paths:
maxLength: 255
advanced_security:
type: string
- description: The enablement status of GitHub Advanced Security
+ description: The enablement status of GitHub Advanced Security features.
+ `enabled` will enable both Code Security and Secret Protection
+ features.
enum:
- enabled
- disabled
+ - code_security
+ - secret_protection
default: disabled
dependency_graph:
type: string
@@ -8624,10 +8635,14 @@ paths:
maxLength: 255
advanced_security:
type: string
- description: The enablement status of GitHub Advanced Security
+ description: The enablement status of GitHub Advanced Security features.
+ `enabled` will enable both Code Security and Secret Protection
+ features.
enum:
- enabled
- disabled
+ - code_security
+ - secret_protection
dependency_graph:
type: string
description: The enablement status of Dependency Graph
@@ -32642,7 +32657,8 @@ paths:
'204':
description: Response
'422':
- "$ref": "#/components/responses/validation_failed"
+ description: Validation failed, an attempt was made to delete the default
+ branch, or the endpoint has been spammed.
'409':
"$ref": "#/components/responses/conflict"
x-github:
@@ -71269,6 +71285,8 @@ components:
enum:
- enabled
- disabled
+ - code_security
+ - secret_protection
dependency_graph:
type: string
description: The enablement status of Dependency Graph
@@ -76470,7 +76488,7 @@ components:
type: object
properties:
assignee:
- "$ref": "#/components/schemas/simple-user"
+ "$ref": "#/components/schemas/nullable-simple-user"
organization:
"$ref": "#/components/schemas/nullable-organization-simple"
assigning_team:
@@ -76521,7 +76539,6 @@ components:
- enterprise
- unknown
required:
- - assignee
- created_at
additionalProperties: false
copilot-ide-code-completions:
diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json
index f14ec9647..5838daccd 100644
--- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json
+++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json
@@ -16240,7 +16240,9 @@
"description": "The enablement status of GitHub Advanced Security",
"enum": [
"enabled",
- "disabled"
+ "disabled",
+ "code_security",
+ "secret_protection"
]
},
"dependency_graph": {
@@ -16629,10 +16631,12 @@
},
"advanced_security": {
"type": "string",
- "description": "The enablement status of GitHub Advanced Security",
+ "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.",
"enum": [
"enabled",
- "disabled"
+ "disabled",
+ "code_security",
+ "secret_protection"
],
"default": "disabled"
},
@@ -16864,7 +16868,9 @@
"description": "The enablement status of GitHub Advanced Security",
"enum": [
"enabled",
- "disabled"
+ "disabled",
+ "code_security",
+ "secret_protection"
]
},
"dependency_graph": {
@@ -17313,7 +17319,9 @@
"description": "The enablement status of GitHub Advanced Security",
"enum": [
"enabled",
- "disabled"
+ "disabled",
+ "code_security",
+ "secret_protection"
]
},
"dependency_graph": {
@@ -17695,7 +17703,9 @@
"description": "The enablement status of GitHub Advanced Security",
"enum": [
"enabled",
- "disabled"
+ "disabled",
+ "code_security",
+ "secret_protection"
]
},
"dependency_graph": {
@@ -18064,10 +18074,12 @@
},
"advanced_security": {
"type": "string",
- "description": "The enablement status of GitHub Advanced Security. Must be set to enabled if you want to enable any GHAS settings.",
+ "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.",
"enum": [
"enabled",
- "disabled"
+ "disabled",
+ "code_security",
+ "secret_protection"
]
},
"dependency_graph": {
@@ -18279,7 +18291,9 @@
"description": "The enablement status of GitHub Advanced Security",
"enum": [
"enabled",
- "disabled"
+ "disabled",
+ "code_security",
+ "secret_protection"
]
},
"dependency_graph": {
@@ -19083,7 +19097,9 @@
"description": "The enablement status of GitHub Advanced Security",
"enum": [
"enabled",
- "disabled"
+ "disabled",
+ "code_security",
+ "secret_protection"
]
},
"dependency_graph": {
@@ -69246,7 +69262,9 @@
"description": "The enablement status of GitHub Advanced Security",
"enum": [
"enabled",
- "disabled"
+ "disabled",
+ "code_security",
+ "secret_protection"
]
},
"dependency_graph": {
@@ -69642,10 +69660,12 @@
},
"advanced_security": {
"type": "string",
- "description": "The enablement status of GitHub Advanced Security",
+ "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.",
"enum": [
"enabled",
- "disabled"
+ "disabled",
+ "code_security",
+ "secret_protection"
],
"default": "disabled"
},
@@ -69917,7 +69937,9 @@
"description": "The enablement status of GitHub Advanced Security",
"enum": [
"enabled",
- "disabled"
+ "disabled",
+ "code_security",
+ "secret_protection"
]
},
"dependency_graph": {
@@ -70258,7 +70280,9 @@
"description": "The enablement status of GitHub Advanced Security",
"enum": [
"enabled",
- "disabled"
+ "disabled",
+ "code_security",
+ "secret_protection"
]
},
"dependency_graph": {
@@ -70901,7 +70925,9 @@
"description": "The enablement status of GitHub Advanced Security",
"enum": [
"enabled",
- "disabled"
+ "disabled",
+ "code_security",
+ "secret_protection"
]
},
"dependency_graph": {
@@ -71274,10 +71300,12 @@
},
"advanced_security": {
"type": "string",
- "description": "The enablement status of GitHub Advanced Security",
+ "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.",
"enum": [
"enabled",
- "disabled"
+ "disabled",
+ "code_security",
+ "secret_protection"
]
},
"dependency_graph": {
@@ -71527,7 +71555,9 @@
"description": "The enablement status of GitHub Advanced Security",
"enum": [
"enabled",
- "disabled"
+ "disabled",
+ "code_security",
+ "secret_protection"
]
},
"dependency_graph": {
@@ -72194,7 +72224,9 @@
"description": "The enablement status of GitHub Advanced Security",
"enum": [
"enabled",
- "disabled"
+ "disabled",
+ "code_security",
+ "secret_protection"
]
},
"dependency_graph": {
@@ -77952,7 +77984,8 @@
"subscriptions_url",
"type",
"url"
- ]
+ ],
+ "nullable": true
},
"organization": {
"title": "Organization Simple",
@@ -78307,7 +78340,6 @@
}
},
"required": [
- "assignee",
"created_at"
],
"additionalProperties": false
@@ -102010,7 +102042,8 @@
"subscriptions_url",
"type",
"url"
- ]
+ ],
+ "nullable": true
},
"organization": {
"title": "Organization Simple",
@@ -102365,7 +102398,6 @@
}
},
"required": [
- "assignee",
"created_at"
],
"additionalProperties": false
@@ -232563,7 +232595,9 @@
"description": "The enablement status of GitHub Advanced Security",
"enum": [
"enabled",
- "disabled"
+ "disabled",
+ "code_security",
+ "secret_protection"
]
},
"dependency_graph": {
@@ -283071,73 +283105,7 @@
"description": "Response"
},
"422": {
- "description": "Validation failed, or the endpoint has been spammed.",
- "content": {
- "application/json": {
- "schema": {
- "title": "Validation Error",
- "description": "Validation Error",
- "type": "object",
- "required": [
- "message",
- "documentation_url"
- ],
- "properties": {
- "message": {
- "type": "string"
- },
- "documentation_url": {
- "type": "string"
- },
- "errors": {
- "type": "array",
- "items": {
- "type": "object",
- "required": [
- "code"
- ],
- "properties": {
- "resource": {
- "type": "string"
- },
- "field": {
- "type": "string"
- },
- "message": {
- "type": "string"
- },
- "code": {
- "type": "string"
- },
- "index": {
- "type": "integer"
- },
- "value": {
- "oneOf": [
- {
- "type": "string",
- "nullable": true
- },
- {
- "type": "integer",
- "nullable": true
- },
- {
- "type": "array",
- "nullable": true,
- "items": {
- "type": "string"
- }
- }
- ]
- }
- }
- }
- }
- }
- }
- }
- }
+ "description": "Validation failed, an attempt was made to delete the default branch, or the endpoint has been spammed."
},
"409": {
"description": "Conflict",
diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml
index 4abf0ec91..b2cef57f9 100644
--- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml
+++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml
@@ -6982,6 +6982,8 @@ paths:
enum:
- enabled
- disabled
+ - code_security
+ - secret_protection
dependency_graph:
type: string
description: The enablement status of Dependency Graph
@@ -7254,10 +7256,14 @@ paths:
maxLength: 255
advanced_security:
type: string
- description: The enablement status of GitHub Advanced Security
+ description: The enablement status of GitHub Advanced Security features.
+ `enabled` will enable both Code Security and Secret Protection
+ features.
enum:
- enabled
- disabled
+ - code_security
+ - secret_protection
default: disabled
dependency_graph:
type: string
@@ -7637,11 +7643,14 @@ paths:
maxLength: 255
advanced_security:
type: string
- description: The enablement status of GitHub Advanced Security.
- Must be set to enabled if you want to enable any GHAS settings.
+ description: The enablement status of GitHub Advanced Security features.
+ `enabled` will enable both Code Security and Secret Protection
+ features.
enum:
- enabled
- disabled
+ - code_security
+ - secret_protection
dependency_graph:
type: string
description: The enablement status of Dependency Graph
@@ -21850,10 +21859,14 @@ paths:
maxLength: 255
advanced_security:
type: string
- description: The enablement status of GitHub Advanced Security
+ description: The enablement status of GitHub Advanced Security features.
+ `enabled` will enable both Code Security and Secret Protection
+ features.
enum:
- enabled
- disabled
+ - code_security
+ - secret_protection
default: disabled
dependency_graph:
type: string
@@ -22189,10 +22202,14 @@ paths:
maxLength: 255
advanced_security:
type: string
- description: The enablement status of GitHub Advanced Security
+ description: The enablement status of GitHub Advanced Security features.
+ `enabled` will enable both Code Security and Secret Protection
+ features.
enum:
- enabled
- disabled
+ - code_security
+ - secret_protection
dependency_graph:
type: string
description: The enablement status of Dependency Graph
@@ -24156,7 +24173,13 @@ paths:
for a user, team, or organization.
type: object
properties:
- assignee: *4
+ assignee:
+ title: Simple User
+ description: A GitHub user.
+ type: object
+ properties: *20
+ required: *21
+ nullable: true
organization:
title: Organization Simple
description: A GitHub organization.
@@ -24260,7 +24283,6 @@ paths:
- enterprise
- unknown
required:
- - assignee
- created_at
additionalProperties: false
examples:
@@ -67620,7 +67642,9 @@ paths:
responses:
'204':
description: Response
- '422': *15
+ '422':
+ description: Validation failed, an attempt was made to delete the default
+ branch, or the endpoint has been spammed.
'409': *46
x-github:
githubCloudOnly: false
diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.deref.json
index f14ec9647..5838daccd 100644
--- a/descriptions/api.github.com/dereferenced/api.github.com.deref.json
+++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.json
@@ -16240,7 +16240,9 @@
"description": "The enablement status of GitHub Advanced Security",
"enum": [
"enabled",
- "disabled"
+ "disabled",
+ "code_security",
+ "secret_protection"
]
},
"dependency_graph": {
@@ -16629,10 +16631,12 @@
},
"advanced_security": {
"type": "string",
- "description": "The enablement status of GitHub Advanced Security",
+ "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.",
"enum": [
"enabled",
- "disabled"
+ "disabled",
+ "code_security",
+ "secret_protection"
],
"default": "disabled"
},
@@ -16864,7 +16868,9 @@
"description": "The enablement status of GitHub Advanced Security",
"enum": [
"enabled",
- "disabled"
+ "disabled",
+ "code_security",
+ "secret_protection"
]
},
"dependency_graph": {
@@ -17313,7 +17319,9 @@
"description": "The enablement status of GitHub Advanced Security",
"enum": [
"enabled",
- "disabled"
+ "disabled",
+ "code_security",
+ "secret_protection"
]
},
"dependency_graph": {
@@ -17695,7 +17703,9 @@
"description": "The enablement status of GitHub Advanced Security",
"enum": [
"enabled",
- "disabled"
+ "disabled",
+ "code_security",
+ "secret_protection"
]
},
"dependency_graph": {
@@ -18064,10 +18074,12 @@
},
"advanced_security": {
"type": "string",
- "description": "The enablement status of GitHub Advanced Security. Must be set to enabled if you want to enable any GHAS settings.",
+ "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.",
"enum": [
"enabled",
- "disabled"
+ "disabled",
+ "code_security",
+ "secret_protection"
]
},
"dependency_graph": {
@@ -18279,7 +18291,9 @@
"description": "The enablement status of GitHub Advanced Security",
"enum": [
"enabled",
- "disabled"
+ "disabled",
+ "code_security",
+ "secret_protection"
]
},
"dependency_graph": {
@@ -19083,7 +19097,9 @@
"description": "The enablement status of GitHub Advanced Security",
"enum": [
"enabled",
- "disabled"
+ "disabled",
+ "code_security",
+ "secret_protection"
]
},
"dependency_graph": {
@@ -69246,7 +69262,9 @@
"description": "The enablement status of GitHub Advanced Security",
"enum": [
"enabled",
- "disabled"
+ "disabled",
+ "code_security",
+ "secret_protection"
]
},
"dependency_graph": {
@@ -69642,10 +69660,12 @@
},
"advanced_security": {
"type": "string",
- "description": "The enablement status of GitHub Advanced Security",
+ "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.",
"enum": [
"enabled",
- "disabled"
+ "disabled",
+ "code_security",
+ "secret_protection"
],
"default": "disabled"
},
@@ -69917,7 +69937,9 @@
"description": "The enablement status of GitHub Advanced Security",
"enum": [
"enabled",
- "disabled"
+ "disabled",
+ "code_security",
+ "secret_protection"
]
},
"dependency_graph": {
@@ -70258,7 +70280,9 @@
"description": "The enablement status of GitHub Advanced Security",
"enum": [
"enabled",
- "disabled"
+ "disabled",
+ "code_security",
+ "secret_protection"
]
},
"dependency_graph": {
@@ -70901,7 +70925,9 @@
"description": "The enablement status of GitHub Advanced Security",
"enum": [
"enabled",
- "disabled"
+ "disabled",
+ "code_security",
+ "secret_protection"
]
},
"dependency_graph": {
@@ -71274,10 +71300,12 @@
},
"advanced_security": {
"type": "string",
- "description": "The enablement status of GitHub Advanced Security",
+ "description": "The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features.",
"enum": [
"enabled",
- "disabled"
+ "disabled",
+ "code_security",
+ "secret_protection"
]
},
"dependency_graph": {
@@ -71527,7 +71555,9 @@
"description": "The enablement status of GitHub Advanced Security",
"enum": [
"enabled",
- "disabled"
+ "disabled",
+ "code_security",
+ "secret_protection"
]
},
"dependency_graph": {
@@ -72194,7 +72224,9 @@
"description": "The enablement status of GitHub Advanced Security",
"enum": [
"enabled",
- "disabled"
+ "disabled",
+ "code_security",
+ "secret_protection"
]
},
"dependency_graph": {
@@ -77952,7 +77984,8 @@
"subscriptions_url",
"type",
"url"
- ]
+ ],
+ "nullable": true
},
"organization": {
"title": "Organization Simple",
@@ -78307,7 +78340,6 @@
}
},
"required": [
- "assignee",
"created_at"
],
"additionalProperties": false
@@ -102010,7 +102042,8 @@
"subscriptions_url",
"type",
"url"
- ]
+ ],
+ "nullable": true
},
"organization": {
"title": "Organization Simple",
@@ -102365,7 +102398,6 @@
}
},
"required": [
- "assignee",
"created_at"
],
"additionalProperties": false
@@ -232563,7 +232595,9 @@
"description": "The enablement status of GitHub Advanced Security",
"enum": [
"enabled",
- "disabled"
+ "disabled",
+ "code_security",
+ "secret_protection"
]
},
"dependency_graph": {
@@ -283071,73 +283105,7 @@
"description": "Response"
},
"422": {
- "description": "Validation failed, or the endpoint has been spammed.",
- "content": {
- "application/json": {
- "schema": {
- "title": "Validation Error",
- "description": "Validation Error",
- "type": "object",
- "required": [
- "message",
- "documentation_url"
- ],
- "properties": {
- "message": {
- "type": "string"
- },
- "documentation_url": {
- "type": "string"
- },
- "errors": {
- "type": "array",
- "items": {
- "type": "object",
- "required": [
- "code"
- ],
- "properties": {
- "resource": {
- "type": "string"
- },
- "field": {
- "type": "string"
- },
- "message": {
- "type": "string"
- },
- "code": {
- "type": "string"
- },
- "index": {
- "type": "integer"
- },
- "value": {
- "oneOf": [
- {
- "type": "string",
- "nullable": true
- },
- {
- "type": "integer",
- "nullable": true
- },
- {
- "type": "array",
- "nullable": true,
- "items": {
- "type": "string"
- }
- }
- ]
- }
- }
- }
- }
- }
- }
- }
- }
+ "description": "Validation failed, an attempt was made to delete the default branch, or the endpoint has been spammed."
},
"409": {
"description": "Conflict",
diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml
index 4abf0ec91..b2cef57f9 100644
--- a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml
+++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml
@@ -6982,6 +6982,8 @@ paths:
enum:
- enabled
- disabled
+ - code_security
+ - secret_protection
dependency_graph:
type: string
description: The enablement status of Dependency Graph
@@ -7254,10 +7256,14 @@ paths:
maxLength: 255
advanced_security:
type: string
- description: The enablement status of GitHub Advanced Security
+ description: The enablement status of GitHub Advanced Security features.
+ `enabled` will enable both Code Security and Secret Protection
+ features.
enum:
- enabled
- disabled
+ - code_security
+ - secret_protection
default: disabled
dependency_graph:
type: string
@@ -7637,11 +7643,14 @@ paths:
maxLength: 255
advanced_security:
type: string
- description: The enablement status of GitHub Advanced Security.
- Must be set to enabled if you want to enable any GHAS settings.
+ description: The enablement status of GitHub Advanced Security features.
+ `enabled` will enable both Code Security and Secret Protection
+ features.
enum:
- enabled
- disabled
+ - code_security
+ - secret_protection
dependency_graph:
type: string
description: The enablement status of Dependency Graph
@@ -21850,10 +21859,14 @@ paths:
maxLength: 255
advanced_security:
type: string
- description: The enablement status of GitHub Advanced Security
+ description: The enablement status of GitHub Advanced Security features.
+ `enabled` will enable both Code Security and Secret Protection
+ features.
enum:
- enabled
- disabled
+ - code_security
+ - secret_protection
default: disabled
dependency_graph:
type: string
@@ -22189,10 +22202,14 @@ paths:
maxLength: 255
advanced_security:
type: string
- description: The enablement status of GitHub Advanced Security
+ description: The enablement status of GitHub Advanced Security features.
+ `enabled` will enable both Code Security and Secret Protection
+ features.
enum:
- enabled
- disabled
+ - code_security
+ - secret_protection
dependency_graph:
type: string
description: The enablement status of Dependency Graph
@@ -24156,7 +24173,13 @@ paths:
for a user, team, or organization.
type: object
properties:
- assignee: *4
+ assignee:
+ title: Simple User
+ description: A GitHub user.
+ type: object
+ properties: *20
+ required: *21
+ nullable: true
organization:
title: Organization Simple
description: A GitHub organization.
@@ -24260,7 +24283,6 @@ paths:
- enterprise
- unknown
required:
- - assignee
- created_at
additionalProperties: false
examples:
@@ -67620,7 +67642,9 @@ paths:
responses:
'204':
description: Response
- '422': *15
+ '422':
+ description: Validation failed, an attempt was made to delete the default
+ branch, or the endpoint has been spammed.
'409': *46
x-github:
githubCloudOnly: false