summaryrefslogtreecommitdiffstats
path: root/descriptions/ghec
diff options
context:
space:
mode:
authorgithub-openapi-bot <security+github-openapi-bot@github.com>2025-04-29 08:21:27 -0700
committergithub-openapi-bot <security+github-openapi-bot@github.com>2025-04-29 08:21:27 -0700
commitc131512920c2744d37fcc0ca226111b80c950b91 (patch)
tree995993198c02f76d2014ed51aaa63c729d4cf9de /descriptions/ghec
parentada15ab229373c1d7dd3b29858c5c255fd1c3ceb (diff)
downloadrest-api-description-c131512920c2744d37fcc0ca226111b80c950b91.tar.gz
rest-api-description-c131512920c2744d37fcc0ca226111b80c950b91.zip
Update OpenAPI 3.0 Descriptions
Diffstat (limited to 'descriptions/ghec')
-rw-r--r--descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json131
-rw-r--r--descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml1655
-rw-r--r--descriptions/ghec/dereferenced/ghec.deref.json131
-rw-r--r--descriptions/ghec/dereferenced/ghec.deref.yaml1655
-rw-r--r--descriptions/ghec/ghec.2022-11-28.json89
-rw-r--r--descriptions/ghec/ghec.2022-11-28.yaml72
-rw-r--r--descriptions/ghec/ghec.json89
-rw-r--r--descriptions/ghec/ghec.yaml72
8 files changed, 2264 insertions, 1630 deletions
diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json
index 32c5c95e2..0dc92af14 100644
--- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json
+++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json
@@ -199,6 +199,10 @@
{
"name": "campaigns",
"description": "Endpoints to manage campaigns via the REST API."
+ },
+ {
+ "name": "credentials",
+ "description": "Revoke compromised or leaked GitHub credentials."
}
],
"servers": [
@@ -14248,6 +14252,133 @@
}
}
},
+ "/credentials/revoke": {
+ "post": {
+ "summary": "Revoke a list of credentials",
+ "description": "Submit a list of credentials to be revoked. This endpoint is intended to revoke credentials the caller does not own and may have found exposed on GitHub.com or elsewhere. It can also be used for credentials associated with an old user account that you no longer have access to. Credential owners will be notified of the revocation.\n\nThis endpoint currently accepts the following credential types:\n- Personal access tokens (classic)\n- Fine-grained personal access tokens\n\nRevoked credentials may impact users on GitHub Free, Pro, & Team and GitHub Enterprise Cloud, and GitHub Enterprise Cloud with Enterprise Managed Users.\nGitHub cannot reactivate any credentials that have been revoked; new credentials will need to be generated.\n\nTo prevent abuse, this API is limited to only 60 unauthenticated requests per hour and a max of 1000 tokens per API request.\n\n> [!NOTE]\n> Any authenticated requests will return a 403.",
+ "tags": [
+ "credentials"
+ ],
+ "operationId": "credentials/revoke",
+ "externalDocs": {
+ "description": "API method documentation",
+ "url": "https://docs.github.com/enterprise-cloud@latest//rest/credentials/revoke#revoke-a-list-of-credentials"
+ },
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "credentials": {
+ "type": "array",
+ "description": "A list of credentials to be revoked, up to 1000 per request.",
+ "items": {
+ "type": "string"
+ },
+ "minItems": 1,
+ "maxItems": 1000
+ }
+ },
+ "required": [
+ "credentials"
+ ]
+ },
+ "examples": {
+ "default": {
+ "value": {
+ "credentials": [
+ "ghp_1234567890abcdef1234567890abcdef12345678",
+ "ghp_abcdef1234567890abcdef1234567890abcdef12"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "202": {
+ "description": "Accepted",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ },
+ "examples": {
+ "default": {
+ "value": null
+ }
+ }
+ }
+ }
+ },
+ "422": {
+ "description": "Validation failed, or the endpoint has been spammed.",
+ "content": {
+ "application/json": {
+ "schema": {
+ "title": "Validation Error Simple",
+ "description": "Validation Error Simple",
+ "type": "object",
+ "required": [
+ "message",
+ "documentation_url"
+ ],
+ "properties": {
+ "message": {
+ "type": "string"
+ },
+ "documentation_url": {
+ "type": "string"
+ },
+ "errors": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "500": {
+ "description": "Internal Error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "title": "Basic Error",
+ "description": "Basic Error",
+ "type": "object",
+ "properties": {
+ "message": {
+ "type": "string"
+ },
+ "documentation_url": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "status": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "x-github": {
+ "githubCloudOnly": false,
+ "enabledForGitHubApps": false,
+ "category": "credentials",
+ "subcategory": "revoke"
+ }
+ }
+ },
"/emojis": {
"get": {
"summary": "Get emojis",
diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml
index 6be06d22e..6bb44bd49 100644
--- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml
+++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml
@@ -105,6 +105,8 @@ tags:
description: Manage hosted compute networking resources.
- name: campaigns
description: Endpoints to manage campaigns via the REST API.
+- name: credentials
+ description: Revoke compromised or leaked GitHub credentials.
servers:
- url: https://api.github.com
externalDocs:
@@ -440,7 +442,7 @@ paths:
The EPSS percentile represents the relative rank of the CVE's likelihood of being exploited compared to other CVEs.
schema:
type: string
- - &84
+ - &86
name: before
description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers).
If specified, the query only searches for results before this cursor. For
@@ -449,7 +451,7 @@ paths:
required: false
schema:
type: string
- - &85
+ - &87
name: after
description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers).
If specified, the query only searches for results after this cursor. For
@@ -458,7 +460,7 @@ paths:
required: false
schema:
type: string
- - &86
+ - &88
name: direction
description: The direction to sort the results by.
in: query
@@ -1984,7 +1986,7 @@ paths:
parameters:
- *16
responses:
- '202': &95
+ '202': &39
description: Accepted
content:
application/json:
@@ -2658,7 +2660,7 @@ paths:
suspended_at:
suspended_by:
headers:
- Link: &39
+ Link: &40
example: <https://api.github.com/resource?page=2>; rel="next", <https://api.github.com/resource?page=5>;
rel="last"
schema:
@@ -2847,7 +2849,7 @@ paths:
- selected
repositories:
type: array
- items: &63
+ items: &64
title: Repository
description: A repository on GitHub.
type: object
@@ -5018,6 +5020,65 @@ paths:
enabledForGitHubApps: true
category: codes-of-conduct
subcategory: codes-of-conduct
+ "/credentials/revoke":
+ post:
+ summary: Revoke a list of credentials
+ description: |-
+ Submit a list of credentials to be revoked. This endpoint is intended to revoke credentials the caller does not own and may have found exposed on GitHub.com or elsewhere. It can also be used for credentials associated with an old user account that you no longer have access to. Credential owners will be notified of the revocation.
+
+ This endpoint currently accepts the following credential types:
+ - Personal access tokens (classic)
+ - Fine-grained personal access tokens
+
+ Revoked credentials may impact users on GitHub Free, Pro, & Team and GitHub Enterprise Cloud, and GitHub Enterprise Cloud with Enterprise Managed Users.
+ GitHub cannot reactivate any credentials that have been revoked; new credentials will need to be generated.
+
+ To prevent abuse, this API is limited to only 60 unauthenticated requests per hour and a max of 1000 tokens per API request.
+
+ > [!NOTE]
+ > Any authenticated requests will return a 403.
+ tags:
+ - credentials
+ operationId: credentials/revoke
+ externalDocs:
+ description: API method documentation
+ url: https://docs.github.com/enterprise-cloud@latest//rest/credentials/revoke#revoke-a-list-of-credentials
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ type: object
+ properties:
+ credentials:
+ type: array
+ description: A list of credentials to be revoked, up to 1000 per
+ request.
+ items:
+ type: string
+ minItems: 1
+ maxItems: 1000
+ required:
+ - credentials
+ examples:
+ default:
+ value:
+ credentials:
+ - ghp_1234567890abcdef1234567890abcdef12345678
+ - ghp_abcdef1234567890abcdef1234567890abcdef12
+ responses:
+ '202': *39
+ '422': *7
+ '500': &85
+ description: Internal Error
+ content:
+ application/json:
+ schema: *3
+ x-github:
+ githubCloudOnly: false
+ enabledForGitHubApps: false
+ category: credentials
+ subcategory: revoke
"/emojis":
get:
summary: Get emojis
@@ -7281,7 +7342,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-usage-for-an-enterprise
parameters:
- - &40
+ - &41
name: enterprise
description: The slug version of the enterprise name. You can also substitute
this value with the enterprise id.
@@ -7314,7 +7375,7 @@ paths:
total_active_caches_size_in_bytes: 3344284
total_active_caches_count: 5
headers:
- Link: *39
+ Link: *40
x-github:
enabledForGitHubApps: false
githubCloudOnly: true
@@ -7334,7 +7395,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#list-github-hosted-runners-for-an-enterprise
parameters:
- - *40
+ - *41
- *17
- *19
responses:
@@ -7352,7 +7413,7 @@ paths:
type: integer
runners:
type: array
- items: &41
+ items: &42
title: GitHub-hosted hosted runner
description: A Github-hosted hosted runner.
type: object
@@ -7402,7 +7463,7 @@ paths:
- source
- version
nullable: true
- machine_size_details: &44
+ machine_size_details: &45
title: Github-owned VM details.
description: Provides details of a particular machine spec.
type: object
@@ -7536,7 +7597,7 @@ paths:
public_ips: []
last_active_on: '2023-04-26T15:23:37Z'
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: true
enabledForGitHubApps: false
@@ -7554,7 +7615,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#create-a-github-hosted-runner-for-an-enterprise
parameters:
- - *40
+ - *41
requestBody:
required: true
content:
@@ -7622,9 +7683,9 @@ paths:
description: Response
content:
application/json:
- schema: *41
+ schema: *42
examples:
- default: &45
+ default: &46
value:
id: 5
name: My hosted ubuntu runner
@@ -7663,7 +7724,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-github-owned-images-for-github-hosted-runners-in-an-enterprise
parameters:
- - *40
+ - *41
responses:
'200':
description: Response
@@ -7679,7 +7740,7 @@ paths:
type: integer
images:
type: array
- items: &42
+ items: &43
title: GitHub-hosted runner image details.
description: Provides details of a hosted runner image
type: object
@@ -7715,7 +7776,7 @@ paths:
- display_name
- source
examples:
- default: &43
+ default: &44
value:
id: ubuntu-20.04
platform: linux-x64
@@ -7739,7 +7800,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-partner-images-for-github-hosted-runners-in-an-enterprise
parameters:
- - *40
+ - *41
responses:
'200':
description: Response
@@ -7755,9 +7816,9 @@ paths:
type: integer
images:
type: array
- items: *42
+ items: *43
examples:
- default: *43
+ default: *44
x-github:
githubCloudOnly: true
enabledForGitHubApps: false
@@ -7774,7 +7835,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-limits-on-github-hosted-runners-for-an-enterprise
parameters:
- - *40
+ - *41
responses:
'200':
description: Response
@@ -7827,7 +7888,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-github-hosted-runners-machine-specs-for-an-enterprise
parameters:
- - *40
+ - *41
responses:
'200':
description: Response
@@ -7843,7 +7904,7 @@ paths:
type: integer
machine_specs:
type: array
- items: *44
+ items: *45
examples:
default: &186
value:
@@ -7868,7 +7929,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-platforms-for-github-hosted-runners-in-an-enterprise
parameters:
- - *40
+ - *41
responses:
'200':
description: Response
@@ -7912,8 +7973,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-enterprise
parameters:
- - *40
- - &46
+ - *41
+ - &47
name: hosted_runner_id
description: Unique identifier of the GitHub-hosted runner.
in: path
@@ -7925,11 +7986,11 @@ paths:
description: Response
content:
application/json:
- schema: *41
+ schema: *42
examples:
- default: *45
+ default: *46
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: true
enabledForGitHubApps: true
@@ -7947,8 +8008,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-enterprise
parameters:
- - *40
- - *46
+ - *41
+ - *47
requestBody:
required: true
content:
@@ -7986,9 +8047,9 @@ paths:
description: Response
content:
application/json:
- schema: *41
+ schema: *42
examples:
- default: *45
+ default: *46
x-github:
enabledForGitHubApps: false
githubCloudOnly: true
@@ -8004,16 +8065,16 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-enterprise
parameters:
- - *40
- - *46
+ - *41
+ - *47
responses:
'202':
description: Response
content:
application/json:
- schema: *41
+ schema: *42
examples:
- default: *45
+ default: *46
x-github:
githubCloudOnly: true
enabledForGitHubApps: false
@@ -8033,7 +8094,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#set-the-github-actions-oidc-custom-issuer-policy-for-an-enterprise
parameters:
- - *40
+ - *41
responses:
'204':
description: Response
@@ -8072,7 +8133,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-github-actions-permissions-for-an-enterprise
parameters:
- - *40
+ - *41
responses:
'200':
description: Response
@@ -8081,7 +8142,7 @@ paths:
schema:
type: object
properties:
- enabled_organizations: &47
+ enabled_organizations: &48
type: string
description: The policy that controls the organizations in the
enterprise that are allowed to run GitHub Actions.
@@ -8094,7 +8155,7 @@ paths:
description: The API URL to use to get or set the selected organizations
that are allowed to run GitHub Actions, when `enabled_organizations`
is set to `selected`.
- allowed_actions: &48
+ allowed_actions: &49
type: string
description: The permissions policy that controls the actions
and reusable workflows that are allowed to run.
@@ -8133,7 +8194,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-github-actions-permissions-for-an-enterprise
parameters:
- - *40
+ - *41
responses:
'204':
description: Response
@@ -8144,8 +8205,8 @@ paths:
schema:
type: object
properties:
- enabled_organizations: *47
- allowed_actions: *48
+ enabled_organizations: *48
+ allowed_actions: *49
required:
- enabled_organizations
examples:
@@ -8172,7 +8233,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#list-selected-organizations-enabled-for-github-actions-in-an-enterprise
parameters:
- - *40
+ - *41
- *17
- *19
responses:
@@ -8187,11 +8248,11 @@ paths:
type: number
organizations:
type: array
- items: &58
+ items: &59
title: Organization Simple
description: A GitHub organization.
type: object
- properties: &97
+ properties: &98
login:
type: string
example: github
@@ -8232,7 +8293,7 @@ paths:
type: string
example: A great organization
nullable: true
- required: &98
+ required: &99
- login
- url
- id
@@ -8249,7 +8310,7 @@ paths:
- total_count
- organizations
examples:
- default: &59
+ default: &60
value:
total_count: 1
organizations:
@@ -8283,7 +8344,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-selected-organizations-enabled-for-github-actions-in-an-enterprise
parameters:
- - *40
+ - *41
responses:
'204':
description: Response
@@ -8327,8 +8388,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#enable-a-selected-organization-for-github-actions-in-an-enterprise
parameters:
- - *40
- - &49
+ - *41
+ - &50
name: org_id
description: The unique identifier of the organization.
in: path
@@ -8356,8 +8417,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#disable-a-selected-organization-for-github-actions-in-an-enterprise
parameters:
- - *40
- - *49
+ - *41
+ - *50
responses:
'204':
description: Response
@@ -8380,13 +8441,13 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-enterprise
parameters:
- - *40
+ - *41
responses:
'200':
description: Response
content:
application/json:
- schema: &50
+ schema: &51
type: object
properties:
github_owned_allowed:
@@ -8407,7 +8468,7 @@ paths:
items:
type: string
examples:
- default: &51
+ default: &52
value:
github_owned_allowed: true
verified_allowed: false
@@ -8432,7 +8493,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-enterprise
parameters:
- - *40
+ - *41
responses:
'204':
description: Response
@@ -8440,9 +8501,9 @@ paths:
required: true
content:
application/json:
- schema: *50
+ schema: *51
examples:
- selected_actions: *51
+ selected_actions: *52
x-github:
enabledForGitHubApps: false
githubCloudOnly: true
@@ -8464,7 +8525,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-default-workflow-permissions-for-an-enterprise
parameters:
- - *40
+ - *41
responses:
'200':
description: Success response
@@ -8473,14 +8534,14 @@ paths:
schema: &192
type: object
properties:
- default_workflow_permissions: &52
+ default_workflow_permissions: &53
type: string
description: The default workflow permissions granted to the GITHUB_TOKEN
when running workflows.
enum:
- read
- write
- can_approve_pull_request_reviews: &53
+ can_approve_pull_request_reviews: &54
type: boolean
description: Whether GitHub Actions can approve pull requests.
Enabling this can be a security risk.
@@ -8488,7 +8549,7 @@ paths:
- default_workflow_permissions
- can_approve_pull_request_reviews
examples:
- default: &54
+ default: &55
summary: Give read-only permission, and allow approving PRs.
value:
default_workflow_permissions: read
@@ -8513,7 +8574,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-default-workflow-permissions-for-an-enterprise
parameters:
- - *40
+ - *41
requestBody:
required: true
content:
@@ -8521,10 +8582,10 @@ paths:
schema: &193
type: object
properties:
- default_workflow_permissions: *52
- can_approve_pull_request_reviews: *53
+ default_workflow_permissions: *53
+ can_approve_pull_request_reviews: *54
examples:
- default: *54
+ default: *55
responses:
'204':
description: Success response
@@ -8547,7 +8608,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-self-hosted-runner-groups-for-an-enterprise
parameters:
- - *40
+ - *41
- *17
- *19
- name: visible_to_organization
@@ -8569,7 +8630,7 @@ paths:
type: number
runner_groups:
type: array
- items: &55
+ items: &56
type: object
properties:
id:
@@ -8677,7 +8738,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-enterprise
parameters:
- - *40
+ - *41
requestBody:
required: true
content:
@@ -8748,9 +8809,9 @@ paths:
description: Response
content:
application/json:
- schema: *55
+ schema: *56
examples:
- default: &56
+ default: &57
value:
id: 2
name: octo-runner-group
@@ -8784,8 +8845,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-enterprise
parameters:
- - *40
- - &57
+ - *41
+ - &58
name: runner_group_id
description: Unique identifier of the self-hosted runner group.
in: path
@@ -8797,9 +8858,9 @@ paths:
description: Response
content:
application/json:
- schema: *55
+ schema: *56
examples:
- default: *56
+ default: *57
x-github:
enabledForGitHubApps: false
githubCloudOnly: true
@@ -8818,8 +8879,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-enterprise
parameters:
- - *40
- - *57
+ - *41
+ - *58
requestBody:
required: false
content:
@@ -8871,7 +8932,7 @@ paths:
description: Response
content:
application/json:
- schema: *55
+ schema: *56
examples:
default:
value:
@@ -8906,8 +8967,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-enterprise
parameters:
- - *40
- - *57
+ - *41
+ - *58
responses:
'204':
description: Response
@@ -8930,8 +8991,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-organization-access-to-a-self-hosted-runner-group-in-an-enterprise
parameters:
- - *40
- - *57
+ - *41
+ - *58
- *17
- *19
responses:
@@ -8946,12 +9007,12 @@ paths:
type: number
organizations:
type: array
- items: *58
+ items: *59
required:
- total_count
- organizations
examples:
- default: *59
+ default: *60
x-github:
enabledForGitHubApps: false
githubCloudOnly: true
@@ -8970,8 +9031,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#set-organization-access-for-a-self-hosted-runner-group-in-an-enterprise
parameters:
- - *40
- - *57
+ - *41
+ - *58
requestBody:
required: true
content:
@@ -9016,9 +9077,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#add-organization-access-to-a-self-hosted-runner-group-in-an-enterprise
parameters:
- - *40
- - *57
- - *49
+ - *41
+ - *58
+ - *50
responses:
'204':
description: Response
@@ -9040,9 +9101,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#remove-organization-access-to-a-self-hosted-runner-group-in-an-enterprise
parameters:
- - *40
- - *57
- - *49
+ - *41
+ - *58
+ - *50
responses:
'204':
description: Response
@@ -9065,8 +9126,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-enterprise
parameters:
- - *40
- - *57
+ - *41
+ - *58
- *17
- *19
responses:
@@ -9081,7 +9142,7 @@ paths:
type: number
runners:
type: array
- items: &61
+ items: &62
title: Self hosted runners
description: A self hosted runner
type: object
@@ -9110,7 +9171,7 @@ paths:
type: boolean
labels:
type: array
- items: &65
+ items: &66
title: Self hosted runner label
description: A label for a self hosted runner
type: object
@@ -9143,7 +9204,7 @@ paths:
- total_count
- runners
examples:
- default: &62
+ default: &63
value:
total_count: 2
runners:
@@ -9183,7 +9244,7 @@ paths:
name: no-gpu
type: custom
headers:
- Link: *39
+ Link: *40
x-github:
enabledForGitHubApps: false
githubCloudOnly: true
@@ -9202,8 +9263,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-enterprise
parameters:
- - *40
- - *57
+ - *41
+ - *58
requestBody:
required: true
content:
@@ -9247,9 +9308,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-enterprise
parameters:
- - *40
- - *57
- - &60
+ - *41
+ - *58
+ - &61
name: runner_id
description: Unique identifier of the self-hosted runner.
in: path
@@ -9277,9 +9338,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-enterprise
parameters:
- - *40
- - *57
- - *60
+ - *41
+ - *58
+ - *61
responses:
'204':
description: Response
@@ -9307,7 +9368,7 @@ paths:
in: query
schema:
type: string
- - *40
+ - *41
- *17
- *19
responses:
@@ -9322,11 +9383,11 @@ paths:
type: number
runners:
type: array
- items: *61
+ items: *62
examples:
- default: *62
+ default: *63
headers:
- Link: *39
+ Link: *40
x-github:
enabledForGitHubApps: false
githubCloudOnly: true
@@ -9346,7 +9407,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-runner-applications-for-an-enterprise
parameters:
- - *40
+ - *41
responses:
'200':
description: Response
@@ -9420,7 +9481,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-an-enterprise
parameters:
- - *40
+ - *41
requestBody:
required: true
content:
@@ -9473,7 +9534,7 @@ paths:
- runner
- encoded_jit_config
properties:
- runner: *61
+ runner: *62
encoded_jit_config:
type: string
description: The base64 encoded runner configuration.
@@ -9502,7 +9563,7 @@ paths:
encoded_jit_config: abc123
'404': *6
'422': *7
- '409': &94
+ '409': &96
description: Conflict
content:
application/json:
@@ -9534,13 +9595,13 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-registration-token-for-an-enterprise
parameters:
- - *40
+ - *41
responses:
'201':
description: Response
content:
application/json:
- schema: &64
+ schema: &65
title: Authentication Token
description: Authentication Token
type: object
@@ -9562,7 +9623,7 @@ paths:
repositories:
description: The repositories this token has access to
type: array
- items: *63
+ items: *64
single_file:
type: string
example: config.yaml
@@ -9610,13 +9671,13 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-remove-token-for-an-enterprise
parameters:
- - *40
+ - *41
responses:
'201':
description: Response
content:
application/json:
- schema: *64
+ schema: *65
examples:
default: &201
value:
@@ -9641,14 +9702,14 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-enterprise
parameters:
- - *40
- - *60
+ - *41
+ - *61
responses:
'200':
description: Response
content:
application/json:
- schema: *61
+ schema: *62
examples:
default: &202
value:
@@ -9689,8 +9750,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-enterprise
parameters:
- - *40
- - *60
+ - *41
+ - *61
responses:
'204':
description: Response
@@ -9713,10 +9774,10 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-enterprise
parameters:
- - *40
- - *60
+ - *41
+ - *61
responses:
- '200': &66
+ '200': &67
description: Response
content:
application/json:
@@ -9730,7 +9791,7 @@ paths:
type: integer
labels:
type: array
- items: *65
+ items: *66
examples:
default:
value:
@@ -9767,8 +9828,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-an-enterprise
parameters:
- - *40
- - *60
+ - *41
+ - *61
requestBody:
required: true
content:
@@ -9792,7 +9853,7 @@ paths:
- gpu
- accelerated
responses:
- '200': *66
+ '200': *67
'404': *6
'422': *7
x-github:
@@ -9814,8 +9875,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-enterprise
parameters:
- - *40
- - *60
+ - *41
+ - *61
requestBody:
required: true
content:
@@ -9840,7 +9901,7 @@ paths:
- gpu
- accelerated
responses:
- '200': *66
+ '200': *67
'404': *6
'422': *7
x-github:
@@ -9862,8 +9923,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-an-enterprise
parameters:
- - *40
- - *60
+ - *41
+ - *61
responses:
'200': &203
description: Response
@@ -9879,7 +9940,7 @@ paths:
type: integer
labels:
type: array
- items: *65
+ items: *66
examples:
default:
value:
@@ -9919,8 +9980,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-an-enterprise
parameters:
- - *40
- - *60
+ - *41
+ - *61
- &204
name: name
description: The name of a self-hosted runner's custom label.
@@ -9929,7 +9990,7 @@ paths:
schema:
type: string
responses:
- '200': *66
+ '200': *67
'404': *6
'422': *7
x-github:
@@ -9948,26 +10009,26 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/enterprises#get-announcement-banner-for-enterprise
parameters:
- - *40
+ - *41
responses:
'200':
description: Response
content:
application/json:
- schema: &71
+ schema: &72
title: Announcement Banner
description: Announcement at either the repository, organization,
or enterprise level
type: object
properties:
- announcement: &67
+ announcement: &68
type: string
description: The announcement text in GitHub Flavored Markdown.
For more information about GitHub Flavored Markdown, see "[Basic
writing and formatting syntax](https://docs.github.com/enterprise-cloud@latest//github/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax)."
example: Very **important** announcement about _something_.
nullable: true
- expires_at: &68
+ expires_at: &69
type: string
format: date-time
description: 'The time at which the announcement expires. This
@@ -9977,7 +10038,7 @@ paths:
it to an empty string.'
example: '"2021-01-01T00:00:00.000-07:00"'
nullable: true
- user_dismissible: &69
+ user_dismissible: &70
type: boolean
description: Whether an announcement can be dismissed by the user.
example: false
@@ -9988,7 +10049,7 @@ paths:
- expires_at
- user_dismissible
examples:
- default: &70
+ default: &71
summary: Announcement banner
value:
announcement: Very **important** announcement about _something_.
@@ -10017,23 +10078,23 @@ paths:
description: Enterprise global announcement
type: object
properties:
- announcement: *67
- expires_at: *68
- user_dismissible: *69
+ announcement: *68
+ expires_at: *69
+ user_dismissible: *70
required:
- announcement
examples:
- default: *70
+ default: *71
parameters:
- - *40
+ - *41
responses:
'200':
description: Response
content:
application/json:
- schema: *71
+ schema: *72
examples:
- default: *70
+ default: *71
x-github:
githubCloudOnly: true
enabledForGitHubApps: false
@@ -10049,7 +10110,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/enterprises#remove-announcement-banner-from-enterprise
parameters:
- - *40
+ - *41
responses:
'204':
description: Response
@@ -10076,7 +10137,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#get-the-audit-log-for-an-enterprise
parameters:
- - *40
+ - *41
- name: phrase
description: A search phrase. For more information, see [Searching the audit
log](https://docs.github.com/enterprise-cloud@latest//admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/searching-the-audit-log-for-your-enterprise#searching-the-audit-log).
@@ -10305,7 +10366,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#get-the-audit-log-stream-key-for-encrypting-secrets
parameters:
- - *40
+ - *41
responses:
'200':
description: The stream key for the audit log streaming configuration was
@@ -10349,7 +10410,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#list-audit-log-stream-configurations-for-an-enterprise
parameters:
- - *40
+ - *41
responses:
'200':
description: OK
@@ -10415,7 +10476,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#create-an-audit-log-streaming-configuration-for-an-enterprise
parameters:
- - *40
+ - *41
requestBody:
required: true
content:
@@ -10441,7 +10502,7 @@ paths:
vendor_specific:
type: object
oneOf:
- - &75
+ - &76
title: AzureBlobConfig
description: Azure Blob Config for audit log streaming configuration.
type: object
@@ -10455,7 +10516,7 @@ paths:
required:
- key_id
- encrypted_sas_url
- - &76
+ - &77
title: AzureHubConfig
description: Azure Event Hubs Config for audit log streaming configuration.
type: object
@@ -10474,7 +10535,7 @@ paths:
- name
- encrypted_connstring
- key_id
- - &77
+ - &78
title: AmazonS3OIDCConfig
description: Amazon S3 OIDC Config for audit log streaming configuration.
type: object
@@ -10502,7 +10563,7 @@ paths:
- bucket
- key_id
- region
- - &78
+ - &79
title: AmazonS3AccessKeysConfig
description: Amazon S3 Access Keys Config for audit log streaming
configuration.
@@ -10536,7 +10597,7 @@ paths:
- encrypted_secret_key
- key_id
- region
- - &79
+ - &80
title: SplunkConfig
description: Splunk Config for Audit Log Stream Configuration
type: object
@@ -10564,7 +10625,7 @@ paths:
- key_id
- port
- ssl_verify
- - &80
+ - &81
title: HecConfig
description: Hec Config for Audit Log Stream Configuration
type: object
@@ -10596,7 +10657,7 @@ paths:
- key_id
- port
- ssl_verify
- - &81
+ - &82
title: GoogleCloudConfig
description: Google Cloud Config for audit log streaming configuration.
type: object
@@ -10614,7 +10675,7 @@ paths:
- bucket
- key_id
- encrypted_json_credentials
- - &82
+ - &83
title: DatadogConfig
description: Datadog Config for audit log streaming configuration.
type: object
@@ -10645,7 +10706,7 @@ paths:
- stream_type
- vendor_specific
examples:
- default: &83
+ default: &84
value:
enabled: false
stream_type: Azure Event Hubs
@@ -10659,7 +10720,7 @@ paths:
description: The audit log stream configuration was created successfully.
content:
application/json:
- schema: &72
+ schema: &73
title: Get an audit log streaming configuration
description: Get an audit log streaming configuration for an enterprise.
type: object
@@ -10690,7 +10751,7 @@ paths:
- created_at
- updated_at
examples:
- default: &73
+ default: &74
value:
id: 1
stream_type: Splunk
@@ -10718,8 +10779,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#list-one-audit-log-streaming-configuration-via-a-stream-id
parameters:
- - *40
- - &74
+ - *41
+ - &75
name: stream_id
description: The ID of the audit log stream configuration.
in: path
@@ -10731,9 +10792,9 @@ paths:
description: Lists one audit log stream configuration via stream ID.
content:
application/json:
- schema: *72
+ schema: *73
examples:
- default: *73
+ default: *74
x-github:
githubCloudOnly: true
enabledForGitHubApps: true
@@ -10752,8 +10813,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#update-an-existing-audit-log-stream-configuration
parameters:
- - *40
- - *74
+ - *41
+ - *75
requestBody:
required: true
content:
@@ -10779,7 +10840,6 @@ paths:
vendor_specific:
type: object
oneOf:
- - *75
- *76
- *77
- *78
@@ -10787,20 +10847,21 @@ paths:
- *80
- *81
- *82
+ - *83
required:
- enabled
- stream_type
- vendor_specific
examples:
- default: *83
+ default: *84
responses:
'200':
description: Successful update
content:
application/json:
- schema: *72
+ schema: *73
examples:
- default: *73
+ default: *74
'422':
description: Validation error
content:
@@ -10830,8 +10891,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#delete-an-audit-log-streaming-configuration-for-an-enterprise
parameters:
- - *40
- - *74
+ - *41
+ - *75
responses:
'204':
description: The audit log stream configuration was deleted successfully.
@@ -10857,7 +10918,7 @@ paths:
category: enterprise-admin
subcategory: bypass-requests
parameters:
- - *40
+ - *41
- name: organization_name
description: The name of the organization to filter on.
in: query
@@ -11152,11 +11213,7 @@ paths:
url: https://api.github.com/repos/octo-org/smile/bypass-requests/push-rules/2
html_url: https://github.com/octo-org/smile/exemptions/2
'404': *6
- '500': &99
- description: Internal Error
- content:
- application/json:
- schema: *3
+ '500': *85
"/enterprises/{enterprise}/code-scanning/alerts":
get:
summary: List code scanning alerts for an enterprise
@@ -11173,7 +11230,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise
parameters:
- - *40
+ - *41
- &231
name: tool_name
description: The name of a code scanning tool. Only results by this tool will
@@ -11181,7 +11238,7 @@ paths:
but not both.
in: query
required: false
- schema: &87
+ schema: &89
type: string
description: The name of the tool used to generate the code scanning analysis.
- &232
@@ -11192,16 +11249,16 @@ paths:
or `tool_name`, but not both.
in: query
required: false
- schema: &88
+ schema: &90
nullable: true
type: string
description: The GUID of the tool used to generate the code scanning analysis,
if provided in the uploaded SARIF data.
- - *84
- - *85
+ - *86
+ - *87
- *19
- *17
- - *86
+ - *88
- name: state
description: If specified, only code scanning alerts with this state will
be returned.
@@ -11267,7 +11324,7 @@ paths:
for an alert.
format: uri
readOnly: true
- state: &89
+ state: &91
type: string
description: State of a code scanning alert.
nullable: true
@@ -11367,13 +11424,13 @@ paths:
tool: &465
type: object
properties:
- name: *87
+ name: *89
version:
nullable: true
type: string
description: The version of the tool used to generate the
code scanning analysis.
- guid: *88
+ guid: *90
most_recent_instance: &466
type: object
properties:
@@ -11399,7 +11456,7 @@ paths:
analysis was executed. Used to distinguish between multiple
analyses for the same tool and commit, but performed on
different languages or different parts of the code.
- state: *89
+ state: *91
commit_sha:
type: string
message:
@@ -11438,7 +11495,7 @@ paths:
- generated
- test
- library
- repository: &96
+ repository: &97
title: Simple Repository
description: A GitHub repository.
type: object
@@ -11967,7 +12024,7 @@ paths:
trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}
hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks
headers:
- Link: *39
+ Link: *40
'404': *6
'503': &132
description: Service unavailable
@@ -12004,7 +12061,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-code-security-configurations-for-an-enterprise
parameters:
- - *40
+ - *41
- name: per_page
in: query
description: The number of results per page (max 100). For more information,
@@ -12013,8 +12070,8 @@ paths:
schema:
type: integer
default: 30
- - *84
- - *85
+ - *86
+ - *87
responses:
'200':
description: Response
@@ -12022,7 +12079,7 @@ paths:
application/json:
schema:
type: array
- items: &90
+ items: &92
type: object
description: A code security configuration
properties:
@@ -12304,7 +12361,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#create-a-code-security-configuration-for-an-enterprise
parameters:
- - *40
+ - *41
requestBody:
required: true
content:
@@ -12381,7 +12438,7 @@ paths:
- disabled
- not_set
default: disabled
- code_scanning_default_setup_options: &93
+ code_scanning_default_setup_options: &95
type: object
description: Feature options for code scanning default setup
nullable: true
@@ -12491,9 +12548,9 @@ paths:
description: Successfully created code security configuration
content:
application/json:
- schema: *90
+ schema: *92
examples:
- default: &91
+ default: &93
value:
id: 1325
target_type: enterprise
@@ -12545,7 +12602,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-default-code-security-configurations-for-an-enterprise
parameters:
- - *40
+ - *41
responses:
'200':
description: Response
@@ -12565,7 +12622,7 @@ paths:
description: The visibility of newly created repositories for
which the code security configuration will be applied to by
default
- configuration: *90
+ configuration: *92
examples:
default: &238
value:
@@ -12651,8 +12708,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#retrieve-a-code-security-configuration-of-an-enterprise
parameters:
- - *40
- - &92
+ - *41
+ - &94
name: configuration_id
description: The unique identifier of the code security configuration.
in: path
@@ -12664,9 +12721,9 @@ paths:
description: Response
content:
application/json:
- schema: *90
+ schema: *92
examples:
- default: *91
+ default: *93
'304': *37
'403': *29
'404': *6
@@ -12690,8 +12747,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#update-a-custom-code-security-configuration-for-an-enterprise
parameters:
- - *40
- - *92
+ - *41
+ - *94
requestBody:
required: true
content:
@@ -12761,7 +12818,7 @@ paths:
- enabled
- disabled
- not_set
- code_scanning_default_setup_options: *93
+ code_scanning_default_setup_options: *95
code_scanning_delegated_alert_dismissal:
type: string
description: The enablement status of code scanning delegated alert
@@ -12842,13 +12899,13 @@ paths:
description: Response
content:
application/json:
- schema: *90
+ schema: *92
examples:
- default: *91
+ default: *93
'304': *37
'403': *29
'404': *6
- '409': *94
+ '409': *96
x-github:
githubCloudOnly: false
enabledForGitHubApps: false
@@ -12871,15 +12928,15 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#delete-a-code-security-configuration-for-an-enterprise
parameters:
- - *40
- - *92
+ - *41
+ - *94
responses:
'204': &118
description: A header with no content is returned.
'400': *14
'403': *29
'404': *6
- '409': *94
+ '409': *96
x-github:
githubCloudOnly: false
enabledForGitHubApps: false
@@ -12903,8 +12960,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#attach-an-enterprise-configuration-to-repositories
parameters:
- - *40
- - *92
+ - *41
+ - *94
requestBody:
required: true
content:
@@ -12928,10 +12985,10 @@ paths:
value:
scope: all
responses:
- '202': *95
+ '202': *39
'403': *29
'404': *6
- '409': *94
+ '409': *96
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -12955,8 +13012,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-enterprise
parameters:
- - *40
- - *92
+ - *41
+ - *94
requestBody:
required: true
content:
@@ -12996,7 +13053,7 @@ paths:
- none
- private_and_internal
- public
- configuration: *90
+ configuration: *92
examples:
default:
value:
@@ -13055,8 +13112,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-repositories-associated-with-an-enterprise-code-security-configuration
parameters:
- - *40
- - *92
+ - *41
+ - *94
- name: per_page
description: The number of results per page (max 100). For more information,
see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)."
@@ -13065,8 +13122,8 @@ paths:
schema:
type: integer
default: 30
- - *84
- - *85
+ - *86
+ - *87
- name: status
description: |-
A comma-separated list of statuses. If specified, only repositories with these attachment statuses will be returned.
@@ -13102,7 +13159,7 @@ paths:
- failed
- updating
- removed_by_enterprise
- repository: *96
+ repository: *97
examples:
default:
summary: Example of code security configuration repositories
@@ -13202,7 +13259,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/code-security-and-analysis#get-code-security-and-analysis-features-for-an-enterprise
parameters:
- - *40
+ - *41
responses:
'200':
description: Response
@@ -13300,7 +13357,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/code-security-and-analysis#update-code-security-and-analysis-features-for-an-enterprise
parameters:
- - *40
+ - *41
requestBody:
required: false
content:
@@ -13384,7 +13441,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/license#list-enterprise-consumed-licenses
parameters:
- - *40
+ - *41
- *17
- *19
responses:
@@ -13516,7 +13573,7 @@ paths:
visual_studio_subscription_email: ''
total_user_accounts: 1
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: true
enabledForGitHubApps: false
@@ -13549,7 +13606,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#list-all-copilot-seat-assignments-for-an-enterprise
parameters:
- - *40
+ - *41
- *19
- name: per_page
description: The number of results per page (max 100). For more information,
@@ -13590,8 +13647,8 @@ paths:
title: Organization Simple
description: A GitHub organization.
type: object
- properties: *97
- required: *98
+ properties: *98
+ required: *99
nullable: true
assigning_team:
description: The team through which the assignee is granted
@@ -13898,8 +13955,8 @@ paths:
type: User
site_admin: false
headers:
- Link: *39
- '500': *99
+ Link: *40
+ '500': *85
'401': *25
'403': *29
'404': *6
@@ -13929,7 +13986,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-an-enterprise
parameters:
- - *40
+ - *41
- name: since
description: Show usage metrics since this date. This is a timestamp in [ISO
8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`).
@@ -14367,7 +14424,7 @@ paths:
custom_model_training_date: '2024-02-01'
total_pr_summaries_created: 10
total_engaged_users: 4
- '500': *99
+ '500': *85
'403': *29
'404': *6
'422': &136
@@ -14399,7 +14456,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise
parameters:
- - *40
+ - *41
- &249
name: state
in: query
@@ -14485,9 +14542,9 @@ paths:
- updated
- epss_percentage
default: created
+ - *88
- *86
- - *84
- - *85
+ - *87
- &257
name: first
description: |-
@@ -14823,7 +14880,7 @@ paths:
format: date-time
readOnly: true
nullable: true
- repository: *96
+ repository: *97
required:
- number
- state
@@ -15186,7 +15243,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/license#get-a-license-sync-status
parameters:
- - *40
+ - *41
responses:
'200':
description: License Sync Status Response
@@ -15250,7 +15307,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#list-hosted-compute-network-configurations-for-an-enterprise
parameters:
- - *40
+ - *41
- *17
- *19
responses:
@@ -15327,7 +15384,7 @@ paths:
- 6789ABDCEF12345
created_on: '2023-04-26T15:23:37Z'
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: true
enabledForGitHubApps: false
@@ -15344,7 +15401,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#create-a-hosted-compute-network-configuration-for-an-enterprise
parameters:
- - *40
+ - *41
requestBody:
required: true
content:
@@ -15414,7 +15471,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-configuration-for-an-enterprise
parameters:
- - *40
+ - *41
- &113
name: network_configuration_id
description: Unique identifier of the hosted compute network configuration.
@@ -15431,7 +15488,7 @@ paths:
examples:
default: *112
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: true
enabledForGitHubApps: false
@@ -15448,7 +15505,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#update-a-hosted-compute-network-configuration-for-an-enterprise
parameters:
- - *40
+ - *41
- *113
requestBody:
required: true
@@ -15507,7 +15564,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#delete-a-hosted-compute-network-configuration-from-an-enterprise
parameters:
- - *40
+ - *41
- *113
responses:
'204':
@@ -15530,7 +15587,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-enterprise
parameters:
- - *40
+ - *41
- &356
name: network_settings_id
description: Unique identifier of the hosted compute network settings.
@@ -15585,7 +15642,7 @@ paths:
subnet_id: "/subscriptions/14839728-3ad9-43ab-bd2b-fa6ad0f75e2a/resourceGroups/my-rg/providers/Microsoft.Network/virtualNetworks/my-vnet/subnets/my-subnet"
region: eastus
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: true
enabledForGitHubApps: false
@@ -15604,7 +15661,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#get-custom-properties-for-an-enterprise
parameters:
- - *40
+ - *41
responses:
'200':
description: Response
@@ -15724,7 +15781,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#create-or-update-custom-properties-for-an-enterprise
parameters:
- - *40
+ - *41
requestBody:
required: true
content:
@@ -15789,7 +15846,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#promote-a-custom-property-to-an-enterprise
parameters:
- - *40
+ - *41
- &170
name: org
description: The organization name. The name is not case sensitive.
@@ -15843,7 +15900,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#get-a-custom-property-for-an-enterprise
parameters:
- - *40
+ - *41
- *116
responses:
'200':
@@ -15873,7 +15930,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#create-or-update-a-custom-property-for-an-enterprise
parameters:
- - *40
+ - *41
- *116
requestBody:
required: true
@@ -15966,7 +16023,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#remove-a-custom-property-for-an-enterprise
parameters:
- - *40
+ - *41
- *116
responses:
'204': *118
@@ -15988,7 +16045,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/rules#create-an-enterprise-repository-ruleset
parameters:
- - *40
+ - *41
requestBody:
description: Request body
required: true
@@ -17095,7 +17152,7 @@ paths:
created_at: '2024-08-15T08:43:03Z'
updated_at: '2024-09-23T16:29:47Z'
'404': *6
- '500': *99
+ '500': *85
x-github:
githubCloudOnly: true
enabledForGitHubApps: true
@@ -17116,7 +17173,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/rules#get-an-enterprise-repository-ruleset
parameters:
- - *40
+ - *41
- name: ruleset_id
description: The ID of the ruleset.
in: path
@@ -17132,7 +17189,7 @@ paths:
examples:
default: *129
'404': *6
- '500': *99
+ '500': *85
x-github:
githubCloudOnly: true
enabledForGitHubApps: true
@@ -17148,7 +17205,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/rules#update-an-enterprise-repository-ruleset
parameters:
- - *40
+ - *41
- name: ruleset_id
description: The ID of the ruleset.
in: path
@@ -17211,7 +17268,7 @@ paths:
examples:
default: *129
'404': *6
- '500': *99
+ '500': *85
x-github:
githubCloudOnly: true
enabledForGitHubApps: true
@@ -17227,7 +17284,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/rules#delete-an-enterprise-repository-ruleset
parameters:
- - *40
+ - *41
- name: ruleset_id
description: The ID of the ruleset.
in: path
@@ -17238,7 +17295,7 @@ paths:
'204':
description: Response
'404': *6
- '500': *99
+ '500': *85
x-github:
githubCloudOnly: true
enabledForGitHubApps: true
@@ -17255,7 +17312,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/rules#get-enterprise-ruleset-history
parameters:
- - *40
+ - *41
- *17
- *19
- name: ruleset_id
@@ -17313,7 +17370,7 @@ paths:
type: User
updated_at: '2024-08-23T16:29:47Z'
'404': *6
- '500': *99
+ '500': *85
x-github:
githubCloudOnly: true
enabledForGitHubApps: false
@@ -17330,7 +17387,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/rules#get-enterprise-ruleset-version
parameters:
- - *40
+ - *41
- name: ruleset_id
description: The ID of the ruleset.
in: path
@@ -17383,7 +17440,7 @@ paths:
rules:
- type: repository_delete
'404': *6
- '500': *99
+ '500': *85
x-github:
githubCloudOnly: true
enabledForGitHubApps: false
@@ -17402,7 +17459,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise
parameters:
- - *40
+ - *41
- &335
name: state
in: query
@@ -17445,10 +17502,10 @@ paths:
- created
- updated
default: created
- - *86
+ - *88
- *17
- - *84
- - *85
+ - *86
+ - *87
- &339
name: validity
in: query
@@ -17543,7 +17600,7 @@ paths:
secret:
type: string
description: The secret that was detected.
- repository: *96
+ repository: *97
push_protection_bypassed:
type: boolean
description: Whether push protection was bypassed for the detected
@@ -17844,7 +17901,7 @@ paths:
publicly_leaked: false
multi_repo: false
headers:
- Link: *39
+ Link: *40
'404': *6
'503': *132
x-github:
@@ -17871,7 +17928,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-github-actions-billing-for-an-enterprise
parameters:
- - *40
+ - *41
responses:
'200':
description: Response
@@ -17977,7 +18034,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-github-advanced-security-active-committers-for-an-enterprise
parameters:
- - *40
+ - *41
- &348
name: advanced_security_product
in: query
@@ -18091,7 +18148,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-all-cost-centers-for-an-enterprise
parameters:
- - *40
+ - *41
responses:
'200':
description: Response when getting cost centers
@@ -18140,7 +18197,7 @@ paths:
name: Monalisa
'400': *14
'403': *29
- '500': *99
+ '500': *85
'503': *132
x-github:
githubCloudOnly: true
@@ -18161,7 +18218,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#add-users-to-a-cost-center
parameters:
- - *40
+ - *41
- &133
name: cost_center_id
description: The ID corresponding to the cost center.
@@ -18203,8 +18260,8 @@ paths:
message: Resources successfully added to the cost center.
'400': *14
'403': *29
- '409': *94
- '500': *99
+ '409': *96
+ '500': *85
'503': *132
x-github:
githubCloudOnly: true
@@ -18224,7 +18281,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#remove-users-from-a-cost-center
parameters:
- - *40
+ - *41
- *133
requestBody:
required: true
@@ -18261,7 +18318,7 @@ paths:
message: Resources successfully removed from the cost center.
'400': *14
'403': *29
- '500': *99
+ '500': *85
'503': *132
x-github:
githubCloudOnly: true
@@ -18287,7 +18344,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-github-packages-billing-for-an-enterprise
parameters:
- - *40
+ - *41
responses:
'200':
description: Response
@@ -18340,7 +18397,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-shared-storage-billing-for-an-enterprise
parameters:
- - *40
+ - *41
responses:
'200':
description: Response
@@ -18388,7 +18445,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-usage-report-for-an-enterprise
parameters:
- - *40
+ - *41
- &171
name: year
description: If specified, only return results for a single year. The value
@@ -18506,7 +18563,7 @@ paths:
repositoryName: github/example
'400': *14
'403': *29
- '500': *99
+ '500': *85
'503': *132
x-github:
githubCloudOnly: true
@@ -18540,7 +18597,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-an-enterprise-team
parameters:
- - *40
+ - *41
- name: team_slug
description: The slug of the enterprise team name.
in: path
@@ -18581,7 +18638,7 @@ paths:
items: *134
examples:
default: *135
- '500': *99
+ '500': *85
'403': *29
'404': *6
'422': *136
@@ -18609,7 +18666,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/code-security-and-analysis#enable-or-disable-a-security-feature
parameters:
- - *40
+ - *41
- name: security_product
in: path
description: The security feature to enable or disable.
@@ -19043,7 +19100,7 @@ paths:
- node_id
- name
- description
- repository: *63
+ repository: *64
performed_via_github_app:
title: GitHub app
description: GitHub apps are a new way to extend GitHub.
@@ -19615,7 +19672,7 @@ paths:
site_admin: false
truncated: false
headers:
- Link: *39
+ Link: *40
'304': *37
'403': *29
x-github:
@@ -20188,7 +20245,7 @@ paths:
examples:
default: *145
headers:
- Link: *39
+ Link: *40
'422': *15
'304': *37
'403': *29
@@ -20222,7 +20279,7 @@ paths:
examples:
default: *145
headers:
- Link: *39
+ Link: *40
'401': *25
'304': *37
'403': *29
@@ -20645,7 +20702,7 @@ paths:
updated_at: '2011-04-18T23:23:56Z'
author_association: COLLABORATOR
headers:
- Link: *39
+ Link: *40
'304': *37
'404': *6
'403': *29
@@ -21022,7 +21079,7 @@ paths:
type: User
site_admin: false
headers:
- Link: *39
+ Link: *40
'404': *6
'304': *37
'403': *29
@@ -21371,7 +21428,7 @@ paths:
type: integer
repositories:
type: array
- items: *63
+ items: *64
repository_selection:
type: string
example: selected
@@ -21494,7 +21551,7 @@ paths:
open_issues: 1
watchers: 1
headers:
- Link: *39
+ Link: *40
'403': *29
'304': *37
'401': *25
@@ -21596,7 +21653,7 @@ paths:
- updated
- comments
default: created
- - *86
+ - *88
- *143
- name: collab
in: query
@@ -21874,7 +21931,7 @@ paths:
watchers: 1
author_association: COLLABORATOR
headers:
- Link: *39
+ Link: *40
'422': *15
'304': *37
'404': *6
@@ -22526,7 +22583,7 @@ paths:
- Up to 25 private repositories
- 11 concurrent builds
headers:
- Link: *39
+ Link: *40
'404': *6
'401': *25
x-github:
@@ -22638,7 +22695,7 @@ paths:
- Up to 25 private repositories
- 11 concurrent builds
headers:
- Link: *39
+ Link: *40
'404': *6
'422': *15
'401': *25
@@ -22705,7 +22762,7 @@ paths:
examples:
default: *161
headers:
- Link: *39
+ Link: *40
'401': *25
x-github:
githubCloudOnly: false
@@ -22751,7 +22808,7 @@ paths:
examples:
default: *164
headers:
- Link: *39
+ Link: *40
'401': *25
x-github:
githubCloudOnly: false
@@ -23685,7 +23742,7 @@ paths:
url: https://api.github.com/notifications/threads/1
subscription_url: https://api.github.com/notifications/threads/1/subscription
headers:
- Link: *39
+ Link: *40
'304': *37
'403': *29
'401': *25
@@ -24147,7 +24204,7 @@ paths:
application/json:
schema:
type: array
- items: *58
+ items: *59
examples:
default: &740
value:
@@ -24322,7 +24379,7 @@ paths:
default: *176
'400': *14
'403': *29
- '500': *99
+ '500': *85
'503': *132
x-github:
githubCloudOnly: false
@@ -24985,7 +25042,7 @@ paths:
oneOf:
- *179
- *180
- '409': *94
+ '409': *96
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -25010,7 +25067,7 @@ paths:
parameters:
- *170
responses:
- '202': *95
+ '202': *39
'404': *6
'403': *29
x-github:
@@ -25043,7 +25100,7 @@ paths:
examples:
default: *182
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -25117,7 +25174,7 @@ paths:
active_caches_size_in_bytes: 1022142
active_caches_count: 2
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -25155,11 +25212,11 @@ paths:
type: integer
runners:
type: array
- items: *41
+ items: *42
examples:
default: *183
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -25244,9 +25301,9 @@ paths:
description: Response
content:
application/json:
- schema: *41
+ schema: *42
examples:
- default: *45
+ default: *46
x-github:
enabledForGitHubApps: true
githubCloudOnly: false
@@ -25280,9 +25337,9 @@ paths:
type: integer
images:
type: array
- items: *42
+ items: *43
examples:
- default: *43
+ default: *44
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -25316,9 +25373,9 @@ paths:
type: integer
images:
type: array
- items: *42
+ items: *43
examples:
- default: *43
+ default: *44
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -25377,7 +25434,7 @@ paths:
type: integer
machine_specs:
type: array
- items: *44
+ items: *45
examples:
default: *186
x-github:
@@ -25442,17 +25499,17 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization
parameters:
- *170
- - *46
+ - *47
responses:
'200':
description: Response
content:
application/json:
- schema: *41
+ schema: *42
examples:
- default: *45
+ default: *46
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -25471,7 +25528,7 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-organization
parameters:
- *170
- - *46
+ - *47
requestBody:
required: true
content:
@@ -25509,9 +25566,9 @@ paths:
description: Response
content:
application/json:
- schema: *41
+ schema: *42
examples:
- default: *45
+ default: *46
x-github:
enabledForGitHubApps: true
githubCloudOnly: false
@@ -25528,15 +25585,15 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization
parameters:
- *170
- - *46
+ - *47
responses:
'202':
description: Response
content:
application/json:
- schema: *41
+ schema: *42
examples:
- default: *45
+ default: *46
x-github:
githubCloudOnly: false
enabledForGitHubApps: false
@@ -25663,7 +25720,7 @@ paths:
description: The API URL to use to get or set the selected repositories
that are allowed to run GitHub Actions, when `enabled_repositories`
is set to `selected`.
- allowed_actions: *48
+ allowed_actions: *49
selected_actions_url: *189
required:
- enabled_repositories
@@ -25705,7 +25762,7 @@ paths:
type: object
properties:
enabled_repositories: *190
- allowed_actions: *48
+ allowed_actions: *49
required:
- enabled_repositories
examples:
@@ -25750,7 +25807,7 @@ paths:
type: number
repositories:
type: array
- items: *63
+ items: *64
examples:
default: &734
value:
@@ -25995,9 +26052,9 @@ paths:
description: Response
content:
application/json:
- schema: *50
+ schema: *51
examples:
- default: *51
+ default: *52
x-github:
enabledForGitHubApps: true
githubCloudOnly: false
@@ -26028,9 +26085,9 @@ paths:
required: false
content:
application/json:
- schema: *50
+ schema: *51
examples:
- selected_actions: *51
+ selected_actions: *52
x-github:
enabledForGitHubApps: true
githubCloudOnly: false
@@ -26060,7 +26117,7 @@ paths:
application/json:
schema: *192
examples:
- default: *54
+ default: *55
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -26094,7 +26151,7 @@ paths:
application/json:
schema: *193
examples:
- default: *54
+ default: *55
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -26365,7 +26422,7 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization
parameters:
- *170
- - *57
+ - *58
responses:
'200':
description: Response
@@ -26408,7 +26465,7 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization
parameters:
- *170
- - *57
+ - *58
requestBody:
required: true
content:
@@ -26484,7 +26541,7 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization
parameters:
- *170
- - *57
+ - *58
responses:
'204':
description: Response
@@ -26508,7 +26565,7 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-github-hosted-runners-in-a-group-for-an-organization
parameters:
- *170
- - *57
+ - *58
- *17
- *19
responses:
@@ -26526,11 +26583,11 @@ paths:
type: number
runners:
type: array
- items: *41
+ items: *42
examples:
default: *183
headers:
- Link: *39
+ Link: *40
x-github:
enabledForGitHubApps: true
githubCloudOnly: false
@@ -26551,7 +26608,7 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization
parameters:
- *170
- - *57
+ - *58
- *19
- *17
responses:
@@ -26824,7 +26881,7 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#set-repository-access-for-a-self-hosted-runner-group-in-an-organization
parameters:
- *170
- - *57
+ - *58
requestBody:
required: true
content:
@@ -26869,7 +26926,7 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#add-repository-access-to-a-self-hosted-runner-group-in-an-organization
parameters:
- *170
- - *57
+ - *58
- *191
responses:
'204':
@@ -26893,7 +26950,7 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization
parameters:
- *170
- - *57
+ - *58
- *191
responses:
'204':
@@ -26918,7 +26975,7 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-organization
parameters:
- *170
- - *57
+ - *58
- *17
- *19
responses:
@@ -26936,11 +26993,11 @@ paths:
type: number
runners:
type: array
- items: *61
+ items: *62
examples:
- default: *62
+ default: *63
headers:
- Link: *39
+ Link: *40
x-github:
enabledForGitHubApps: true
githubCloudOnly: false
@@ -26960,7 +27017,7 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-organization
parameters:
- *170
- - *57
+ - *58
requestBody:
required: true
content:
@@ -27005,8 +27062,8 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-organization
parameters:
- *170
- - *57
- - *60
+ - *58
+ - *61
responses:
'204':
description: Response
@@ -27029,8 +27086,8 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-organization
parameters:
- *170
- - *57
- - *60
+ - *58
+ - *61
responses:
'204':
description: Response
@@ -27078,11 +27135,11 @@ paths:
type: integer
runners:
type: array
- items: *61
+ items: *62
examples:
- default: *62
+ default: *63
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -27182,7 +27239,7 @@ paths:
'201': *199
'404': *6
'422': *7
- '409': *94
+ '409': *96
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -27216,7 +27273,7 @@ paths:
description: Response
content:
application/json:
- schema: *64
+ schema: *65
examples:
default: *200
x-github:
@@ -27252,7 +27309,7 @@ paths:
description: Response
content:
application/json:
- schema: *64
+ schema: *65
examples:
default: *201
x-github:
@@ -27277,13 +27334,13 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization
parameters:
- *170
- - *60
+ - *61
responses:
'200':
description: Response
content:
application/json:
- schema: *61
+ schema: *62
examples:
default: *202
x-github:
@@ -27307,7 +27364,7 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization
parameters:
- *170
- - *60
+ - *61
responses:
'204':
description: Response
@@ -27333,9 +27390,9 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-organization
parameters:
- *170
- - *60
+ - *61
responses:
- '200': *66
+ '200': *67
'404': *6
x-github:
githubCloudOnly: false
@@ -27358,7 +27415,7 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-an-organization
parameters:
- *170
- - *60
+ - *61
requestBody:
required: true
content:
@@ -27382,7 +27439,7 @@ paths:
- gpu
- accelerated
responses:
- '200': *66
+ '200': *67
'404': *6
'422': *7
x-github:
@@ -27407,7 +27464,7 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-organization
parameters:
- *170
- - *60
+ - *61
requestBody:
required: true
content:
@@ -27432,7 +27489,7 @@ paths:
- gpu
- accelerated
responses:
- '200': *66
+ '200': *67
'404': *6
'422': *7
x-github:
@@ -27457,7 +27514,7 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-an-organization
parameters:
- *170
- - *60
+ - *61
responses:
'200': *203
'404': *6
@@ -27487,10 +27544,10 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-an-organization
parameters:
- *170
- - *60
+ - *61
- *204
responses:
- '200': *66
+ '200': *67
'404': *6
'422': *7
x-github:
@@ -27583,7 +27640,7 @@ paths:
visibility: selected
selected_repositories_url: https://api.github.com/orgs/octo-org/actions/secrets/SUPER_SECRET/repositories
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -28142,7 +28199,7 @@ paths:
visibility: selected
selected_repositories_url: https://api.github.com/orgs/octo-org/actions/variables/ADMIN_EMAIL/repositories
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -28539,9 +28596,9 @@ paths:
description: Response
content:
application/json:
- schema: *71
+ schema: *72
examples:
- default: *70
+ default: *71
x-github:
githubCloudOnly: true
enabledForGitHubApps: true
@@ -28562,7 +28619,7 @@ paths:
application/json:
schema: *211
examples:
- default: *70
+ default: *71
parameters:
- *170
responses:
@@ -28570,9 +28627,9 @@ paths:
description: Response
content:
application/json:
- schema: *71
+ schema: *72
examples:
- default: *70
+ default: *71
x-github:
githubCloudOnly: true
enabledForGitHubApps: true
@@ -28614,8 +28671,8 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-attestations
parameters:
- *17
- - *84
- - *85
+ - *86
+ - *87
- *170
- name: subject_digest
description: The parameter should be set to the attestation's subject's SHA256
@@ -28978,7 +29035,7 @@ paths:
examples:
default: *224
'404': *6
- '500': *99
+ '500': *85
"/orgs/{org}/bypass-requests/secret-scanning":
get:
summary: List bypass requests for secret scanning for an org
@@ -29206,7 +29263,7 @@ paths:
url: https://api.github.com/repos/octo-org/smile/bypass-requests/secret-scanning/2
html_url: https://github.com/octo-org/smile/exemptions/2
'404': *6
- '500': *99
+ '500': *85
"/orgs/{org}/campaigns":
get:
summary: List campaigns for an organization
@@ -29226,7 +29283,7 @@ paths:
- *170
- *19
- *17
- - *86
+ - *88
- name: state
description: If specified, only campaigns with this state will be returned.
in: query
@@ -29401,7 +29458,7 @@ paths:
closed_at:
state: open
headers:
- Link: *39
+ Link: *40
'404': *6
'503': *132
x-github:
@@ -29766,11 +29823,11 @@ paths:
- *170
- *231
- *232
- - *84
- - *85
+ - *86
+ - *87
- *19
- *17
- - *86
+ - *88
- name: state
description: If specified, only code scanning alerts with this state will
be returned.
@@ -29814,7 +29871,7 @@ paths:
examples:
default: *235
headers:
- Link: *39
+ Link: *40
'404': *6
'503': *132
x-github:
@@ -29857,8 +29914,8 @@ paths:
schema:
type: integer
default: 30
- - *84
- - *85
+ - *86
+ - *87
responses:
'200':
description: Response
@@ -29866,7 +29923,7 @@ paths:
application/json:
schema:
type: array
- items: *90
+ items: *92
examples:
default:
value:
@@ -30026,7 +30083,7 @@ paths:
- disabled
- not_set
default: disabled
- code_scanning_default_setup_options: *93
+ code_scanning_default_setup_options: *95
code_scanning_delegated_alert_dismissal:
type: string
description: The enablement status of code scanning delegated alert
@@ -30151,7 +30208,7 @@ paths:
description: Successfully created code security configuration
content:
application/json:
- schema: *90
+ schema: *92
examples:
default: *236
x-github:
@@ -30236,7 +30293,7 @@ paths:
'400': *14
'403': *29
'404': *6
- '409': *94
+ '409': *96
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -30259,13 +30316,13 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-a-code-security-configuration
parameters:
- *170
- - *92
+ - *94
responses:
'200':
description: Response
content:
application/json:
- schema: *90
+ schema: *92
examples:
default: *236
'304': *37
@@ -30292,7 +30349,7 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#update-a-code-security-configuration
parameters:
- *170
- - *92
+ - *94
requestBody:
required: true
content:
@@ -30362,7 +30419,7 @@ paths:
- enabled
- disabled
- not_set
- code_scanning_default_setup_options: *93
+ code_scanning_default_setup_options: *95
code_scanning_delegated_alert_dismissal:
type: string
description: The enablement status of code scanning delegated alert
@@ -30473,7 +30530,7 @@ paths:
description: Response when a configuration is updated
content:
application/json:
- schema: *90
+ schema: *92
examples:
default:
value:
@@ -30531,13 +30588,13 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#delete-a-code-security-configuration
parameters:
- *170
- - *92
+ - *94
responses:
'204': *118
'400': *14
'403': *29
'404': *6
- '409': *94
+ '409': *96
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -30562,7 +30619,7 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#attach-a-configuration-to-repositories
parameters:
- *170
- - *92
+ - *94
requestBody:
required: true
content:
@@ -30601,7 +30658,7 @@ paths:
- 32
- 91
responses:
- '202': *95
+ '202': *39
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -30626,7 +30683,7 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization
parameters:
- *170
- - *92
+ - *94
requestBody:
required: true
content:
@@ -30666,7 +30723,7 @@ paths:
- none
- private_and_internal
- public
- configuration: *90
+ configuration: *92
examples:
default:
value:
@@ -30696,7 +30753,7 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration
parameters:
- *170
- - *92
+ - *94
- name: per_page
description: The number of results per page (max 100). For more information,
see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)."
@@ -30705,8 +30762,8 @@ paths:
schema:
type: integer
default: 30
- - *84
- - *85
+ - *86
+ - *87
- name: status
description: |-
A comma-separated list of statuses. If specified, only repositories with these attachment statuses will be returned.
@@ -31457,7 +31514,7 @@ paths:
stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-f8adfad99a/stop
recent_folders: []
'304': *37
- '500': *99
+ '500': *85
'401': *25
'403': *29
'404': *6
@@ -31523,7 +31580,7 @@ paths:
description: Users are neither members nor collaborators of this organization.
'404': *6
'422': *15
- '500': *99
+ '500': *85
x-github:
githubCloudOnly: false
enabledForGitHubApps: false
@@ -31578,7 +31635,7 @@ paths:
description: Users are neither members nor collaborators of this organization.
'404': *6
'422': *15
- '500': *99
+ '500': *85
x-github:
githubCloudOnly: false
enabledForGitHubApps: false
@@ -31632,7 +31689,7 @@ paths:
description: Users are neither members nor collaborators of this organization.
'404': *6
'422': *15
- '500': *99
+ '500': *85
x-github:
githubCloudOnly: false
enabledForGitHubApps: false
@@ -31723,7 +31780,7 @@ paths:
updated_at: '2020-01-11T11:59:22Z'
visibility: all
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: false
@@ -31816,7 +31873,7 @@ paths:
updated_at: '2020-01-10T14:59:22Z'
visibility: all
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: false
@@ -32221,7 +32278,7 @@ paths:
cli: enabled
public_code_suggestions: block
plan_type: business
- '500': *99
+ '500': *85
'401': *25
'403': *29
'404': *6
@@ -32280,8 +32337,8 @@ paths:
examples:
default: *243
headers:
- Link: *39
- '500': *99
+ Link: *40
+ '500': *85
'401': *25
'403': *29
'404': *6
@@ -32356,7 +32413,7 @@ paths:
default:
value:
seats_created: 5
- '500': *99
+ '500': *85
'401': *25
'403': *29
'404': *6
@@ -32434,7 +32491,7 @@ paths:
default:
value:
seats_cancelled: 5
- '500': *99
+ '500': *85
'401': *25
'403': *29
'404': *6
@@ -32513,7 +32570,7 @@ paths:
default:
value:
seats_created: 5
- '500': *99
+ '500': *85
'401': *25
'403': *29
'404': *6
@@ -32591,7 +32648,7 @@ paths:
default:
value:
seats_cancelled: 5
- '500': *99
+ '500': *85
'401': *25
'403': *29
'404': *6
@@ -32665,7 +32722,7 @@ paths:
items: *134
examples:
default: *135
- '500': *99
+ '500': *85
'403': *29
'404': *6
'422': *136
@@ -33354,9 +33411,9 @@ paths:
- *254
- *255
- *256
+ - *88
- *86
- - *84
- - *85
+ - *87
- *257
- *258
- *17
@@ -33463,7 +33520,7 @@ paths:
visibility: selected
selected_repositories_url: https://api.github.com/orgs/octo-org/dependabot/secrets/SUPER_SECRET/repositories
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -34049,7 +34106,7 @@ paths:
html_url: https://github.com/octo-org/smile/security/secret-scanning/19
'404': *6
'403': *29
- '500': *99
+ '500': *85
"/orgs/{org}/docker/conflicts":
get:
summary: Get list of conflicting packages during Docker migration for organization
@@ -34623,7 +34680,7 @@ paths:
invitation_teams_url: https://api.github.com/organizations/2/invitations/1/teams
invitation_source: member
headers:
- Link: *39
+ Link: *40
'404': *6
x-github:
githubCloudOnly: false
@@ -34800,7 +34857,7 @@ paths:
created_at: '2011-09-06T17:26:27Z'
type: Organization
headers:
- Link: *39
+ Link: *40
'404': *6
x-github:
githubCloudOnly: false
@@ -35226,7 +35283,7 @@ paths:
- *266
- *16
responses:
- '202': *95
+ '202': *39
'400': *14
'422': *15
x-github:
@@ -35312,7 +35369,7 @@ paths:
type: string
- *19
- *17
- - *86
+ - *88
- name: sort
description: The property to sort the results by.
in: query
@@ -35399,7 +35456,7 @@ paths:
- *273
- *19
- *17
- - *86
+ - *88
- &282
name: sort
description: The property to sort the results by.
@@ -35719,7 +35776,7 @@ paths:
- *273
- *19
- *17
- - *86
+ - *88
- *282
- name: actor_name_substring
in: query
@@ -35940,7 +35997,7 @@ paths:
suspended_at:
suspended_by:
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -36140,7 +36197,7 @@ paths:
examples:
default: *287
headers:
- Link: *39
+ Link: *40
'404': *6
x-github:
githubCloudOnly: false
@@ -36335,7 +36392,7 @@ paths:
repositories_url: https://api.github.com/teams/1/repos
parent:
headers:
- Link: *39
+ Link: *40
'404': *6
x-github:
githubCloudOnly: false
@@ -36643,7 +36700,7 @@ paths:
- updated
- comments
default: created
- - *86
+ - *88
- *143
- *17
- *19
@@ -36658,7 +36715,7 @@ paths:
examples:
default: *293
headers:
- Link: *39
+ Link: *40
'404': *6
x-github:
githubCloudOnly: false
@@ -36718,7 +36775,7 @@ paths:
examples:
default: *294
headers:
- Link: *39
+ Link: *40
'422': *15
x-github:
githubCloudOnly: false
@@ -36816,7 +36873,7 @@ paths:
examples:
default: *296
'304': *37
- '500': *99
+ '500': *85
'401': *25
'403': *29
'404': *6
@@ -36849,9 +36906,9 @@ paths:
schema:
type: string
responses:
- '202': *95
+ '202': *39
'304': *37
- '500': *99
+ '500': *85
'401': *25
'403': *29
'404': *6
@@ -37026,7 +37083,7 @@ paths:
recent_folders: []
template:
'304': *37
- '500': *99
+ '500': *85
'401': *25
'403': *29
'404': *6
@@ -37107,7 +37164,7 @@ paths:
members_url: https://api.github.com/teams/1/members{/member}
repositories_url: https://api.github.com/teams/1/repos
parent:
- '500': *99
+ '500': *85
'401': *25
'403': *29
'404': *6
@@ -37168,7 +37225,7 @@ paths:
type: string
format: uri
example: https://api.github.com/orgs/octocat
- organization: *58
+ organization: *59
user:
title: Simple User
description: A GitHub user.
@@ -37399,7 +37456,7 @@ paths:
type: array
description: The repositories included in the migration. Only
returned for export migrations.
- items: *63
+ items: *64
url:
type: string
format: uri
@@ -37595,7 +37652,7 @@ paths:
updated_at: '2015-07-06T15:33:38-07:00'
node_id: MDQ6VXNlcjE=
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: false
@@ -38261,7 +38318,7 @@ paths:
secret_scanning_validity_checks:
status: disabled
headers:
- Link: *39
+ Link: *40
'404': *6
x-github:
githubCloudOnly: false
@@ -38595,7 +38652,7 @@ paths:
updated_at: '2022-07-04T22:19:11Z'
'422': *15
'404': *6
- '409': *94
+ '409': *96
x-github:
githubCloudOnly: true
enabledForGitHubApps: true
@@ -38927,7 +38984,7 @@ paths:
created_at: '2022-07-04T22:19:11Z'
updated_at: '2022-07-04T22:19:11Z'
'422': *15
- '409': *94
+ '409': *96
'404': *6
x-github:
githubCloudOnly: true
@@ -39075,7 +39132,7 @@ paths:
examples:
default: *306
headers:
- Link: *39
+ Link: *40
'404':
description: Response if the organization or role does not exist.
'422':
@@ -39234,7 +39291,7 @@ paths:
examples:
default: *294
headers:
- Link: *39
+ Link: *40
'404':
description: Response if the organization or role does not exist.
'422':
@@ -39285,7 +39342,7 @@ paths:
examples:
default: *294
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -39915,7 +39972,7 @@ paths:
enum:
- created_at
default: created_at
- - *86
+ - *88
- &315
name: owner
description: A list of owner usernames to use to filter the results.
@@ -39975,7 +40032,7 @@ paths:
type: string
example: token_id[]=1,token_id[]=2
responses:
- '500': *99
+ '500': *85
'422': *15
'404': *6
'403': *29
@@ -40107,7 +40164,7 @@ paths:
token_expires_at: '2023-11-16T08:47:09.000-07:00'
token_last_used_at:
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -40168,11 +40225,11 @@ paths:
action: deny
reason: Access is too broad.
responses:
- '500': *99
+ '500': *85
'422': *15
'404': *6
'403': *29
- '202': *95
+ '202': *39
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -40229,7 +40286,7 @@ paths:
action: deny
reason: This request is denied because the access is too broad.
responses:
- '500': *99
+ '500': *85
'422': *15
'404': *6
'403': *29
@@ -40265,7 +40322,7 @@ paths:
- *17
- *19
responses:
- '500': *99
+ '500': *85
'404': *6
'403': *29
'200':
@@ -40278,7 +40335,7 @@ paths:
examples:
default: *313
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -40303,7 +40360,7 @@ paths:
- *17
- *19
- *314
- - *86
+ - *88
- *315
- *316
- *317
@@ -40311,7 +40368,7 @@ paths:
- *319
- *320
responses:
- '500': *99
+ '500': *85
'422': *15
'404': *6
'403': *29
@@ -40438,7 +40495,7 @@ paths:
token_expires_at: '2023-11-16T08:47:09.000-07:00'
token_last_used_at:
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -40493,9 +40550,9 @@ paths:
- 1296269
- 1296280
responses:
- '500': *99
+ '500': *85
'404': *6
- '202': *95
+ '202': *39
'403': *29
'422': *15
x-github:
@@ -40546,7 +40603,7 @@ paths:
value:
action: revoke
responses:
- '500': *99
+ '500': *85
'404': *6
'204': *118
'403': *29
@@ -40580,7 +40637,7 @@ paths:
- *17
- *19
responses:
- '500': *99
+ '500': *85
'404': *6
'403': *29
'200':
@@ -40593,7 +40650,7 @@ paths:
examples:
default: *313
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -40685,7 +40742,7 @@ paths:
updated_at: '2020-01-10T14:59:22Z'
visibility: selected
headers:
- Link: *39
+ Link: *40
'400': *14
'404': *6
x-github:
@@ -40904,7 +40961,7 @@ paths:
key_id: '012345678912345678'
key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234
headers:
- Link: *39
+ Link: *40
'404': *6
x-github:
githubCloudOnly: false
@@ -41205,7 +41262,7 @@ paths:
organization_permission: write
private: true
headers:
- Link: *39
+ Link: *40
'422': *7
x-github:
githubCloudOnly: false
@@ -41600,7 +41657,7 @@ paths:
- property_name: team
value: octocat
headers:
- Link: *39
+ Link: *40
'403': *29
'404': *6
x-github:
@@ -41703,7 +41760,7 @@ paths:
examples:
default: *294
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -41843,7 +41900,7 @@ paths:
examples:
default: *313
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -42419,8 +42476,8 @@ paths:
properties: *20
required: *21
nullable: true
- parent: *63
- source: *63
+ parent: *64
+ source: *64
forks:
type: integer
master_branch:
@@ -43144,7 +43201,7 @@ paths:
created_at: '2023-08-15T08:43:03Z'
updated_at: '2023-09-23T16:29:47Z'
'404': *6
- '500': *99
+ '500': *85
post:
summary: Create an organization repository ruleset
description: Create a repository ruleset for an organization.
@@ -43270,7 +43327,7 @@ paths:
created_at: '2023-08-15T08:43:03Z'
updated_at: '2023-09-23T16:29:47Z'
'404': *6
- '500': *99
+ '500': *85
"/orgs/{org}/rulesets/rule-suites":
get:
summary: List organization rule suites
@@ -43403,7 +43460,7 @@ paths:
result: pass
evaluation_result: fail
'404': *6
- '500': *99
+ '500': *85
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -43573,7 +43630,7 @@ paths:
result: fail
rule_type: commit_message_pattern
'404': *6
- '500': *99
+ '500': *85
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -43615,7 +43672,7 @@ paths:
examples:
default: *332
'404': *6
- '500': *99
+ '500': *85
put:
summary: Update an organization repository ruleset
description: Update a ruleset for an organization.
@@ -43705,7 +43762,7 @@ paths:
examples:
default: *332
'404': *6
- '500': *99
+ '500': *85
delete:
summary: Delete an organization repository ruleset
description: Delete a ruleset for an organization.
@@ -43732,7 +43789,7 @@ paths:
'204':
description: Response
'404': *6
- '500': *99
+ '500': *85
"/orgs/{org}/rulesets/{ruleset_id}/history":
get:
summary: Get organization ruleset history
@@ -43764,7 +43821,7 @@ paths:
examples:
default: *333
'404': *6
- '500': *99
+ '500': *85
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -43839,7 +43896,7 @@ paths:
operator: contains
pattern: github
'404': *6
- '500': *99
+ '500': *85
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -43866,7 +43923,7 @@ paths:
- *336
- *337
- *338
- - *86
+ - *88
- *19
- *17
- &663
@@ -43903,7 +43960,7 @@ paths:
examples:
default: *343
headers:
- Link: *39
+ Link: *40
'404': *6
'503': *132
x-github:
@@ -43928,7 +43985,7 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories-for-an-organization
parameters:
- *170
- - *86
+ - *88
- name: sort
description: The property to sort the results by.
in: query
@@ -43940,8 +43997,8 @@ paths:
- updated
- published
default: created
- - *84
- - *85
+ - *86
+ - *87
- name: per_page
description: The number of advisories to return per page. For more information,
see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)."
@@ -44232,7 +44289,7 @@ paths:
description: A temporary private fork of the advisory's repository
for collaborating on a fix.
allOf:
- - *96
+ - *97
required:
- ghsa_id
- cve_id
@@ -44875,7 +44932,7 @@ paths:
examples:
default: *355
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -44969,7 +45026,7 @@ paths:
examples:
default: *112
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -45084,7 +45141,7 @@ paths:
examples:
default: *358
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -45247,7 +45304,7 @@ paths:
items: *134
examples:
default: *135
- '500': *99
+ '500': *85
'403': *29
'404': *6
'422': *136
@@ -45282,7 +45339,7 @@ paths:
examples:
default: *306
headers:
- Link: *39
+ Link: *40
'403': *29
x-github:
githubCloudOnly: false
@@ -45910,7 +45967,7 @@ paths:
parameters:
- *170
- *303
- - *86
+ - *88
- *17
- *19
- name: pinned
@@ -46075,7 +46132,7 @@ paths:
eyes: 1
rocket: 1
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -46374,7 +46431,7 @@ paths:
- *170
- *303
- *363
- - *86
+ - *88
- *17
- *19
responses:
@@ -46500,7 +46557,7 @@ paths:
eyes: 1
rocket: 1
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -46873,7 +46930,7 @@ paths:
content: heart
created_at: '2016-05-20T20:09:31Z'
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -47057,7 +47114,7 @@ paths:
examples:
default: *369
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -47286,7 +47343,7 @@ paths:
examples:
default: *287
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -47332,7 +47389,7 @@ paths:
examples:
default: *294
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -47641,7 +47698,7 @@ paths:
write: true
admin: false
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -47854,7 +47911,7 @@ paths:
examples:
default: *313
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -48684,7 +48741,7 @@ paths:
repositories_url: https://api.github.com/teams/1/repos
html_url: https://github.com/orgs/rails/teams/core
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -49357,7 +49414,7 @@ paths:
content_url: https://api.github.com/repos/api-playground/projects-test/issues/3
project_url: https://api.github.com/projects/120
headers:
- Link: *39
+ Link: *40
'304': *37
'403': *29
'401': *25
@@ -49771,7 +49828,7 @@ paths:
examples:
default: *294
headers:
- Link: *39
+ Link: *40
'404': *6
'422': *15
'304': *37
@@ -49981,7 +50038,7 @@ paths:
created_at: '2016-09-05T14:18:44Z'
updated_at: '2016-09-05T14:22:28Z'
headers:
- Link: *39
+ Link: *40
'304': *37
'403': *29
'401': *25
@@ -51234,7 +51291,7 @@ paths:
head_branch: main
head_sha: 178f4f6090b3fccad4a65b3e83d076a622d59652
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -51438,7 +51495,7 @@ paths:
- last_accessed_at
- size_in_bytes
default: last_accessed_at
- - *86
+ - *88
responses:
'200':
description: Response
@@ -51498,7 +51555,7 @@ paths:
created_at: '2019-01-24T22:45:36.000Z'
size_in_bytes: 1024
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -52149,7 +52206,7 @@ paths:
created_at: '2020-01-10T10:59:22Z'
updated_at: '2020-01-11T11:59:22Z'
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -52233,7 +52290,7 @@ paths:
created_at: '2020-01-10T10:59:22Z'
updated_at: '2020-01-11T11:59:22Z'
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -52266,7 +52323,7 @@ paths:
enabled: &403
type: boolean
description: Whether GitHub Actions is enabled on the repository.
- allowed_actions: *48
+ allowed_actions: *49
selected_actions_url: *189
required:
- enabled
@@ -52309,7 +52366,7 @@ paths:
type: object
properties:
enabled: *403
- allowed_actions: *48
+ allowed_actions: *49
required:
- enabled
examples:
@@ -52428,9 +52485,9 @@ paths:
description: Response
content:
application/json:
- schema: *50
+ schema: *51
examples:
- default: *51
+ default: *52
x-github:
enabledForGitHubApps: true
githubCloudOnly: false
@@ -52462,9 +52519,9 @@ paths:
required: false
content:
application/json:
- schema: *50
+ schema: *51
examples:
- selected_actions: *51
+ selected_actions: *52
x-github:
enabledForGitHubApps: true
githubCloudOnly: false
@@ -52495,7 +52552,7 @@ paths:
application/json:
schema: *192
examples:
- default: *54
+ default: *55
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -52530,7 +52587,7 @@ paths:
application/json:
schema: *193
examples:
- default: *54
+ default: *55
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -52576,11 +52633,11 @@ paths:
type: integer
runners:
type: array
- items: *61
+ items: *62
examples:
- default: *62
+ default: *63
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -52682,7 +52739,7 @@ paths:
'201': *199
'404': *6
'422': *7
- '409': *94
+ '409': *96
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -52717,7 +52774,7 @@ paths:
description: Response
content:
application/json:
- schema: *64
+ schema: *65
examples:
default: *200
x-github:
@@ -52754,7 +52811,7 @@ paths:
description: Response
content:
application/json:
- schema: *64
+ schema: *65
examples:
default: *201
x-github:
@@ -52780,13 +52837,13 @@ paths:
parameters:
- *378
- *379
- - *60
+ - *61
responses:
'200':
description: Response
content:
application/json:
- schema: *61
+ schema: *62
examples:
default: *202
x-github:
@@ -52811,7 +52868,7 @@ paths:
parameters:
- *378
- *379
- - *60
+ - *61
responses:
'204':
description: Response
@@ -52838,9 +52895,9 @@ paths:
parameters:
- *378
- *379
- - *60
+ - *61
responses:
- '200': *66
+ '200': *67
'404': *6
x-github:
githubCloudOnly: false
@@ -52864,7 +52921,7 @@ paths:
parameters:
- *378
- *379
- - *60
+ - *61
requestBody:
required: true
content:
@@ -52888,7 +52945,7 @@ paths:
- gpu
- accelerated
responses:
- '200': *66
+ '200': *67
'404': *6
'422': *7
x-github:
@@ -52914,7 +52971,7 @@ paths:
parameters:
- *378
- *379
- - *60
+ - *61
requestBody:
required: true
content:
@@ -52939,7 +52996,7 @@ paths:
- gpu
- accelerated
responses:
- '200': *66
+ '200': *67
'404': *6
'422': *7
x-github:
@@ -52965,7 +53022,7 @@ paths:
parameters:
- *378
- *379
- - *60
+ - *61
responses:
'200': *203
'404': *6
@@ -52996,10 +53053,10 @@ paths:
parameters:
- *378
- *379
- - *60
+ - *61
- *204
responses:
- '200': *66
+ '200': *67
'404': *6
'422': *7
x-github:
@@ -53652,7 +53709,7 @@ paths:
releases_url: https://api.github.com/repos/octo-org/octo-repo/releases{/id}
deployments_url: https://api.github.com/repos/octo-org/octo-repo/deployments
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -54138,7 +54195,7 @@ paths:
examples:
default: *410
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -54313,7 +54370,7 @@ paths:
workflow_name: CI
head_branch: main
headers:
- Link: *39
+ Link: *40
'404': *6
x-github:
githubCloudOnly: false
@@ -54380,7 +54437,7 @@ paths:
examples:
default:
value:
- '409': *94
+ '409': *96
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -54484,7 +54541,7 @@ paths:
examples:
default:
value:
- '409': *94
+ '409': *96
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -54543,7 +54600,7 @@ paths:
examples:
default: *414
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -54602,7 +54659,7 @@ paths:
'204':
description: Response
'403': *29
- '500': *99
+ '500': *85
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -55246,7 +55303,7 @@ paths:
examples:
default: *416
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -55445,7 +55502,7 @@ paths:
examples:
default: *420
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -55729,7 +55786,7 @@ paths:
html_url: https://github.com/octo-org/octo-repo/blob/master/.github/workflows/269289
badge_url: https://github.com/octo-org/octo-repo/workflows/Linter/badge.svg
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -55943,7 +56000,7 @@ paths:
examples:
default: *430
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -56039,10 +56096,10 @@ paths:
parameters:
- *378
- *379
- - *86
+ - *88
- *17
- - *84
- - *85
+ - *86
+ - *87
- name: ref
description: |-
The Git reference for the activities you want to list.
@@ -56183,7 +56240,7 @@ paths:
type: User
site_admin: false
headers:
- Link: *39
+ Link: *40
'422': *7
x-github:
githubCloudOnly: false
@@ -56217,7 +56274,7 @@ paths:
examples:
default: *294
headers:
- Link: *39
+ Link: *40
'404': *6
x-github:
githubCloudOnly: false
@@ -56393,8 +56450,8 @@ paths:
- *378
- *379
- *17
- - *84
- - *85
+ - *86
+ - *87
- name: subject_digest
description: The parameter should be set to the attestation's subject's SHA256
digest, in the form `sha256:HEX_DIGEST`.
@@ -57212,7 +57269,7 @@ paths:
- linter
protection_url: https://api.github.com/repos/octocat/hello-world/branches/master/protection
headers:
- Link: *39
+ Link: *40
'404': *6
x-github:
githubCloudOnly: false
@@ -60125,7 +60182,7 @@ paths:
examples:
default: *224
'404': *6
- '500': *99
+ '500': *85
"/repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}":
get:
summary: Get a repository push bypass request
@@ -60196,7 +60253,7 @@ paths:
url: https://api.github.com/repos/octo-org/smile/bypass-requests/push-rules/2
html_url: https://github.com/octo-org/smile/exemptions/2
'404': *6
- '500': *99
+ '500': *85
"/repos/{owner}/{repo}/bypass-requests/secret-scanning":
get:
summary: List bypass requests for secret scanning for a repository
@@ -60237,7 +60294,7 @@ paths:
default: *449
'404': *6
'403': *29
- '500': *99
+ '500': *85
"/repos/{owner}/{repo}/bypass-requests/secret-scanning/{bypass_request_number}":
get:
summary: Get a bypass request for secret scanning
@@ -60309,7 +60366,7 @@ paths:
html_url: https://github.com/octo-org/smile/exemptions/1
'404': *6
'403': *29
- '500': *99
+ '500': *85
patch:
summary: Review a bypass request for secret scanning
description: |-
@@ -60380,7 +60437,7 @@ paths:
'404': *6
'403': *29
'422': *15
- '500': *99
+ '500': *85
"/repos/{owner}/{repo}/bypass-responses/secret-scanning/{bypass_response_id}":
delete:
summary: Dismiss a response on a bypass request for secret scanning
@@ -60415,7 +60472,7 @@ paths:
'404': *6
'403': *29
'422': *15
- '500': *99
+ '500': *85
"/repos/{owner}/{repo}/check-runs":
post:
summary: Create a check run
@@ -61572,7 +61629,7 @@ paths:
raw_details: Do you mean 'bananas' or 'banana'?
blob_href: https://api.github.com/repos/github/rest-api-description/git/blobs/abc
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -62574,7 +62631,7 @@ paths:
url: https://api.github.com/repos/github/hello-world
name: hello-world
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -62650,9 +62707,9 @@ paths:
required: false
schema:
type: integer
+ - *88
- *86
- - *84
- - *85
+ - *87
- name: sort
description: The property by which to sort the results.
in: query
@@ -62691,7 +62748,7 @@ paths:
url: *105
html_url: *106
instances_url: *461
- state: *89
+ state: *91
fixed_at: *110
dismissed_by:
title: Simple User
@@ -62880,7 +62937,7 @@ paths:
url: *105
html_url: *106
instances_url: *461
- state: *89
+ state: *91
fixed_at: *110
dismissed_by:
title: Simple User
@@ -63513,7 +63570,7 @@ paths:
type: string
description: An identifier for the upload.
example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53
- - *86
+ - *88
- name: sort
description: The property by which to sort the results.
in: query
@@ -64248,7 +64305,7 @@ paths:
id:
type: integer
description: The ID of the variant analysis.
- controller_repo: *96
+ controller_repo: *97
actor: *4
query_language: *481
query_pack_url:
@@ -64673,7 +64730,7 @@ paths:
schema:
type: object
properties:
- repository: *96
+ repository: *97
analysis_status: *486
artifact_size_in_bytes:
type: integer
@@ -65244,7 +65301,7 @@ paths:
- failed
- updating
- removed_by_enterprise
- configuration: *90
+ configuration: *92
examples:
default:
value:
@@ -65715,7 +65772,7 @@ paths:
start_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-3f89ada1j3/start
stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-3f89ada1j3/stop
recent_folders: []
- '500': *99
+ '500': *85
'401': *25
'403': *29
'404': *6
@@ -65881,7 +65938,7 @@ paths:
- path: ".devcontainer.json"
display_name: Default project configuration
total_count: 3
- '500': *99
+ '500': *85
'400': *14
'401': *25
'403': *29
@@ -65965,7 +66022,7 @@ paths:
memory_in_bytes: 34359738368
cpus: 8
'304': *37
- '500': *99
+ '500': *85
'401': *25
'403': *29
'404': *6
@@ -66181,7 +66238,7 @@ paths:
examples:
default: *491
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -66530,7 +66587,7 @@ paths:
admin: false
role_name: write
headers:
- Link: *39
+ Link: *40
'404': *6
x-github:
githubCloudOnly: false
@@ -67061,7 +67118,7 @@ paths:
updated_at: '2011-04-14T16:00:49Z'
author_association: COLLABORATOR
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -67283,7 +67340,7 @@ paths:
examples:
default: *369
headers:
- Link: *39
+ Link: *40
'404': *6
x-github:
githubCloudOnly: false
@@ -67548,11 +67605,11 @@ paths:
- url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e
sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e
headers:
- Link: *39
- '500': *99
+ Link: *40
+ '500': *85
'400': *14
'404': *6
- '409': *94
+ '409': *96
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -67621,7 +67678,7 @@ paths:
url: https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc
protected: false
'422': *15
- '409': *94
+ '409': *96
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -67662,7 +67719,7 @@ paths:
examples:
default: *501
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -67928,7 +67985,7 @@ paths:
type: string
ref:
type: string
- repo: *63
+ repo: *64
sha:
type: string
user:
@@ -67951,7 +68008,7 @@ paths:
type: string
ref:
type: string
- repo: *63
+ repo: *64
sha:
type: string
user:
@@ -68538,8 +68595,8 @@ paths:
auto_merge:
draft: false
headers:
- Link: *39
- '409': *94
+ Link: *40
+ '409': *96
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -68703,9 +68760,9 @@ paths:
.....
'422': *15
'404': *6
- '500': *99
+ '500': *85
'503': *132
- '409': *94
+ '409': *96
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -68772,7 +68829,7 @@ paths:
examples:
default: *509
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -68998,7 +69055,7 @@ paths:
latest_check_runs_count: 1
check_runs_url: https://api.github.com/repos/octocat/Hello-World/check-suites/5/check-runs
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -69315,7 +69372,7 @@ paths:
type: User
site_admin: false
headers:
- Link: *39
+ Link: *40
'301': *392
x-github:
githubCloudOnly: false
@@ -69858,7 +69915,7 @@ paths:
patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@
module Test"
'404': *6
- '500': *99
+ '500': *85
'503': *132
x-github:
githubCloudOnly: false
@@ -70919,7 +70976,7 @@ paths:
verified_at:
'422': *15
'404': *6
- '409': *94
+ '409': *96
'503': *132
x-github:
githubCloudOnly: false
@@ -71041,7 +71098,7 @@ paths:
site_admin: false
contributions: 32
headers:
- Link: *39
+ Link: *40
'204':
description: Response if repository is empty
'403': *29
@@ -71080,7 +71137,7 @@ paths:
- *254
- *255
- *256
- - *86
+ - *88
- name: page
description: "**Closing down notice**. Page number of the results to fetch.
Use cursor-based pagination with `before` or `after` instead."
@@ -71097,8 +71154,8 @@ paths:
schema:
type: integer
default: 30
- - *84
- - *85
+ - *86
+ - *87
- *257
- *258
responses:
@@ -71698,7 +71755,7 @@ paths:
'400': *14
'403': *29
'404': *6
- '409': *94
+ '409': *96
'422': *7
x-github:
githubCloudOnly: false
@@ -71771,7 +71828,7 @@ paths:
created_at: '2020-01-10T10:59:22Z'
updated_at: '2020-01-11T11:59:22Z'
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -72071,7 +72128,7 @@ paths:
advisory_summary: Ruby OpenID
advisory_url: https://github.com/advisories/GHSA-fqfj-cmh6-hj49
headers:
- Link: *39
+ Link: *40
'404': *6
'403':
description: Response for a private repository when GitHub Advanced Security
@@ -72312,7 +72369,7 @@ paths:
spdxElementId: SPDXRef-DOCUMENT
relatedSpdxElement: SPDXRef-Repository
headers:
- Link: *39
+ Link: *40
'404': *6
'403': *29
x-github:
@@ -72631,7 +72688,7 @@ paths:
examples:
default: *527
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -73106,7 +73163,7 @@ paths:
environment_url: https://test-branch.lab.acme.com
log_url: https://example.com/deployment/42/output
headers:
- Link: *39
+ Link: *40
'404': *6
x-github:
githubCloudOnly: false
@@ -73323,7 +73380,7 @@ paths:
default: *533
'404': *6
'403': *29
- '500': *99
+ '500': *85
"/repos/{owner}/{repo}/dismissal-requests/secret-scanning/{alert_number}":
get:
summary: Get an alert dismissal request for secret scanning
@@ -73395,7 +73452,7 @@ paths:
html_url: https://github.com/octo-org/smile/security/secret-scanning/17
'404': *6
'403': *29
- '500': *99
+ '500': *85
patch:
summary: Review an alert dismissal request for secret scanning
description: |-
@@ -73467,7 +73524,7 @@ paths:
'404': *6
'403': *29
'422': *15
- '500': *99
+ '500': *85
"/repos/{owner}/{repo}/dispatches":
post:
summary: Create a repository dispatch event
@@ -74627,7 +74684,7 @@ paths:
examples:
default: *416
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -74827,7 +74884,7 @@ paths:
examples:
default: *420
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -75218,7 +75275,7 @@ paths:
url: https://api.github.com/licenses/mit
node_id: MDc6TGljZW5zZW1pdA==
headers:
- Link: *39
+ Link: *40
'400': *14
x-github:
githubCloudOnly: false
@@ -75350,7 +75407,7 @@ paths:
schema:
type: string
'404': *6
- '409': *94
+ '409': *96
'403': *29
'422':
description: Validation failed
@@ -75436,7 +75493,7 @@ paths:
'404': *6
'422': *15
'403': *29
- '409': *94
+ '409': *96
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -75758,7 +75815,7 @@ paths:
type: string
'422': *15
'404': *6
- '409': *94
+ '409': *96
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -75847,7 +75904,7 @@ paths:
payload:
verified_at:
'404': *6
- '409': *94
+ '409': *96
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -75944,8 +76001,8 @@ paths:
sha: 612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac
url: https://api.github.com/repos/octocat/Hello-World/git/commits/612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac
headers:
- Link: *39
- '409': *94
+ Link: *40
+ '409': *96
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -75986,7 +76043,7 @@ paths:
sha: aa218f56b14c9653891f9e74264a383fa43fefbd
url: https://api.github.com/repos/octocat/Hello-World/git/commits/aa218f56b14c9653891f9e74264a383fa43fefbd
'404': *6
- '409': *94
+ '409': *96
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -76044,7 +76101,7 @@ paths:
schema:
type: string
'422': *15
- '409': *94
+ '409': *96
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -76098,7 +76155,7 @@ paths:
examples:
default: *553
'422': *15
- '409': *94
+ '409': *96
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -76123,7 +76180,7 @@ paths:
'422':
description: Validation failed, an attempt was made to delete the default
branch, or the endpoint has been spammed.
- '409': *94
+ '409': *96
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -76327,7 +76384,7 @@ paths:
schema:
type: string
'422': *15
- '409': *94
+ '409': *96
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -76389,7 +76446,7 @@ paths:
examples:
default: *556
'404': *6
- '409': *94
+ '409': *96
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -76558,7 +76615,7 @@ paths:
'422': *15
'404': *6
'403': *29
- '409': *94
+ '409': *96
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -76646,7 +76703,7 @@ paths:
truncated: false
'422': *15
'404': *6
- '409': *94
+ '409': *96
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -76784,7 +76841,7 @@ paths:
status: unused
message:
headers:
- Link: *39
+ Link: *40
'404': *6
x-github:
githubCloudOnly: false
@@ -77175,7 +77232,7 @@ paths:
- *266
- *16
responses:
- '202': *95
+ '202': *39
'400': *14
'422': *15
x-github:
@@ -78237,7 +78294,7 @@ paths:
html_url: https://github.com/octocat/Hello-World/invitations
node_id: MDQ6VXNlcjE=
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -78510,7 +78567,7 @@ paths:
- updated
- comments
default: created
- - *86
+ - *88
- *143
- *17
- *19
@@ -78670,7 +78727,7 @@ paths:
author_association: COLLABORATOR
state_reason: completed
headers:
- Link: *39
+ Link: *40
'301': *392
'422': *15
'404': *6
@@ -79024,7 +79081,7 @@ paths:
issue_url: https://api.github.com/repos/octocat/Hello-World/issues/1347
author_association: COLLABORATOR
headers:
- Link: *39
+ Link: *40
'422': *15
'404': *6
x-github:
@@ -79213,7 +79270,7 @@ paths:
examples:
default: *369
headers:
- Link: *39
+ Link: *40
'404': *6
x-github:
githubCloudOnly: false
@@ -79664,7 +79721,7 @@ paths:
author_association: COLLABORATOR
state_reason: completed
headers:
- Link: *39
+ Link: *40
'422': *15
x-github:
githubCloudOnly: false
@@ -80252,7 +80309,7 @@ paths:
examples:
default: *575
headers:
- Link: *39
+ Link: *40
'404': *6
'410': *389
x-github:
@@ -81188,7 +81245,7 @@ paths:
name: label
color: red
headers:
- Link: *39
+ Link: *40
'410': *389
x-github:
githubCloudOnly: false
@@ -81282,7 +81339,7 @@ paths:
color: a2eeef
default: false
headers:
- Link: *39
+ Link: *40
'301': *392
'404': *6
'410': *389
@@ -81648,7 +81705,7 @@ paths:
examples:
default: *369
headers:
- Link: *39
+ Link: *40
'404': *6
'410': *389
x-github:
@@ -81840,7 +81897,7 @@ paths:
examples:
default: *578
headers:
- Link: *39
+ Link: *40
'404': *6
'410': *389
x-github:
@@ -82815,7 +82872,7 @@ paths:
type: User
site_admin: true
headers:
- Link: *39
+ Link: *40
'404': *6
'410': *389
x-github:
@@ -82894,7 +82951,7 @@ paths:
last_used: '2022-01-10T15:53:42Z'
enabled: true
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -83054,7 +83111,7 @@ paths:
examples:
default: *577
headers:
- Link: *39
+ Link: *40
'404': *6
x-github:
githubCloudOnly: false
@@ -83308,7 +83365,7 @@ paths:
- *378
- *379
responses:
- '202': *95
+ '202': *39
'403':
description: |-
We will return a 403 with one of the following messages:
@@ -83722,7 +83779,7 @@ paths:
closed_at: '2013-02-12T13:22:01Z'
due_on: '2012-10-09T23:39:01Z'
headers:
- Link: *39
+ Link: *40
'404': *6
x-github:
githubCloudOnly: false
@@ -83971,7 +84028,7 @@ paths:
examples:
default: *577
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -84007,7 +84064,7 @@ paths:
examples:
default: *603
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: false
@@ -84320,7 +84377,7 @@ paths:
examples:
default: *605
'422': *15
- '409': *94
+ '409': *96
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -84428,7 +84485,7 @@ paths:
description: Response
'422': *15
'400': *14
- '409': *94
+ '409': *96
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -84456,7 +84513,7 @@ paths:
description: Response
'422': *15
'404': *6
- '409': *94
+ '409': *96
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -84562,7 +84619,7 @@ paths:
created_at: '2014-02-10T19:00:49Z'
updated_at: '2014-02-10T19:00:51Z'
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -85314,7 +85371,7 @@ paths:
created_at: '2011-04-10T20:09:31Z'
updated_at: '2014-03-03T18:58:10Z'
headers:
- Link: *39
+ Link: *40
'401': *25
'403': *29
'404': *6
@@ -85565,7 +85622,7 @@ paths:
examples:
default: *610
headers:
- Link: *39
+ Link: *40
'304': *37
'422': *15
x-github:
@@ -85827,7 +85884,7 @@ paths:
type: string
ref:
type: string
- repo: *63
+ repo: *64
sha:
type: string
user: *4
@@ -85844,7 +85901,7 @@ paths:
type: string
ref:
type: string
- repo: *63
+ repo: *64
sha:
type: string
user: *4
@@ -86578,7 +86635,7 @@ paths:
original_line: 2
side: RIGHT
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -86785,7 +86842,7 @@ paths:
examples:
default: *369
headers:
- Link: *39
+ Link: *40
'404': *6
x-github:
githubCloudOnly: false
@@ -86940,7 +86997,7 @@ paths:
content:
application/json:
schema: *3
- '500': *99
+ '500': *85
'503': *132
x-github:
githubCloudOnly: false
@@ -87164,7 +87221,7 @@ paths:
examples:
default: *617
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -87517,7 +87574,7 @@ paths:
examples:
default: *618
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -87573,9 +87630,9 @@ paths:
patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@
module Test"
headers:
- Link: *39
+ Link: *40
'422': *15
- '500': *99
+ '500': *85
'503': *132
x-github:
githubCloudOnly: false
@@ -87792,7 +87849,7 @@ paths:
repositories_url: https://api.github.com/teams/1/repos
parent:
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -89056,7 +89113,7 @@ paths:
commit_id: ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091
author_association: COLLABORATOR
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -89646,7 +89703,7 @@ paths:
pull_request:
href: https://api.github.com/repos/octocat/Hello-World/pulls/1
headers:
- Link: *39
+ Link: *40
'404': *6
x-github:
githubCloudOnly: false
@@ -90234,7 +90291,7 @@ paths:
type: User
site_admin: false
headers:
- Link: *39
+ Link: *40
'404': *6
x-github:
githubCloudOnly: false
@@ -90921,7 +90978,7 @@ paths:
type: User
site_admin: false
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -91078,7 +91135,7 @@ paths:
examples:
default: *369
headers:
- Link: *39
+ Link: *40
'404': *6
x-github:
githubCloudOnly: false
@@ -91374,7 +91431,7 @@ paths:
created_at: '2023-08-15T08:43:03Z'
updated_at: '2023-09-23T16:29:47Z'
'404': *6
- '500': *99
+ '500': *85
post:
summary: Create a repository ruleset
description: Create a ruleset for a repository.
@@ -91486,7 +91543,7 @@ paths:
created_at: '2023-07-15T08:43:03Z'
updated_at: '2023-08-23T16:29:47Z'
'404': *6
- '500': *99
+ '500': *85
"/repos/{owner}/{repo}/rulesets/rule-suites":
get:
summary: List repository rule suites
@@ -91517,7 +91574,7 @@ paths:
examples:
default: *658
'404': *6
- '500': *99
+ '500': *85
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -91548,7 +91605,7 @@ paths:
examples:
default: *661
'404': *6
- '500': *99
+ '500': *85
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -91599,7 +91656,7 @@ paths:
examples:
default: *662
'404': *6
- '500': *99
+ '500': *85
put:
summary: Update a repository ruleset
description: Update a ruleset for a repository.
@@ -91682,7 +91739,7 @@ paths:
examples:
default: *662
'404': *6
- '500': *99
+ '500': *85
delete:
summary: Delete a repository ruleset
description: Delete a ruleset for a repository.
@@ -91710,7 +91767,7 @@ paths:
'204':
description: Response
'404': *6
- '500': *99
+ '500': *85
"/repos/{owner}/{repo}/rulesets/{ruleset_id}/history":
get:
summary: Get repository ruleset history
@@ -91743,7 +91800,7 @@ paths:
examples:
default: *333
'404': *6
- '500': *99
+ '500': *85
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -91812,7 +91869,7 @@ paths:
operator: contains
pattern: github
'404': *6
- '500': *99
+ '500': *85
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -91840,7 +91897,7 @@ paths:
- *336
- *337
- *338
- - *86
+ - *88
- *19
- *17
- *663
@@ -92603,7 +92660,7 @@ paths:
details:
pull_request_review_comment_url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12
headers:
- Link: *39
+ Link: *40
'404':
description: Repository is public, or secret scanning is disabled for the
repository, or the resource is not found
@@ -92827,7 +92884,7 @@ paths:
parameters:
- *378
- *379
- - *86
+ - *88
- name: sort
description: The property to sort the results by.
in: query
@@ -92839,8 +92896,8 @@ paths:
- updated
- published
default: created
- - *84
- - *85
+ - *86
+ - *87
- name: per_page
description: The number of advisories to return per page. For more information,
see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)."
@@ -93783,7 +93840,7 @@ paths:
- *379
- *673
responses:
- '202': *95
+ '202': *39
'400': *14
'403': *29
'404': *6
@@ -93922,7 +93979,7 @@ paths:
type: User
site_admin: false
headers:
- Link: *39
+ Link: *40
'422': *15
x-github:
githubCloudOnly: false
@@ -93966,7 +94023,7 @@ paths:
- - 1302998400
- 1124
- -435
- '202': *95
+ '202': *39
'204': *118
'422':
description: Repository contains more than 10,000 commits
@@ -94036,7 +94093,7 @@ paths:
- 0
total: 89
week: 1336280400
- '202': *95
+ '202': *39
'204': *118
x-github:
githubCloudOnly: false
@@ -94138,7 +94195,7 @@ paths:
a: 6898
d: 77
c: 10
- '202': *95
+ '202': *39
'204': *118
x-github:
githubCloudOnly: false
@@ -94484,7 +94541,7 @@ paths:
examples:
default: *294
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -94709,7 +94766,7 @@ paths:
tarball_url: https://github.com/octocat/Hello-World/tarball/v0.1
node_id: MDQ6VXNlcjE=
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -94938,7 +94995,7 @@ paths:
examples:
default: *306
headers:
- Link: *39
+ Link: *40
'404': *6
x-github:
githubCloudOnly: false
@@ -96048,7 +96105,7 @@ paths:
default: 30
format: int32
example: 1
- - *40
+ - *41
responses:
'200':
description: Success, either groups were found or not found
@@ -96258,7 +96315,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#provision-a-scim-enterprise-group
parameters:
- - *40
+ - *41
requestBody:
required: true
content:
@@ -96372,7 +96429,7 @@ paths:
type: string
example: 7fce0092-d52e-4f76-b727-3955bd72c939
- *690
- - *40
+ - *41
responses:
'200':
description: Success, a group was found
@@ -96406,7 +96463,7 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-group
parameters:
- *692
- - *40
+ - *41
requestBody:
required: true
content:
@@ -96472,7 +96529,7 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-group
parameters:
- *692
- - *40
+ - *41
requestBody:
required: true
content:
@@ -96564,7 +96621,7 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-group-from-an-enterprise
parameters:
- *692
- - *40
+ - *41
responses:
'204':
description: Group was deleted, no content
@@ -96609,7 +96666,7 @@ paths:
value: externalId eq 'E012345'
- *695
- *696
- - *40
+ - *41
responses:
'200':
description: Success, either users were found or not found
@@ -96836,7 +96893,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#provision-a-scim-enterprise-user
parameters:
- - *40
+ - *41
requestBody:
required: true
content:
@@ -97030,7 +97087,7 @@ paths:
required: true
schema:
type: string
- - *40
+ - *41
responses:
'200':
description: Success, a user was found
@@ -97067,7 +97124,7 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-user
parameters:
- *701
- - *40
+ - *41
requestBody:
required: true
content:
@@ -97125,7 +97182,7 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-user
parameters:
- *701
- - *40
+ - *41
requestBody:
required: true
content:
@@ -97202,7 +97259,7 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-user-from-an-enterprise
parameters:
- *701
- - *40
+ - *41
responses:
'204':
description: User was deleted, no content
@@ -98754,7 +98811,7 @@ paths:
author_association: *140
draft:
type: boolean
- repository: *63
+ repository: *64
body_html:
type: string
body_text:
@@ -100165,7 +100222,7 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy
parameters:
- *711
- - *86
+ - *88
- *17
- *19
responses:
@@ -100179,7 +100236,7 @@ paths:
examples:
default: *712
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -100386,7 +100443,7 @@ paths:
parameters:
- *711
- *363
- - *86
+ - *88
- *17
- *19
responses:
@@ -100400,7 +100457,7 @@ paths:
examples:
default: *714
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -100628,7 +100685,7 @@ paths:
examples:
default: *369
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -100748,7 +100805,7 @@ paths:
examples:
default: *369
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -100848,7 +100905,7 @@ paths:
examples:
default: *287
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -100897,7 +100954,7 @@ paths:
examples:
default: *294
headers:
- Link: *39
+ Link: *40
'404': *6
x-github:
githubCloudOnly: false
@@ -101184,7 +101241,7 @@ paths:
examples:
default: *718
headers:
- Link: *39
+ Link: *40
'404': *6
x-github:
githubCloudOnly: false
@@ -101351,7 +101408,7 @@ paths:
examples:
default: *313
headers:
- Link: *39
+ Link: *40
'404': *6
x-github:
githubCloudOnly: false
@@ -101758,7 +101815,7 @@ paths:
examples:
response-if-child-teams-exist: *721
headers:
- Link: *39
+ Link: *40
'404': *6
'403': *29
'422': *15
@@ -102352,7 +102409,7 @@ paths:
examples:
default: *296
'304': *37
- '500': *99
+ '500': *85
'401': *25
'403': *29
'404': *6
@@ -102585,7 +102642,7 @@ paths:
examples:
default: *491
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: false
@@ -102809,7 +102866,7 @@ paths:
'401': *25
'403': *29
'404': *6
- '500': *99
+ '500': *85
x-github:
githubCloudOnly: false
enabledForGitHubApps: false
@@ -102862,7 +102919,7 @@ paths:
'401': *25
'403': *29
'404': *6
- '500': *99
+ '500': *85
x-github:
githubCloudOnly: false
enabledForGitHubApps: false
@@ -102896,7 +102953,7 @@ paths:
'401': *25
'403': *29
'404': *6
- '500': *99
+ '500': *85
x-github:
githubCloudOnly: false
enabledForGitHubApps: false
@@ -102929,7 +102986,7 @@ paths:
'401': *25
'403': *29
'404': *6
- '500': *99
+ '500': *85
x-github:
githubCloudOnly: false
enabledForGitHubApps: false
@@ -102959,7 +103016,7 @@ paths:
examples:
default: *488
'304': *37
- '500': *99
+ '500': *85
'401': *25
'403': *29
'404': *6
@@ -103039,9 +103096,9 @@ paths:
parameters:
- *297
responses:
- '202': *95
+ '202': *39
'304': *37
- '500': *99
+ '500': *85
'401': *25
'403': *29
'404': *6
@@ -103121,7 +103178,7 @@ paths:
sha: fd95a81ca01e48ede9f39c799ecbcef817b8a3b2
id: latest
export_url: https://api.github.com/user/codespaces/:name/exports/latest
- '500': *99
+ '500': *85
'401': *25
'403': *29
'404': *6
@@ -103201,7 +103258,7 @@ paths:
examples:
default: *729
'304': *37
- '500': *99
+ '500': *85
'401': *25
'403': *29
'404': *6
@@ -104068,7 +104125,7 @@ paths:
examples:
default: *488
'304': *37
- '500': *99
+ '500': *85
'400': *14
'401': *25
'402':
@@ -104078,7 +104135,7 @@ paths:
schema: *3
'403': *29
'404': *6
- '409': *94
+ '409': *96
x-github:
githubCloudOnly: false
enabledForGitHubApps: false
@@ -104107,7 +104164,7 @@ paths:
schema: *295
examples:
default: *488
- '500': *99
+ '500': *85
'401': *25
'403': *29
'404': *6
@@ -104313,7 +104370,7 @@ paths:
primary: true
visibility: public
headers:
- Link: *39
+ Link: *40
'304': *37
'404': *6
'403': *29
@@ -104493,7 +104550,7 @@ paths:
examples:
default: *294
headers:
- Link: *39
+ Link: *40
'304': *37
'403': *29
'401': *25
@@ -104526,7 +104583,7 @@ paths:
examples:
default: *294
headers:
- Link: *39
+ Link: *40
'304': *37
'403': *29
'401': *25
@@ -104800,7 +104857,7 @@ paths:
revoked: false
raw_key: string
headers:
- Link: *39
+ Link: *40
'304': *37
'404': *6
'403': *29
@@ -105092,7 +105149,7 @@ paths:
suspended_at:
suspended_by:
headers:
- Link: *39
+ Link: *40
'304': *37
'403': *29
'401': *25
@@ -105138,11 +105195,11 @@ paths:
type: string
repositories:
type: array
- items: *63
+ items: *64
examples:
default: *734
headers:
- Link: *39
+ Link: *40
'404': *6
'403': *29
'304': *37
@@ -105358,7 +105415,7 @@ paths:
- updated
- comments
default: created
- - *86
+ - *88
- *143
- *17
- *19
@@ -105373,7 +105430,7 @@ paths:
examples:
default: *293
headers:
- Link: *39
+ Link: *40
'404': *6
'304': *37
x-github:
@@ -105451,7 +105508,7 @@ paths:
verified: false
read_only: false
headers:
- Link: *39
+ Link: *40
'304': *37
'404': *6
'403': *29
@@ -105701,7 +105758,7 @@ paths:
- Up to 25 private repositories
- 11 concurrent builds
headers:
- Link: *39
+ Link: *40
'304': *37
'401': *25
'404': *6
@@ -105734,7 +105791,7 @@ paths:
examples:
default: *738
headers:
- Link: *39
+ Link: *40
'304': *37
'401': *25
x-github:
@@ -105849,7 +105906,7 @@ paths:
type: User
site_admin: false
headers:
- Link: *39
+ Link: *40
'304': *37
'403': *29
'401': *25
@@ -106184,7 +106241,7 @@ paths:
updated_at: '2015-07-06T15:33:38-07:00'
node_id: MDQ6VXNlcjE=
headers:
- Link: *39
+ Link: *40
'304': *37
'403': *29
'401': *25
@@ -106765,7 +106822,7 @@ paths:
examples:
default: *313
headers:
- Link: *39
+ Link: *40
'404': *6
x-github:
githubCloudOnly: false
@@ -106798,11 +106855,11 @@ paths:
application/json:
schema:
type: array
- items: *58
+ items: *59
examples:
default: *740
headers:
- Link: *39
+ Link: *40
'304': *37
'403': *29
'401': *25
@@ -107341,7 +107398,7 @@ paths:
examples:
default: *744
headers:
- Link: *39
+ Link: *40
'304': *37
'404': *6
'403': *29
@@ -107450,7 +107507,7 @@ paths:
application/json:
schema:
type: array
- items: *63
+ items: *64
examples:
default: &751
summary: Default response
@@ -107573,7 +107630,7 @@ paths:
open_issues: 1
watchers: 1
headers:
- Link: *39
+ Link: *40
'422': *15
'304': *37
'403': *29
@@ -107800,7 +107857,7 @@ paths:
examples:
default: *745
headers:
- Link: *39
+ Link: *40
'304': *37
'404': *6
'403': *29
@@ -107826,7 +107883,7 @@ paths:
'204':
description: Response
'403': *29
- '409': *94
+ '409': *96
'404': *6
'304': *37
x-github:
@@ -107848,7 +107905,7 @@ paths:
responses:
'204':
description: Response
- '409': *94
+ '409': *96
'304': *37
'404': *6
'403': *29
@@ -107897,7 +107954,7 @@ paths:
- provider: twitter
url: https://twitter.com/github
headers:
- Link: *39
+ Link: *40
'304': *37
'404': *6
'403': *29
@@ -108076,7 +108133,7 @@ paths:
title: ssh-rsa AAAAB3NzaC1yc2EAAB
created_at: '2020-07-11T21:31:57Z'
headers:
- Link: *39
+ Link: *40
'304': *37
'404': *6
'403': *29
@@ -108241,7 +108298,7 @@ paths:
- created
- updated
default: created
- - *86
+ - *88
- *17
- *19
responses:
@@ -108251,7 +108308,7 @@ paths:
application/json:
schema:
type: array
- items: *63
+ items: *64
examples:
default-response: *751
application/vnd.github.v3.star+json:
@@ -108265,7 +108322,7 @@ paths:
starred_at:
type: string
format: date-time
- repo: *63
+ repo: *64
required:
- starred_at
- repo
@@ -108393,7 +108450,7 @@ paths:
open_issues: 1
watchers: 1
headers:
- Link: *39
+ Link: *40
'304': *37
'403': *29
'401': *25
@@ -108505,7 +108562,7 @@ paths:
examples:
default: *313
headers:
- Link: *39
+ Link: *40
'304': *37
'403': *29
'401': *25
@@ -108591,7 +108648,7 @@ paths:
updated_at: '2017-08-17T12:37:15Z'
type: Organization
headers:
- Link: *39
+ Link: *40
'304': *37
'404': *6
'403': *29
@@ -108801,8 +108858,8 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#list-attestations
parameters:
- *17
- - *84
- - *85
+ - *86
+ - *87
- *218
- name: subject_digest
description: Subject Digest
@@ -109179,7 +109236,7 @@ paths:
examples:
default: *294
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -109210,7 +109267,7 @@ paths:
examples:
default: *294
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -109269,7 +109326,7 @@ paths:
examples:
default: *145
headers:
- Link: *39
+ Link: *40
'422': *15
x-github:
githubCloudOnly: false
@@ -109302,7 +109359,7 @@ paths:
examples:
default: *755
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -109450,7 +109507,7 @@ paths:
- id: 1
key: ssh-rsa AAA...
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -109480,11 +109537,11 @@ paths:
application/json:
schema:
type: array
- items: *58
+ items: *59
examples:
default: *740
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -109889,7 +109946,7 @@ paths:
created_at: '2011-04-10T20:09:31Z'
updated_at: '2014-03-03T18:58:10Z'
headers:
- Link: *39
+ Link: *40
'422': *15
x-github:
githubCloudOnly: false
@@ -110138,7 +110195,7 @@ paths:
examples:
default: *313
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -110260,7 +110317,7 @@ paths:
examples:
default: *747
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -110292,7 +110349,7 @@ paths:
examples:
default: *757
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -110316,7 +110373,7 @@ paths:
parameters:
- *218
- *758
- - *86
+ - *88
- *17
- *19
responses:
@@ -110329,11 +110386,11 @@ paths:
- type: array
items: *759
- type: array
- items: *63
+ items: *64
examples:
default-response: *751
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -110364,7 +110421,7 @@ paths:
examples:
default: *313
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -225601,7 +225658,7 @@ x-webhooks:
description: The ID of the parent issue.
type: number
parent_issue: *153
- parent_issue_repo: *63
+ parent_issue_repo: *64
sub_issue_id:
description: The ID of the sub-issue.
type: number
@@ -225693,7 +225750,7 @@ x-webhooks:
description: The ID of the parent issue.
type: number
parent_issue: *153
- parent_issue_repo: *63
+ parent_issue_repo: *64
sub_issue_id:
description: The ID of the sub-issue.
type: number
@@ -225785,7 +225842,7 @@ x-webhooks:
description: The ID of the sub-issue.
type: number
sub_issue: *153
- sub_issue_repo: *63
+ sub_issue_repo: *64
parent_issue_id:
description: The ID of the parent issue.
type: number
@@ -225877,7 +225934,7 @@ x-webhooks:
description: The ID of the sub-issue.
type: number
sub_issue: *153
- sub_issue_repo: *63
+ sub_issue_repo: *64
parent_issue_id:
description: The ID of the parent issue.
type: number
diff --git a/descriptions/ghec/dereferenced/ghec.deref.json b/descriptions/ghec/dereferenced/ghec.deref.json
index 32c5c95e2..0dc92af14 100644
--- a/descriptions/ghec/dereferenced/ghec.deref.json
+++ b/descriptions/ghec/dereferenced/ghec.deref.json
@@ -199,6 +199,10 @@
{
"name": "campaigns",
"description": "Endpoints to manage campaigns via the REST API."
+ },
+ {
+ "name": "credentials",
+ "description": "Revoke compromised or leaked GitHub credentials."
}
],
"servers": [
@@ -14248,6 +14252,133 @@
}
}
},
+ "/credentials/revoke": {
+ "post": {
+ "summary": "Revoke a list of credentials",
+ "description": "Submit a list of credentials to be revoked. This endpoint is intended to revoke credentials the caller does not own and may have found exposed on GitHub.com or elsewhere. It can also be used for credentials associated with an old user account that you no longer have access to. Credential owners will be notified of the revocation.\n\nThis endpoint currently accepts the following credential types:\n- Personal access tokens (classic)\n- Fine-grained personal access tokens\n\nRevoked credentials may impact users on GitHub Free, Pro, & Team and GitHub Enterprise Cloud, and GitHub Enterprise Cloud with Enterprise Managed Users.\nGitHub cannot reactivate any credentials that have been revoked; new credentials will need to be generated.\n\nTo prevent abuse, this API is limited to only 60 unauthenticated requests per hour and a max of 1000 tokens per API request.\n\n> [!NOTE]\n> Any authenticated requests will return a 403.",
+ "tags": [
+ "credentials"
+ ],
+ "operationId": "credentials/revoke",
+ "externalDocs": {
+ "description": "API method documentation",
+ "url": "https://docs.github.com/enterprise-cloud@latest//rest/credentials/revoke#revoke-a-list-of-credentials"
+ },
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "credentials": {
+ "type": "array",
+ "description": "A list of credentials to be revoked, up to 1000 per request.",
+ "items": {
+ "type": "string"
+ },
+ "minItems": 1,
+ "maxItems": 1000
+ }
+ },
+ "required": [
+ "credentials"
+ ]
+ },
+ "examples": {
+ "default": {
+ "value": {
+ "credentials": [
+ "ghp_1234567890abcdef1234567890abcdef12345678",
+ "ghp_abcdef1234567890abcdef1234567890abcdef12"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "202": {
+ "description": "Accepted",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ },
+ "examples": {
+ "default": {
+ "value": null
+ }
+ }
+ }
+ }
+ },
+ "422": {
+ "description": "Validation failed, or the endpoint has been spammed.",
+ "content": {
+ "application/json": {
+ "schema": {
+ "title": "Validation Error Simple",
+ "description": "Validation Error Simple",
+ "type": "object",
+ "required": [
+ "message",
+ "documentation_url"
+ ],
+ "properties": {
+ "message": {
+ "type": "string"
+ },
+ "documentation_url": {
+ "type": "string"
+ },
+ "errors": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "500": {
+ "description": "Internal Error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "title": "Basic Error",
+ "description": "Basic Error",
+ "type": "object",
+ "properties": {
+ "message": {
+ "type": "string"
+ },
+ "documentation_url": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "status": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "x-github": {
+ "githubCloudOnly": false,
+ "enabledForGitHubApps": false,
+ "category": "credentials",
+ "subcategory": "revoke"
+ }
+ }
+ },
"/emojis": {
"get": {
"summary": "Get emojis",
diff --git a/descriptions/ghec/dereferenced/ghec.deref.yaml b/descriptions/ghec/dereferenced/ghec.deref.yaml
index 6be06d22e..6bb44bd49 100644
--- a/descriptions/ghec/dereferenced/ghec.deref.yaml
+++ b/descriptions/ghec/dereferenced/ghec.deref.yaml
@@ -105,6 +105,8 @@ tags:
description: Manage hosted compute networking resources.
- name: campaigns
description: Endpoints to manage campaigns via the REST API.
+- name: credentials
+ description: Revoke compromised or leaked GitHub credentials.
servers:
- url: https://api.github.com
externalDocs:
@@ -440,7 +442,7 @@ paths:
The EPSS percentile represents the relative rank of the CVE's likelihood of being exploited compared to other CVEs.
schema:
type: string
- - &84
+ - &86
name: before
description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers).
If specified, the query only searches for results before this cursor. For
@@ -449,7 +451,7 @@ paths:
required: false
schema:
type: string
- - &85
+ - &87
name: after
description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers).
If specified, the query only searches for results after this cursor. For
@@ -458,7 +460,7 @@ paths:
required: false
schema:
type: string
- - &86
+ - &88
name: direction
description: The direction to sort the results by.
in: query
@@ -1984,7 +1986,7 @@ paths:
parameters:
- *16
responses:
- '202': &95
+ '202': &39
description: Accepted
content:
application/json:
@@ -2658,7 +2660,7 @@ paths:
suspended_at:
suspended_by:
headers:
- Link: &39
+ Link: &40
example: <https://api.github.com/resource?page=2>; rel="next", <https://api.github.com/resource?page=5>;
rel="last"
schema:
@@ -2847,7 +2849,7 @@ paths:
- selected
repositories:
type: array
- items: &63
+ items: &64
title: Repository
description: A repository on GitHub.
type: object
@@ -5018,6 +5020,65 @@ paths:
enabledForGitHubApps: true
category: codes-of-conduct
subcategory: codes-of-conduct
+ "/credentials/revoke":
+ post:
+ summary: Revoke a list of credentials
+ description: |-
+ Submit a list of credentials to be revoked. This endpoint is intended to revoke credentials the caller does not own and may have found exposed on GitHub.com or elsewhere. It can also be used for credentials associated with an old user account that you no longer have access to. Credential owners will be notified of the revocation.
+
+ This endpoint currently accepts the following credential types:
+ - Personal access tokens (classic)
+ - Fine-grained personal access tokens
+
+ Revoked credentials may impact users on GitHub Free, Pro, & Team and GitHub Enterprise Cloud, and GitHub Enterprise Cloud with Enterprise Managed Users.
+ GitHub cannot reactivate any credentials that have been revoked; new credentials will need to be generated.
+
+ To prevent abuse, this API is limited to only 60 unauthenticated requests per hour and a max of 1000 tokens per API request.
+
+ > [!NOTE]
+ > Any authenticated requests will return a 403.
+ tags:
+ - credentials
+ operationId: credentials/revoke
+ externalDocs:
+ description: API method documentation
+ url: https://docs.github.com/enterprise-cloud@latest//rest/credentials/revoke#revoke-a-list-of-credentials
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ type: object
+ properties:
+ credentials:
+ type: array
+ description: A list of credentials to be revoked, up to 1000 per
+ request.
+ items:
+ type: string
+ minItems: 1
+ maxItems: 1000
+ required:
+ - credentials
+ examples:
+ default:
+ value:
+ credentials:
+ - ghp_1234567890abcdef1234567890abcdef12345678
+ - ghp_abcdef1234567890abcdef1234567890abcdef12
+ responses:
+ '202': *39
+ '422': *7
+ '500': &85
+ description: Internal Error
+ content:
+ application/json:
+ schema: *3
+ x-github:
+ githubCloudOnly: false
+ enabledForGitHubApps: false
+ category: credentials
+ subcategory: revoke
"/emojis":
get:
summary: Get emojis
@@ -7281,7 +7342,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-usage-for-an-enterprise
parameters:
- - &40
+ - &41
name: enterprise
description: The slug version of the enterprise name. You can also substitute
this value with the enterprise id.
@@ -7314,7 +7375,7 @@ paths:
total_active_caches_size_in_bytes: 3344284
total_active_caches_count: 5
headers:
- Link: *39
+ Link: *40
x-github:
enabledForGitHubApps: false
githubCloudOnly: true
@@ -7334,7 +7395,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#list-github-hosted-runners-for-an-enterprise
parameters:
- - *40
+ - *41
- *17
- *19
responses:
@@ -7352,7 +7413,7 @@ paths:
type: integer
runners:
type: array
- items: &41
+ items: &42
title: GitHub-hosted hosted runner
description: A Github-hosted hosted runner.
type: object
@@ -7402,7 +7463,7 @@ paths:
- source
- version
nullable: true
- machine_size_details: &44
+ machine_size_details: &45
title: Github-owned VM details.
description: Provides details of a particular machine spec.
type: object
@@ -7536,7 +7597,7 @@ paths:
public_ips: []
last_active_on: '2023-04-26T15:23:37Z'
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: true
enabledForGitHubApps: false
@@ -7554,7 +7615,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#create-a-github-hosted-runner-for-an-enterprise
parameters:
- - *40
+ - *41
requestBody:
required: true
content:
@@ -7622,9 +7683,9 @@ paths:
description: Response
content:
application/json:
- schema: *41
+ schema: *42
examples:
- default: &45
+ default: &46
value:
id: 5
name: My hosted ubuntu runner
@@ -7663,7 +7724,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-github-owned-images-for-github-hosted-runners-in-an-enterprise
parameters:
- - *40
+ - *41
responses:
'200':
description: Response
@@ -7679,7 +7740,7 @@ paths:
type: integer
images:
type: array
- items: &42
+ items: &43
title: GitHub-hosted runner image details.
description: Provides details of a hosted runner image
type: object
@@ -7715,7 +7776,7 @@ paths:
- display_name
- source
examples:
- default: &43
+ default: &44
value:
id: ubuntu-20.04
platform: linux-x64
@@ -7739,7 +7800,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-partner-images-for-github-hosted-runners-in-an-enterprise
parameters:
- - *40
+ - *41
responses:
'200':
description: Response
@@ -7755,9 +7816,9 @@ paths:
type: integer
images:
type: array
- items: *42
+ items: *43
examples:
- default: *43
+ default: *44
x-github:
githubCloudOnly: true
enabledForGitHubApps: false
@@ -7774,7 +7835,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-limits-on-github-hosted-runners-for-an-enterprise
parameters:
- - *40
+ - *41
responses:
'200':
description: Response
@@ -7827,7 +7888,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-github-hosted-runners-machine-specs-for-an-enterprise
parameters:
- - *40
+ - *41
responses:
'200':
description: Response
@@ -7843,7 +7904,7 @@ paths:
type: integer
machine_specs:
type: array
- items: *44
+ items: *45
examples:
default: &186
value:
@@ -7868,7 +7929,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-platforms-for-github-hosted-runners-in-an-enterprise
parameters:
- - *40
+ - *41
responses:
'200':
description: Response
@@ -7912,8 +7973,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-enterprise
parameters:
- - *40
- - &46
+ - *41
+ - &47
name: hosted_runner_id
description: Unique identifier of the GitHub-hosted runner.
in: path
@@ -7925,11 +7986,11 @@ paths:
description: Response
content:
application/json:
- schema: *41
+ schema: *42
examples:
- default: *45
+ default: *46
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: true
enabledForGitHubApps: true
@@ -7947,8 +8008,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-enterprise
parameters:
- - *40
- - *46
+ - *41
+ - *47
requestBody:
required: true
content:
@@ -7986,9 +8047,9 @@ paths:
description: Response
content:
application/json:
- schema: *41
+ schema: *42
examples:
- default: *45
+ default: *46
x-github:
enabledForGitHubApps: false
githubCloudOnly: true
@@ -8004,16 +8065,16 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-enterprise
parameters:
- - *40
- - *46
+ - *41
+ - *47
responses:
'202':
description: Response
content:
application/json:
- schema: *41
+ schema: *42
examples:
- default: *45
+ default: *46
x-github:
githubCloudOnly: true
enabledForGitHubApps: false
@@ -8033,7 +8094,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#set-the-github-actions-oidc-custom-issuer-policy-for-an-enterprise
parameters:
- - *40
+ - *41
responses:
'204':
description: Response
@@ -8072,7 +8133,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-github-actions-permissions-for-an-enterprise
parameters:
- - *40
+ - *41
responses:
'200':
description: Response
@@ -8081,7 +8142,7 @@ paths:
schema:
type: object
properties:
- enabled_organizations: &47
+ enabled_organizations: &48
type: string
description: The policy that controls the organizations in the
enterprise that are allowed to run GitHub Actions.
@@ -8094,7 +8155,7 @@ paths:
description: The API URL to use to get or set the selected organizations
that are allowed to run GitHub Actions, when `enabled_organizations`
is set to `selected`.
- allowed_actions: &48
+ allowed_actions: &49
type: string
description: The permissions policy that controls the actions
and reusable workflows that are allowed to run.
@@ -8133,7 +8194,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-github-actions-permissions-for-an-enterprise
parameters:
- - *40
+ - *41
responses:
'204':
description: Response
@@ -8144,8 +8205,8 @@ paths:
schema:
type: object
properties:
- enabled_organizations: *47
- allowed_actions: *48
+ enabled_organizations: *48
+ allowed_actions: *49
required:
- enabled_organizations
examples:
@@ -8172,7 +8233,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#list-selected-organizations-enabled-for-github-actions-in-an-enterprise
parameters:
- - *40
+ - *41
- *17
- *19
responses:
@@ -8187,11 +8248,11 @@ paths:
type: number
organizations:
type: array
- items: &58
+ items: &59
title: Organization Simple
description: A GitHub organization.
type: object
- properties: &97
+ properties: &98
login:
type: string
example: github
@@ -8232,7 +8293,7 @@ paths:
type: string
example: A great organization
nullable: true
- required: &98
+ required: &99
- login
- url
- id
@@ -8249,7 +8310,7 @@ paths:
- total_count
- organizations
examples:
- default: &59
+ default: &60
value:
total_count: 1
organizations:
@@ -8283,7 +8344,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-selected-organizations-enabled-for-github-actions-in-an-enterprise
parameters:
- - *40
+ - *41
responses:
'204':
description: Response
@@ -8327,8 +8388,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#enable-a-selected-organization-for-github-actions-in-an-enterprise
parameters:
- - *40
- - &49
+ - *41
+ - &50
name: org_id
description: The unique identifier of the organization.
in: path
@@ -8356,8 +8417,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#disable-a-selected-organization-for-github-actions-in-an-enterprise
parameters:
- - *40
- - *49
+ - *41
+ - *50
responses:
'204':
description: Response
@@ -8380,13 +8441,13 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-enterprise
parameters:
- - *40
+ - *41
responses:
'200':
description: Response
content:
application/json:
- schema: &50
+ schema: &51
type: object
properties:
github_owned_allowed:
@@ -8407,7 +8468,7 @@ paths:
items:
type: string
examples:
- default: &51
+ default: &52
value:
github_owned_allowed: true
verified_allowed: false
@@ -8432,7 +8493,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-enterprise
parameters:
- - *40
+ - *41
responses:
'204':
description: Response
@@ -8440,9 +8501,9 @@ paths:
required: true
content:
application/json:
- schema: *50
+ schema: *51
examples:
- selected_actions: *51
+ selected_actions: *52
x-github:
enabledForGitHubApps: false
githubCloudOnly: true
@@ -8464,7 +8525,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-default-workflow-permissions-for-an-enterprise
parameters:
- - *40
+ - *41
responses:
'200':
description: Success response
@@ -8473,14 +8534,14 @@ paths:
schema: &192
type: object
properties:
- default_workflow_permissions: &52
+ default_workflow_permissions: &53
type: string
description: The default workflow permissions granted to the GITHUB_TOKEN
when running workflows.
enum:
- read
- write
- can_approve_pull_request_reviews: &53
+ can_approve_pull_request_reviews: &54
type: boolean
description: Whether GitHub Actions can approve pull requests.
Enabling this can be a security risk.
@@ -8488,7 +8549,7 @@ paths:
- default_workflow_permissions
- can_approve_pull_request_reviews
examples:
- default: &54
+ default: &55
summary: Give read-only permission, and allow approving PRs.
value:
default_workflow_permissions: read
@@ -8513,7 +8574,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-default-workflow-permissions-for-an-enterprise
parameters:
- - *40
+ - *41
requestBody:
required: true
content:
@@ -8521,10 +8582,10 @@ paths:
schema: &193
type: object
properties:
- default_workflow_permissions: *52
- can_approve_pull_request_reviews: *53
+ default_workflow_permissions: *53
+ can_approve_pull_request_reviews: *54
examples:
- default: *54
+ default: *55
responses:
'204':
description: Success response
@@ -8547,7 +8608,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-self-hosted-runner-groups-for-an-enterprise
parameters:
- - *40
+ - *41
- *17
- *19
- name: visible_to_organization
@@ -8569,7 +8630,7 @@ paths:
type: number
runner_groups:
type: array
- items: &55
+ items: &56
type: object
properties:
id:
@@ -8677,7 +8738,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-enterprise
parameters:
- - *40
+ - *41
requestBody:
required: true
content:
@@ -8748,9 +8809,9 @@ paths:
description: Response
content:
application/json:
- schema: *55
+ schema: *56
examples:
- default: &56
+ default: &57
value:
id: 2
name: octo-runner-group
@@ -8784,8 +8845,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-enterprise
parameters:
- - *40
- - &57
+ - *41
+ - &58
name: runner_group_id
description: Unique identifier of the self-hosted runner group.
in: path
@@ -8797,9 +8858,9 @@ paths:
description: Response
content:
application/json:
- schema: *55
+ schema: *56
examples:
- default: *56
+ default: *57
x-github:
enabledForGitHubApps: false
githubCloudOnly: true
@@ -8818,8 +8879,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-enterprise
parameters:
- - *40
- - *57
+ - *41
+ - *58
requestBody:
required: false
content:
@@ -8871,7 +8932,7 @@ paths:
description: Response
content:
application/json:
- schema: *55
+ schema: *56
examples:
default:
value:
@@ -8906,8 +8967,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-enterprise
parameters:
- - *40
- - *57
+ - *41
+ - *58
responses:
'204':
description: Response
@@ -8930,8 +8991,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-organization-access-to-a-self-hosted-runner-group-in-an-enterprise
parameters:
- - *40
- - *57
+ - *41
+ - *58
- *17
- *19
responses:
@@ -8946,12 +9007,12 @@ paths:
type: number
organizations:
type: array
- items: *58
+ items: *59
required:
- total_count
- organizations
examples:
- default: *59
+ default: *60
x-github:
enabledForGitHubApps: false
githubCloudOnly: true
@@ -8970,8 +9031,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#set-organization-access-for-a-self-hosted-runner-group-in-an-enterprise
parameters:
- - *40
- - *57
+ - *41
+ - *58
requestBody:
required: true
content:
@@ -9016,9 +9077,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#add-organization-access-to-a-self-hosted-runner-group-in-an-enterprise
parameters:
- - *40
- - *57
- - *49
+ - *41
+ - *58
+ - *50
responses:
'204':
description: Response
@@ -9040,9 +9101,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#remove-organization-access-to-a-self-hosted-runner-group-in-an-enterprise
parameters:
- - *40
- - *57
- - *49
+ - *41
+ - *58
+ - *50
responses:
'204':
description: Response
@@ -9065,8 +9126,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-enterprise
parameters:
- - *40
- - *57
+ - *41
+ - *58
- *17
- *19
responses:
@@ -9081,7 +9142,7 @@ paths:
type: number
runners:
type: array
- items: &61
+ items: &62
title: Self hosted runners
description: A self hosted runner
type: object
@@ -9110,7 +9171,7 @@ paths:
type: boolean
labels:
type: array
- items: &65
+ items: &66
title: Self hosted runner label
description: A label for a self hosted runner
type: object
@@ -9143,7 +9204,7 @@ paths:
- total_count
- runners
examples:
- default: &62
+ default: &63
value:
total_count: 2
runners:
@@ -9183,7 +9244,7 @@ paths:
name: no-gpu
type: custom
headers:
- Link: *39
+ Link: *40
x-github:
enabledForGitHubApps: false
githubCloudOnly: true
@@ -9202,8 +9263,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-enterprise
parameters:
- - *40
- - *57
+ - *41
+ - *58
requestBody:
required: true
content:
@@ -9247,9 +9308,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-enterprise
parameters:
- - *40
- - *57
- - &60
+ - *41
+ - *58
+ - &61
name: runner_id
description: Unique identifier of the self-hosted runner.
in: path
@@ -9277,9 +9338,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-enterprise
parameters:
- - *40
- - *57
- - *60
+ - *41
+ - *58
+ - *61
responses:
'204':
description: Response
@@ -9307,7 +9368,7 @@ paths:
in: query
schema:
type: string
- - *40
+ - *41
- *17
- *19
responses:
@@ -9322,11 +9383,11 @@ paths:
type: number
runners:
type: array
- items: *61
+ items: *62
examples:
- default: *62
+ default: *63
headers:
- Link: *39
+ Link: *40
x-github:
enabledForGitHubApps: false
githubCloudOnly: true
@@ -9346,7 +9407,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-runner-applications-for-an-enterprise
parameters:
- - *40
+ - *41
responses:
'200':
description: Response
@@ -9420,7 +9481,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-an-enterprise
parameters:
- - *40
+ - *41
requestBody:
required: true
content:
@@ -9473,7 +9534,7 @@ paths:
- runner
- encoded_jit_config
properties:
- runner: *61
+ runner: *62
encoded_jit_config:
type: string
description: The base64 encoded runner configuration.
@@ -9502,7 +9563,7 @@ paths:
encoded_jit_config: abc123
'404': *6
'422': *7
- '409': &94
+ '409': &96
description: Conflict
content:
application/json:
@@ -9534,13 +9595,13 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-registration-token-for-an-enterprise
parameters:
- - *40
+ - *41
responses:
'201':
description: Response
content:
application/json:
- schema: &64
+ schema: &65
title: Authentication Token
description: Authentication Token
type: object
@@ -9562,7 +9623,7 @@ paths:
repositories:
description: The repositories this token has access to
type: array
- items: *63
+ items: *64
single_file:
type: string
example: config.yaml
@@ -9610,13 +9671,13 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-remove-token-for-an-enterprise
parameters:
- - *40
+ - *41
responses:
'201':
description: Response
content:
application/json:
- schema: *64
+ schema: *65
examples:
default: &201
value:
@@ -9641,14 +9702,14 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-enterprise
parameters:
- - *40
- - *60
+ - *41
+ - *61
responses:
'200':
description: Response
content:
application/json:
- schema: *61
+ schema: *62
examples:
default: &202
value:
@@ -9689,8 +9750,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-enterprise
parameters:
- - *40
- - *60
+ - *41
+ - *61
responses:
'204':
description: Response
@@ -9713,10 +9774,10 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-enterprise
parameters:
- - *40
- - *60
+ - *41
+ - *61
responses:
- '200': &66
+ '200': &67
description: Response
content:
application/json:
@@ -9730,7 +9791,7 @@ paths:
type: integer
labels:
type: array
- items: *65
+ items: *66
examples:
default:
value:
@@ -9767,8 +9828,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-an-enterprise
parameters:
- - *40
- - *60
+ - *41
+ - *61
requestBody:
required: true
content:
@@ -9792,7 +9853,7 @@ paths:
- gpu
- accelerated
responses:
- '200': *66
+ '200': *67
'404': *6
'422': *7
x-github:
@@ -9814,8 +9875,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-enterprise
parameters:
- - *40
- - *60
+ - *41
+ - *61
requestBody:
required: true
content:
@@ -9840,7 +9901,7 @@ paths:
- gpu
- accelerated
responses:
- '200': *66
+ '200': *67
'404': *6
'422': *7
x-github:
@@ -9862,8 +9923,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-an-enterprise
parameters:
- - *40
- - *60
+ - *41
+ - *61
responses:
'200': &203
description: Response
@@ -9879,7 +9940,7 @@ paths:
type: integer
labels:
type: array
- items: *65
+ items: *66
examples:
default:
value:
@@ -9919,8 +9980,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-an-enterprise
parameters:
- - *40
- - *60
+ - *41
+ - *61
- &204
name: name
description: The name of a self-hosted runner's custom label.
@@ -9929,7 +9990,7 @@ paths:
schema:
type: string
responses:
- '200': *66
+ '200': *67
'404': *6
'422': *7
x-github:
@@ -9948,26 +10009,26 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/enterprises#get-announcement-banner-for-enterprise
parameters:
- - *40
+ - *41
responses:
'200':
description: Response
content:
application/json:
- schema: &71
+ schema: &72
title: Announcement Banner
description: Announcement at either the repository, organization,
or enterprise level
type: object
properties:
- announcement: &67
+ announcement: &68
type: string
description: The announcement text in GitHub Flavored Markdown.
For more information about GitHub Flavored Markdown, see "[Basic
writing and formatting syntax](https://docs.github.com/enterprise-cloud@latest//github/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax)."
example: Very **important** announcement about _something_.
nullable: true
- expires_at: &68
+ expires_at: &69
type: string
format: date-time
description: 'The time at which the announcement expires. This
@@ -9977,7 +10038,7 @@ paths:
it to an empty string.'
example: '"2021-01-01T00:00:00.000-07:00"'
nullable: true
- user_dismissible: &69
+ user_dismissible: &70
type: boolean
description: Whether an announcement can be dismissed by the user.
example: false
@@ -9988,7 +10049,7 @@ paths:
- expires_at
- user_dismissible
examples:
- default: &70
+ default: &71
summary: Announcement banner
value:
announcement: Very **important** announcement about _something_.
@@ -10017,23 +10078,23 @@ paths:
description: Enterprise global announcement
type: object
properties:
- announcement: *67
- expires_at: *68
- user_dismissible: *69
+ announcement: *68
+ expires_at: *69
+ user_dismissible: *70
required:
- announcement
examples:
- default: *70
+ default: *71
parameters:
- - *40
+ - *41
responses:
'200':
description: Response
content:
application/json:
- schema: *71
+ schema: *72
examples:
- default: *70
+ default: *71
x-github:
githubCloudOnly: true
enabledForGitHubApps: false
@@ -10049,7 +10110,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/enterprises#remove-announcement-banner-from-enterprise
parameters:
- - *40
+ - *41
responses:
'204':
description: Response
@@ -10076,7 +10137,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#get-the-audit-log-for-an-enterprise
parameters:
- - *40
+ - *41
- name: phrase
description: A search phrase. For more information, see [Searching the audit
log](https://docs.github.com/enterprise-cloud@latest//admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/searching-the-audit-log-for-your-enterprise#searching-the-audit-log).
@@ -10305,7 +10366,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#get-the-audit-log-stream-key-for-encrypting-secrets
parameters:
- - *40
+ - *41
responses:
'200':
description: The stream key for the audit log streaming configuration was
@@ -10349,7 +10410,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#list-audit-log-stream-configurations-for-an-enterprise
parameters:
- - *40
+ - *41
responses:
'200':
description: OK
@@ -10415,7 +10476,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#create-an-audit-log-streaming-configuration-for-an-enterprise
parameters:
- - *40
+ - *41
requestBody:
required: true
content:
@@ -10441,7 +10502,7 @@ paths:
vendor_specific:
type: object
oneOf:
- - &75
+ - &76
title: AzureBlobConfig
description: Azure Blob Config for audit log streaming configuration.
type: object
@@ -10455,7 +10516,7 @@ paths:
required:
- key_id
- encrypted_sas_url
- - &76
+ - &77
title: AzureHubConfig
description: Azure Event Hubs Config for audit log streaming configuration.
type: object
@@ -10474,7 +10535,7 @@ paths:
- name
- encrypted_connstring
- key_id
- - &77
+ - &78
title: AmazonS3OIDCConfig
description: Amazon S3 OIDC Config for audit log streaming configuration.
type: object
@@ -10502,7 +10563,7 @@ paths:
- bucket
- key_id
- region
- - &78
+ - &79
title: AmazonS3AccessKeysConfig
description: Amazon S3 Access Keys Config for audit log streaming
configuration.
@@ -10536,7 +10597,7 @@ paths:
- encrypted_secret_key
- key_id
- region
- - &79
+ - &80
title: SplunkConfig
description: Splunk Config for Audit Log Stream Configuration
type: object
@@ -10564,7 +10625,7 @@ paths:
- key_id
- port
- ssl_verify
- - &80
+ - &81
title: HecConfig
description: Hec Config for Audit Log Stream Configuration
type: object
@@ -10596,7 +10657,7 @@ paths:
- key_id
- port
- ssl_verify
- - &81
+ - &82
title: GoogleCloudConfig
description: Google Cloud Config for audit log streaming configuration.
type: object
@@ -10614,7 +10675,7 @@ paths:
- bucket
- key_id
- encrypted_json_credentials
- - &82
+ - &83
title: DatadogConfig
description: Datadog Config for audit log streaming configuration.
type: object
@@ -10645,7 +10706,7 @@ paths:
- stream_type
- vendor_specific
examples:
- default: &83
+ default: &84
value:
enabled: false
stream_type: Azure Event Hubs
@@ -10659,7 +10720,7 @@ paths:
description: The audit log stream configuration was created successfully.
content:
application/json:
- schema: &72
+ schema: &73
title: Get an audit log streaming configuration
description: Get an audit log streaming configuration for an enterprise.
type: object
@@ -10690,7 +10751,7 @@ paths:
- created_at
- updated_at
examples:
- default: &73
+ default: &74
value:
id: 1
stream_type: Splunk
@@ -10718,8 +10779,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#list-one-audit-log-streaming-configuration-via-a-stream-id
parameters:
- - *40
- - &74
+ - *41
+ - &75
name: stream_id
description: The ID of the audit log stream configuration.
in: path
@@ -10731,9 +10792,9 @@ paths:
description: Lists one audit log stream configuration via stream ID.
content:
application/json:
- schema: *72
+ schema: *73
examples:
- default: *73
+ default: *74
x-github:
githubCloudOnly: true
enabledForGitHubApps: true
@@ -10752,8 +10813,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#update-an-existing-audit-log-stream-configuration
parameters:
- - *40
- - *74
+ - *41
+ - *75
requestBody:
required: true
content:
@@ -10779,7 +10840,6 @@ paths:
vendor_specific:
type: object
oneOf:
- - *75
- *76
- *77
- *78
@@ -10787,20 +10847,21 @@ paths:
- *80
- *81
- *82
+ - *83
required:
- enabled
- stream_type
- vendor_specific
examples:
- default: *83
+ default: *84
responses:
'200':
description: Successful update
content:
application/json:
- schema: *72
+ schema: *73
examples:
- default: *73
+ default: *74
'422':
description: Validation error
content:
@@ -10830,8 +10891,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#delete-an-audit-log-streaming-configuration-for-an-enterprise
parameters:
- - *40
- - *74
+ - *41
+ - *75
responses:
'204':
description: The audit log stream configuration was deleted successfully.
@@ -10857,7 +10918,7 @@ paths:
category: enterprise-admin
subcategory: bypass-requests
parameters:
- - *40
+ - *41
- name: organization_name
description: The name of the organization to filter on.
in: query
@@ -11152,11 +11213,7 @@ paths:
url: https://api.github.com/repos/octo-org/smile/bypass-requests/push-rules/2
html_url: https://github.com/octo-org/smile/exemptions/2
'404': *6
- '500': &99
- description: Internal Error
- content:
- application/json:
- schema: *3
+ '500': *85
"/enterprises/{enterprise}/code-scanning/alerts":
get:
summary: List code scanning alerts for an enterprise
@@ -11173,7 +11230,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise
parameters:
- - *40
+ - *41
- &231
name: tool_name
description: The name of a code scanning tool. Only results by this tool will
@@ -11181,7 +11238,7 @@ paths:
but not both.
in: query
required: false
- schema: &87
+ schema: &89
type: string
description: The name of the tool used to generate the code scanning analysis.
- &232
@@ -11192,16 +11249,16 @@ paths:
or `tool_name`, but not both.
in: query
required: false
- schema: &88
+ schema: &90
nullable: true
type: string
description: The GUID of the tool used to generate the code scanning analysis,
if provided in the uploaded SARIF data.
- - *84
- - *85
+ - *86
+ - *87
- *19
- *17
- - *86
+ - *88
- name: state
description: If specified, only code scanning alerts with this state will
be returned.
@@ -11267,7 +11324,7 @@ paths:
for an alert.
format: uri
readOnly: true
- state: &89
+ state: &91
type: string
description: State of a code scanning alert.
nullable: true
@@ -11367,13 +11424,13 @@ paths:
tool: &465
type: object
properties:
- name: *87
+ name: *89
version:
nullable: true
type: string
description: The version of the tool used to generate the
code scanning analysis.
- guid: *88
+ guid: *90
most_recent_instance: &466
type: object
properties:
@@ -11399,7 +11456,7 @@ paths:
analysis was executed. Used to distinguish between multiple
analyses for the same tool and commit, but performed on
different languages or different parts of the code.
- state: *89
+ state: *91
commit_sha:
type: string
message:
@@ -11438,7 +11495,7 @@ paths:
- generated
- test
- library
- repository: &96
+ repository: &97
title: Simple Repository
description: A GitHub repository.
type: object
@@ -11967,7 +12024,7 @@ paths:
trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}
hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks
headers:
- Link: *39
+ Link: *40
'404': *6
'503': &132
description: Service unavailable
@@ -12004,7 +12061,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-code-security-configurations-for-an-enterprise
parameters:
- - *40
+ - *41
- name: per_page
in: query
description: The number of results per page (max 100). For more information,
@@ -12013,8 +12070,8 @@ paths:
schema:
type: integer
default: 30
- - *84
- - *85
+ - *86
+ - *87
responses:
'200':
description: Response
@@ -12022,7 +12079,7 @@ paths:
application/json:
schema:
type: array
- items: &90
+ items: &92
type: object
description: A code security configuration
properties:
@@ -12304,7 +12361,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#create-a-code-security-configuration-for-an-enterprise
parameters:
- - *40
+ - *41
requestBody:
required: true
content:
@@ -12381,7 +12438,7 @@ paths:
- disabled
- not_set
default: disabled
- code_scanning_default_setup_options: &93
+ code_scanning_default_setup_options: &95
type: object
description: Feature options for code scanning default setup
nullable: true
@@ -12491,9 +12548,9 @@ paths:
description: Successfully created code security configuration
content:
application/json:
- schema: *90
+ schema: *92
examples:
- default: &91
+ default: &93
value:
id: 1325
target_type: enterprise
@@ -12545,7 +12602,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-default-code-security-configurations-for-an-enterprise
parameters:
- - *40
+ - *41
responses:
'200':
description: Response
@@ -12565,7 +12622,7 @@ paths:
description: The visibility of newly created repositories for
which the code security configuration will be applied to by
default
- configuration: *90
+ configuration: *92
examples:
default: &238
value:
@@ -12651,8 +12708,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#retrieve-a-code-security-configuration-of-an-enterprise
parameters:
- - *40
- - &92
+ - *41
+ - &94
name: configuration_id
description: The unique identifier of the code security configuration.
in: path
@@ -12664,9 +12721,9 @@ paths:
description: Response
content:
application/json:
- schema: *90
+ schema: *92
examples:
- default: *91
+ default: *93
'304': *37
'403': *29
'404': *6
@@ -12690,8 +12747,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#update-a-custom-code-security-configuration-for-an-enterprise
parameters:
- - *40
- - *92
+ - *41
+ - *94
requestBody:
required: true
content:
@@ -12761,7 +12818,7 @@ paths:
- enabled
- disabled
- not_set
- code_scanning_default_setup_options: *93
+ code_scanning_default_setup_options: *95
code_scanning_delegated_alert_dismissal:
type: string
description: The enablement status of code scanning delegated alert
@@ -12842,13 +12899,13 @@ paths:
description: Response
content:
application/json:
- schema: *90
+ schema: *92
examples:
- default: *91
+ default: *93
'304': *37
'403': *29
'404': *6
- '409': *94
+ '409': *96
x-github:
githubCloudOnly: false
enabledForGitHubApps: false
@@ -12871,15 +12928,15 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#delete-a-code-security-configuration-for-an-enterprise
parameters:
- - *40
- - *92
+ - *41
+ - *94
responses:
'204': &118
description: A header with no content is returned.
'400': *14
'403': *29
'404': *6
- '409': *94
+ '409': *96
x-github:
githubCloudOnly: false
enabledForGitHubApps: false
@@ -12903,8 +12960,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#attach-an-enterprise-configuration-to-repositories
parameters:
- - *40
- - *92
+ - *41
+ - *94
requestBody:
required: true
content:
@@ -12928,10 +12985,10 @@ paths:
value:
scope: all
responses:
- '202': *95
+ '202': *39
'403': *29
'404': *6
- '409': *94
+ '409': *96
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -12955,8 +13012,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-enterprise
parameters:
- - *40
- - *92
+ - *41
+ - *94
requestBody:
required: true
content:
@@ -12996,7 +13053,7 @@ paths:
- none
- private_and_internal
- public
- configuration: *90
+ configuration: *92
examples:
default:
value:
@@ -13055,8 +13112,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-repositories-associated-with-an-enterprise-code-security-configuration
parameters:
- - *40
- - *92
+ - *41
+ - *94
- name: per_page
description: The number of results per page (max 100). For more information,
see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)."
@@ -13065,8 +13122,8 @@ paths:
schema:
type: integer
default: 30
- - *84
- - *85
+ - *86
+ - *87
- name: status
description: |-
A comma-separated list of statuses. If specified, only repositories with these attachment statuses will be returned.
@@ -13102,7 +13159,7 @@ paths:
- failed
- updating
- removed_by_enterprise
- repository: *96
+ repository: *97
examples:
default:
summary: Example of code security configuration repositories
@@ -13202,7 +13259,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/code-security-and-analysis#get-code-security-and-analysis-features-for-an-enterprise
parameters:
- - *40
+ - *41
responses:
'200':
description: Response
@@ -13300,7 +13357,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/code-security-and-analysis#update-code-security-and-analysis-features-for-an-enterprise
parameters:
- - *40
+ - *41
requestBody:
required: false
content:
@@ -13384,7 +13441,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/license#list-enterprise-consumed-licenses
parameters:
- - *40
+ - *41
- *17
- *19
responses:
@@ -13516,7 +13573,7 @@ paths:
visual_studio_subscription_email: ''
total_user_accounts: 1
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: true
enabledForGitHubApps: false
@@ -13549,7 +13606,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#list-all-copilot-seat-assignments-for-an-enterprise
parameters:
- - *40
+ - *41
- *19
- name: per_page
description: The number of results per page (max 100). For more information,
@@ -13590,8 +13647,8 @@ paths:
title: Organization Simple
description: A GitHub organization.
type: object
- properties: *97
- required: *98
+ properties: *98
+ required: *99
nullable: true
assigning_team:
description: The team through which the assignee is granted
@@ -13898,8 +13955,8 @@ paths:
type: User
site_admin: false
headers:
- Link: *39
- '500': *99
+ Link: *40
+ '500': *85
'401': *25
'403': *29
'404': *6
@@ -13929,7 +13986,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-an-enterprise
parameters:
- - *40
+ - *41
- name: since
description: Show usage metrics since this date. This is a timestamp in [ISO
8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`).
@@ -14367,7 +14424,7 @@ paths:
custom_model_training_date: '2024-02-01'
total_pr_summaries_created: 10
total_engaged_users: 4
- '500': *99
+ '500': *85
'403': *29
'404': *6
'422': &136
@@ -14399,7 +14456,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise
parameters:
- - *40
+ - *41
- &249
name: state
in: query
@@ -14485,9 +14542,9 @@ paths:
- updated
- epss_percentage
default: created
+ - *88
- *86
- - *84
- - *85
+ - *87
- &257
name: first
description: |-
@@ -14823,7 +14880,7 @@ paths:
format: date-time
readOnly: true
nullable: true
- repository: *96
+ repository: *97
required:
- number
- state
@@ -15186,7 +15243,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/license#get-a-license-sync-status
parameters:
- - *40
+ - *41
responses:
'200':
description: License Sync Status Response
@@ -15250,7 +15307,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#list-hosted-compute-network-configurations-for-an-enterprise
parameters:
- - *40
+ - *41
- *17
- *19
responses:
@@ -15327,7 +15384,7 @@ paths:
- 6789ABDCEF12345
created_on: '2023-04-26T15:23:37Z'
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: true
enabledForGitHubApps: false
@@ -15344,7 +15401,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#create-a-hosted-compute-network-configuration-for-an-enterprise
parameters:
- - *40
+ - *41
requestBody:
required: true
content:
@@ -15414,7 +15471,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-configuration-for-an-enterprise
parameters:
- - *40
+ - *41
- &113
name: network_configuration_id
description: Unique identifier of the hosted compute network configuration.
@@ -15431,7 +15488,7 @@ paths:
examples:
default: *112
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: true
enabledForGitHubApps: false
@@ -15448,7 +15505,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#update-a-hosted-compute-network-configuration-for-an-enterprise
parameters:
- - *40
+ - *41
- *113
requestBody:
required: true
@@ -15507,7 +15564,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#delete-a-hosted-compute-network-configuration-from-an-enterprise
parameters:
- - *40
+ - *41
- *113
responses:
'204':
@@ -15530,7 +15587,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-enterprise
parameters:
- - *40
+ - *41
- &356
name: network_settings_id
description: Unique identifier of the hosted compute network settings.
@@ -15585,7 +15642,7 @@ paths:
subnet_id: "/subscriptions/14839728-3ad9-43ab-bd2b-fa6ad0f75e2a/resourceGroups/my-rg/providers/Microsoft.Network/virtualNetworks/my-vnet/subnets/my-subnet"
region: eastus
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: true
enabledForGitHubApps: false
@@ -15604,7 +15661,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#get-custom-properties-for-an-enterprise
parameters:
- - *40
+ - *41
responses:
'200':
description: Response
@@ -15724,7 +15781,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#create-or-update-custom-properties-for-an-enterprise
parameters:
- - *40
+ - *41
requestBody:
required: true
content:
@@ -15789,7 +15846,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#promote-a-custom-property-to-an-enterprise
parameters:
- - *40
+ - *41
- &170
name: org
description: The organization name. The name is not case sensitive.
@@ -15843,7 +15900,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#get-a-custom-property-for-an-enterprise
parameters:
- - *40
+ - *41
- *116
responses:
'200':
@@ -15873,7 +15930,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#create-or-update-a-custom-property-for-an-enterprise
parameters:
- - *40
+ - *41
- *116
requestBody:
required: true
@@ -15966,7 +16023,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#remove-a-custom-property-for-an-enterprise
parameters:
- - *40
+ - *41
- *116
responses:
'204': *118
@@ -15988,7 +16045,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/rules#create-an-enterprise-repository-ruleset
parameters:
- - *40
+ - *41
requestBody:
description: Request body
required: true
@@ -17095,7 +17152,7 @@ paths:
created_at: '2024-08-15T08:43:03Z'
updated_at: '2024-09-23T16:29:47Z'
'404': *6
- '500': *99
+ '500': *85
x-github:
githubCloudOnly: true
enabledForGitHubApps: true
@@ -17116,7 +17173,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/rules#get-an-enterprise-repository-ruleset
parameters:
- - *40
+ - *41
- name: ruleset_id
description: The ID of the ruleset.
in: path
@@ -17132,7 +17189,7 @@ paths:
examples:
default: *129
'404': *6
- '500': *99
+ '500': *85
x-github:
githubCloudOnly: true
enabledForGitHubApps: true
@@ -17148,7 +17205,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/rules#update-an-enterprise-repository-ruleset
parameters:
- - *40
+ - *41
- name: ruleset_id
description: The ID of the ruleset.
in: path
@@ -17211,7 +17268,7 @@ paths:
examples:
default: *129
'404': *6
- '500': *99
+ '500': *85
x-github:
githubCloudOnly: true
enabledForGitHubApps: true
@@ -17227,7 +17284,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/rules#delete-an-enterprise-repository-ruleset
parameters:
- - *40
+ - *41
- name: ruleset_id
description: The ID of the ruleset.
in: path
@@ -17238,7 +17295,7 @@ paths:
'204':
description: Response
'404': *6
- '500': *99
+ '500': *85
x-github:
githubCloudOnly: true
enabledForGitHubApps: true
@@ -17255,7 +17312,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/rules#get-enterprise-ruleset-history
parameters:
- - *40
+ - *41
- *17
- *19
- name: ruleset_id
@@ -17313,7 +17370,7 @@ paths:
type: User
updated_at: '2024-08-23T16:29:47Z'
'404': *6
- '500': *99
+ '500': *85
x-github:
githubCloudOnly: true
enabledForGitHubApps: false
@@ -17330,7 +17387,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/rules#get-enterprise-ruleset-version
parameters:
- - *40
+ - *41
- name: ruleset_id
description: The ID of the ruleset.
in: path
@@ -17383,7 +17440,7 @@ paths:
rules:
- type: repository_delete
'404': *6
- '500': *99
+ '500': *85
x-github:
githubCloudOnly: true
enabledForGitHubApps: false
@@ -17402,7 +17459,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise
parameters:
- - *40
+ - *41
- &335
name: state
in: query
@@ -17445,10 +17502,10 @@ paths:
- created
- updated
default: created
- - *86
+ - *88
- *17
- - *84
- - *85
+ - *86
+ - *87
- &339
name: validity
in: query
@@ -17543,7 +17600,7 @@ paths:
secret:
type: string
description: The secret that was detected.
- repository: *96
+ repository: *97
push_protection_bypassed:
type: boolean
description: Whether push protection was bypassed for the detected
@@ -17844,7 +17901,7 @@ paths:
publicly_leaked: false
multi_repo: false
headers:
- Link: *39
+ Link: *40
'404': *6
'503': *132
x-github:
@@ -17871,7 +17928,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-github-actions-billing-for-an-enterprise
parameters:
- - *40
+ - *41
responses:
'200':
description: Response
@@ -17977,7 +18034,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-github-advanced-security-active-committers-for-an-enterprise
parameters:
- - *40
+ - *41
- &348
name: advanced_security_product
in: query
@@ -18091,7 +18148,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-all-cost-centers-for-an-enterprise
parameters:
- - *40
+ - *41
responses:
'200':
description: Response when getting cost centers
@@ -18140,7 +18197,7 @@ paths:
name: Monalisa
'400': *14
'403': *29
- '500': *99
+ '500': *85
'503': *132
x-github:
githubCloudOnly: true
@@ -18161,7 +18218,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#add-users-to-a-cost-center
parameters:
- - *40
+ - *41
- &133
name: cost_center_id
description: The ID corresponding to the cost center.
@@ -18203,8 +18260,8 @@ paths:
message: Resources successfully added to the cost center.
'400': *14
'403': *29
- '409': *94
- '500': *99
+ '409': *96
+ '500': *85
'503': *132
x-github:
githubCloudOnly: true
@@ -18224,7 +18281,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#remove-users-from-a-cost-center
parameters:
- - *40
+ - *41
- *133
requestBody:
required: true
@@ -18261,7 +18318,7 @@ paths:
message: Resources successfully removed from the cost center.
'400': *14
'403': *29
- '500': *99
+ '500': *85
'503': *132
x-github:
githubCloudOnly: true
@@ -18287,7 +18344,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-github-packages-billing-for-an-enterprise
parameters:
- - *40
+ - *41
responses:
'200':
description: Response
@@ -18340,7 +18397,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-shared-storage-billing-for-an-enterprise
parameters:
- - *40
+ - *41
responses:
'200':
description: Response
@@ -18388,7 +18445,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-usage-report-for-an-enterprise
parameters:
- - *40
+ - *41
- &171
name: year
description: If specified, only return results for a single year. The value
@@ -18506,7 +18563,7 @@ paths:
repositoryName: github/example
'400': *14
'403': *29
- '500': *99
+ '500': *85
'503': *132
x-github:
githubCloudOnly: true
@@ -18540,7 +18597,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-an-enterprise-team
parameters:
- - *40
+ - *41
- name: team_slug
description: The slug of the enterprise team name.
in: path
@@ -18581,7 +18638,7 @@ paths:
items: *134
examples:
default: *135
- '500': *99
+ '500': *85
'403': *29
'404': *6
'422': *136
@@ -18609,7 +18666,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/code-security-and-analysis#enable-or-disable-a-security-feature
parameters:
- - *40
+ - *41
- name: security_product
in: path
description: The security feature to enable or disable.
@@ -19043,7 +19100,7 @@ paths:
- node_id
- name
- description
- repository: *63
+ repository: *64
performed_via_github_app:
title: GitHub app
description: GitHub apps are a new way to extend GitHub.
@@ -19615,7 +19672,7 @@ paths:
site_admin: false
truncated: false
headers:
- Link: *39
+ Link: *40
'304': *37
'403': *29
x-github:
@@ -20188,7 +20245,7 @@ paths:
examples:
default: *145
headers:
- Link: *39
+ Link: *40
'422': *15
'304': *37
'403': *29
@@ -20222,7 +20279,7 @@ paths:
examples:
default: *145
headers:
- Link: *39
+ Link: *40
'401': *25
'304': *37
'403': *29
@@ -20645,7 +20702,7 @@ paths:
updated_at: '2011-04-18T23:23:56Z'
author_association: COLLABORATOR
headers:
- Link: *39
+ Link: *40
'304': *37
'404': *6
'403': *29
@@ -21022,7 +21079,7 @@ paths:
type: User
site_admin: false
headers:
- Link: *39
+ Link: *40
'404': *6
'304': *37
'403': *29
@@ -21371,7 +21428,7 @@ paths:
type: integer
repositories:
type: array
- items: *63
+ items: *64
repository_selection:
type: string
example: selected
@@ -21494,7 +21551,7 @@ paths:
open_issues: 1
watchers: 1
headers:
- Link: *39
+ Link: *40
'403': *29
'304': *37
'401': *25
@@ -21596,7 +21653,7 @@ paths:
- updated
- comments
default: created
- - *86
+ - *88
- *143
- name: collab
in: query
@@ -21874,7 +21931,7 @@ paths:
watchers: 1
author_association: COLLABORATOR
headers:
- Link: *39
+ Link: *40
'422': *15
'304': *37
'404': *6
@@ -22526,7 +22583,7 @@ paths:
- Up to 25 private repositories
- 11 concurrent builds
headers:
- Link: *39
+ Link: *40
'404': *6
'401': *25
x-github:
@@ -22638,7 +22695,7 @@ paths:
- Up to 25 private repositories
- 11 concurrent builds
headers:
- Link: *39
+ Link: *40
'404': *6
'422': *15
'401': *25
@@ -22705,7 +22762,7 @@ paths:
examples:
default: *161
headers:
- Link: *39
+ Link: *40
'401': *25
x-github:
githubCloudOnly: false
@@ -22751,7 +22808,7 @@ paths:
examples:
default: *164
headers:
- Link: *39
+ Link: *40
'401': *25
x-github:
githubCloudOnly: false
@@ -23685,7 +23742,7 @@ paths:
url: https://api.github.com/notifications/threads/1
subscription_url: https://api.github.com/notifications/threads/1/subscription
headers:
- Link: *39
+ Link: *40
'304': *37
'403': *29
'401': *25
@@ -24147,7 +24204,7 @@ paths:
application/json:
schema:
type: array
- items: *58
+ items: *59
examples:
default: &740
value:
@@ -24322,7 +24379,7 @@ paths:
default: *176
'400': *14
'403': *29
- '500': *99
+ '500': *85
'503': *132
x-github:
githubCloudOnly: false
@@ -24985,7 +25042,7 @@ paths:
oneOf:
- *179
- *180
- '409': *94
+ '409': *96
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -25010,7 +25067,7 @@ paths:
parameters:
- *170
responses:
- '202': *95
+ '202': *39
'404': *6
'403': *29
x-github:
@@ -25043,7 +25100,7 @@ paths:
examples:
default: *182
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -25117,7 +25174,7 @@ paths:
active_caches_size_in_bytes: 1022142
active_caches_count: 2
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -25155,11 +25212,11 @@ paths:
type: integer
runners:
type: array
- items: *41
+ items: *42
examples:
default: *183
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -25244,9 +25301,9 @@ paths:
description: Response
content:
application/json:
- schema: *41
+ schema: *42
examples:
- default: *45
+ default: *46
x-github:
enabledForGitHubApps: true
githubCloudOnly: false
@@ -25280,9 +25337,9 @@ paths:
type: integer
images:
type: array
- items: *42
+ items: *43
examples:
- default: *43
+ default: *44
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -25316,9 +25373,9 @@ paths:
type: integer
images:
type: array
- items: *42
+ items: *43
examples:
- default: *43
+ default: *44
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -25377,7 +25434,7 @@ paths:
type: integer
machine_specs:
type: array
- items: *44
+ items: *45
examples:
default: *186
x-github:
@@ -25442,17 +25499,17 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization
parameters:
- *170
- - *46
+ - *47
responses:
'200':
description: Response
content:
application/json:
- schema: *41
+ schema: *42
examples:
- default: *45
+ default: *46
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -25471,7 +25528,7 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-organization
parameters:
- *170
- - *46
+ - *47
requestBody:
required: true
content:
@@ -25509,9 +25566,9 @@ paths:
description: Response
content:
application/json:
- schema: *41
+ schema: *42
examples:
- default: *45
+ default: *46
x-github:
enabledForGitHubApps: true
githubCloudOnly: false
@@ -25528,15 +25585,15 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization
parameters:
- *170
- - *46
+ - *47
responses:
'202':
description: Response
content:
application/json:
- schema: *41
+ schema: *42
examples:
- default: *45
+ default: *46
x-github:
githubCloudOnly: false
enabledForGitHubApps: false
@@ -25663,7 +25720,7 @@ paths:
description: The API URL to use to get or set the selected repositories
that are allowed to run GitHub Actions, when `enabled_repositories`
is set to `selected`.
- allowed_actions: *48
+ allowed_actions: *49
selected_actions_url: *189
required:
- enabled_repositories
@@ -25705,7 +25762,7 @@ paths:
type: object
properties:
enabled_repositories: *190
- allowed_actions: *48
+ allowed_actions: *49
required:
- enabled_repositories
examples:
@@ -25750,7 +25807,7 @@ paths:
type: number
repositories:
type: array
- items: *63
+ items: *64
examples:
default: &734
value:
@@ -25995,9 +26052,9 @@ paths:
description: Response
content:
application/json:
- schema: *50
+ schema: *51
examples:
- default: *51
+ default: *52
x-github:
enabledForGitHubApps: true
githubCloudOnly: false
@@ -26028,9 +26085,9 @@ paths:
required: false
content:
application/json:
- schema: *50
+ schema: *51
examples:
- selected_actions: *51
+ selected_actions: *52
x-github:
enabledForGitHubApps: true
githubCloudOnly: false
@@ -26060,7 +26117,7 @@ paths:
application/json:
schema: *192
examples:
- default: *54
+ default: *55
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -26094,7 +26151,7 @@ paths:
application/json:
schema: *193
examples:
- default: *54
+ default: *55
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -26365,7 +26422,7 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization
parameters:
- *170
- - *57
+ - *58
responses:
'200':
description: Response
@@ -26408,7 +26465,7 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization
parameters:
- *170
- - *57
+ - *58
requestBody:
required: true
content:
@@ -26484,7 +26541,7 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization
parameters:
- *170
- - *57
+ - *58
responses:
'204':
description: Response
@@ -26508,7 +26565,7 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-github-hosted-runners-in-a-group-for-an-organization
parameters:
- *170
- - *57
+ - *58
- *17
- *19
responses:
@@ -26526,11 +26583,11 @@ paths:
type: number
runners:
type: array
- items: *41
+ items: *42
examples:
default: *183
headers:
- Link: *39
+ Link: *40
x-github:
enabledForGitHubApps: true
githubCloudOnly: false
@@ -26551,7 +26608,7 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization
parameters:
- *170
- - *57
+ - *58
- *19
- *17
responses:
@@ -26824,7 +26881,7 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#set-repository-access-for-a-self-hosted-runner-group-in-an-organization
parameters:
- *170
- - *57
+ - *58
requestBody:
required: true
content:
@@ -26869,7 +26926,7 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#add-repository-access-to-a-self-hosted-runner-group-in-an-organization
parameters:
- *170
- - *57
+ - *58
- *191
responses:
'204':
@@ -26893,7 +26950,7 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization
parameters:
- *170
- - *57
+ - *58
- *191
responses:
'204':
@@ -26918,7 +26975,7 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-organization
parameters:
- *170
- - *57
+ - *58
- *17
- *19
responses:
@@ -26936,11 +26993,11 @@ paths:
type: number
runners:
type: array
- items: *61
+ items: *62
examples:
- default: *62
+ default: *63
headers:
- Link: *39
+ Link: *40
x-github:
enabledForGitHubApps: true
githubCloudOnly: false
@@ -26960,7 +27017,7 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-organization
parameters:
- *170
- - *57
+ - *58
requestBody:
required: true
content:
@@ -27005,8 +27062,8 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-organization
parameters:
- *170
- - *57
- - *60
+ - *58
+ - *61
responses:
'204':
description: Response
@@ -27029,8 +27086,8 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-organization
parameters:
- *170
- - *57
- - *60
+ - *58
+ - *61
responses:
'204':
description: Response
@@ -27078,11 +27135,11 @@ paths:
type: integer
runners:
type: array
- items: *61
+ items: *62
examples:
- default: *62
+ default: *63
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -27182,7 +27239,7 @@ paths:
'201': *199
'404': *6
'422': *7
- '409': *94
+ '409': *96
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -27216,7 +27273,7 @@ paths:
description: Response
content:
application/json:
- schema: *64
+ schema: *65
examples:
default: *200
x-github:
@@ -27252,7 +27309,7 @@ paths:
description: Response
content:
application/json:
- schema: *64
+ schema: *65
examples:
default: *201
x-github:
@@ -27277,13 +27334,13 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization
parameters:
- *170
- - *60
+ - *61
responses:
'200':
description: Response
content:
application/json:
- schema: *61
+ schema: *62
examples:
default: *202
x-github:
@@ -27307,7 +27364,7 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization
parameters:
- *170
- - *60
+ - *61
responses:
'204':
description: Response
@@ -27333,9 +27390,9 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-organization
parameters:
- *170
- - *60
+ - *61
responses:
- '200': *66
+ '200': *67
'404': *6
x-github:
githubCloudOnly: false
@@ -27358,7 +27415,7 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-an-organization
parameters:
- *170
- - *60
+ - *61
requestBody:
required: true
content:
@@ -27382,7 +27439,7 @@ paths:
- gpu
- accelerated
responses:
- '200': *66
+ '200': *67
'404': *6
'422': *7
x-github:
@@ -27407,7 +27464,7 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-organization
parameters:
- *170
- - *60
+ - *61
requestBody:
required: true
content:
@@ -27432,7 +27489,7 @@ paths:
- gpu
- accelerated
responses:
- '200': *66
+ '200': *67
'404': *6
'422': *7
x-github:
@@ -27457,7 +27514,7 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-an-organization
parameters:
- *170
- - *60
+ - *61
responses:
'200': *203
'404': *6
@@ -27487,10 +27544,10 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-an-organization
parameters:
- *170
- - *60
+ - *61
- *204
responses:
- '200': *66
+ '200': *67
'404': *6
'422': *7
x-github:
@@ -27583,7 +27640,7 @@ paths:
visibility: selected
selected_repositories_url: https://api.github.com/orgs/octo-org/actions/secrets/SUPER_SECRET/repositories
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -28142,7 +28199,7 @@ paths:
visibility: selected
selected_repositories_url: https://api.github.com/orgs/octo-org/actions/variables/ADMIN_EMAIL/repositories
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -28539,9 +28596,9 @@ paths:
description: Response
content:
application/json:
- schema: *71
+ schema: *72
examples:
- default: *70
+ default: *71
x-github:
githubCloudOnly: true
enabledForGitHubApps: true
@@ -28562,7 +28619,7 @@ paths:
application/json:
schema: *211
examples:
- default: *70
+ default: *71
parameters:
- *170
responses:
@@ -28570,9 +28627,9 @@ paths:
description: Response
content:
application/json:
- schema: *71
+ schema: *72
examples:
- default: *70
+ default: *71
x-github:
githubCloudOnly: true
enabledForGitHubApps: true
@@ -28614,8 +28671,8 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-attestations
parameters:
- *17
- - *84
- - *85
+ - *86
+ - *87
- *170
- name: subject_digest
description: The parameter should be set to the attestation's subject's SHA256
@@ -28978,7 +29035,7 @@ paths:
examples:
default: *224
'404': *6
- '500': *99
+ '500': *85
"/orgs/{org}/bypass-requests/secret-scanning":
get:
summary: List bypass requests for secret scanning for an org
@@ -29206,7 +29263,7 @@ paths:
url: https://api.github.com/repos/octo-org/smile/bypass-requests/secret-scanning/2
html_url: https://github.com/octo-org/smile/exemptions/2
'404': *6
- '500': *99
+ '500': *85
"/orgs/{org}/campaigns":
get:
summary: List campaigns for an organization
@@ -29226,7 +29283,7 @@ paths:
- *170
- *19
- *17
- - *86
+ - *88
- name: state
description: If specified, only campaigns with this state will be returned.
in: query
@@ -29401,7 +29458,7 @@ paths:
closed_at:
state: open
headers:
- Link: *39
+ Link: *40
'404': *6
'503': *132
x-github:
@@ -29766,11 +29823,11 @@ paths:
- *170
- *231
- *232
- - *84
- - *85
+ - *86
+ - *87
- *19
- *17
- - *86
+ - *88
- name: state
description: If specified, only code scanning alerts with this state will
be returned.
@@ -29814,7 +29871,7 @@ paths:
examples:
default: *235
headers:
- Link: *39
+ Link: *40
'404': *6
'503': *132
x-github:
@@ -29857,8 +29914,8 @@ paths:
schema:
type: integer
default: 30
- - *84
- - *85
+ - *86
+ - *87
responses:
'200':
description: Response
@@ -29866,7 +29923,7 @@ paths:
application/json:
schema:
type: array
- items: *90
+ items: *92
examples:
default:
value:
@@ -30026,7 +30083,7 @@ paths:
- disabled
- not_set
default: disabled
- code_scanning_default_setup_options: *93
+ code_scanning_default_setup_options: *95
code_scanning_delegated_alert_dismissal:
type: string
description: The enablement status of code scanning delegated alert
@@ -30151,7 +30208,7 @@ paths:
description: Successfully created code security configuration
content:
application/json:
- schema: *90
+ schema: *92
examples:
default: *236
x-github:
@@ -30236,7 +30293,7 @@ paths:
'400': *14
'403': *29
'404': *6
- '409': *94
+ '409': *96
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -30259,13 +30316,13 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-a-code-security-configuration
parameters:
- *170
- - *92
+ - *94
responses:
'200':
description: Response
content:
application/json:
- schema: *90
+ schema: *92
examples:
default: *236
'304': *37
@@ -30292,7 +30349,7 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#update-a-code-security-configuration
parameters:
- *170
- - *92
+ - *94
requestBody:
required: true
content:
@@ -30362,7 +30419,7 @@ paths:
- enabled
- disabled
- not_set
- code_scanning_default_setup_options: *93
+ code_scanning_default_setup_options: *95
code_scanning_delegated_alert_dismissal:
type: string
description: The enablement status of code scanning delegated alert
@@ -30473,7 +30530,7 @@ paths:
description: Response when a configuration is updated
content:
application/json:
- schema: *90
+ schema: *92
examples:
default:
value:
@@ -30531,13 +30588,13 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#delete-a-code-security-configuration
parameters:
- *170
- - *92
+ - *94
responses:
'204': *118
'400': *14
'403': *29
'404': *6
- '409': *94
+ '409': *96
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -30562,7 +30619,7 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#attach-a-configuration-to-repositories
parameters:
- *170
- - *92
+ - *94
requestBody:
required: true
content:
@@ -30601,7 +30658,7 @@ paths:
- 32
- 91
responses:
- '202': *95
+ '202': *39
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -30626,7 +30683,7 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization
parameters:
- *170
- - *92
+ - *94
requestBody:
required: true
content:
@@ -30666,7 +30723,7 @@ paths:
- none
- private_and_internal
- public
- configuration: *90
+ configuration: *92
examples:
default:
value:
@@ -30696,7 +30753,7 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration
parameters:
- *170
- - *92
+ - *94
- name: per_page
description: The number of results per page (max 100). For more information,
see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)."
@@ -30705,8 +30762,8 @@ paths:
schema:
type: integer
default: 30
- - *84
- - *85
+ - *86
+ - *87
- name: status
description: |-
A comma-separated list of statuses. If specified, only repositories with these attachment statuses will be returned.
@@ -31457,7 +31514,7 @@ paths:
stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-f8adfad99a/stop
recent_folders: []
'304': *37
- '500': *99
+ '500': *85
'401': *25
'403': *29
'404': *6
@@ -31523,7 +31580,7 @@ paths:
description: Users are neither members nor collaborators of this organization.
'404': *6
'422': *15
- '500': *99
+ '500': *85
x-github:
githubCloudOnly: false
enabledForGitHubApps: false
@@ -31578,7 +31635,7 @@ paths:
description: Users are neither members nor collaborators of this organization.
'404': *6
'422': *15
- '500': *99
+ '500': *85
x-github:
githubCloudOnly: false
enabledForGitHubApps: false
@@ -31632,7 +31689,7 @@ paths:
description: Users are neither members nor collaborators of this organization.
'404': *6
'422': *15
- '500': *99
+ '500': *85
x-github:
githubCloudOnly: false
enabledForGitHubApps: false
@@ -31723,7 +31780,7 @@ paths:
updated_at: '2020-01-11T11:59:22Z'
visibility: all
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: false
@@ -31816,7 +31873,7 @@ paths:
updated_at: '2020-01-10T14:59:22Z'
visibility: all
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: false
@@ -32221,7 +32278,7 @@ paths:
cli: enabled
public_code_suggestions: block
plan_type: business
- '500': *99
+ '500': *85
'401': *25
'403': *29
'404': *6
@@ -32280,8 +32337,8 @@ paths:
examples:
default: *243
headers:
- Link: *39
- '500': *99
+ Link: *40
+ '500': *85
'401': *25
'403': *29
'404': *6
@@ -32356,7 +32413,7 @@ paths:
default:
value:
seats_created: 5
- '500': *99
+ '500': *85
'401': *25
'403': *29
'404': *6
@@ -32434,7 +32491,7 @@ paths:
default:
value:
seats_cancelled: 5
- '500': *99
+ '500': *85
'401': *25
'403': *29
'404': *6
@@ -32513,7 +32570,7 @@ paths:
default:
value:
seats_created: 5
- '500': *99
+ '500': *85
'401': *25
'403': *29
'404': *6
@@ -32591,7 +32648,7 @@ paths:
default:
value:
seats_cancelled: 5
- '500': *99
+ '500': *85
'401': *25
'403': *29
'404': *6
@@ -32665,7 +32722,7 @@ paths:
items: *134
examples:
default: *135
- '500': *99
+ '500': *85
'403': *29
'404': *6
'422': *136
@@ -33354,9 +33411,9 @@ paths:
- *254
- *255
- *256
+ - *88
- *86
- - *84
- - *85
+ - *87
- *257
- *258
- *17
@@ -33463,7 +33520,7 @@ paths:
visibility: selected
selected_repositories_url: https://api.github.com/orgs/octo-org/dependabot/secrets/SUPER_SECRET/repositories
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -34049,7 +34106,7 @@ paths:
html_url: https://github.com/octo-org/smile/security/secret-scanning/19
'404': *6
'403': *29
- '500': *99
+ '500': *85
"/orgs/{org}/docker/conflicts":
get:
summary: Get list of conflicting packages during Docker migration for organization
@@ -34623,7 +34680,7 @@ paths:
invitation_teams_url: https://api.github.com/organizations/2/invitations/1/teams
invitation_source: member
headers:
- Link: *39
+ Link: *40
'404': *6
x-github:
githubCloudOnly: false
@@ -34800,7 +34857,7 @@ paths:
created_at: '2011-09-06T17:26:27Z'
type: Organization
headers:
- Link: *39
+ Link: *40
'404': *6
x-github:
githubCloudOnly: false
@@ -35226,7 +35283,7 @@ paths:
- *266
- *16
responses:
- '202': *95
+ '202': *39
'400': *14
'422': *15
x-github:
@@ -35312,7 +35369,7 @@ paths:
type: string
- *19
- *17
- - *86
+ - *88
- name: sort
description: The property to sort the results by.
in: query
@@ -35399,7 +35456,7 @@ paths:
- *273
- *19
- *17
- - *86
+ - *88
- &282
name: sort
description: The property to sort the results by.
@@ -35719,7 +35776,7 @@ paths:
- *273
- *19
- *17
- - *86
+ - *88
- *282
- name: actor_name_substring
in: query
@@ -35940,7 +35997,7 @@ paths:
suspended_at:
suspended_by:
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -36140,7 +36197,7 @@ paths:
examples:
default: *287
headers:
- Link: *39
+ Link: *40
'404': *6
x-github:
githubCloudOnly: false
@@ -36335,7 +36392,7 @@ paths:
repositories_url: https://api.github.com/teams/1/repos
parent:
headers:
- Link: *39
+ Link: *40
'404': *6
x-github:
githubCloudOnly: false
@@ -36643,7 +36700,7 @@ paths:
- updated
- comments
default: created
- - *86
+ - *88
- *143
- *17
- *19
@@ -36658,7 +36715,7 @@ paths:
examples:
default: *293
headers:
- Link: *39
+ Link: *40
'404': *6
x-github:
githubCloudOnly: false
@@ -36718,7 +36775,7 @@ paths:
examples:
default: *294
headers:
- Link: *39
+ Link: *40
'422': *15
x-github:
githubCloudOnly: false
@@ -36816,7 +36873,7 @@ paths:
examples:
default: *296
'304': *37
- '500': *99
+ '500': *85
'401': *25
'403': *29
'404': *6
@@ -36849,9 +36906,9 @@ paths:
schema:
type: string
responses:
- '202': *95
+ '202': *39
'304': *37
- '500': *99
+ '500': *85
'401': *25
'403': *29
'404': *6
@@ -37026,7 +37083,7 @@ paths:
recent_folders: []
template:
'304': *37
- '500': *99
+ '500': *85
'401': *25
'403': *29
'404': *6
@@ -37107,7 +37164,7 @@ paths:
members_url: https://api.github.com/teams/1/members{/member}
repositories_url: https://api.github.com/teams/1/repos
parent:
- '500': *99
+ '500': *85
'401': *25
'403': *29
'404': *6
@@ -37168,7 +37225,7 @@ paths:
type: string
format: uri
example: https://api.github.com/orgs/octocat
- organization: *58
+ organization: *59
user:
title: Simple User
description: A GitHub user.
@@ -37399,7 +37456,7 @@ paths:
type: array
description: The repositories included in the migration. Only
returned for export migrations.
- items: *63
+ items: *64
url:
type: string
format: uri
@@ -37595,7 +37652,7 @@ paths:
updated_at: '2015-07-06T15:33:38-07:00'
node_id: MDQ6VXNlcjE=
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: false
@@ -38261,7 +38318,7 @@ paths:
secret_scanning_validity_checks:
status: disabled
headers:
- Link: *39
+ Link: *40
'404': *6
x-github:
githubCloudOnly: false
@@ -38595,7 +38652,7 @@ paths:
updated_at: '2022-07-04T22:19:11Z'
'422': *15
'404': *6
- '409': *94
+ '409': *96
x-github:
githubCloudOnly: true
enabledForGitHubApps: true
@@ -38927,7 +38984,7 @@ paths:
created_at: '2022-07-04T22:19:11Z'
updated_at: '2022-07-04T22:19:11Z'
'422': *15
- '409': *94
+ '409': *96
'404': *6
x-github:
githubCloudOnly: true
@@ -39075,7 +39132,7 @@ paths:
examples:
default: *306
headers:
- Link: *39
+ Link: *40
'404':
description: Response if the organization or role does not exist.
'422':
@@ -39234,7 +39291,7 @@ paths:
examples:
default: *294
headers:
- Link: *39
+ Link: *40
'404':
description: Response if the organization or role does not exist.
'422':
@@ -39285,7 +39342,7 @@ paths:
examples:
default: *294
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -39915,7 +39972,7 @@ paths:
enum:
- created_at
default: created_at
- - *86
+ - *88
- &315
name: owner
description: A list of owner usernames to use to filter the results.
@@ -39975,7 +40032,7 @@ paths:
type: string
example: token_id[]=1,token_id[]=2
responses:
- '500': *99
+ '500': *85
'422': *15
'404': *6
'403': *29
@@ -40107,7 +40164,7 @@ paths:
token_expires_at: '2023-11-16T08:47:09.000-07:00'
token_last_used_at:
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -40168,11 +40225,11 @@ paths:
action: deny
reason: Access is too broad.
responses:
- '500': *99
+ '500': *85
'422': *15
'404': *6
'403': *29
- '202': *95
+ '202': *39
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -40229,7 +40286,7 @@ paths:
action: deny
reason: This request is denied because the access is too broad.
responses:
- '500': *99
+ '500': *85
'422': *15
'404': *6
'403': *29
@@ -40265,7 +40322,7 @@ paths:
- *17
- *19
responses:
- '500': *99
+ '500': *85
'404': *6
'403': *29
'200':
@@ -40278,7 +40335,7 @@ paths:
examples:
default: *313
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -40303,7 +40360,7 @@ paths:
- *17
- *19
- *314
- - *86
+ - *88
- *315
- *316
- *317
@@ -40311,7 +40368,7 @@ paths:
- *319
- *320
responses:
- '500': *99
+ '500': *85
'422': *15
'404': *6
'403': *29
@@ -40438,7 +40495,7 @@ paths:
token_expires_at: '2023-11-16T08:47:09.000-07:00'
token_last_used_at:
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -40493,9 +40550,9 @@ paths:
- 1296269
- 1296280
responses:
- '500': *99
+ '500': *85
'404': *6
- '202': *95
+ '202': *39
'403': *29
'422': *15
x-github:
@@ -40546,7 +40603,7 @@ paths:
value:
action: revoke
responses:
- '500': *99
+ '500': *85
'404': *6
'204': *118
'403': *29
@@ -40580,7 +40637,7 @@ paths:
- *17
- *19
responses:
- '500': *99
+ '500': *85
'404': *6
'403': *29
'200':
@@ -40593,7 +40650,7 @@ paths:
examples:
default: *313
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -40685,7 +40742,7 @@ paths:
updated_at: '2020-01-10T14:59:22Z'
visibility: selected
headers:
- Link: *39
+ Link: *40
'400': *14
'404': *6
x-github:
@@ -40904,7 +40961,7 @@ paths:
key_id: '012345678912345678'
key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234
headers:
- Link: *39
+ Link: *40
'404': *6
x-github:
githubCloudOnly: false
@@ -41205,7 +41262,7 @@ paths:
organization_permission: write
private: true
headers:
- Link: *39
+ Link: *40
'422': *7
x-github:
githubCloudOnly: false
@@ -41600,7 +41657,7 @@ paths:
- property_name: team
value: octocat
headers:
- Link: *39
+ Link: *40
'403': *29
'404': *6
x-github:
@@ -41703,7 +41760,7 @@ paths:
examples:
default: *294
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -41843,7 +41900,7 @@ paths:
examples:
default: *313
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -42419,8 +42476,8 @@ paths:
properties: *20
required: *21
nullable: true
- parent: *63
- source: *63
+ parent: *64
+ source: *64
forks:
type: integer
master_branch:
@@ -43144,7 +43201,7 @@ paths:
created_at: '2023-08-15T08:43:03Z'
updated_at: '2023-09-23T16:29:47Z'
'404': *6
- '500': *99
+ '500': *85
post:
summary: Create an organization repository ruleset
description: Create a repository ruleset for an organization.
@@ -43270,7 +43327,7 @@ paths:
created_at: '2023-08-15T08:43:03Z'
updated_at: '2023-09-23T16:29:47Z'
'404': *6
- '500': *99
+ '500': *85
"/orgs/{org}/rulesets/rule-suites":
get:
summary: List organization rule suites
@@ -43403,7 +43460,7 @@ paths:
result: pass
evaluation_result: fail
'404': *6
- '500': *99
+ '500': *85
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -43573,7 +43630,7 @@ paths:
result: fail
rule_type: commit_message_pattern
'404': *6
- '500': *99
+ '500': *85
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -43615,7 +43672,7 @@ paths:
examples:
default: *332
'404': *6
- '500': *99
+ '500': *85
put:
summary: Update an organization repository ruleset
description: Update a ruleset for an organization.
@@ -43705,7 +43762,7 @@ paths:
examples:
default: *332
'404': *6
- '500': *99
+ '500': *85
delete:
summary: Delete an organization repository ruleset
description: Delete a ruleset for an organization.
@@ -43732,7 +43789,7 @@ paths:
'204':
description: Response
'404': *6
- '500': *99
+ '500': *85
"/orgs/{org}/rulesets/{ruleset_id}/history":
get:
summary: Get organization ruleset history
@@ -43764,7 +43821,7 @@ paths:
examples:
default: *333
'404': *6
- '500': *99
+ '500': *85
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -43839,7 +43896,7 @@ paths:
operator: contains
pattern: github
'404': *6
- '500': *99
+ '500': *85
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -43866,7 +43923,7 @@ paths:
- *336
- *337
- *338
- - *86
+ - *88
- *19
- *17
- &663
@@ -43903,7 +43960,7 @@ paths:
examples:
default: *343
headers:
- Link: *39
+ Link: *40
'404': *6
'503': *132
x-github:
@@ -43928,7 +43985,7 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories-for-an-organization
parameters:
- *170
- - *86
+ - *88
- name: sort
description: The property to sort the results by.
in: query
@@ -43940,8 +43997,8 @@ paths:
- updated
- published
default: created
- - *84
- - *85
+ - *86
+ - *87
- name: per_page
description: The number of advisories to return per page. For more information,
see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)."
@@ -44232,7 +44289,7 @@ paths:
description: A temporary private fork of the advisory's repository
for collaborating on a fix.
allOf:
- - *96
+ - *97
required:
- ghsa_id
- cve_id
@@ -44875,7 +44932,7 @@ paths:
examples:
default: *355
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -44969,7 +45026,7 @@ paths:
examples:
default: *112
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -45084,7 +45141,7 @@ paths:
examples:
default: *358
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -45247,7 +45304,7 @@ paths:
items: *134
examples:
default: *135
- '500': *99
+ '500': *85
'403': *29
'404': *6
'422': *136
@@ -45282,7 +45339,7 @@ paths:
examples:
default: *306
headers:
- Link: *39
+ Link: *40
'403': *29
x-github:
githubCloudOnly: false
@@ -45910,7 +45967,7 @@ paths:
parameters:
- *170
- *303
- - *86
+ - *88
- *17
- *19
- name: pinned
@@ -46075,7 +46132,7 @@ paths:
eyes: 1
rocket: 1
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -46374,7 +46431,7 @@ paths:
- *170
- *303
- *363
- - *86
+ - *88
- *17
- *19
responses:
@@ -46500,7 +46557,7 @@ paths:
eyes: 1
rocket: 1
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -46873,7 +46930,7 @@ paths:
content: heart
created_at: '2016-05-20T20:09:31Z'
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -47057,7 +47114,7 @@ paths:
examples:
default: *369
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -47286,7 +47343,7 @@ paths:
examples:
default: *287
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -47332,7 +47389,7 @@ paths:
examples:
default: *294
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -47641,7 +47698,7 @@ paths:
write: true
admin: false
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -47854,7 +47911,7 @@ paths:
examples:
default: *313
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -48684,7 +48741,7 @@ paths:
repositories_url: https://api.github.com/teams/1/repos
html_url: https://github.com/orgs/rails/teams/core
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -49357,7 +49414,7 @@ paths:
content_url: https://api.github.com/repos/api-playground/projects-test/issues/3
project_url: https://api.github.com/projects/120
headers:
- Link: *39
+ Link: *40
'304': *37
'403': *29
'401': *25
@@ -49771,7 +49828,7 @@ paths:
examples:
default: *294
headers:
- Link: *39
+ Link: *40
'404': *6
'422': *15
'304': *37
@@ -49981,7 +50038,7 @@ paths:
created_at: '2016-09-05T14:18:44Z'
updated_at: '2016-09-05T14:22:28Z'
headers:
- Link: *39
+ Link: *40
'304': *37
'403': *29
'401': *25
@@ -51234,7 +51291,7 @@ paths:
head_branch: main
head_sha: 178f4f6090b3fccad4a65b3e83d076a622d59652
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -51438,7 +51495,7 @@ paths:
- last_accessed_at
- size_in_bytes
default: last_accessed_at
- - *86
+ - *88
responses:
'200':
description: Response
@@ -51498,7 +51555,7 @@ paths:
created_at: '2019-01-24T22:45:36.000Z'
size_in_bytes: 1024
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -52149,7 +52206,7 @@ paths:
created_at: '2020-01-10T10:59:22Z'
updated_at: '2020-01-11T11:59:22Z'
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -52233,7 +52290,7 @@ paths:
created_at: '2020-01-10T10:59:22Z'
updated_at: '2020-01-11T11:59:22Z'
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -52266,7 +52323,7 @@ paths:
enabled: &403
type: boolean
description: Whether GitHub Actions is enabled on the repository.
- allowed_actions: *48
+ allowed_actions: *49
selected_actions_url: *189
required:
- enabled
@@ -52309,7 +52366,7 @@ paths:
type: object
properties:
enabled: *403
- allowed_actions: *48
+ allowed_actions: *49
required:
- enabled
examples:
@@ -52428,9 +52485,9 @@ paths:
description: Response
content:
application/json:
- schema: *50
+ schema: *51
examples:
- default: *51
+ default: *52
x-github:
enabledForGitHubApps: true
githubCloudOnly: false
@@ -52462,9 +52519,9 @@ paths:
required: false
content:
application/json:
- schema: *50
+ schema: *51
examples:
- selected_actions: *51
+ selected_actions: *52
x-github:
enabledForGitHubApps: true
githubCloudOnly: false
@@ -52495,7 +52552,7 @@ paths:
application/json:
schema: *192
examples:
- default: *54
+ default: *55
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -52530,7 +52587,7 @@ paths:
application/json:
schema: *193
examples:
- default: *54
+ default: *55
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -52576,11 +52633,11 @@ paths:
type: integer
runners:
type: array
- items: *61
+ items: *62
examples:
- default: *62
+ default: *63
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -52682,7 +52739,7 @@ paths:
'201': *199
'404': *6
'422': *7
- '409': *94
+ '409': *96
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -52717,7 +52774,7 @@ paths:
description: Response
content:
application/json:
- schema: *64
+ schema: *65
examples:
default: *200
x-github:
@@ -52754,7 +52811,7 @@ paths:
description: Response
content:
application/json:
- schema: *64
+ schema: *65
examples:
default: *201
x-github:
@@ -52780,13 +52837,13 @@ paths:
parameters:
- *378
- *379
- - *60
+ - *61
responses:
'200':
description: Response
content:
application/json:
- schema: *61
+ schema: *62
examples:
default: *202
x-github:
@@ -52811,7 +52868,7 @@ paths:
parameters:
- *378
- *379
- - *60
+ - *61
responses:
'204':
description: Response
@@ -52838,9 +52895,9 @@ paths:
parameters:
- *378
- *379
- - *60
+ - *61
responses:
- '200': *66
+ '200': *67
'404': *6
x-github:
githubCloudOnly: false
@@ -52864,7 +52921,7 @@ paths:
parameters:
- *378
- *379
- - *60
+ - *61
requestBody:
required: true
content:
@@ -52888,7 +52945,7 @@ paths:
- gpu
- accelerated
responses:
- '200': *66
+ '200': *67
'404': *6
'422': *7
x-github:
@@ -52914,7 +52971,7 @@ paths:
parameters:
- *378
- *379
- - *60
+ - *61
requestBody:
required: true
content:
@@ -52939,7 +52996,7 @@ paths:
- gpu
- accelerated
responses:
- '200': *66
+ '200': *67
'404': *6
'422': *7
x-github:
@@ -52965,7 +53022,7 @@ paths:
parameters:
- *378
- *379
- - *60
+ - *61
responses:
'200': *203
'404': *6
@@ -52996,10 +53053,10 @@ paths:
parameters:
- *378
- *379
- - *60
+ - *61
- *204
responses:
- '200': *66
+ '200': *67
'404': *6
'422': *7
x-github:
@@ -53652,7 +53709,7 @@ paths:
releases_url: https://api.github.com/repos/octo-org/octo-repo/releases{/id}
deployments_url: https://api.github.com/repos/octo-org/octo-repo/deployments
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -54138,7 +54195,7 @@ paths:
examples:
default: *410
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -54313,7 +54370,7 @@ paths:
workflow_name: CI
head_branch: main
headers:
- Link: *39
+ Link: *40
'404': *6
x-github:
githubCloudOnly: false
@@ -54380,7 +54437,7 @@ paths:
examples:
default:
value:
- '409': *94
+ '409': *96
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -54484,7 +54541,7 @@ paths:
examples:
default:
value:
- '409': *94
+ '409': *96
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -54543,7 +54600,7 @@ paths:
examples:
default: *414
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -54602,7 +54659,7 @@ paths:
'204':
description: Response
'403': *29
- '500': *99
+ '500': *85
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -55246,7 +55303,7 @@ paths:
examples:
default: *416
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -55445,7 +55502,7 @@ paths:
examples:
default: *420
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -55729,7 +55786,7 @@ paths:
html_url: https://github.com/octo-org/octo-repo/blob/master/.github/workflows/269289
badge_url: https://github.com/octo-org/octo-repo/workflows/Linter/badge.svg
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -55943,7 +56000,7 @@ paths:
examples:
default: *430
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -56039,10 +56096,10 @@ paths:
parameters:
- *378
- *379
- - *86
+ - *88
- *17
- - *84
- - *85
+ - *86
+ - *87
- name: ref
description: |-
The Git reference for the activities you want to list.
@@ -56183,7 +56240,7 @@ paths:
type: User
site_admin: false
headers:
- Link: *39
+ Link: *40
'422': *7
x-github:
githubCloudOnly: false
@@ -56217,7 +56274,7 @@ paths:
examples:
default: *294
headers:
- Link: *39
+ Link: *40
'404': *6
x-github:
githubCloudOnly: false
@@ -56393,8 +56450,8 @@ paths:
- *378
- *379
- *17
- - *84
- - *85
+ - *86
+ - *87
- name: subject_digest
description: The parameter should be set to the attestation's subject's SHA256
digest, in the form `sha256:HEX_DIGEST`.
@@ -57212,7 +57269,7 @@ paths:
- linter
protection_url: https://api.github.com/repos/octocat/hello-world/branches/master/protection
headers:
- Link: *39
+ Link: *40
'404': *6
x-github:
githubCloudOnly: false
@@ -60125,7 +60182,7 @@ paths:
examples:
default: *224
'404': *6
- '500': *99
+ '500': *85
"/repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}":
get:
summary: Get a repository push bypass request
@@ -60196,7 +60253,7 @@ paths:
url: https://api.github.com/repos/octo-org/smile/bypass-requests/push-rules/2
html_url: https://github.com/octo-org/smile/exemptions/2
'404': *6
- '500': *99
+ '500': *85
"/repos/{owner}/{repo}/bypass-requests/secret-scanning":
get:
summary: List bypass requests for secret scanning for a repository
@@ -60237,7 +60294,7 @@ paths:
default: *449
'404': *6
'403': *29
- '500': *99
+ '500': *85
"/repos/{owner}/{repo}/bypass-requests/secret-scanning/{bypass_request_number}":
get:
summary: Get a bypass request for secret scanning
@@ -60309,7 +60366,7 @@ paths:
html_url: https://github.com/octo-org/smile/exemptions/1
'404': *6
'403': *29
- '500': *99
+ '500': *85
patch:
summary: Review a bypass request for secret scanning
description: |-
@@ -60380,7 +60437,7 @@ paths:
'404': *6
'403': *29
'422': *15
- '500': *99
+ '500': *85
"/repos/{owner}/{repo}/bypass-responses/secret-scanning/{bypass_response_id}":
delete:
summary: Dismiss a response on a bypass request for secret scanning
@@ -60415,7 +60472,7 @@ paths:
'404': *6
'403': *29
'422': *15
- '500': *99
+ '500': *85
"/repos/{owner}/{repo}/check-runs":
post:
summary: Create a check run
@@ -61572,7 +61629,7 @@ paths:
raw_details: Do you mean 'bananas' or 'banana'?
blob_href: https://api.github.com/repos/github/rest-api-description/git/blobs/abc
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -62574,7 +62631,7 @@ paths:
url: https://api.github.com/repos/github/hello-world
name: hello-world
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -62650,9 +62707,9 @@ paths:
required: false
schema:
type: integer
+ - *88
- *86
- - *84
- - *85
+ - *87
- name: sort
description: The property by which to sort the results.
in: query
@@ -62691,7 +62748,7 @@ paths:
url: *105
html_url: *106
instances_url: *461
- state: *89
+ state: *91
fixed_at: *110
dismissed_by:
title: Simple User
@@ -62880,7 +62937,7 @@ paths:
url: *105
html_url: *106
instances_url: *461
- state: *89
+ state: *91
fixed_at: *110
dismissed_by:
title: Simple User
@@ -63513,7 +63570,7 @@ paths:
type: string
description: An identifier for the upload.
example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53
- - *86
+ - *88
- name: sort
description: The property by which to sort the results.
in: query
@@ -64248,7 +64305,7 @@ paths:
id:
type: integer
description: The ID of the variant analysis.
- controller_repo: *96
+ controller_repo: *97
actor: *4
query_language: *481
query_pack_url:
@@ -64673,7 +64730,7 @@ paths:
schema:
type: object
properties:
- repository: *96
+ repository: *97
analysis_status: *486
artifact_size_in_bytes:
type: integer
@@ -65244,7 +65301,7 @@ paths:
- failed
- updating
- removed_by_enterprise
- configuration: *90
+ configuration: *92
examples:
default:
value:
@@ -65715,7 +65772,7 @@ paths:
start_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-3f89ada1j3/start
stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-3f89ada1j3/stop
recent_folders: []
- '500': *99
+ '500': *85
'401': *25
'403': *29
'404': *6
@@ -65881,7 +65938,7 @@ paths:
- path: ".devcontainer.json"
display_name: Default project configuration
total_count: 3
- '500': *99
+ '500': *85
'400': *14
'401': *25
'403': *29
@@ -65965,7 +66022,7 @@ paths:
memory_in_bytes: 34359738368
cpus: 8
'304': *37
- '500': *99
+ '500': *85
'401': *25
'403': *29
'404': *6
@@ -66181,7 +66238,7 @@ paths:
examples:
default: *491
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -66530,7 +66587,7 @@ paths:
admin: false
role_name: write
headers:
- Link: *39
+ Link: *40
'404': *6
x-github:
githubCloudOnly: false
@@ -67061,7 +67118,7 @@ paths:
updated_at: '2011-04-14T16:00:49Z'
author_association: COLLABORATOR
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -67283,7 +67340,7 @@ paths:
examples:
default: *369
headers:
- Link: *39
+ Link: *40
'404': *6
x-github:
githubCloudOnly: false
@@ -67548,11 +67605,11 @@ paths:
- url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e
sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e
headers:
- Link: *39
- '500': *99
+ Link: *40
+ '500': *85
'400': *14
'404': *6
- '409': *94
+ '409': *96
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -67621,7 +67678,7 @@ paths:
url: https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc
protected: false
'422': *15
- '409': *94
+ '409': *96
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -67662,7 +67719,7 @@ paths:
examples:
default: *501
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -67928,7 +67985,7 @@ paths:
type: string
ref:
type: string
- repo: *63
+ repo: *64
sha:
type: string
user:
@@ -67951,7 +68008,7 @@ paths:
type: string
ref:
type: string
- repo: *63
+ repo: *64
sha:
type: string
user:
@@ -68538,8 +68595,8 @@ paths:
auto_merge:
draft: false
headers:
- Link: *39
- '409': *94
+ Link: *40
+ '409': *96
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -68703,9 +68760,9 @@ paths:
.....
'422': *15
'404': *6
- '500': *99
+ '500': *85
'503': *132
- '409': *94
+ '409': *96
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -68772,7 +68829,7 @@ paths:
examples:
default: *509
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -68998,7 +69055,7 @@ paths:
latest_check_runs_count: 1
check_runs_url: https://api.github.com/repos/octocat/Hello-World/check-suites/5/check-runs
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -69315,7 +69372,7 @@ paths:
type: User
site_admin: false
headers:
- Link: *39
+ Link: *40
'301': *392
x-github:
githubCloudOnly: false
@@ -69858,7 +69915,7 @@ paths:
patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@
module Test"
'404': *6
- '500': *99
+ '500': *85
'503': *132
x-github:
githubCloudOnly: false
@@ -70919,7 +70976,7 @@ paths:
verified_at:
'422': *15
'404': *6
- '409': *94
+ '409': *96
'503': *132
x-github:
githubCloudOnly: false
@@ -71041,7 +71098,7 @@ paths:
site_admin: false
contributions: 32
headers:
- Link: *39
+ Link: *40
'204':
description: Response if repository is empty
'403': *29
@@ -71080,7 +71137,7 @@ paths:
- *254
- *255
- *256
- - *86
+ - *88
- name: page
description: "**Closing down notice**. Page number of the results to fetch.
Use cursor-based pagination with `before` or `after` instead."
@@ -71097,8 +71154,8 @@ paths:
schema:
type: integer
default: 30
- - *84
- - *85
+ - *86
+ - *87
- *257
- *258
responses:
@@ -71698,7 +71755,7 @@ paths:
'400': *14
'403': *29
'404': *6
- '409': *94
+ '409': *96
'422': *7
x-github:
githubCloudOnly: false
@@ -71771,7 +71828,7 @@ paths:
created_at: '2020-01-10T10:59:22Z'
updated_at: '2020-01-11T11:59:22Z'
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -72071,7 +72128,7 @@ paths:
advisory_summary: Ruby OpenID
advisory_url: https://github.com/advisories/GHSA-fqfj-cmh6-hj49
headers:
- Link: *39
+ Link: *40
'404': *6
'403':
description: Response for a private repository when GitHub Advanced Security
@@ -72312,7 +72369,7 @@ paths:
spdxElementId: SPDXRef-DOCUMENT
relatedSpdxElement: SPDXRef-Repository
headers:
- Link: *39
+ Link: *40
'404': *6
'403': *29
x-github:
@@ -72631,7 +72688,7 @@ paths:
examples:
default: *527
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -73106,7 +73163,7 @@ paths:
environment_url: https://test-branch.lab.acme.com
log_url: https://example.com/deployment/42/output
headers:
- Link: *39
+ Link: *40
'404': *6
x-github:
githubCloudOnly: false
@@ -73323,7 +73380,7 @@ paths:
default: *533
'404': *6
'403': *29
- '500': *99
+ '500': *85
"/repos/{owner}/{repo}/dismissal-requests/secret-scanning/{alert_number}":
get:
summary: Get an alert dismissal request for secret scanning
@@ -73395,7 +73452,7 @@ paths:
html_url: https://github.com/octo-org/smile/security/secret-scanning/17
'404': *6
'403': *29
- '500': *99
+ '500': *85
patch:
summary: Review an alert dismissal request for secret scanning
description: |-
@@ -73467,7 +73524,7 @@ paths:
'404': *6
'403': *29
'422': *15
- '500': *99
+ '500': *85
"/repos/{owner}/{repo}/dispatches":
post:
summary: Create a repository dispatch event
@@ -74627,7 +74684,7 @@ paths:
examples:
default: *416
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -74827,7 +74884,7 @@ paths:
examples:
default: *420
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -75218,7 +75275,7 @@ paths:
url: https://api.github.com/licenses/mit
node_id: MDc6TGljZW5zZW1pdA==
headers:
- Link: *39
+ Link: *40
'400': *14
x-github:
githubCloudOnly: false
@@ -75350,7 +75407,7 @@ paths:
schema:
type: string
'404': *6
- '409': *94
+ '409': *96
'403': *29
'422':
description: Validation failed
@@ -75436,7 +75493,7 @@ paths:
'404': *6
'422': *15
'403': *29
- '409': *94
+ '409': *96
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -75758,7 +75815,7 @@ paths:
type: string
'422': *15
'404': *6
- '409': *94
+ '409': *96
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -75847,7 +75904,7 @@ paths:
payload:
verified_at:
'404': *6
- '409': *94
+ '409': *96
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -75944,8 +76001,8 @@ paths:
sha: 612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac
url: https://api.github.com/repos/octocat/Hello-World/git/commits/612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac
headers:
- Link: *39
- '409': *94
+ Link: *40
+ '409': *96
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -75986,7 +76043,7 @@ paths:
sha: aa218f56b14c9653891f9e74264a383fa43fefbd
url: https://api.github.com/repos/octocat/Hello-World/git/commits/aa218f56b14c9653891f9e74264a383fa43fefbd
'404': *6
- '409': *94
+ '409': *96
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -76044,7 +76101,7 @@ paths:
schema:
type: string
'422': *15
- '409': *94
+ '409': *96
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -76098,7 +76155,7 @@ paths:
examples:
default: *553
'422': *15
- '409': *94
+ '409': *96
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -76123,7 +76180,7 @@ paths:
'422':
description: Validation failed, an attempt was made to delete the default
branch, or the endpoint has been spammed.
- '409': *94
+ '409': *96
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -76327,7 +76384,7 @@ paths:
schema:
type: string
'422': *15
- '409': *94
+ '409': *96
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -76389,7 +76446,7 @@ paths:
examples:
default: *556
'404': *6
- '409': *94
+ '409': *96
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -76558,7 +76615,7 @@ paths:
'422': *15
'404': *6
'403': *29
- '409': *94
+ '409': *96
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -76646,7 +76703,7 @@ paths:
truncated: false
'422': *15
'404': *6
- '409': *94
+ '409': *96
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -76784,7 +76841,7 @@ paths:
status: unused
message:
headers:
- Link: *39
+ Link: *40
'404': *6
x-github:
githubCloudOnly: false
@@ -77175,7 +77232,7 @@ paths:
- *266
- *16
responses:
- '202': *95
+ '202': *39
'400': *14
'422': *15
x-github:
@@ -78237,7 +78294,7 @@ paths:
html_url: https://github.com/octocat/Hello-World/invitations
node_id: MDQ6VXNlcjE=
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -78510,7 +78567,7 @@ paths:
- updated
- comments
default: created
- - *86
+ - *88
- *143
- *17
- *19
@@ -78670,7 +78727,7 @@ paths:
author_association: COLLABORATOR
state_reason: completed
headers:
- Link: *39
+ Link: *40
'301': *392
'422': *15
'404': *6
@@ -79024,7 +79081,7 @@ paths:
issue_url: https://api.github.com/repos/octocat/Hello-World/issues/1347
author_association: COLLABORATOR
headers:
- Link: *39
+ Link: *40
'422': *15
'404': *6
x-github:
@@ -79213,7 +79270,7 @@ paths:
examples:
default: *369
headers:
- Link: *39
+ Link: *40
'404': *6
x-github:
githubCloudOnly: false
@@ -79664,7 +79721,7 @@ paths:
author_association: COLLABORATOR
state_reason: completed
headers:
- Link: *39
+ Link: *40
'422': *15
x-github:
githubCloudOnly: false
@@ -80252,7 +80309,7 @@ paths:
examples:
default: *575
headers:
- Link: *39
+ Link: *40
'404': *6
'410': *389
x-github:
@@ -81188,7 +81245,7 @@ paths:
name: label
color: red
headers:
- Link: *39
+ Link: *40
'410': *389
x-github:
githubCloudOnly: false
@@ -81282,7 +81339,7 @@ paths:
color: a2eeef
default: false
headers:
- Link: *39
+ Link: *40
'301': *392
'404': *6
'410': *389
@@ -81648,7 +81705,7 @@ paths:
examples:
default: *369
headers:
- Link: *39
+ Link: *40
'404': *6
'410': *389
x-github:
@@ -81840,7 +81897,7 @@ paths:
examples:
default: *578
headers:
- Link: *39
+ Link: *40
'404': *6
'410': *389
x-github:
@@ -82815,7 +82872,7 @@ paths:
type: User
site_admin: true
headers:
- Link: *39
+ Link: *40
'404': *6
'410': *389
x-github:
@@ -82894,7 +82951,7 @@ paths:
last_used: '2022-01-10T15:53:42Z'
enabled: true
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -83054,7 +83111,7 @@ paths:
examples:
default: *577
headers:
- Link: *39
+ Link: *40
'404': *6
x-github:
githubCloudOnly: false
@@ -83308,7 +83365,7 @@ paths:
- *378
- *379
responses:
- '202': *95
+ '202': *39
'403':
description: |-
We will return a 403 with one of the following messages:
@@ -83722,7 +83779,7 @@ paths:
closed_at: '2013-02-12T13:22:01Z'
due_on: '2012-10-09T23:39:01Z'
headers:
- Link: *39
+ Link: *40
'404': *6
x-github:
githubCloudOnly: false
@@ -83971,7 +84028,7 @@ paths:
examples:
default: *577
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -84007,7 +84064,7 @@ paths:
examples:
default: *603
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: false
@@ -84320,7 +84377,7 @@ paths:
examples:
default: *605
'422': *15
- '409': *94
+ '409': *96
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -84428,7 +84485,7 @@ paths:
description: Response
'422': *15
'400': *14
- '409': *94
+ '409': *96
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -84456,7 +84513,7 @@ paths:
description: Response
'422': *15
'404': *6
- '409': *94
+ '409': *96
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -84562,7 +84619,7 @@ paths:
created_at: '2014-02-10T19:00:49Z'
updated_at: '2014-02-10T19:00:51Z'
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -85314,7 +85371,7 @@ paths:
created_at: '2011-04-10T20:09:31Z'
updated_at: '2014-03-03T18:58:10Z'
headers:
- Link: *39
+ Link: *40
'401': *25
'403': *29
'404': *6
@@ -85565,7 +85622,7 @@ paths:
examples:
default: *610
headers:
- Link: *39
+ Link: *40
'304': *37
'422': *15
x-github:
@@ -85827,7 +85884,7 @@ paths:
type: string
ref:
type: string
- repo: *63
+ repo: *64
sha:
type: string
user: *4
@@ -85844,7 +85901,7 @@ paths:
type: string
ref:
type: string
- repo: *63
+ repo: *64
sha:
type: string
user: *4
@@ -86578,7 +86635,7 @@ paths:
original_line: 2
side: RIGHT
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -86785,7 +86842,7 @@ paths:
examples:
default: *369
headers:
- Link: *39
+ Link: *40
'404': *6
x-github:
githubCloudOnly: false
@@ -86940,7 +86997,7 @@ paths:
content:
application/json:
schema: *3
- '500': *99
+ '500': *85
'503': *132
x-github:
githubCloudOnly: false
@@ -87164,7 +87221,7 @@ paths:
examples:
default: *617
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -87517,7 +87574,7 @@ paths:
examples:
default: *618
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -87573,9 +87630,9 @@ paths:
patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@
module Test"
headers:
- Link: *39
+ Link: *40
'422': *15
- '500': *99
+ '500': *85
'503': *132
x-github:
githubCloudOnly: false
@@ -87792,7 +87849,7 @@ paths:
repositories_url: https://api.github.com/teams/1/repos
parent:
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -89056,7 +89113,7 @@ paths:
commit_id: ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091
author_association: COLLABORATOR
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -89646,7 +89703,7 @@ paths:
pull_request:
href: https://api.github.com/repos/octocat/Hello-World/pulls/1
headers:
- Link: *39
+ Link: *40
'404': *6
x-github:
githubCloudOnly: false
@@ -90234,7 +90291,7 @@ paths:
type: User
site_admin: false
headers:
- Link: *39
+ Link: *40
'404': *6
x-github:
githubCloudOnly: false
@@ -90921,7 +90978,7 @@ paths:
type: User
site_admin: false
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -91078,7 +91135,7 @@ paths:
examples:
default: *369
headers:
- Link: *39
+ Link: *40
'404': *6
x-github:
githubCloudOnly: false
@@ -91374,7 +91431,7 @@ paths:
created_at: '2023-08-15T08:43:03Z'
updated_at: '2023-09-23T16:29:47Z'
'404': *6
- '500': *99
+ '500': *85
post:
summary: Create a repository ruleset
description: Create a ruleset for a repository.
@@ -91486,7 +91543,7 @@ paths:
created_at: '2023-07-15T08:43:03Z'
updated_at: '2023-08-23T16:29:47Z'
'404': *6
- '500': *99
+ '500': *85
"/repos/{owner}/{repo}/rulesets/rule-suites":
get:
summary: List repository rule suites
@@ -91517,7 +91574,7 @@ paths:
examples:
default: *658
'404': *6
- '500': *99
+ '500': *85
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -91548,7 +91605,7 @@ paths:
examples:
default: *661
'404': *6
- '500': *99
+ '500': *85
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -91599,7 +91656,7 @@ paths:
examples:
default: *662
'404': *6
- '500': *99
+ '500': *85
put:
summary: Update a repository ruleset
description: Update a ruleset for a repository.
@@ -91682,7 +91739,7 @@ paths:
examples:
default: *662
'404': *6
- '500': *99
+ '500': *85
delete:
summary: Delete a repository ruleset
description: Delete a ruleset for a repository.
@@ -91710,7 +91767,7 @@ paths:
'204':
description: Response
'404': *6
- '500': *99
+ '500': *85
"/repos/{owner}/{repo}/rulesets/{ruleset_id}/history":
get:
summary: Get repository ruleset history
@@ -91743,7 +91800,7 @@ paths:
examples:
default: *333
'404': *6
- '500': *99
+ '500': *85
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -91812,7 +91869,7 @@ paths:
operator: contains
pattern: github
'404': *6
- '500': *99
+ '500': *85
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -91840,7 +91897,7 @@ paths:
- *336
- *337
- *338
- - *86
+ - *88
- *19
- *17
- *663
@@ -92603,7 +92660,7 @@ paths:
details:
pull_request_review_comment_url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12
headers:
- Link: *39
+ Link: *40
'404':
description: Repository is public, or secret scanning is disabled for the
repository, or the resource is not found
@@ -92827,7 +92884,7 @@ paths:
parameters:
- *378
- *379
- - *86
+ - *88
- name: sort
description: The property to sort the results by.
in: query
@@ -92839,8 +92896,8 @@ paths:
- updated
- published
default: created
- - *84
- - *85
+ - *86
+ - *87
- name: per_page
description: The number of advisories to return per page. For more information,
see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)."
@@ -93783,7 +93840,7 @@ paths:
- *379
- *673
responses:
- '202': *95
+ '202': *39
'400': *14
'403': *29
'404': *6
@@ -93922,7 +93979,7 @@ paths:
type: User
site_admin: false
headers:
- Link: *39
+ Link: *40
'422': *15
x-github:
githubCloudOnly: false
@@ -93966,7 +94023,7 @@ paths:
- - 1302998400
- 1124
- -435
- '202': *95
+ '202': *39
'204': *118
'422':
description: Repository contains more than 10,000 commits
@@ -94036,7 +94093,7 @@ paths:
- 0
total: 89
week: 1336280400
- '202': *95
+ '202': *39
'204': *118
x-github:
githubCloudOnly: false
@@ -94138,7 +94195,7 @@ paths:
a: 6898
d: 77
c: 10
- '202': *95
+ '202': *39
'204': *118
x-github:
githubCloudOnly: false
@@ -94484,7 +94541,7 @@ paths:
examples:
default: *294
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -94709,7 +94766,7 @@ paths:
tarball_url: https://github.com/octocat/Hello-World/tarball/v0.1
node_id: MDQ6VXNlcjE=
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -94938,7 +94995,7 @@ paths:
examples:
default: *306
headers:
- Link: *39
+ Link: *40
'404': *6
x-github:
githubCloudOnly: false
@@ -96048,7 +96105,7 @@ paths:
default: 30
format: int32
example: 1
- - *40
+ - *41
responses:
'200':
description: Success, either groups were found or not found
@@ -96258,7 +96315,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#provision-a-scim-enterprise-group
parameters:
- - *40
+ - *41
requestBody:
required: true
content:
@@ -96372,7 +96429,7 @@ paths:
type: string
example: 7fce0092-d52e-4f76-b727-3955bd72c939
- *690
- - *40
+ - *41
responses:
'200':
description: Success, a group was found
@@ -96406,7 +96463,7 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-group
parameters:
- *692
- - *40
+ - *41
requestBody:
required: true
content:
@@ -96472,7 +96529,7 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-group
parameters:
- *692
- - *40
+ - *41
requestBody:
required: true
content:
@@ -96564,7 +96621,7 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-group-from-an-enterprise
parameters:
- *692
- - *40
+ - *41
responses:
'204':
description: Group was deleted, no content
@@ -96609,7 +96666,7 @@ paths:
value: externalId eq 'E012345'
- *695
- *696
- - *40
+ - *41
responses:
'200':
description: Success, either users were found or not found
@@ -96836,7 +96893,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#provision-a-scim-enterprise-user
parameters:
- - *40
+ - *41
requestBody:
required: true
content:
@@ -97030,7 +97087,7 @@ paths:
required: true
schema:
type: string
- - *40
+ - *41
responses:
'200':
description: Success, a user was found
@@ -97067,7 +97124,7 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-user
parameters:
- *701
- - *40
+ - *41
requestBody:
required: true
content:
@@ -97125,7 +97182,7 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-user
parameters:
- *701
- - *40
+ - *41
requestBody:
required: true
content:
@@ -97202,7 +97259,7 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-user-from-an-enterprise
parameters:
- *701
- - *40
+ - *41
responses:
'204':
description: User was deleted, no content
@@ -98754,7 +98811,7 @@ paths:
author_association: *140
draft:
type: boolean
- repository: *63
+ repository: *64
body_html:
type: string
body_text:
@@ -100165,7 +100222,7 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy
parameters:
- *711
- - *86
+ - *88
- *17
- *19
responses:
@@ -100179,7 +100236,7 @@ paths:
examples:
default: *712
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -100386,7 +100443,7 @@ paths:
parameters:
- *711
- *363
- - *86
+ - *88
- *17
- *19
responses:
@@ -100400,7 +100457,7 @@ paths:
examples:
default: *714
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -100628,7 +100685,7 @@ paths:
examples:
default: *369
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -100748,7 +100805,7 @@ paths:
examples:
default: *369
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -100848,7 +100905,7 @@ paths:
examples:
default: *287
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -100897,7 +100954,7 @@ paths:
examples:
default: *294
headers:
- Link: *39
+ Link: *40
'404': *6
x-github:
githubCloudOnly: false
@@ -101184,7 +101241,7 @@ paths:
examples:
default: *718
headers:
- Link: *39
+ Link: *40
'404': *6
x-github:
githubCloudOnly: false
@@ -101351,7 +101408,7 @@ paths:
examples:
default: *313
headers:
- Link: *39
+ Link: *40
'404': *6
x-github:
githubCloudOnly: false
@@ -101758,7 +101815,7 @@ paths:
examples:
response-if-child-teams-exist: *721
headers:
- Link: *39
+ Link: *40
'404': *6
'403': *29
'422': *15
@@ -102352,7 +102409,7 @@ paths:
examples:
default: *296
'304': *37
- '500': *99
+ '500': *85
'401': *25
'403': *29
'404': *6
@@ -102585,7 +102642,7 @@ paths:
examples:
default: *491
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: false
@@ -102809,7 +102866,7 @@ paths:
'401': *25
'403': *29
'404': *6
- '500': *99
+ '500': *85
x-github:
githubCloudOnly: false
enabledForGitHubApps: false
@@ -102862,7 +102919,7 @@ paths:
'401': *25
'403': *29
'404': *6
- '500': *99
+ '500': *85
x-github:
githubCloudOnly: false
enabledForGitHubApps: false
@@ -102896,7 +102953,7 @@ paths:
'401': *25
'403': *29
'404': *6
- '500': *99
+ '500': *85
x-github:
githubCloudOnly: false
enabledForGitHubApps: false
@@ -102929,7 +102986,7 @@ paths:
'401': *25
'403': *29
'404': *6
- '500': *99
+ '500': *85
x-github:
githubCloudOnly: false
enabledForGitHubApps: false
@@ -102959,7 +103016,7 @@ paths:
examples:
default: *488
'304': *37
- '500': *99
+ '500': *85
'401': *25
'403': *29
'404': *6
@@ -103039,9 +103096,9 @@ paths:
parameters:
- *297
responses:
- '202': *95
+ '202': *39
'304': *37
- '500': *99
+ '500': *85
'401': *25
'403': *29
'404': *6
@@ -103121,7 +103178,7 @@ paths:
sha: fd95a81ca01e48ede9f39c799ecbcef817b8a3b2
id: latest
export_url: https://api.github.com/user/codespaces/:name/exports/latest
- '500': *99
+ '500': *85
'401': *25
'403': *29
'404': *6
@@ -103201,7 +103258,7 @@ paths:
examples:
default: *729
'304': *37
- '500': *99
+ '500': *85
'401': *25
'403': *29
'404': *6
@@ -104068,7 +104125,7 @@ paths:
examples:
default: *488
'304': *37
- '500': *99
+ '500': *85
'400': *14
'401': *25
'402':
@@ -104078,7 +104135,7 @@ paths:
schema: *3
'403': *29
'404': *6
- '409': *94
+ '409': *96
x-github:
githubCloudOnly: false
enabledForGitHubApps: false
@@ -104107,7 +104164,7 @@ paths:
schema: *295
examples:
default: *488
- '500': *99
+ '500': *85
'401': *25
'403': *29
'404': *6
@@ -104313,7 +104370,7 @@ paths:
primary: true
visibility: public
headers:
- Link: *39
+ Link: *40
'304': *37
'404': *6
'403': *29
@@ -104493,7 +104550,7 @@ paths:
examples:
default: *294
headers:
- Link: *39
+ Link: *40
'304': *37
'403': *29
'401': *25
@@ -104526,7 +104583,7 @@ paths:
examples:
default: *294
headers:
- Link: *39
+ Link: *40
'304': *37
'403': *29
'401': *25
@@ -104800,7 +104857,7 @@ paths:
revoked: false
raw_key: string
headers:
- Link: *39
+ Link: *40
'304': *37
'404': *6
'403': *29
@@ -105092,7 +105149,7 @@ paths:
suspended_at:
suspended_by:
headers:
- Link: *39
+ Link: *40
'304': *37
'403': *29
'401': *25
@@ -105138,11 +105195,11 @@ paths:
type: string
repositories:
type: array
- items: *63
+ items: *64
examples:
default: *734
headers:
- Link: *39
+ Link: *40
'404': *6
'403': *29
'304': *37
@@ -105358,7 +105415,7 @@ paths:
- updated
- comments
default: created
- - *86
+ - *88
- *143
- *17
- *19
@@ -105373,7 +105430,7 @@ paths:
examples:
default: *293
headers:
- Link: *39
+ Link: *40
'404': *6
'304': *37
x-github:
@@ -105451,7 +105508,7 @@ paths:
verified: false
read_only: false
headers:
- Link: *39
+ Link: *40
'304': *37
'404': *6
'403': *29
@@ -105701,7 +105758,7 @@ paths:
- Up to 25 private repositories
- 11 concurrent builds
headers:
- Link: *39
+ Link: *40
'304': *37
'401': *25
'404': *6
@@ -105734,7 +105791,7 @@ paths:
examples:
default: *738
headers:
- Link: *39
+ Link: *40
'304': *37
'401': *25
x-github:
@@ -105849,7 +105906,7 @@ paths:
type: User
site_admin: false
headers:
- Link: *39
+ Link: *40
'304': *37
'403': *29
'401': *25
@@ -106184,7 +106241,7 @@ paths:
updated_at: '2015-07-06T15:33:38-07:00'
node_id: MDQ6VXNlcjE=
headers:
- Link: *39
+ Link: *40
'304': *37
'403': *29
'401': *25
@@ -106765,7 +106822,7 @@ paths:
examples:
default: *313
headers:
- Link: *39
+ Link: *40
'404': *6
x-github:
githubCloudOnly: false
@@ -106798,11 +106855,11 @@ paths:
application/json:
schema:
type: array
- items: *58
+ items: *59
examples:
default: *740
headers:
- Link: *39
+ Link: *40
'304': *37
'403': *29
'401': *25
@@ -107341,7 +107398,7 @@ paths:
examples:
default: *744
headers:
- Link: *39
+ Link: *40
'304': *37
'404': *6
'403': *29
@@ -107450,7 +107507,7 @@ paths:
application/json:
schema:
type: array
- items: *63
+ items: *64
examples:
default: &751
summary: Default response
@@ -107573,7 +107630,7 @@ paths:
open_issues: 1
watchers: 1
headers:
- Link: *39
+ Link: *40
'422': *15
'304': *37
'403': *29
@@ -107800,7 +107857,7 @@ paths:
examples:
default: *745
headers:
- Link: *39
+ Link: *40
'304': *37
'404': *6
'403': *29
@@ -107826,7 +107883,7 @@ paths:
'204':
description: Response
'403': *29
- '409': *94
+ '409': *96
'404': *6
'304': *37
x-github:
@@ -107848,7 +107905,7 @@ paths:
responses:
'204':
description: Response
- '409': *94
+ '409': *96
'304': *37
'404': *6
'403': *29
@@ -107897,7 +107954,7 @@ paths:
- provider: twitter
url: https://twitter.com/github
headers:
- Link: *39
+ Link: *40
'304': *37
'404': *6
'403': *29
@@ -108076,7 +108133,7 @@ paths:
title: ssh-rsa AAAAB3NzaC1yc2EAAB
created_at: '2020-07-11T21:31:57Z'
headers:
- Link: *39
+ Link: *40
'304': *37
'404': *6
'403': *29
@@ -108241,7 +108298,7 @@ paths:
- created
- updated
default: created
- - *86
+ - *88
- *17
- *19
responses:
@@ -108251,7 +108308,7 @@ paths:
application/json:
schema:
type: array
- items: *63
+ items: *64
examples:
default-response: *751
application/vnd.github.v3.star+json:
@@ -108265,7 +108322,7 @@ paths:
starred_at:
type: string
format: date-time
- repo: *63
+ repo: *64
required:
- starred_at
- repo
@@ -108393,7 +108450,7 @@ paths:
open_issues: 1
watchers: 1
headers:
- Link: *39
+ Link: *40
'304': *37
'403': *29
'401': *25
@@ -108505,7 +108562,7 @@ paths:
examples:
default: *313
headers:
- Link: *39
+ Link: *40
'304': *37
'403': *29
'401': *25
@@ -108591,7 +108648,7 @@ paths:
updated_at: '2017-08-17T12:37:15Z'
type: Organization
headers:
- Link: *39
+ Link: *40
'304': *37
'404': *6
'403': *29
@@ -108801,8 +108858,8 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#list-attestations
parameters:
- *17
- - *84
- - *85
+ - *86
+ - *87
- *218
- name: subject_digest
description: Subject Digest
@@ -109179,7 +109236,7 @@ paths:
examples:
default: *294
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -109210,7 +109267,7 @@ paths:
examples:
default: *294
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -109269,7 +109326,7 @@ paths:
examples:
default: *145
headers:
- Link: *39
+ Link: *40
'422': *15
x-github:
githubCloudOnly: false
@@ -109302,7 +109359,7 @@ paths:
examples:
default: *755
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -109450,7 +109507,7 @@ paths:
- id: 1
key: ssh-rsa AAA...
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -109480,11 +109537,11 @@ paths:
application/json:
schema:
type: array
- items: *58
+ items: *59
examples:
default: *740
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -109889,7 +109946,7 @@ paths:
created_at: '2011-04-10T20:09:31Z'
updated_at: '2014-03-03T18:58:10Z'
headers:
- Link: *39
+ Link: *40
'422': *15
x-github:
githubCloudOnly: false
@@ -110138,7 +110195,7 @@ paths:
examples:
default: *313
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -110260,7 +110317,7 @@ paths:
examples:
default: *747
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -110292,7 +110349,7 @@ paths:
examples:
default: *757
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -110316,7 +110373,7 @@ paths:
parameters:
- *218
- *758
- - *86
+ - *88
- *17
- *19
responses:
@@ -110329,11 +110386,11 @@ paths:
- type: array
items: *759
- type: array
- items: *63
+ items: *64
examples:
default-response: *751
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -110364,7 +110421,7 @@ paths:
examples:
default: *313
headers:
- Link: *39
+ Link: *40
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -225601,7 +225658,7 @@ x-webhooks:
description: The ID of the parent issue.
type: number
parent_issue: *153
- parent_issue_repo: *63
+ parent_issue_repo: *64
sub_issue_id:
description: The ID of the sub-issue.
type: number
@@ -225693,7 +225750,7 @@ x-webhooks:
description: The ID of the parent issue.
type: number
parent_issue: *153
- parent_issue_repo: *63
+ parent_issue_repo: *64
sub_issue_id:
description: The ID of the sub-issue.
type: number
@@ -225785,7 +225842,7 @@ x-webhooks:
description: The ID of the sub-issue.
type: number
sub_issue: *153
- sub_issue_repo: *63
+ sub_issue_repo: *64
parent_issue_id:
description: The ID of the parent issue.
type: number
@@ -225877,7 +225934,7 @@ x-webhooks:
description: The ID of the sub-issue.
type: number
sub_issue: *153
- sub_issue_repo: *63
+ sub_issue_repo: *64
parent_issue_id:
description: The ID of the parent issue.
type: number
diff --git a/descriptions/ghec/ghec.2022-11-28.json b/descriptions/ghec/ghec.2022-11-28.json
index 679933e14..5e38c29b8 100644
--- a/descriptions/ghec/ghec.2022-11-28.json
+++ b/descriptions/ghec/ghec.2022-11-28.json
@@ -199,6 +199,10 @@
{
"name": "campaigns",
"description": "Endpoints to manage campaigns via the REST API."
+ },
+ {
+ "name": "credentials",
+ "description": "Revoke compromised or leaked GitHub credentials."
}
],
"servers": [
@@ -2048,6 +2052,71 @@
}
}
},
+ "/credentials/revoke": {
+ "post": {
+ "summary": "Revoke a list of credentials",
+ "description": "Submit a list of credentials to be revoked. This endpoint is intended to revoke credentials the caller does not own and may have found exposed on GitHub.com or elsewhere. It can also be used for credentials associated with an old user account that you no longer have access to. Credential owners will be notified of the revocation.\n\nThis endpoint currently accepts the following credential types:\n- Personal access tokens (classic)\n- Fine-grained personal access tokens\n\nRevoked credentials may impact users on GitHub Free, Pro, & Team and GitHub Enterprise Cloud, and GitHub Enterprise Cloud with Enterprise Managed Users.\nGitHub cannot reactivate any credentials that have been revoked; new credentials will need to be generated.\n\nTo prevent abuse, this API is limited to only 60 unauthenticated requests per hour and a max of 1000 tokens per API request.\n\n> [!NOTE]\n> Any authenticated requests will return a 403.",
+ "tags": [
+ "credentials"
+ ],
+ "operationId": "credentials/revoke",
+ "externalDocs": {
+ "description": "API method documentation",
+ "url": "https://docs.github.com/enterprise-cloud@latest//rest/credentials/revoke#revoke-a-list-of-credentials"
+ },
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "credentials": {
+ "type": "array",
+ "description": "A list of credentials to be revoked, up to 1000 per request.",
+ "items": {
+ "type": "string"
+ },
+ "minItems": 1,
+ "maxItems": 1000
+ }
+ },
+ "required": [
+ "credentials"
+ ]
+ },
+ "examples": {
+ "default": {
+ "value": {
+ "credentials": [
+ "ghp_1234567890abcdef1234567890abcdef12345678",
+ "ghp_abcdef1234567890abcdef1234567890abcdef12"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "202": {
+ "$ref": "#/components/responses/accepted"
+ },
+ "422": {
+ "$ref": "#/components/responses/validation_failed_simple"
+ },
+ "500": {
+ "$ref": "#/components/responses/internal_error"
+ }
+ },
+ "x-github": {
+ "githubCloudOnly": false,
+ "enabledForGitHubApps": false,
+ "category": "credentials",
+ "subcategory": "revoke"
+ }
+ }
+ },
"/emojis": {
"get": {
"summary": "Get emojis",
@@ -318479,6 +318548,16 @@
}
}
},
+ "internal_error": {
+ "description": "Internal Error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/basic-error"
+ }
+ }
+ }
+ },
"actions_runner_jitconfig": {
"description": "Response",
"content": {
@@ -318577,16 +318656,6 @@
}
}
},
- "internal_error": {
- "description": "Internal Error",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/basic-error"
- }
- }
- }
- },
"service_unavailable": {
"description": "Service unavailable",
"content": {
diff --git a/descriptions/ghec/ghec.2022-11-28.yaml b/descriptions/ghec/ghec.2022-11-28.yaml
index f3f4a14a8..59e5f208e 100644
--- a/descriptions/ghec/ghec.2022-11-28.yaml
+++ b/descriptions/ghec/ghec.2022-11-28.yaml
@@ -105,6 +105,8 @@ tags:
description: Manage hosted compute networking resources.
- name: campaigns
description: Endpoints to manage campaigns via the REST API.
+- name: credentials
+ description: Revoke compromised or leaked GitHub credentials.
servers:
- url: https://api.github.com
externalDocs:
@@ -1409,6 +1411,64 @@ paths:
enabledForGitHubApps: true
category: codes-of-conduct
subcategory: codes-of-conduct
+ "/credentials/revoke":
+ post:
+ summary: Revoke a list of credentials
+ description: |-
+ Submit a list of credentials to be revoked. This endpoint is intended to revoke credentials the caller does not own and may have found exposed on GitHub.com or elsewhere. It can also be used for credentials associated with an old user account that you no longer have access to. Credential owners will be notified of the revocation.
+
+ This endpoint currently accepts the following credential types:
+ - Personal access tokens (classic)
+ - Fine-grained personal access tokens
+
+ Revoked credentials may impact users on GitHub Free, Pro, & Team and GitHub Enterprise Cloud, and GitHub Enterprise Cloud with Enterprise Managed Users.
+ GitHub cannot reactivate any credentials that have been revoked; new credentials will need to be generated.
+
+ To prevent abuse, this API is limited to only 60 unauthenticated requests per hour and a max of 1000 tokens per API request.
+
+ > [!NOTE]
+ > Any authenticated requests will return a 403.
+ tags:
+ - credentials
+ operationId: credentials/revoke
+ externalDocs:
+ description: API method documentation
+ url: https://docs.github.com/enterprise-cloud@latest//rest/credentials/revoke#revoke-a-list-of-credentials
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ type: object
+ properties:
+ credentials:
+ type: array
+ description: A list of credentials to be revoked, up to 1000 per
+ request.
+ items:
+ type: string
+ minItems: 1
+ maxItems: 1000
+ required:
+ - credentials
+ examples:
+ default:
+ value:
+ credentials:
+ - ghp_1234567890abcdef1234567890abcdef12345678
+ - ghp_abcdef1234567890abcdef1234567890abcdef12
+ responses:
+ '202':
+ "$ref": "#/components/responses/accepted"
+ '422':
+ "$ref": "#/components/responses/validation_failed_simple"
+ '500':
+ "$ref": "#/components/responses/internal_error"
+ x-github:
+ githubCloudOnly: false
+ enabledForGitHubApps: false
+ category: credentials
+ subcategory: revoke
"/emojis":
get:
summary: Get emojis
@@ -241501,6 +241561,12 @@ components:
application/json:
schema:
"$ref": "#/components/schemas/basic-error"
+ internal_error:
+ description: Internal Error
+ content:
+ application/json:
+ schema:
+ "$ref": "#/components/schemas/basic-error"
actions_runner_jitconfig:
description: Response
content:
@@ -241563,12 +241629,6 @@ components:
examples:
default:
"$ref": "#/components/examples/runner-labels-readonly"
- internal_error:
- description: Internal Error
- content:
- application/json:
- schema:
- "$ref": "#/components/schemas/basic-error"
service_unavailable:
description: Service unavailable
content:
diff --git a/descriptions/ghec/ghec.json b/descriptions/ghec/ghec.json
index 679933e14..5e38c29b8 100644
--- a/descriptions/ghec/ghec.json
+++ b/descriptions/ghec/ghec.json
@@ -199,6 +199,10 @@
{
"name": "campaigns",
"description": "Endpoints to manage campaigns via the REST API."
+ },
+ {
+ "name": "credentials",
+ "description": "Revoke compromised or leaked GitHub credentials."
}
],
"servers": [
@@ -2048,6 +2052,71 @@
}
}
},
+ "/credentials/revoke": {
+ "post": {
+ "summary": "Revoke a list of credentials",
+ "description": "Submit a list of credentials to be revoked. This endpoint is intended to revoke credentials the caller does not own and may have found exposed on GitHub.com or elsewhere. It can also be used for credentials associated with an old user account that you no longer have access to. Credential owners will be notified of the revocation.\n\nThis endpoint currently accepts the following credential types:\n- Personal access tokens (classic)\n- Fine-grained personal access tokens\n\nRevoked credentials may impact users on GitHub Free, Pro, & Team and GitHub Enterprise Cloud, and GitHub Enterprise Cloud with Enterprise Managed Users.\nGitHub cannot reactivate any credentials that have been revoked; new credentials will need to be generated.\n\nTo prevent abuse, this API is limited to only 60 unauthenticated requests per hour and a max of 1000 tokens per API request.\n\n> [!NOTE]\n> Any authenticated requests will return a 403.",
+ "tags": [
+ "credentials"
+ ],
+ "operationId": "credentials/revoke",
+ "externalDocs": {
+ "description": "API method documentation",
+ "url": "https://docs.github.com/enterprise-cloud@latest//rest/credentials/revoke#revoke-a-list-of-credentials"
+ },
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "credentials": {
+ "type": "array",
+ "description": "A list of credentials to be revoked, up to 1000 per request.",
+ "items": {
+ "type": "string"
+ },
+ "minItems": 1,
+ "maxItems": 1000
+ }
+ },
+ "required": [
+ "credentials"
+ ]
+ },
+ "examples": {
+ "default": {
+ "value": {
+ "credentials": [
+ "ghp_1234567890abcdef1234567890abcdef12345678",
+ "ghp_abcdef1234567890abcdef1234567890abcdef12"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "202": {
+ "$ref": "#/components/responses/accepted"
+ },
+ "422": {
+ "$ref": "#/components/responses/validation_failed_simple"
+ },
+ "500": {
+ "$ref": "#/components/responses/internal_error"
+ }
+ },
+ "x-github": {
+ "githubCloudOnly": false,
+ "enabledForGitHubApps": false,
+ "category": "credentials",
+ "subcategory": "revoke"
+ }
+ }
+ },
"/emojis": {
"get": {
"summary": "Get emojis",
@@ -318479,6 +318548,16 @@
}
}
},
+ "internal_error": {
+ "description": "Internal Error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/basic-error"
+ }
+ }
+ }
+ },
"actions_runner_jitconfig": {
"description": "Response",
"content": {
@@ -318577,16 +318656,6 @@
}
}
},
- "internal_error": {
- "description": "Internal Error",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/basic-error"
- }
- }
- }
- },
"service_unavailable": {
"description": "Service unavailable",
"content": {
diff --git a/descriptions/ghec/ghec.yaml b/descriptions/ghec/ghec.yaml
index f3f4a14a8..59e5f208e 100644
--- a/descriptions/ghec/ghec.yaml
+++ b/descriptions/ghec/ghec.yaml
@@ -105,6 +105,8 @@ tags:
description: Manage hosted compute networking resources.
- name: campaigns
description: Endpoints to manage campaigns via the REST API.
+- name: credentials
+ description: Revoke compromised or leaked GitHub credentials.
servers:
- url: https://api.github.com
externalDocs:
@@ -1409,6 +1411,64 @@ paths:
enabledForGitHubApps: true
category: codes-of-conduct
subcategory: codes-of-conduct
+ "/credentials/revoke":
+ post:
+ summary: Revoke a list of credentials
+ description: |-
+ Submit a list of credentials to be revoked. This endpoint is intended to revoke credentials the caller does not own and may have found exposed on GitHub.com or elsewhere. It can also be used for credentials associated with an old user account that you no longer have access to. Credential owners will be notified of the revocation.
+
+ This endpoint currently accepts the following credential types:
+ - Personal access tokens (classic)
+ - Fine-grained personal access tokens
+
+ Revoked credentials may impact users on GitHub Free, Pro, & Team and GitHub Enterprise Cloud, and GitHub Enterprise Cloud with Enterprise Managed Users.
+ GitHub cannot reactivate any credentials that have been revoked; new credentials will need to be generated.
+
+ To prevent abuse, this API is limited to only 60 unauthenticated requests per hour and a max of 1000 tokens per API request.
+
+ > [!NOTE]
+ > Any authenticated requests will return a 403.
+ tags:
+ - credentials
+ operationId: credentials/revoke
+ externalDocs:
+ description: API method documentation
+ url: https://docs.github.com/enterprise-cloud@latest//rest/credentials/revoke#revoke-a-list-of-credentials
+ requestBody:
+ required: true
+ content:
+ application/json:
+ schema:
+ type: object
+ properties:
+ credentials:
+ type: array
+ description: A list of credentials to be revoked, up to 1000 per
+ request.
+ items:
+ type: string
+ minItems: 1
+ maxItems: 1000
+ required:
+ - credentials
+ examples:
+ default:
+ value:
+ credentials:
+ - ghp_1234567890abcdef1234567890abcdef12345678
+ - ghp_abcdef1234567890abcdef1234567890abcdef12
+ responses:
+ '202':
+ "$ref": "#/components/responses/accepted"
+ '422':
+ "$ref": "#/components/responses/validation_failed_simple"
+ '500':
+ "$ref": "#/components/responses/internal_error"
+ x-github:
+ githubCloudOnly: false
+ enabledForGitHubApps: false
+ category: credentials
+ subcategory: revoke
"/emojis":
get:
summary: Get emojis
@@ -241501,6 +241561,12 @@ components:
application/json:
schema:
"$ref": "#/components/schemas/basic-error"
+ internal_error:
+ description: Internal Error
+ content:
+ application/json:
+ schema:
+ "$ref": "#/components/schemas/basic-error"
actions_runner_jitconfig:
description: Response
content:
@@ -241563,12 +241629,6 @@ components:
examples:
default:
"$ref": "#/components/examples/runner-labels-readonly"
- internal_error:
- description: Internal Error
- content:
- application/json:
- schema:
- "$ref": "#/components/schemas/basic-error"
service_unavailable:
description: Service unavailable
content: