diff --git a/descriptions/api.github.com/api.github.com.2022-11-28.json b/descriptions/api.github.com/api.github.com.2022-11-28.json index e715aadc4e..0f1a5b1338 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions/api.github.com/api.github.com.2022-11-28.json @@ -180,6 +180,10 @@ "name": "hosted-compute", "description": "Manage hosted compute networking resources." }, + { + "name": "credentials", + "description": "Revoke compromised or leaked GitHub credentials." + }, { "name": "campaigns", "description": "Endpoints to manage campaigns via the REST API." @@ -2032,6 +2036,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/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", @@ -300936,6 +301005,16 @@ } } }, + "internal_error": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + } + }, "conflict": { "description": "Conflict", "content": { @@ -301028,16 +301107,6 @@ } } }, - "internal_error": { - "description": "Internal Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/basic-error" - } - } - } - }, "actions_runner_jitconfig": { "description": "Response", "content": { diff --git a/descriptions/api.github.com/api.github.com.2022-11-28.yaml b/descriptions/api.github.com/api.github.com.2022-11-28.yaml index 6eac4cd370..b14c5ca4da 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions/api.github.com/api.github.com.2022-11-28.yaml @@ -95,6 +95,8 @@ tags: description: Manage private registry configurations. - name: hosted-compute description: Manage hosted compute networking resources. +- name: credentials + description: Revoke compromised or leaked GitHub credentials. - name: campaigns description: Endpoints to manage campaigns via the REST API. servers: @@ -1401,6 +1403,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/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 @@ -228756,6 +228816,12 @@ components: application/json: schema: "$ref": "#/components/schemas/basic-error" + internal_error: + description: Internal Error + content: + application/json: + schema: + "$ref": "#/components/schemas/basic-error" conflict: description: Conflict content: @@ -228813,12 +228879,6 @@ components: examples: default: "$ref": "#/components/examples/billing-usage-report" - internal_error: - description: Internal Error - content: - application/json: - schema: - "$ref": "#/components/schemas/basic-error" actions_runner_jitconfig: description: Response content: diff --git a/descriptions/api.github.com/api.github.com.json b/descriptions/api.github.com/api.github.com.json index e715aadc4e..0f1a5b1338 100644 --- a/descriptions/api.github.com/api.github.com.json +++ b/descriptions/api.github.com/api.github.com.json @@ -180,6 +180,10 @@ "name": "hosted-compute", "description": "Manage hosted compute networking resources." }, + { + "name": "credentials", + "description": "Revoke compromised or leaked GitHub credentials." + }, { "name": "campaigns", "description": "Endpoints to manage campaigns via the REST API." @@ -2032,6 +2036,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/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", @@ -300936,6 +301005,16 @@ } } }, + "internal_error": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + } + }, "conflict": { "description": "Conflict", "content": { @@ -301028,16 +301107,6 @@ } } }, - "internal_error": { - "description": "Internal Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/basic-error" - } - } - } - }, "actions_runner_jitconfig": { "description": "Response", "content": { diff --git a/descriptions/api.github.com/api.github.com.yaml b/descriptions/api.github.com/api.github.com.yaml index 6eac4cd370..b14c5ca4da 100644 --- a/descriptions/api.github.com/api.github.com.yaml +++ b/descriptions/api.github.com/api.github.com.yaml @@ -95,6 +95,8 @@ tags: description: Manage private registry configurations. - name: hosted-compute description: Manage hosted compute networking resources. +- name: credentials + description: Revoke compromised or leaked GitHub credentials. - name: campaigns description: Endpoints to manage campaigns via the REST API. servers: @@ -1401,6 +1403,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/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 @@ -228756,6 +228816,12 @@ components: application/json: schema: "$ref": "#/components/schemas/basic-error" + internal_error: + description: Internal Error + content: + application/json: + schema: + "$ref": "#/components/schemas/basic-error" conflict: description: Conflict content: @@ -228813,12 +228879,6 @@ components: examples: default: "$ref": "#/components/examples/billing-usage-report" - internal_error: - description: Internal Error - content: - application/json: - schema: - "$ref": "#/components/schemas/basic-error" actions_runner_jitconfig: description: Response content: diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index a2a3cd1a40..ca0cde7677 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -180,6 +180,10 @@ "name": "hosted-compute", "description": "Manage hosted compute networking resources." }, + { + "name": "credentials", + "description": "Revoke compromised or leaked GitHub credentials." + }, { "name": "campaigns", "description": "Endpoints to manage campaigns via the REST API." @@ -14232,6 +14236,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/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/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index 29b71b290e..28905d9ba8 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -95,6 +95,8 @@ tags: description: Manage private registry configurations. - name: hosted-compute description: Manage hosted compute networking resources. +- name: credentials + description: Revoke compromised or leaked GitHub credentials. - name: campaigns description: Endpoints to manage campaigns via the REST API. servers: @@ -432,7 +434,7 @@ paths: The EPSS percentile represents the relative rank of the CVE's likelihood of being exploited compared to other CVEs. schema: type: string - - &39 + - &40 name: before description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For @@ -441,7 +443,7 @@ paths: required: false schema: type: string - - &40 + - &41 name: after description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For @@ -982,7 +984,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &98 + schema: &99 title: Validation Error Simple description: Validation Error Simple type: object @@ -1733,7 +1735,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &97 + schema: &98 title: Validation Error description: Validation Error type: object @@ -1976,7 +1978,7 @@ paths: parameters: - *16 responses: - '202': &47 + '202': &39 description: Accepted content: application/json: @@ -5010,6 +5012,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/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': &94 + description: Internal Error + content: + application/json: + schema: *3 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: credentials + subcategory: revoke "/emojis": get: summary: Get emojis @@ -6931,7 +6992,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-code-security-configurations-for-an-enterprise parameters: - - &41 + - &42 name: enterprise description: The slug version of the enterprise name. You can also substitute this value with the enterprise id. @@ -6947,8 +7008,8 @@ paths: schema: type: integer default: 30 - - *39 - *40 + - *41 responses: '200': description: Response @@ -6956,7 +7017,7 @@ paths: application/json: schema: type: array - items: &42 + items: &43 type: object description: A code security configuration properties: @@ -7238,7 +7299,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#create-a-code-security-configuration-for-an-enterprise parameters: - - *41 + - *42 requestBody: required: true content: @@ -7315,7 +7376,7 @@ paths: - disabled - not_set default: disabled - code_scanning_default_setup_options: &45 + code_scanning_default_setup_options: &46 type: object description: Feature options for code scanning default setup nullable: true @@ -7425,9 +7486,9 @@ paths: description: Successfully created code security configuration content: application/json: - schema: *42 + schema: *43 examples: - default: &43 + default: &44 value: id: 1325 target_type: enterprise @@ -7479,13 +7540,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-default-code-security-configurations-for-an-enterprise parameters: - - *41 + - *42 responses: '200': description: Response content: application/json: - schema: &143 + schema: &144 type: array description: A list of default code security configurations items: @@ -7499,9 +7560,9 @@ paths: description: The visibility of newly created repositories for which the code security configuration will be applied to by default - configuration: *42 + configuration: *43 examples: - default: &144 + default: &145 value: - default_for_new_repos: public configuration: @@ -7585,8 +7646,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#retrieve-a-code-security-configuration-of-an-enterprise parameters: - - *41 - - &44 + - *42 + - &45 name: configuration_id description: The unique identifier of the code security configuration. in: path @@ -7598,9 +7659,9 @@ paths: description: Response content: application/json: - schema: *42 + schema: *43 examples: - default: *43 + default: *44 '304': *37 '403': *29 '404': *6 @@ -7624,8 +7685,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#update-a-custom-code-security-configuration-for-an-enterprise parameters: - - *41 - - *44 + - *42 + - *45 requestBody: required: true content: @@ -7695,7 +7756,7 @@ paths: - enabled - disabled - not_set - code_scanning_default_setup_options: *45 + code_scanning_default_setup_options: *46 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -7776,13 +7837,13 @@ paths: description: Response content: application/json: - schema: *42 + schema: *43 examples: - default: *43 + default: *44 '304': *37 '403': *29 '404': *6 - '409': &46 + '409': &47 description: Conflict content: application/json: @@ -7809,15 +7870,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#delete-a-code-security-configuration-for-an-enterprise parameters: - - *41 - - *44 + - *42 + - *45 responses: - '204': &145 + '204': &146 description: A header with no content is returned. '400': *14 '403': *29 '404': *6 - '409': *46 + '409': *47 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -7841,8 +7902,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#attach-an-enterprise-configuration-to-repositories parameters: - - *41 - - *44 + - *42 + - *45 requestBody: required: true content: @@ -7866,10 +7927,10 @@ paths: value: scope: all responses: - '202': *47 + '202': *39 '403': *29 '404': *6 - '409': *46 + '409': *47 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -7893,8 +7954,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-enterprise parameters: - - *41 - - *44 + - *42 + - *45 requestBody: required: true content: @@ -7934,12 +7995,12 @@ paths: - none - private_and_internal - public - configuration: *42 + configuration: *43 examples: default: value: default_for_new_repos: all - configuration: &142 + configuration: &143 value: id: 1325 target_type: organization @@ -7993,8 +8054,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-repositories-associated-with-an-enterprise-code-security-configuration parameters: - - *41 - - *44 + - *42 + - *45 - 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/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -8003,8 +8064,8 @@ paths: schema: type: integer default: 30 - - *39 - *40 + - *41 - name: status description: |- A comma-separated list of statuses. If specified, only repositories with these attachment statuses will be returned. @@ -8022,7 +8083,7 @@ paths: application/json: schema: type: array - items: &146 + items: &147 type: object description: Repositories associated with a code security configuration and attachment status @@ -8323,7 +8384,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &147 + repository: &148 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -8416,7 +8477,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - - *41 + - *42 - &153 name: state in: query @@ -8503,8 +8564,8 @@ paths: - epss_percentage default: created - *48 - - *39 - *40 + - *41 - &161 name: first description: |- @@ -8823,13 +8884,13 @@ paths: format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - updated_at: &136 + updated_at: &137 type: string description: 'The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_at: &138 + dismissed_at: &139 type: string description: 'The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -8859,7 +8920,7 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: &137 + fixed_at: &138 type: string description: 'The time that the alert was no longer detected and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -9238,7 +9299,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - - *41 + - *42 - &248 name: state in: query @@ -9283,8 +9344,8 @@ paths: default: created - *48 - *17 - - *39 - *40 + - *41 - &252 name: validity in: query @@ -14212,7 +14273,7 @@ paths: properties: id: type: string - repository: &119 + repository: &120 title: Minimal Repository description: Minimal Repository type: object @@ -15284,7 +15345,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization parameters: - - &94 + - &95 name: org description: The organization name. The name is not case sensitive. in: path @@ -15397,11 +15458,7 @@ paths: repositoryName: github/example '400': *14 '403': *29 - '500': &148 - description: Internal Error - content: - application/json: - schema: *3 + '500': *94 '503': *65 x-github: githubCloudOnly: false @@ -15428,13 +15485,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-an-organization parameters: - - *94 + - *95 responses: '200': description: Response content: application/json: - schema: &95 + schema: &96 title: Organization Full description: Organization Full type: object @@ -15723,7 +15780,7 @@ paths: - updated_at - archived_at examples: - default-response: &96 + default-response: &97 value: login: github id: 1 @@ -15814,7 +15871,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#update-an-organization parameters: - - *94 + - *95 requestBody: required: false content: @@ -16030,18 +16087,18 @@ paths: description: Response content: application/json: - schema: *95 + schema: *96 examples: - default: *96 + default: *97 '422': description: Validation failed content: application/json: schema: oneOf: - - *97 - *98 - '409': *46 + - *99 + '409': *47 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -16064,9 +16121,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#delete-an-organization parameters: - - *94 + - *95 responses: - '202': *47 + '202': *39 '404': *6 '403': *29 x-github: @@ -16089,7 +16146,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-an-organization parameters: - - *94 + - *95 responses: '200': description: Response @@ -16136,7 +16193,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-repositories-with-github-actions-cache-usage-for-an-organization parameters: - - *94 + - *95 - *17 - *19 responses: @@ -16209,7 +16266,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-github-hosted-runners-for-an-organization parameters: - - *94 + - *95 - *17 - *19 responses: @@ -16227,7 +16284,7 @@ paths: type: integer runners: type: array - items: &99 + items: &100 title: GitHub-hosted hosted runner description: A Github-hosted hosted runner. type: object @@ -16277,7 +16334,7 @@ paths: - source - version nullable: true - machine_size_details: &102 + machine_size_details: &103 title: Github-owned VM details. description: Provides details of a particular machine spec. type: object @@ -16369,7 +16426,7 @@ paths: - public_ip_enabled - platform examples: - default: &118 + default: &119 value: total_count: 2 runners: @@ -16429,7 +16486,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#create-a-github-hosted-runner-for-an-organization parameters: - - *94 + - *95 requestBody: required: true content: @@ -16496,9 +16553,9 @@ paths: description: Response content: application/json: - schema: *99 + schema: *100 examples: - default: &103 + default: &104 value: id: 5 name: My hosted ubuntu runner @@ -16537,7 +16594,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-github-owned-images-for-github-hosted-runners-in-an-organization parameters: - - *94 + - *95 responses: '200': description: Response @@ -16553,7 +16610,7 @@ paths: type: integer images: type: array - items: &100 + items: &101 title: GitHub-hosted runner image details. description: Provides details of a hosted runner image type: object @@ -16589,7 +16646,7 @@ paths: - display_name - source examples: - default: &101 + default: &102 value: id: ubuntu-20.04 platform: linux-x64 @@ -16613,7 +16670,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-partner-images-for-github-hosted-runners-in-an-organization parameters: - - *94 + - *95 responses: '200': description: Response @@ -16629,9 +16686,9 @@ paths: type: integer images: type: array - items: *100 + items: *101 examples: - default: *101 + default: *102 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -16648,7 +16705,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-limits-on-github-hosted-runners-for-an-organization parameters: - - *94 + - *95 responses: '200': description: Response @@ -16701,7 +16758,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-github-hosted-runners-machine-specs-for-an-organization parameters: - - *94 + - *95 responses: '200': description: Response @@ -16717,7 +16774,7 @@ paths: type: integer machine_specs: type: array - items: *102 + items: *103 examples: default: value: @@ -16742,7 +16799,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-platforms-for-github-hosted-runners-in-an-organization parameters: - - *94 + - *95 responses: '200': description: Response @@ -16786,8 +16843,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization parameters: - - *94 - - &104 + - *95 + - &105 name: hosted_runner_id description: Unique identifier of the GitHub-hosted runner. in: path @@ -16799,9 +16856,9 @@ paths: description: Response content: application/json: - schema: *99 + schema: *100 examples: - default: *103 + default: *104 headers: Link: *58 x-github: @@ -16821,8 +16878,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-organization parameters: - - *94 - - *104 + - *95 + - *105 requestBody: required: true content: @@ -16860,9 +16917,9 @@ paths: description: Response content: application/json: - schema: *99 + schema: *100 examples: - default: *103 + default: *104 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -16878,16 +16935,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization parameters: - - *94 - - *104 + - *95 + - *105 responses: '202': description: Response content: application/json: - schema: *99 + schema: *100 examples: - default: *103 + default: *104 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -16907,13 +16964,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *94 + - *95 responses: '200': description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &105 + schema: &106 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -16927,7 +16984,7 @@ paths: required: - include_claim_keys examples: - default: &106 + default: &107 value: include_claim_keys: - repo @@ -16949,20 +17006,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *94 + - *95 requestBody: required: true content: application/json: - schema: *105 + schema: *106 examples: - default: *106 + default: *107 responses: '201': description: Empty response content: application/json: - schema: &128 + schema: &129 title: Empty Object description: An object without any properties. type: object @@ -16992,7 +17049,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-an-organization parameters: - - *94 + - *95 responses: '200': description: Response @@ -17001,7 +17058,7 @@ paths: schema: type: object properties: - enabled_repositories: &107 + enabled_repositories: &108 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -17014,7 +17071,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: &108 + allowed_actions: &109 type: string description: The permissions policy that controls the actions and reusable workflows that are allowed to run. @@ -17053,7 +17110,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-an-organization parameters: - - *94 + - *95 responses: '204': description: Response @@ -17064,8 +17121,8 @@ paths: schema: type: object properties: - enabled_repositories: *107 - allowed_actions: *108 + enabled_repositories: *108 + allowed_actions: *109 required: - enabled_repositories examples: @@ -17092,7 +17149,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#list-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *94 + - *95 - *17 - *19 responses: @@ -17252,7 +17309,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *94 + - *95 responses: '204': description: Response @@ -17296,8 +17353,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *94 - - &109 + - *95 + - &110 name: repository_id description: The unique identifier of the repository. in: path @@ -17325,8 +17382,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *94 - - *109 + - *95 + - *110 responses: '204': description: Response @@ -17349,13 +17406,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *94 + - *95 responses: '200': description: Response content: application/json: - schema: &110 + schema: &111 type: object properties: github_owned_allowed: @@ -17377,7 +17434,7 @@ paths: items: type: string examples: - default: &111 + default: &112 value: github_owned_allowed: true verified_allowed: false @@ -17402,7 +17459,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *94 + - *95 responses: '204': description: Response @@ -17410,9 +17467,9 @@ paths: required: false content: application/json: - schema: *110 + schema: *111 examples: - selected_actions: *111 + selected_actions: *112 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -17434,7 +17491,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-an-organization parameters: - - *94 + - *95 responses: '200': description: Response @@ -17443,14 +17500,14 @@ paths: schema: &307 type: object properties: - default_workflow_permissions: &112 + default_workflow_permissions: &113 type: string description: The default workflow permissions granted to the GITHUB_TOKEN when running workflows. enum: - read - write - can_approve_pull_request_reviews: &113 + can_approve_pull_request_reviews: &114 type: boolean description: Whether GitHub Actions can approve pull requests. Enabling this can be a security risk. @@ -17458,7 +17515,7 @@ paths: - default_workflow_permissions - can_approve_pull_request_reviews examples: - default: &114 + default: &115 summary: Give read-only permission, and allow approving PRs. value: default_workflow_permissions: read @@ -17483,7 +17540,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-an-organization parameters: - - *94 + - *95 responses: '204': description: Success response @@ -17494,10 +17551,10 @@ paths: schema: &308 type: object properties: - default_workflow_permissions: *112 - can_approve_pull_request_reviews: *113 + default_workflow_permissions: *113 + can_approve_pull_request_reviews: *114 examples: - default: *114 + default: *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -17517,7 +17574,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runner-groups-for-an-organization parameters: - - *94 + - *95 - *17 - *19 - name: visible_to_repository @@ -17542,7 +17599,7 @@ paths: type: number runner_groups: type: array - items: &115 + items: &116 type: object properties: id: @@ -17658,7 +17715,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-organization parameters: - - *94 + - *95 requestBody: required: true content: @@ -17730,9 +17787,9 @@ paths: description: Response content: application/json: - schema: *115 + schema: *116 examples: - default: &117 + default: &118 value: id: 2 name: octo-runner-group @@ -17767,8 +17824,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization parameters: - - *94 - - &116 + - *95 + - &117 name: runner_group_id description: Unique identifier of the self-hosted runner group. in: path @@ -17780,7 +17837,7 @@ paths: description: Response content: application/json: - schema: *115 + schema: *116 examples: default: value: @@ -17816,8 +17873,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization parameters: - - *94 - - *116 + - *95 + - *117 requestBody: required: true content: @@ -17871,9 +17928,9 @@ paths: description: Response content: application/json: - schema: *115 + schema: *116 examples: - default: *117 + default: *118 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -17892,8 +17949,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization parameters: - - *94 - - *116 + - *95 + - *117 responses: '204': description: Response @@ -17916,8 +17973,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-github-hosted-runners-in-a-group-for-an-organization parameters: - - *94 - - *116 + - *95 + - *117 - *17 - *19 responses: @@ -17935,9 +17992,9 @@ paths: type: number runners: type: array - items: *99 + items: *100 examples: - default: *118 + default: *119 headers: Link: *58 x-github: @@ -17959,8 +18016,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *94 - - *116 + - *95 + - *117 - *19 - *17 responses: @@ -17978,7 +18035,7 @@ paths: type: number repositories: type: array - items: *119 + items: *120 examples: default: &611 value: @@ -18232,8 +18289,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-repository-access-for-a-self-hosted-runner-group-in-an-organization parameters: - - *94 - - *116 + - *95 + - *117 requestBody: required: true content: @@ -18277,9 +18334,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *94 - - *116 - - *109 + - *95 + - *117 + - *110 responses: '204': description: Response @@ -18301,9 +18358,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *94 - - *116 - - *109 + - *95 + - *117 + - *110 responses: '204': description: Response @@ -18326,8 +18383,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-organization parameters: - - *94 - - *116 + - *95 + - *117 - *17 - *19 responses: @@ -18345,7 +18402,7 @@ paths: type: number runners: type: array - items: &121 + items: &122 title: Self hosted runners description: A self hosted runner type: object @@ -18374,7 +18431,7 @@ paths: type: boolean labels: type: array - items: &124 + items: &125 title: Self hosted runner label description: A label for a self hosted runner type: object @@ -18404,7 +18461,7 @@ paths: - busy - labels examples: - default: &122 + default: &123 value: total_count: 2 runners: @@ -18463,8 +18520,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-organization parameters: - - *94 - - *116 + - *95 + - *117 requestBody: required: true content: @@ -18508,9 +18565,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-organization parameters: - - *94 - - *116 - - &120 + - *95 + - *117 + - &121 name: runner_id description: Unique identifier of the self-hosted runner. in: path @@ -18538,9 +18595,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-organization parameters: - - *94 - - *116 - - *120 + - *95 + - *117 + - *121 responses: '204': description: Response @@ -18570,7 +18627,7 @@ paths: in: query schema: type: string - - *94 + - *95 - *17 - *19 responses: @@ -18588,9 +18645,9 @@ paths: type: integer runners: type: array - items: *121 + items: *122 examples: - default: *122 + default: *123 headers: Link: *58 x-github: @@ -18614,7 +18671,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-an-organization parameters: - - *94 + - *95 responses: '200': description: Response @@ -18690,7 +18747,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-an-organization parameters: - - *94 + - *95 requestBody: required: true content: @@ -18743,7 +18800,7 @@ paths: - runner - encoded_jit_config properties: - runner: *121 + runner: *122 encoded_jit_config: type: string description: The base64 encoded runner configuration. @@ -18772,7 +18829,7 @@ paths: encoded_jit_config: abc123 '404': *6 '422': *7 - '409': *46 + '409': *47 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18800,13 +18857,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-an-organization parameters: - - *94 + - *95 responses: '201': description: Response content: application/json: - schema: &123 + schema: &124 title: Authentication Token description: Authentication Token type: object @@ -18875,13 +18932,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-an-organization parameters: - - *94 + - *95 responses: '201': description: Response content: application/json: - schema: *123 + schema: *124 examples: default: &313 value: @@ -18908,14 +18965,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization parameters: - - *94 - - *120 + - *95 + - *121 responses: '200': description: Response content: application/json: - schema: *121 + schema: *122 examples: default: &314 value: @@ -18958,8 +19015,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization parameters: - - *94 - - *120 + - *95 + - *121 responses: '204': description: Response @@ -18984,10 +19041,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *94 - - *120 + - *95 + - *121 responses: - '200': &125 + '200': &126 description: Response content: application/json: @@ -19001,7 +19058,7 @@ paths: type: integer labels: type: array - items: *124 + items: *125 examples: default: value: @@ -19040,8 +19097,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-an-organization parameters: - - *94 - - *120 + - *95 + - *121 requestBody: required: true content: @@ -19065,7 +19122,7 @@ paths: - gpu - accelerated responses: - '200': *125 + '200': *126 '404': *6 '422': *7 x-github: @@ -19089,8 +19146,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *94 - - *120 + - *95 + - *121 requestBody: required: true content: @@ -19115,7 +19172,7 @@ paths: - gpu - accelerated responses: - '200': *125 + '200': *126 '404': *6 '422': *7 x-github: @@ -19139,8 +19196,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-an-organization parameters: - - *94 - - *120 + - *95 + - *121 responses: '200': &315 description: Response @@ -19156,7 +19213,7 @@ paths: type: integer labels: type: array - items: *124 + items: *125 examples: default: value: @@ -19197,8 +19254,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-an-organization parameters: - - *94 - - *120 + - *95 + - *121 - &316 name: name description: The name of a self-hosted runner's custom label. @@ -19207,7 +19264,7 @@ paths: schema: type: string responses: - '200': *125 + '200': *126 '404': *6 '422': *7 x-github: @@ -19232,7 +19289,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-organization-secrets parameters: - - *94 + - *95 - *17 - *19 responses: @@ -19250,7 +19307,7 @@ paths: type: integer secrets: type: array - items: &126 + items: &127 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -19323,7 +19380,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-public-key parameters: - - *94 + - *95 responses: '200': description: Response @@ -19383,8 +19440,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-secret parameters: - - *94 - - &127 + - *95 + - &128 name: secret_name description: The name of the secret. in: path @@ -19396,7 +19453,7 @@ paths: description: Response content: application/json: - schema: *126 + schema: *127 examples: default: value: @@ -19426,8 +19483,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *94 - - *127 + - *95 + - *128 requestBody: required: true content: @@ -19484,7 +19541,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *128 + schema: *129 examples: default: value: @@ -19510,8 +19567,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-organization-secret parameters: - - *94 - - *127 + - *95 + - *128 responses: '204': description: Response @@ -19537,8 +19594,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *94 - - *127 + - *95 + - *128 - *19 - *17 responses: @@ -19556,9 +19613,9 @@ paths: type: integer repositories: type: array - items: *119 + items: *120 examples: - default: &131 + default: &132 value: total_count: 1 repositories: @@ -19650,8 +19707,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *94 - - *127 + - *95 + - *128 requestBody: required: true content: @@ -19703,8 +19760,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - - *94 - - *127 + - *95 + - *128 - name: repository_id in: path required: true @@ -19737,8 +19794,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *94 - - *127 + - *95 + - *128 - name: repository_id in: path required: true @@ -19770,7 +19827,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - - *94 + - *95 - &302 name: per_page description: The number of results per page (max 30). For more information, @@ -19795,7 +19852,7 @@ paths: type: integer variables: type: array - items: &129 + items: &130 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -19880,7 +19937,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-organization-variable parameters: - - *94 + - *95 requestBody: required: true content: @@ -19928,7 +19985,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *128 + schema: *129 examples: default: value: @@ -19953,8 +20010,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-organization-variable parameters: - - *94 - - &130 + - *95 + - &131 name: name description: The name of the variable. in: path @@ -19966,7 +20023,7 @@ paths: description: Response content: application/json: - schema: *129 + schema: *130 examples: default: value: @@ -19996,8 +20053,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-organization-variable parameters: - - *94 - - *130 + - *95 + - *131 requestBody: required: true content: @@ -20059,8 +20116,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-organization-variable parameters: - - *94 - - *130 + - *95 + - *131 responses: '204': description: Response @@ -20086,8 +20143,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - - *94 - - *130 + - *95 + - *131 - *19 - *17 responses: @@ -20105,9 +20162,9 @@ paths: type: integer repositories: type: array - items: *119 + items: *120 examples: - default: *131 + default: *132 '409': description: Response when the visibility of the variable is not set to `selected` @@ -20133,8 +20190,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - - *94 - - *130 + - *95 + - *131 requestBody: required: true content: @@ -20183,8 +20240,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - - *94 - - *130 + - *95 + - *131 - name: repository_id in: path required: true @@ -20218,8 +20275,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - - *94 - - *130 + - *95 + - *131 - name: repository_id in: path required: true @@ -20253,9 +20310,9 @@ paths: url: https://docs.github.com/rest/orgs/orgs#list-attestations parameters: - *17 - - *39 - *40 - - *94 + - *41 + - *95 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -20413,7 +20470,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *94 + - *95 - *17 - *19 responses: @@ -20463,8 +20520,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - - *94 - - &132 + - *95 + - &133 name: username description: The handle for the GitHub user account. in: path @@ -20495,8 +20552,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *94 - - *132 + - *95 + - *133 responses: '204': description: Response @@ -20516,8 +20573,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *94 - - *132 + - *95 + - *133 responses: '204': description: Response @@ -20542,7 +20599,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#list-campaigns-for-an-organization parameters: - - *94 + - *95 - *19 - *17 - *48 @@ -20550,7 +20607,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &133 + schema: &134 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -20576,7 +20633,7 @@ paths: application/json: schema: type: array - items: &134 + items: &135 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -20763,7 +20820,7 @@ paths: type: string format: date-time nullable: true - state: *133 + state: *134 contact_link: description: The contact link of the campaign. type: string @@ -20884,7 +20941,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#create-a-campaign-for-an-organization parameters: - - *94 + - *95 requestBody: required: true content: @@ -20978,9 +21035,9 @@ paths: description: Response content: application/json: - schema: *134 + schema: *135 examples: - default: &135 + default: &136 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -21051,7 +21108,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#get-a-campaign-for-an-organization parameters: - - *94 + - *95 - name: campaign_number description: The campaign number. in: path @@ -21063,9 +21120,9 @@ paths: description: Response content: application/json: - schema: *134 + schema: *135 examples: - default: *135 + default: *136 '404': *6 '422': description: Unprocessable Entity @@ -21093,7 +21150,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#update-a-campaign parameters: - - *94 + - *95 - name: campaign_number description: The campaign number. in: path @@ -21142,7 +21199,7 @@ paths: type: string format: uri nullable: true - state: *133 + state: *134 examples: default: value: @@ -21152,9 +21209,9 @@ paths: description: Response content: application/json: - schema: *134 + schema: *135 examples: - default: *135 + default: *136 '400': description: Bad Request content: @@ -21187,7 +21244,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#delete-a-campaign-for-an-organization parameters: - - *94 + - *95 - name: campaign_number description: The campaign number. in: path @@ -21220,7 +21277,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - - *94 + - *95 - &368 name: tool_name description: The name of a code scanning tool. Only results by this tool will @@ -21228,7 +21285,7 @@ paths: but not both. in: query required: false - schema: &139 + schema: &140 type: string description: The name of the tool used to generate the code scanning analysis. - &369 @@ -21239,13 +21296,13 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &140 + schema: &141 nullable: true type: string description: The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data. - - *39 - *40 + - *41 - *19 - *17 - *48 @@ -21300,7 +21357,7 @@ paths: properties: number: *54 created_at: *55 - updated_at: *136 + updated_at: *137 url: *56 html_url: *57 instances_url: &373 @@ -21309,7 +21366,7 @@ paths: for an alert. format: uri readOnly: true - state: &141 + state: &142 type: string description: State of a code scanning alert. nullable: true @@ -21317,7 +21374,7 @@ paths: - open - dismissed - fixed - fixed_at: *137 + fixed_at: *138 dismissed_by: title: Simple User description: A GitHub user. @@ -21325,7 +21382,7 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *138 + dismissed_at: *139 dismissed_reason: &374 type: string description: "**Required when the state is dismissed.** The @@ -21397,13 +21454,13 @@ paths: tool: &377 type: object properties: - name: *139 + name: *140 version: nullable: true type: string description: The version of the tool used to generate the code scanning analysis. - guid: *140 + guid: *141 most_recent_instance: &378 type: object properties: @@ -21429,7 +21486,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: *141 + state: *142 commit_sha: type: string message: @@ -21744,7 +21801,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-code-security-configurations-for-an-organization parameters: - - *94 + - *95 - name: target_type in: query description: The target type of the code security configuration @@ -21763,8 +21820,8 @@ paths: schema: type: integer default: 30 - - *39 - *40 + - *41 responses: '200': description: Response @@ -21772,7 +21829,7 @@ paths: application/json: schema: type: array - items: *42 + items: *43 examples: default: value: @@ -21855,7 +21912,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#create-a-code-security-configuration parameters: - - *94 + - *95 requestBody: required: true content: @@ -21932,7 +21989,7 @@ paths: - disabled - not_set default: disabled - code_scanning_default_setup_options: *45 + code_scanning_default_setup_options: *46 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -22057,9 +22114,9 @@ paths: description: Successfully created code security configuration content: application/json: - schema: *42 + schema: *43 examples: - default: *142 + default: *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22081,15 +22138,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-default-code-security-configurations parameters: - - *94 + - *95 responses: '200': description: Response content: application/json: - schema: *143 + schema: *144 examples: - default: *144 + default: *145 '304': *37 '403': *29 '404': *6 @@ -22115,7 +22172,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *94 + - *95 requestBody: required: true content: @@ -22138,11 +22195,11 @@ paths: - 32 - 91 responses: - '204': *145 + '204': *146 '400': *14 '403': *29 '404': *6 - '409': *46 + '409': *47 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22164,16 +22221,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-a-code-security-configuration parameters: - - *94 - - *44 + - *95 + - *45 responses: '200': description: Response content: application/json: - schema: *42 + schema: *43 examples: - default: *142 + default: *143 '304': *37 '403': *29 '404': *6 @@ -22197,8 +22254,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#update-a-code-security-configuration parameters: - - *94 - - *44 + - *95 + - *45 requestBody: required: true content: @@ -22268,7 +22325,7 @@ paths: - enabled - disabled - not_set - code_scanning_default_setup_options: *45 + code_scanning_default_setup_options: *46 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -22379,7 +22436,7 @@ paths: description: Response when a configuration is updated content: application/json: - schema: *42 + schema: *43 examples: default: value: @@ -22436,14 +22493,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *94 - - *44 + - *95 + - *45 responses: - '204': *145 + '204': *146 '400': *14 '403': *29 '404': *6 - '409': *46 + '409': *47 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22467,8 +22524,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *94 - - *44 + - *95 + - *45 requestBody: required: true content: @@ -22507,7 +22564,7 @@ paths: - 32 - 91 responses: - '202': *47 + '202': *39 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22531,8 +22588,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization parameters: - - *94 - - *44 + - *95 + - *45 requestBody: required: true content: @@ -22572,12 +22629,12 @@ paths: - none - private_and_internal - public - configuration: *42 + configuration: *43 examples: default: value: default_for_new_repos: all - configuration: *142 + configuration: *143 '403': *29 '404': *6 x-github: @@ -22601,8 +22658,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration parameters: - - *94 - - *44 + - *95 + - *45 - 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/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -22611,8 +22668,8 @@ paths: schema: type: integer default: 30 - - *39 - *40 + - *41 - name: status description: |- A comma-separated list of statuses. If specified, only repositories with these attachment statuses will be returned. @@ -22630,13 +22687,13 @@ paths: application/json: schema: type: array - items: *146 + items: *147 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *147 + repository: *148 '403': *29 '404': *6 x-github: @@ -22660,7 +22717,7 @@ paths: parameters: - *17 - *19 - - *94 + - *95 responses: '200': description: Response @@ -22701,7 +22758,7 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *119 + repository: *120 machine: type: object title: Codespace machine @@ -23363,7 +23420,7 @@ paths: stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-f8adfad99a/stop recent_folders: [] '304': *37 - '500': *148 + '500': *94 '401': *25 '403': *29 '404': *6 @@ -23385,7 +23442,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *94 + - *95 deprecated: true requestBody: required: true @@ -23429,7 +23486,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *148 + '500': *94 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -23452,7 +23509,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#add-users-to-codespaces-access-for-an-organization parameters: - - *94 + - *95 deprecated: true requestBody: required: true @@ -23484,7 +23541,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *148 + '500': *94 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -23507,7 +23564,7 @@ paths: url: https://docs.github.com/rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *94 + - *95 requestBody: required: true content: @@ -23538,7 +23595,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *148 + '500': *94 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -23559,7 +23616,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *94 + - *95 - *17 - *19 responses: @@ -23648,7 +23705,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *94 + - *95 responses: '200': description: Response @@ -23706,8 +23763,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *94 - - *127 + - *95 + - *128 responses: '200': description: Response @@ -23742,8 +23799,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - - *94 - - *127 + - *95 + - *128 requestBody: required: true content: @@ -23798,7 +23855,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *128 + schema: *129 examples: default: value: @@ -23824,8 +23881,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *94 - - *127 + - *95 + - *128 responses: '204': description: Response @@ -23850,8 +23907,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - - *94 - - *127 + - *95 + - *128 - *19 - *17 responses: @@ -23869,9 +23926,9 @@ paths: type: integer repositories: type: array - items: *119 + items: *120 examples: - default: *131 + default: *132 '404': *6 x-github: githubCloudOnly: false @@ -23893,8 +23950,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - - *94 - - *127 + - *95 + - *128 requestBody: required: true content: @@ -23944,8 +24001,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - - *94 - - *127 + - *95 + - *128 - name: repository_id in: path required: true @@ -23978,8 +24035,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - - *94 - - *127 + - *95 + - *128 - name: repository_id in: path required: true @@ -24018,7 +24075,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#get-copilot-seat-information-and-settings-for-an-organization parameters: - - *94 + - *95 responses: '200': description: OK @@ -24127,7 +24184,7 @@ paths: cli: enabled public_code_suggestions: block plan_type: business - '500': *148 + '500': *94 '401': *25 '403': *29 '404': *6 @@ -24159,7 +24216,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#list-all-copilot-seat-assignments-for-an-organization parameters: - - *94 + - *95 - *19 - name: per_page description: The number of results per page (max 100). For more information, @@ -24370,7 +24427,7 @@ paths: site_admin: false headers: Link: *58 - '500': *148 + '500': *94 '401': *25 '403': *29 '404': *6 @@ -24403,7 +24460,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#add-teams-to-the-copilot-subscription-for-an-organization parameters: - - *94 + - *95 requestBody: content: application/json: @@ -24445,7 +24502,7 @@ paths: default: value: seats_created: 5 - '500': *148 + '500': *94 '401': *25 '403': *29 '404': *6 @@ -24481,7 +24538,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#remove-teams-from-the-copilot-subscription-for-an-organization parameters: - - *94 + - *95 requestBody: content: application/json: @@ -24523,7 +24580,7 @@ paths: default: value: seats_cancelled: 5 - '500': *148 + '500': *94 '401': *25 '403': *29 '404': *6 @@ -24561,7 +24618,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-organization parameters: - - *94 + - *95 requestBody: content: application/json: @@ -24602,7 +24659,7 @@ paths: default: value: seats_created: 5 - '500': *148 + '500': *94 '401': *25 '403': *29 '404': *6 @@ -24638,7 +24695,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization parameters: - - *94 + - *95 requestBody: content: application/json: @@ -24680,7 +24737,7 @@ paths: default: value: seats_cancelled: 5 - '500': *148 + '500': *94 '401': *25 '403': *29 '404': *6 @@ -24719,7 +24776,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization parameters: - - *94 + - *95 - 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`). @@ -25157,7 +25214,7 @@ paths: custom_model_training_date: '2024-02-01' total_pr_summaries_created: 10 total_engaged_users: 4 - '500': *148 + '500': *94 '403': *29 '404': *6 '422': &264 @@ -25187,7 +25244,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *94 + - *95 - *153 - *154 - *155 @@ -25197,8 +25254,8 @@ paths: - *159 - *160 - *48 - - *39 - *40 + - *41 - *161 - *162 - *17 @@ -25237,7 +25294,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-organization-secrets parameters: - - *94 + - *95 - *17 - *19 responses: @@ -25326,7 +25383,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-public-key parameters: - - *94 + - *95 responses: '200': description: Response @@ -25372,8 +25429,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-secret parameters: - - *94 - - *127 + - *95 + - *128 responses: '200': description: Response @@ -25407,8 +25464,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *94 - - *127 + - *95 + - *128 requestBody: required: true content: @@ -25463,7 +25520,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *128 + schema: *129 examples: default: value: @@ -25487,8 +25544,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-an-organization-secret parameters: - - *94 - - *127 + - *95 + - *128 responses: '204': description: Response @@ -25512,8 +25569,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *94 - - *127 + - *95 + - *128 - *19 - *17 responses: @@ -25531,9 +25588,9 @@ paths: type: integer repositories: type: array - items: *119 + items: *120 examples: - default: *131 + default: *132 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25554,8 +25611,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *94 - - *127 + - *95 + - *128 requestBody: required: true content: @@ -25605,8 +25662,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - - *94 - - *127 + - *95 + - *128 - name: repository_id in: path required: true @@ -25637,8 +25694,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *94 - - *127 + - *95 + - *128 - name: repository_id in: path required: true @@ -25668,7 +25725,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-organization parameters: - - *94 + - *95 responses: '200': description: Response @@ -25824,7 +25881,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-organization-events parameters: - - *94 + - *95 - *17 - *19 responses: @@ -25903,7 +25960,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-failed-organization-invitations parameters: - - *94 + - *95 - *17 - *19 responses: @@ -26017,7 +26074,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-organization-webhooks parameters: - - *94 + - *95 - *17 - *19 responses: @@ -26138,7 +26195,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#create-an-organization-webhook parameters: - - *94 + - *95 requestBody: required: true content: @@ -26247,7 +26304,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - - *94 + - *95 - &170 name: hook_id description: The unique identifier of the hook. You can find this value in @@ -26290,7 +26347,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - - *94 + - *95 - *170 requestBody: required: false @@ -26377,7 +26434,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *94 + - *95 - *170 responses: '204': @@ -26405,7 +26462,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - - *94 + - *95 - *170 responses: '200': @@ -26436,7 +26493,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - - *94 + - *95 - *170 requestBody: required: false @@ -26487,7 +26544,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *94 + - *95 - *170 - *17 - *171 @@ -26525,7 +26582,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - - *94 + - *95 - *170 - *16 responses: @@ -26560,11 +26617,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - - *94 + - *95 - *170 - *16 responses: - '202': *47 + '202': *39 '400': *14 '422': *15 x-github: @@ -26590,7 +26647,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *94 + - *95 - *170 responses: '204': @@ -26613,7 +26670,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *94 + - *95 - &180 name: actor_type in: path @@ -26735,7 +26792,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - - *94 + - *95 - *176 - *177 - *19 @@ -26819,7 +26876,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - - *94 + - *95 - *176 - *177 responses: @@ -26863,7 +26920,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *94 + - *95 - &182 name: user_id in: path @@ -26898,7 +26955,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *94 + - *95 - *176 - *177 - *180 @@ -26927,7 +26984,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - - *94 + - *95 - *176 - *177 - &183 @@ -26995,7 +27052,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - - *94 + - *95 - *182 - *176 - *177 @@ -27024,7 +27081,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *94 + - *95 - *180 - *181 - *176 @@ -27054,7 +27111,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - - *94 + - *95 - *182 - *176 - *177 @@ -27134,7 +27191,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-an-organization-installation-for-the-authenticated-app parameters: - - *94 + - *95 responses: '200': description: Response @@ -27211,7 +27268,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *94 + - *95 - *17 - *19 responses: @@ -27300,7 +27357,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *94 + - *95 responses: '200': description: Response @@ -27362,7 +27419,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *94 + - *95 requestBody: required: true content: @@ -27417,7 +27474,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *94 + - *95 responses: '204': description: Response @@ -27441,7 +27498,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-pending-organization-invitations parameters: - - *94 + - *95 - *17 - *19 - name: role @@ -27500,7 +27557,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#create-an-organization-invitation parameters: - - *94 + - *95 requestBody: required: false content: @@ -27608,7 +27665,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - - *94 + - *95 - &192 name: invitation_id description: The unique identifier of the invitation. @@ -27639,7 +27696,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - - *94 + - *95 - *192 - *17 - *19 @@ -27687,7 +27744,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#list-issue-types-for-an-organization parameters: - - *94 + - *95 responses: '200': description: Response @@ -27733,7 +27790,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#create-issue-type-for-an-organization parameters: - - *94 + - *95 requestBody: required: true content: @@ -27814,7 +27871,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - - *94 + - *95 - &195 name: issue_type_id description: The unique identifier of the issue type. @@ -27894,7 +27951,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - - *94 + - *95 - *195 responses: '204': @@ -27928,7 +27985,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-organization-issues-assigned-to-the-authenticated-user parameters: - - *94 + - *95 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -28011,7 +28068,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-members parameters: - - *94 + - *95 - name: filter description: Filter members returned in the list. `2fa_disabled` means that only members without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -28069,8 +28126,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-organization-membership-for-a-user parameters: - - *94 - - *132 + - *95 + - *133 responses: '204': description: Response if requester is an organization member and user is @@ -28101,8 +28158,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-an-organization-member parameters: - - *94 - - *132 + - *95 + - *133 responses: '204': description: Response @@ -28128,8 +28185,8 @@ paths: parameters: - *17 - *19 - - *94 - - *132 + - *95 + - *133 responses: '200': description: Response @@ -28149,7 +28206,7 @@ paths: examples: default: *200 '304': *37 - '500': *148 + '500': *94 '401': *25 '403': *29 '404': *6 @@ -28172,8 +28229,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *94 - - *132 + - *95 + - *133 - &201 name: codespace_name in: path @@ -28182,9 +28239,9 @@ paths: schema: type: string responses: - '202': *47 + '202': *39 '304': *37 - '500': *148 + '500': *94 '401': *25 '403': *29 '404': *6 @@ -28207,8 +28264,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - - *94 - - *132 + - *95 + - *133 - *201 responses: '200': @@ -28359,7 +28416,7 @@ paths: recent_folders: [] template: '304': *37 - '500': *148 + '500': *94 '401': *25 '403': *29 '404': *6 @@ -28390,8 +28447,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user parameters: - - *94 - - *132 + - *95 + - *133 responses: '200': description: The user's GitHub Copilot seat details, including usage. @@ -28440,7 +28497,7 @@ paths: members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos parent: - '500': *148 + '500': *94 '401': *25 '403': *29 '404': *6 @@ -28465,8 +28522,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-organization-membership-for-a-user parameters: - - *94 - - *132 + - *95 + - *133 responses: '200': description: Response @@ -28592,8 +28649,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-organization-membership-for-a-user parameters: - - *94 - - *132 + - *95 + - *133 requestBody: required: false content: @@ -28644,8 +28701,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *94 - - *132 + - *95 + - *133 responses: '204': description: Response @@ -28670,7 +28727,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-organization-migrations parameters: - - *94 + - *95 - *17 - *19 - name: exclude @@ -28944,7 +29001,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#start-an-organization-migration parameters: - - *94 + - *95 requestBody: required: true content: @@ -29198,7 +29255,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - - *94 + - *95 - &207 name: migration_id description: The unique identifier of the migration. @@ -29395,7 +29452,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *94 + - *95 - *207 responses: '302': @@ -29417,7 +29474,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *94 + - *95 - *207 responses: '204': @@ -29441,7 +29498,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - - *94 + - *95 - *207 - &625 name: repo_name @@ -29470,7 +29527,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *94 + - *95 - *207 - *17 - *19 @@ -29481,7 +29538,7 @@ paths: application/json: schema: type: array - items: *119 + items: *120 examples: default: &220 value: @@ -29620,7 +29677,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-all-organization-roles-for-an-organization parameters: - - *94 + - *95 responses: '200': description: Response - list of organization roles @@ -29783,7 +29840,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - - *94 + - *95 - &208 name: team_slug description: The slug of the team name. @@ -29815,7 +29872,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - - *94 + - *95 - *208 - &209 name: role_id @@ -29852,7 +29909,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - - *94 + - *95 - *208 - *209 responses: @@ -29879,8 +29936,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - - *94 - - *132 + - *95 + - *133 responses: '204': description: Response @@ -29905,8 +29962,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - - *94 - - *132 + - *95 + - *133 - *209 responses: '204': @@ -29937,8 +29994,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - - *94 - - *132 + - *95 + - *133 - *209 responses: '204': @@ -29967,7 +30024,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - - *94 + - *95 - *209 responses: '200': @@ -30024,7 +30081,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - - *94 + - *95 - *209 - *17 - *19 @@ -30148,7 +30205,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - - *94 + - *95 - *209 - *17 - *19 @@ -30302,7 +30359,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#list-outside-collaborators-for-an-organization parameters: - - *94 + - *95 - name: filter description: Filter the list of outside collaborators. `2fa_disabled` means that only outside collaborators without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -30354,8 +30411,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - - *94 - - *132 + - *95 + - *133 requestBody: required: false content: @@ -30412,8 +30469,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - - *94 - - *132 + - *95 + - *133 responses: '204': description: Response @@ -30470,7 +30527,7 @@ paths: - docker - nuget - container - - *94 + - *95 - &627 name: visibility description: |- @@ -30559,7 +30616,7 @@ paths: required: true schema: type: string - - *94 + - *95 responses: '200': description: Response @@ -30619,7 +30676,7 @@ paths: parameters: - *216 - *217 - - *94 + - *95 responses: '204': description: Response @@ -30653,7 +30710,7 @@ paths: parameters: - *216 - *217 - - *94 + - *95 - name: token description: package token schema: @@ -30687,7 +30744,7 @@ paths: parameters: - *216 - *217 - - *94 + - *95 - *19 - *17 - name: state @@ -30834,7 +30891,7 @@ paths: parameters: - *216 - *217 - - *94 + - *95 - &219 name: package_version_id description: Unique identifier of the package version. @@ -30885,7 +30942,7 @@ paths: parameters: - *216 - *217 - - *94 + - *95 - *219 responses: '204': @@ -30920,7 +30977,7 @@ paths: parameters: - *216 - *217 - - *94 + - *95 - *219 responses: '204': @@ -30948,7 +31005,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *94 + - *95 - *17 - *19 - &221 @@ -31021,7 +31078,7 @@ paths: type: string example: token_id[]=1,token_id[]=2 responses: - '500': *148 + '500': *94 '422': *15 '404': *6 '403': *29 @@ -31173,7 +31230,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#review-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *94 + - *95 requestBody: required: true content: @@ -31214,11 +31271,11 @@ paths: action: deny reason: Access is too broad. responses: - '500': *148 + '500': *94 '422': *15 '404': *6 '403': *29 - '202': *47 + '202': *39 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31239,7 +31296,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#review-a-request-to-access-organization-resources-with-a-fine-grained-personal-access-token parameters: - - *94 + - *95 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -31275,11 +31332,11 @@ paths: action: deny reason: This request is denied because the access is too broad. responses: - '500': *148 + '500': *94 '422': *15 '404': *6 '403': *29 - '204': *145 + '204': *146 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31300,7 +31357,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-repositories-requested-to-be-accessed-by-a-fine-grained-personal-access-token parameters: - - *94 + - *95 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -31311,7 +31368,7 @@ paths: - *17 - *19 responses: - '500': *148 + '500': *94 '404': *6 '403': *29 '200': @@ -31320,7 +31377,7 @@ paths: application/json: schema: type: array - items: *119 + items: *120 examples: default: *220 headers: @@ -31345,7 +31402,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-fine-grained-personal-access-tokens-with-access-to-organization-resources parameters: - - *94 + - *95 - *17 - *19 - *221 @@ -31357,7 +31414,7 @@ paths: - *226 - *227 responses: - '500': *148 + '500': *94 '422': *15 '404': *6 '403': *29 @@ -31504,7 +31561,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#update-the-access-to-organization-resources-via-fine-grained-personal-access-tokens parameters: - - *94 + - *95 requestBody: required: true content: @@ -31539,9 +31596,9 @@ paths: - 1296269 - 1296280 responses: - '500': *148 + '500': *94 '404': *6 - '202': *47 + '202': *39 '403': *29 '422': *15 x-github: @@ -31564,7 +31621,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#update-the-access-a-fine-grained-personal-access-token-has-to-organization-resources parameters: - - *94 + - *95 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -31592,9 +31649,9 @@ paths: value: action: revoke responses: - '500': *148 + '500': *94 '404': *6 - '204': *145 + '204': *146 '403': *29 '422': *15 x-github: @@ -31616,7 +31673,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-repositories-a-fine-grained-personal-access-token-has-access-to parameters: - - *94 + - *95 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -31626,7 +31683,7 @@ paths: - *17 - *19 responses: - '500': *148 + '500': *94 '404': *6 '403': *29 '200': @@ -31635,7 +31692,7 @@ paths: application/json: schema: type: array - items: *119 + items: *120 examples: default: *220 headers: @@ -31661,7 +31718,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#list-private-registries-for-an-organization parameters: - - *94 + - *95 - *17 - *19 responses: @@ -31753,7 +31810,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization parameters: - - *94 + - *95 requestBody: required: true content: @@ -31924,7 +31981,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization parameters: - - *94 + - *95 responses: '200': description: Response @@ -31972,8 +32029,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - - *94 - - *127 + - *95 + - *128 responses: '200': description: The specified private registry configuration for the organization @@ -32002,8 +32059,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - - *94 - - *127 + - *95 + - *128 requestBody: required: true content: @@ -32080,8 +32137,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - - *94 - - *127 + - *95 + - *128 responses: '204': description: Response @@ -32106,7 +32163,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-organization-projects parameters: - - *94 + - *95 - name: state description: Indicates the state of the projects to return. in: query @@ -32274,7 +32331,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#create-an-organization-project parameters: - - *94 + - *95 requestBody: required: true content: @@ -32365,7 +32422,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-all-custom-properties-for-an-organization parameters: - - *94 + - *95 responses: '200': description: Response @@ -32487,7 +32544,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization parameters: - - *94 + - *95 requestBody: required: true content: @@ -32551,7 +32608,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - - *94 + - *95 - &233 name: custom_property_name description: The custom property name @@ -32600,7 +32657,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - - *94 + - *95 - *233 requestBody: required: true @@ -32695,10 +32752,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - - *94 + - *95 - *233 responses: - '204': *145 + '204': *146 '403': *29 '404': *6 x-github: @@ -32719,7 +32776,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#list-custom-property-values-for-organization-repositories parameters: - - *94 + - *95 - *17 - *19 - name: repository_query @@ -32824,7 +32881,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-property-values-for-organization-repositories parameters: - - *94 + - *95 requestBody: required: true content: @@ -32885,7 +32942,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-public-organization-members parameters: - - *94 + - *95 - *17 - *19 responses: @@ -32916,8 +32973,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-public-organization-membership-for-a-user parameters: - - *94 - - *132 + - *95 + - *133 responses: '204': description: Response if user is a public member @@ -32941,8 +32998,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - - *94 - - *132 + - *95 + - *133 responses: '204': description: Response @@ -32963,8 +33020,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - - *94 - - *132 + - *95 + - *133 responses: '204': description: Response @@ -32988,7 +33045,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-organization-repositories parameters: - - *94 + - *95 - name: type description: Specifies the types of repositories you want returned. in: query @@ -33034,7 +33091,7 @@ paths: application/json: schema: type: array - items: *119 + items: *120 examples: default: *220 headers: @@ -33057,7 +33114,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-organization-repository parameters: - - *94 + - *95 requestBody: required: true content: @@ -34254,7 +34311,7 @@ paths: category: orgs subcategory: rules parameters: - - *94 + - *95 - *17 - *19 - &562 @@ -35255,7 +35312,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *148 + '500': *94 post: summary: Create an organization repository ruleset description: Create a repository ruleset for an organization. @@ -35271,7 +35328,7 @@ paths: category: orgs subcategory: rules parameters: - - *94 + - *95 requestBody: description: Request body required: true @@ -35381,7 +35438,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *148 + '500': *94 "/orgs/{org}/rulesets/rule-suites": get: summary: List organization rule suites @@ -35395,7 +35452,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *94 + - *95 - &563 name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally @@ -35533,7 +35590,7 @@ paths: result: pass evaluation_result: fail '404': *6 - '500': *148 + '500': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35552,7 +35609,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *94 + - *95 - &569 name: rule_suite_id description: |- @@ -35703,7 +35760,7 @@ paths: result: fail rule_type: commit_message_pattern '404': *6 - '500': *148 + '500': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35729,7 +35786,7 @@ paths: category: orgs subcategory: rules parameters: - - *94 + - *95 - name: ruleset_id description: The ID of the ruleset. in: path @@ -35745,7 +35802,7 @@ paths: examples: default: *246 '404': *6 - '500': *148 + '500': *94 put: summary: Update an organization repository ruleset description: Update a ruleset for an organization. @@ -35761,7 +35818,7 @@ paths: category: orgs subcategory: rules parameters: - - *94 + - *95 - name: ruleset_id description: The ID of the ruleset. in: path @@ -35835,7 +35892,7 @@ paths: examples: default: *246 '404': *6 - '500': *148 + '500': *94 delete: summary: Delete an organization repository ruleset description: Delete a ruleset for an organization. @@ -35851,7 +35908,7 @@ paths: category: orgs subcategory: rules parameters: - - *94 + - *95 - name: ruleset_id description: The ID of the ruleset. in: path @@ -35862,7 +35919,7 @@ paths: '204': description: Response '404': *6 - '500': *148 + '500': *94 "/orgs/{org}/rulesets/{ruleset_id}/history": get: summary: Get organization ruleset history @@ -35874,7 +35931,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-history parameters: - - *94 + - *95 - *17 - *19 - name: ruleset_id @@ -35932,7 +35989,7 @@ paths: type: User updated_at: '2024-08-23T16:29:47Z' '404': *6 - '500': *148 + '500': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35949,7 +36006,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-version parameters: - - *94 + - *95 - name: ruleset_id description: The ID of the ruleset. in: path @@ -36016,7 +36073,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *148 + '500': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36038,7 +36095,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - - *94 + - *95 - *248 - *249 - *250 @@ -36104,7 +36161,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories-for-an-organization parameters: - - *94 + - *95 - *48 - name: sort description: The property to sort the results by. @@ -36117,8 +36174,8 @@ paths: - updated - published default: created - - *39 - *40 + - *41 - 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/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -36818,7 +36875,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#list-security-manager-teams parameters: - - *94 + - *95 responses: '200': description: Response @@ -36851,7 +36908,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#add-a-security-manager-team parameters: - - *94 + - *95 - *208 responses: '204': @@ -36877,7 +36934,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *94 + - *95 - *208 responses: '204': @@ -36907,7 +36964,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-actions-billing-for-an-organization parameters: - - *94 + - *95 responses: '200': description: Response @@ -37013,7 +37070,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-packages-billing-for-an-organization parameters: - - *94 + - *95 responses: '200': description: Response @@ -37063,7 +37120,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-shared-storage-billing-for-an-organization parameters: - - *94 + - *95 responses: '200': description: Response @@ -37111,7 +37168,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#list-hosted-compute-network-configurations-for-an-organization parameters: - - *94 + - *95 - *17 - *19 responses: @@ -37207,7 +37264,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#create-a-hosted-compute-network-configuration-for-an-organization parameters: - - *94 + - *95 requestBody: required: true content: @@ -37279,7 +37336,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - - *94 + - *95 - &261 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. @@ -37315,7 +37372,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - - *94 + - *95 - *261 requestBody: required: true @@ -37376,7 +37433,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - - *94 + - *95 - *261 responses: '204': @@ -37400,7 +37457,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - - *94 + - *95 - name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -37484,7 +37541,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - - *94 + - *95 - *208 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO @@ -37520,7 +37577,7 @@ paths: items: *262 examples: default: *263 - '500': *148 + '500': *94 '403': *29 '404': *6 '422': *264 @@ -37541,7 +37598,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-teams parameters: - - *94 + - *95 - *17 - *19 responses: @@ -37575,7 +37632,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#create-a-team parameters: - - *94 + - *95 requestBody: required: true content: @@ -38027,7 +38084,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-by-name parameters: - - *94 + - *95 - *208 responses: '200': @@ -38057,7 +38114,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team parameters: - - *94 + - *95 - *208 requestBody: required: false @@ -38154,7 +38211,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team parameters: - - *94 + - *95 - *208 responses: '204': @@ -38181,7 +38238,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions parameters: - - *94 + - *95 - *208 - *48 - *17 @@ -38372,7 +38429,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion parameters: - - *94 + - *95 - *208 requestBody: required: true @@ -38481,7 +38538,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion parameters: - - *94 + - *95 - *208 - &269 name: discussion_number @@ -38519,7 +38576,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion parameters: - - *94 + - *95 - *208 - *269 requestBody: @@ -38616,7 +38673,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion parameters: - - *94 + - *95 - *208 - *269 responses: @@ -38644,7 +38701,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments parameters: - - *94 + - *95 - *208 - *269 - *48 @@ -38797,7 +38854,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment parameters: - - *94 + - *95 - *208 - *269 requestBody: @@ -38889,7 +38946,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment parameters: - - *94 + - *95 - *208 - *269 - &272 @@ -38928,7 +38985,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment parameters: - - *94 + - *95 - *208 - *269 - *272 @@ -39019,7 +39076,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment parameters: - - *94 + - *95 - *208 - *269 - *272 @@ -39048,7 +39105,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - - *94 + - *95 - *208 - *269 - *272 @@ -39170,7 +39227,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - - *94 + - *95 - *208 - *269 - *272 @@ -39262,7 +39319,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - - *94 + - *95 - *208 - *269 - *272 @@ -39298,7 +39355,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - - *94 + - *95 - *208 - *269 - name: content @@ -39354,7 +39411,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - - *94 + - *95 - *208 - *269 requestBody: @@ -39420,7 +39477,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-reaction parameters: - - *94 + - *95 - *208 - *269 - *276 @@ -39447,7 +39504,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations parameters: - - *94 + - *95 - *208 - *17 - *19 @@ -39482,7 +39539,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members parameters: - - *94 + - *95 - *208 - name: role description: Filters members returned by their role in the team. @@ -39536,9 +39593,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user parameters: - - *94 + - *95 - *208 - - *132 + - *133 responses: '200': description: Response @@ -39607,9 +39664,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - - *94 + - *95 - *208 - - *132 + - *133 requestBody: required: false content: @@ -39671,9 +39728,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user parameters: - - *94 + - *95 - *208 - - *132 + - *133 responses: '204': description: Response @@ -39698,7 +39755,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects parameters: - - *94 + - *95 - *208 - *17 - *19 @@ -39840,7 +39897,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project parameters: - - *94 + - *95 - *208 - &279 name: project_id @@ -39918,7 +39975,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions parameters: - - *94 + - *95 - *208 - *279 requestBody: @@ -39986,7 +40043,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team parameters: - - *94 + - *95 - *208 - *279 responses: @@ -40015,7 +40072,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories parameters: - - *94 + - *95 - *208 - *17 - *19 @@ -40026,7 +40083,7 @@ paths: application/json: schema: type: array - items: *119 + items: *120 examples: default: *220 headers: @@ -40057,7 +40114,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *94 + - *95 - *208 - *280 - *281 @@ -40635,7 +40692,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *94 + - *95 - *208 - *280 - *281 @@ -40683,7 +40740,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team parameters: - - *94 + - *95 - *208 - *280 - *281 @@ -40710,7 +40767,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams parameters: - - *94 + - *95 - *208 - *17 - *19 @@ -40776,7 +40833,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#enable-or-disable-a-security-feature-for-an-organization parameters: - - *94 + - *95 - name: security_product in: path description: The security feature to enable or disable. @@ -41501,8 +41558,8 @@ paths: application/json: schema: oneOf: - - *97 - *98 + - *99 '503': description: Response content: @@ -41867,7 +41924,7 @@ paths: url: https://docs.github.com/rest/projects/collaborators#add-project-collaborator parameters: - *279 - - *132 + - *133 requestBody: required: false content: @@ -41920,7 +41977,7 @@ paths: url: https://docs.github.com/rest/projects/collaborators#remove-user-as-a-collaborator parameters: - *279 - - *132 + - *133 responses: '204': description: Response @@ -41952,7 +42009,7 @@ paths: url: https://docs.github.com/rest/projects/collaborators#get-project-permission-for-a-user parameters: - *279 - - *132 + - *133 responses: '200': description: Response @@ -44013,7 +44070,7 @@ paths: description: Response content: application/json: - schema: *128 + schema: *129 examples: default: value: @@ -44123,7 +44180,7 @@ paths: description: Empty response content: application/json: - schema: *128 + schema: *129 examples: default: value: @@ -44319,7 +44376,7 @@ paths: enabled: &304 type: boolean description: Whether GitHub Actions is enabled on the repository. - allowed_actions: *108 + allowed_actions: *109 selected_actions_url: *303 required: - enabled @@ -44360,7 +44417,7 @@ paths: type: object properties: enabled: *304 - allowed_actions: *108 + allowed_actions: *109 required: - enabled examples: @@ -44476,9 +44533,9 @@ paths: description: Response content: application/json: - schema: *110 + schema: *111 examples: - default: *111 + default: *112 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -44506,9 +44563,9 @@ paths: required: false content: application/json: - schema: *110 + schema: *111 examples: - selected_actions: *111 + selected_actions: *112 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -44539,7 +44596,7 @@ paths: application/json: schema: *307 examples: - default: *114 + default: *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44574,7 +44631,7 @@ paths: application/json: schema: *308 examples: - default: *114 + default: *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44620,9 +44677,9 @@ paths: type: integer runners: type: array - items: *121 + items: *122 examples: - default: *122 + default: *123 headers: Link: *58 x-github: @@ -44726,7 +44783,7 @@ paths: '201': *311 '404': *6 '422': *7 - '409': *46 + '409': *47 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44761,7 +44818,7 @@ paths: description: Response content: application/json: - schema: *123 + schema: *124 examples: default: *312 x-github: @@ -44798,7 +44855,7 @@ paths: description: Response content: application/json: - schema: *123 + schema: *124 examples: default: *313 x-github: @@ -44824,13 +44881,13 @@ paths: parameters: - *280 - *281 - - *120 + - *121 responses: '200': description: Response content: application/json: - schema: *121 + schema: *122 examples: default: *314 x-github: @@ -44855,7 +44912,7 @@ paths: parameters: - *280 - *281 - - *120 + - *121 responses: '204': description: Response @@ -44882,9 +44939,9 @@ paths: parameters: - *280 - *281 - - *120 + - *121 responses: - '200': *125 + '200': *126 '404': *6 x-github: githubCloudOnly: false @@ -44908,7 +44965,7 @@ paths: parameters: - *280 - *281 - - *120 + - *121 requestBody: required: true content: @@ -44932,7 +44989,7 @@ paths: - gpu - accelerated responses: - '200': *125 + '200': *126 '404': *6 '422': *7 x-github: @@ -44958,7 +45015,7 @@ paths: parameters: - *280 - *281 - - *120 + - *121 requestBody: required: true content: @@ -44983,7 +45040,7 @@ paths: - gpu - accelerated responses: - '200': *125 + '200': *126 '404': *6 '422': *7 x-github: @@ -45009,7 +45066,7 @@ paths: parameters: - *280 - *281 - - *120 + - *121 responses: '200': *315 '404': *6 @@ -45040,10 +45097,10 @@ paths: parameters: - *280 - *281 - - *120 + - *121 - *316 responses: - '200': *125 + '200': *126 '404': *6 '422': *7 x-github: @@ -45443,8 +45500,8 @@ paths: - author - committer nullable: true - repository: *119 - head_repository: *119 + repository: *120 + head_repository: *120 head_repository_id: type: integer example: 5 @@ -46130,7 +46187,7 @@ paths: description: Response content: application/json: - schema: *128 + schema: *129 examples: default: value: @@ -46420,11 +46477,11 @@ paths: description: Response content: application/json: - schema: *128 + schema: *129 examples: default: value: - '409': *46 + '409': *47 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46524,11 +46581,11 @@ paths: description: Response content: application/json: - schema: *128 + schema: *129 examples: default: value: - '409': *46 + '409': *47 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46646,7 +46703,7 @@ paths: '204': description: Response '403': *29 - '500': *148 + '500': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47049,7 +47106,7 @@ paths: description: Response content: application/json: - schema: *128 + schema: *129 examples: default: value: @@ -47095,7 +47152,7 @@ paths: description: Response content: application/json: - schema: *128 + schema: *129 examples: default: value: @@ -47345,7 +47402,7 @@ paths: parameters: - *280 - *281 - - *127 + - *128 responses: '200': description: Response @@ -47381,7 +47438,7 @@ paths: parameters: - *280 - *281 - - *127 + - *128 requestBody: required: true content: @@ -47412,7 +47469,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *128 + schema: *129 examples: default: value: @@ -47440,7 +47497,7 @@ paths: parameters: - *280 - *281 - - *127 + - *128 responses: '204': description: Response @@ -47537,7 +47594,7 @@ paths: description: Response content: application/json: - schema: *128 + schema: *129 examples: default: value: @@ -47564,7 +47621,7 @@ paths: parameters: - *280 - *281 - - *130 + - *131 responses: '200': description: Response @@ -47600,7 +47657,7 @@ paths: parameters: - *280 - *281 - - *130 + - *131 requestBody: required: true content: @@ -47644,7 +47701,7 @@ paths: parameters: - *280 - *281 - - *130 + - *131 responses: '204': description: Response @@ -48083,8 +48140,8 @@ paths: - *281 - *48 - *17 - - *39 - *40 + - *41 - name: ref description: |- The Git reference for the activities you want to list. @@ -48435,8 +48492,8 @@ paths: - *280 - *281 - *17 - - *39 - *40 + - *41 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -49399,12 +49456,12 @@ paths: nullable: true oneOf: - *4 - - *128 + - *129 committer: nullable: true oneOf: - *4 - - *128 + - *129 parents: type: array items: @@ -53315,7 +53372,7 @@ paths: description: Response content: application/json: - schema: *128 + schema: *129 examples: default: value: @@ -53453,7 +53510,7 @@ paths: nullable: true properties: *61 required: *62 - repository: *119 + repository: *120 created_at: type: string format: date-time @@ -53869,7 +53926,7 @@ paths: required: - app_id - setting - repository: *119 + repository: *120 examples: default: value: @@ -54317,7 +54374,7 @@ paths: description: Response content: application/json: - schema: *128 + schema: *129 examples: default: value: @@ -54366,8 +54423,8 @@ paths: schema: type: integer - *48 - - *39 - *40 + - *41 - name: sort description: The property by which to sort the results. in: query @@ -54402,12 +54459,12 @@ paths: properties: number: *54 created_at: *55 - updated_at: *136 + updated_at: *137 url: *56 html_url: *57 instances_url: *373 - state: *141 - fixed_at: *137 + state: *142 + fixed_at: *138 dismissed_by: title: Simple User description: A GitHub user. @@ -54415,7 +54472,7 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *138 + dismissed_at: *139 dismissed_reason: *374 dismissed_comment: *375 rule: *376 @@ -54591,12 +54648,12 @@ paths: properties: number: *54 created_at: *55 - updated_at: *136 + updated_at: *137 url: *56 html_url: *57 instances_url: *373 - state: *141 - fixed_at: *137 + state: *142 + fixed_at: *138 dismissed_by: title: Simple User description: A GitHub user. @@ -54604,7 +54661,7 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *138 + dismissed_at: *139 dismissed_reason: *374 dismissed_comment: *375 rule: @@ -56668,7 +56725,7 @@ paths: description: Response content: application/json: - schema: *128 + schema: *129 examples: default: value: @@ -56959,7 +57016,7 @@ paths: - failed - updating - removed_by_enterprise - configuration: *42 + configuration: *43 examples: default: value: @@ -56991,7 +57048,7 @@ paths: html_url: https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1325 created_at: '2024-05-01T00:00:00Z' updated_at: '2024-05-01T00:00:00Z' - '204': *145 + '204': *146 '304': *37 '403': *29 '404': *6 @@ -57430,7 +57487,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': *148 + '500': *94 '401': *25 '403': *29 '404': *6 @@ -57596,7 +57653,7 @@ paths: - path: ".devcontainer.json" display_name: Default project configuration total_count: 3 - '500': *148 + '500': *94 '400': *14 '401': *25 '403': *29 @@ -57680,7 +57737,7 @@ paths: memory_in_bytes: 34359738368 cpus: 8 '304': *37 - '500': *148 + '500': *94 '401': *25 '403': *29 '404': *6 @@ -57948,7 +58005,7 @@ paths: parameters: - *280 - *281 - - *127 + - *128 responses: '200': description: Response @@ -57978,7 +58035,7 @@ paths: parameters: - *280 - *281 - - *127 + - *128 requestBody: required: true content: @@ -58006,7 +58063,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *128 + schema: *129 examples: default: value: @@ -58032,7 +58089,7 @@ paths: parameters: - *280 - *281 - - *127 + - *128 responses: '204': description: Response @@ -58272,7 +58329,7 @@ paths: parameters: - *280 - *281 - - *132 + - *133 responses: '204': description: Response if user is a collaborator @@ -58316,7 +58373,7 @@ paths: parameters: - *280 - *281 - - *132 + - *133 requestBody: required: false content: @@ -58353,7 +58410,7 @@ paths: example: 42 type: integer format: int64 - repository: *119 + repository: *120 invitee: title: Simple User description: A GitHub user. @@ -58566,7 +58623,7 @@ paths: parameters: - *280 - *281 - - *132 + - *133 responses: '204': description: No Content when collaborator was removed from the repository. @@ -58597,7 +58654,7 @@ paths: parameters: - *280 - *281 - - *132 + - *133 responses: '200': description: if user has admin permissions @@ -59264,10 +59321,10 @@ paths: sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e headers: Link: *58 - '500': *148 + '500': *94 '400': *14 '404': *6 - '409': *46 + '409': *47 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59336,7 +59393,7 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc protected: false '422': *15 - '409': *46 + '409': *47 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60254,7 +60311,7 @@ paths: draft: false headers: Link: *58 - '409': *46 + '409': *47 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60418,9 +60475,9 @@ paths: ..... '422': *15 '404': *6 - '500': *148 + '500': *94 '503': *65 - '409': *46 + '409': *47 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60807,7 +60864,7 @@ paths: type: string total_count: type: integer - repository: *119 + repository: *120 commit_url: type: string format: uri @@ -61573,7 +61630,7 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" '404': *6 - '500': *148 + '500': *94 '503': *65 x-github: githubCloudOnly: false @@ -62634,7 +62691,7 @@ paths: verified_at: '422': *15 '404': *6 - '409': *46 + '409': *47 '503': *65 x-github: githubCloudOnly: false @@ -62812,8 +62869,8 @@ paths: schema: type: integer default: 30 - - *39 - *40 + - *41 - *161 - *162 responses: @@ -62874,8 +62931,8 @@ paths: url: *56 html_url: *57 created_at: *55 - updated_at: *136 - dismissed_at: *138 + updated_at: *137 + dismissed_at: *139 dismissed_by: title: Simple User description: A GitHub user. @@ -62899,7 +62956,7 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *137 + fixed_at: *138 auto_dismissed_at: *431 required: - number @@ -63413,7 +63470,7 @@ paths: '400': *14 '403': *29 '404': *6 - '409': *46 + '409': *47 '422': *7 x-github: githubCloudOnly: false @@ -63539,7 +63596,7 @@ paths: parameters: - *280 - *281 - - *127 + - *128 responses: '200': description: Response @@ -63573,7 +63630,7 @@ paths: parameters: - *280 - *281 - - *127 + - *128 requestBody: required: true content: @@ -63601,7 +63658,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *128 + schema: *129 examples: default: value: @@ -63627,7 +63684,7 @@ paths: parameters: - *280 - *281 - - *127 + - *128 responses: '204': description: Response @@ -66215,7 +66272,7 @@ paths: - *280 - *281 - *445 - - *127 + - *128 responses: '200': description: Response @@ -66248,7 +66305,7 @@ paths: - *280 - *281 - *445 - - *127 + - *128 requestBody: required: true content: @@ -66279,7 +66336,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *128 + schema: *129 examples: default: value: @@ -66308,7 +66365,7 @@ paths: - *280 - *281 - *445 - - *127 + - *128 responses: '204': description: Default response @@ -66407,7 +66464,7 @@ paths: description: Response content: application/json: - schema: *128 + schema: *129 examples: default: value: @@ -66435,7 +66492,7 @@ paths: - *280 - *281 - *445 - - *130 + - *131 responses: '200': description: Response @@ -66466,7 +66523,7 @@ paths: parameters: - *280 - *281 - - *130 + - *131 - *445 requestBody: required: true @@ -66511,7 +66568,7 @@ paths: parameters: - *280 - *281 - - *130 + - *131 - *445 responses: '204': @@ -66635,7 +66692,7 @@ paths: application/json: schema: type: array - items: *119 + items: *120 examples: default: value: @@ -66880,7 +66937,7 @@ paths: schema: type: string '404': *6 - '409': *46 + '409': *47 '403': *29 '422': description: Validation failed @@ -66888,7 +66945,7 @@ paths: application/json: schema: oneOf: - - *97 + - *98 - *458 x-github: githubCloudOnly: false @@ -66966,7 +67023,7 @@ paths: '404': *6 '422': *15 '403': *29 - '409': *46 + '409': *47 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67288,7 +67345,7 @@ paths: type: string '422': *15 '404': *6 - '409': *46 + '409': *47 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67377,7 +67434,7 @@ paths: payload: verified_at: '404': *6 - '409': *46 + '409': *47 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67475,7 +67532,7 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/git/commits/612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac headers: Link: *58 - '409': *46 + '409': *47 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67516,7 +67573,7 @@ paths: sha: aa218f56b14c9653891f9e74264a383fa43fefbd url: https://api.github.com/repos/octocat/Hello-World/git/commits/aa218f56b14c9653891f9e74264a383fa43fefbd '404': *6 - '409': *46 + '409': *47 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67574,7 +67631,7 @@ paths: schema: type: string '422': *15 - '409': *46 + '409': *47 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67628,7 +67685,7 @@ paths: examples: default: *462 '422': *15 - '409': *46 + '409': *47 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67653,7 +67710,7 @@ paths: '422': description: Validation failed, an attempt was made to delete the default branch, or the endpoint has been spammed. - '409': *46 + '409': *47 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67857,7 +67914,7 @@ paths: schema: type: string '422': *15 - '409': *46 + '409': *47 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67919,7 +67976,7 @@ paths: examples: default: *465 '404': *6 - '409': *46 + '409': *47 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68088,7 +68145,7 @@ paths: '422': *15 '404': *6 '403': *29 - '409': *46 + '409': *47 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68176,7 +68233,7 @@ paths: truncated: false '422': *15 '404': *6 - '409': *46 + '409': *47 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68705,7 +68762,7 @@ paths: - *170 - *16 responses: - '202': *47 + '202': *39 '400': *14 '422': *15 x-github: @@ -75797,7 +75854,7 @@ paths: examples: default: *514 '422': *15 - '409': *46 + '409': *47 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75897,7 +75954,7 @@ paths: description: Response '422': *15 '400': *14 - '409': *46 + '409': *47 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75925,7 +75982,7 @@ paths: description: Response '422': *15 '404': *6 - '409': *46 + '409': *47 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76357,7 +76414,7 @@ paths: - *281 - *517 responses: - '204': *145 + '204': *146 '404': *6 x-github: githubCloudOnly: false @@ -76614,7 +76671,7 @@ paths: description: Empty response content: application/json: - schema: *128 + schema: *129 examples: default: value: @@ -76682,7 +76739,7 @@ paths: - *280 - *281 responses: - '204': *145 + '204': *146 '422': *14 x-github: githubCloudOnly: false @@ -76704,7 +76761,7 @@ paths: - *280 - *281 responses: - '204': *145 + '204': *146 '422': *14 x-github: githubCloudOnly: false @@ -78409,7 +78466,7 @@ paths: content: application/json: schema: *3 - '500': *148 + '500': *94 '503': *65 x-github: githubCloudOnly: false @@ -79044,7 +79101,7 @@ paths: headers: Link: *58 '422': *15 - '500': *148 + '500': *94 '503': *65 x-github: githubCloudOnly: false @@ -82842,7 +82899,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *148 + '500': *94 post: summary: Create a repository ruleset description: Create a ruleset for a repository. @@ -82954,7 +83011,7 @@ paths: created_at: '2023-07-15T08:43:03Z' updated_at: '2023-08-23T16:29:47Z' '404': *6 - '500': *148 + '500': *94 "/repos/{owner}/{repo}/rulesets/rule-suites": get: summary: List repository rule suites @@ -82985,7 +83042,7 @@ paths: examples: default: *568 '404': *6 - '500': *148 + '500': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83016,7 +83073,7 @@ paths: examples: default: *571 '404': *6 - '500': *148 + '500': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83067,7 +83124,7 @@ paths: examples: default: *572 '404': *6 - '500': *148 + '500': *94 put: summary: Update a repository ruleset description: Update a ruleset for a repository. @@ -83150,7 +83207,7 @@ paths: examples: default: *572 '404': *6 - '500': *148 + '500': *94 delete: summary: Delete a repository ruleset description: Delete a ruleset for a repository. @@ -83178,7 +83235,7 @@ paths: '204': description: Response '404': *6 - '500': *148 + '500': *94 "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history": get: summary: Get repository ruleset history @@ -83211,7 +83268,7 @@ paths: examples: default: *573 '404': *6 - '500': *148 + '500': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83280,7 +83337,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *148 + '500': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84307,8 +84364,8 @@ paths: - updated - published default: created - - *39 - *40 + - *41 - 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/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -85216,7 +85273,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *97 + schema: *98 examples: invalid_state_transition: value: @@ -85251,7 +85308,7 @@ paths: - *281 - *585 responses: - '202': *47 + '202': *39 '400': *14 '403': *29 '404': *6 @@ -85434,8 +85491,8 @@ paths: - - 1302998400 - 1124 - -435 - '202': *47 - '204': *145 + '202': *39 + '204': *146 '422': description: Repository contains more than 10,000 commits x-github: @@ -85504,8 +85561,8 @@ paths: - 0 total: 89 week: 1336280400 - '202': *47 - '204': *145 + '202': *39 + '204': *146 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85606,8 +85663,8 @@ paths: a: 6898 d: 77 c: 10 - '202': *47 - '204': *145 + '202': *39 + '204': *146 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85808,7 +85865,7 @@ paths: - - 0 - 2 - 21 - '204': *145 + '204': *146 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86928,7 +86985,7 @@ paths: description: Response content: application/json: - schema: *119 + schema: *120 examples: default: value: @@ -87376,7 +87433,7 @@ paths: application/json: schema: type: array - items: *119 + items: *120 examples: default: value: @@ -87565,7 +87622,7 @@ paths: html_url: type: string format: uri - repository: *119 + repository: *120 score: type: number file_size: @@ -87868,7 +87925,7 @@ paths: type: string sha: type: string - repository: *119 + repository: *120 score: type: number node_id: @@ -90399,7 +90456,7 @@ paths: url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - *597 - - *132 + - *133 responses: '204': description: if user is a member @@ -90436,7 +90493,7 @@ paths: url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - *597 - - *132 + - *133 responses: '204': description: Response @@ -90476,7 +90533,7 @@ paths: url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - *597 - - *132 + - *133 responses: '204': description: Response @@ -90513,7 +90570,7 @@ paths: url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - *597 - - *132 + - *133 responses: '200': description: Response @@ -90555,7 +90612,7 @@ paths: url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - *597 - - *132 + - *133 requestBody: required: false content: @@ -90617,7 +90674,7 @@ paths: url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - *597 - - *132 + - *133 responses: '204': description: Response @@ -90822,7 +90879,7 @@ paths: application/json: schema: type: array - items: *119 + items: *120 examples: default: *220 headers: @@ -91595,7 +91652,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#check-if-a-user-is-blocked-by-the-authenticated-user parameters: - - *132 + - *133 responses: '204': description: If the user is blocked @@ -91623,7 +91680,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#block-a-user parameters: - - *132 + - *133 responses: '204': description: Response @@ -91647,7 +91704,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#unblock-a-user parameters: - - *132 + - *133 responses: '204': description: Response @@ -91700,7 +91757,7 @@ paths: examples: default: *200 '304': *37 - '500': *148 + '500': *94 '401': *25 '403': *29 '404': *6 @@ -92001,7 +92058,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *127 + - *128 responses: '200': description: Response @@ -92037,7 +92094,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *127 + - *128 requestBody: required: true content: @@ -92082,7 +92139,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *128 + schema: *129 examples: default: value: @@ -92110,7 +92167,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *127 + - *128 responses: '204': description: Response @@ -92135,7 +92192,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *127 + - *128 responses: '200': description: Response @@ -92151,13 +92208,13 @@ paths: type: integer repositories: type: array - items: *119 + items: *120 examples: default: *611 '401': *25 '403': *29 '404': *6 - '500': *148 + '500': *94 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -92178,7 +92235,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *127 + - *128 requestBody: required: true content: @@ -92210,7 +92267,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *148 + '500': *94 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -92232,7 +92289,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *127 + - *128 - name: repository_id in: path required: true @@ -92244,7 +92301,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *148 + '500': *94 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -92265,7 +92322,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *127 + - *128 - name: repository_id in: path required: true @@ -92277,7 +92334,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *148 + '500': *94 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -92307,7 +92364,7 @@ paths: examples: default: *400 '304': *37 - '500': *148 + '500': *94 '401': *25 '403': *29 '404': *6 @@ -92387,9 +92444,9 @@ paths: parameters: - *201 responses: - '202': *47 + '202': *39 '304': *37 - '500': *148 + '500': *94 '401': *25 '403': *29 '404': *6 @@ -92469,7 +92526,7 @@ paths: sha: fd95a81ca01e48ede9f39c799ecbcef817b8a3b2 id: latest export_url: https://api.github.com/user/codespaces/:name/exports/latest - '500': *148 + '500': *94 '401': *25 '403': *29 '404': *6 @@ -92549,7 +92606,7 @@ paths: examples: default: *615 '304': *37 - '500': *148 + '500': *94 '401': *25 '403': *29 '404': *6 @@ -93416,7 +93473,7 @@ paths: examples: default: *400 '304': *37 - '500': *148 + '500': *94 '400': *14 '401': *25 '402': @@ -93426,7 +93483,7 @@ paths: schema: *3 '403': *29 '404': *6 - '409': *46 + '409': *47 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -93455,7 +93512,7 @@ paths: schema: *199 examples: default: *400 - '500': *148 + '500': *94 '401': *25 '403': *29 '404': *6 @@ -93894,7 +93951,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#check-if-a-person-is-followed-by-the-authenticated-user parameters: - - *132 + - *133 responses: '204': description: if the person is followed by the authenticated user @@ -93924,7 +93981,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#follow-a-user parameters: - - *132 + - *133 responses: '204': description: Response @@ -93949,7 +94006,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#unfollow-a-user parameters: - - *132 + - *133 responses: '204': description: Response @@ -94513,7 +94570,7 @@ paths: url: https://docs.github.com/rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *23 - - *109 + - *110 responses: '204': description: Response @@ -94539,7 +94596,7 @@ paths: url: https://docs.github.com/rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *23 - - *109 + - *110 responses: '204': description: Response @@ -95222,7 +95279,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-an-organization-membership-for-the-authenticated-user parameters: - - *94 + - *95 responses: '200': description: Response @@ -95286,7 +95343,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#update-an-organization-membership-for-the-authenticated-user parameters: - - *94 + - *95 requestBody: required: true content: @@ -96109,7 +96166,7 @@ paths: application/json: schema: type: array - items: *119 + items: *120 examples: default: *220 headers: @@ -97174,7 +97231,7 @@ paths: '204': description: Response '403': *29 - '409': *46 + '409': *47 '404': *6 '304': *37 x-github: @@ -97196,7 +97253,7 @@ paths: responses: '204': description: Response - '409': *46 + '409': *47 '304': *37 '404': *6 '403': *29 @@ -97849,7 +97906,7 @@ paths: application/json: schema: type: array - items: *119 + items: *120 examples: default: *220 headers: @@ -98113,7 +98170,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user parameters: - - *132 + - *133 responses: '200': description: Response @@ -98149,9 +98206,9 @@ paths: url: https://docs.github.com/rest/users/attestations#list-attestations parameters: - *17 - - *39 - *40 - - *132 + - *41 + - *133 - name: subject_digest description: Subject Digest in: path @@ -98206,7 +98263,7 @@ paths: description: Response content: application/json: - schema: *128 + schema: *129 examples: default: value: @@ -98232,7 +98289,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-user parameters: - - *132 + - *133 responses: '200': description: Response @@ -98265,7 +98322,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-for-the-authenticated-user parameters: - - *132 + - *133 - *17 - *19 responses: @@ -98346,8 +98403,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-organization-events-for-the-authenticated-user parameters: - - *132 - - *94 + - *133 + - *95 - *17 - *19 responses: @@ -98436,7 +98493,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-user parameters: - - *132 + - *133 - *17 - *19 responses: @@ -98513,7 +98570,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-followers-of-a-user parameters: - - *132 + - *133 - *17 - *19 responses: @@ -98544,7 +98601,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-the-people-a-user-follows parameters: - - *132 + - *133 - *17 - *19 responses: @@ -98575,7 +98632,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#check-if-a-user-follows-another-user parameters: - - *132 + - *133 - name: target_user in: path required: true @@ -98602,7 +98659,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-a-user parameters: - - *132 + - *133 - *67 - *17 - *19 @@ -98636,7 +98693,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#list-gpg-keys-for-a-user parameters: - - *132 + - *133 - *17 - *19 responses: @@ -98672,7 +98729,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-contextual-information-for-a-user parameters: - - *132 + - *133 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -98744,7 +98801,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-user-installation-for-the-authenticated-app parameters: - - *132 + - *133 responses: '200': description: Response @@ -98770,7 +98827,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#list-public-keys-for-a-user parameters: - - *132 + - *133 - *17 - *19 responses: @@ -98818,7 +98875,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-organizations-for-a-user parameters: - - *132 + - *133 - *17 - *19 responses: @@ -98870,7 +98927,7 @@ paths: - nuget - container - *627 - - *132 + - *133 - *19 - *17 responses: @@ -98907,7 +98964,7 @@ paths: parameters: - *216 - *217 - - *132 + - *133 responses: '200': description: Response @@ -98938,7 +98995,7 @@ paths: parameters: - *216 - *217 - - *132 + - *133 responses: '204': description: Response @@ -98972,7 +99029,7 @@ paths: parameters: - *216 - *217 - - *132 + - *133 - name: token description: package token schema: @@ -99006,7 +99063,7 @@ paths: parameters: - *216 - *217 - - *132 + - *133 responses: '200': description: Response @@ -99075,7 +99132,7 @@ paths: - *216 - *217 - *219 - - *132 + - *133 responses: '200': description: Response @@ -99118,7 +99175,7 @@ paths: parameters: - *216 - *217 - - *132 + - *133 - *219 responses: '204': @@ -99153,7 +99210,7 @@ paths: parameters: - *216 - *217 - - *132 + - *133 - *219 responses: '204': @@ -99180,7 +99237,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-user-projects parameters: - - *132 + - *133 - name: state description: Indicates the state of the projects to return. in: query @@ -99263,7 +99320,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-received-by-the-authenticated-user parameters: - - *132 + - *133 - *17 - *19 responses: @@ -99352,7 +99409,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-received-by-a-user parameters: - - *132 + - *133 - *17 - *19 responses: @@ -99439,7 +99496,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repositories-for-a-user parameters: - - *132 + - *133 - name: type description: Limit results to repositories of the specified type. in: query @@ -99482,7 +99539,7 @@ paths: application/json: schema: type: array - items: *119 + items: *120 examples: default: *220 headers: @@ -99508,7 +99565,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-actions-billing-for-a-user parameters: - - *132 + - *133 responses: '200': description: Response @@ -99538,7 +99595,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-packages-billing-for-a-user parameters: - - *132 + - *133 responses: '200': description: Response @@ -99568,7 +99625,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-shared-storage-billing-for-a-user parameters: - - *132 + - *133 responses: '200': description: Response @@ -99594,7 +99651,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/social-accounts#list-social-accounts-for-a-user parameters: - - *132 + - *133 - *17 - *19 responses: @@ -99626,7 +99683,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#list-ssh-signing-keys-for-a-user parameters: - - *132 + - *133 - *17 - *19 responses: @@ -99662,7 +99719,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *132 + - *133 - *650 - *48 - *17 @@ -99698,7 +99755,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *132 + - *133 - *17 - *19 responses: @@ -99708,7 +99765,7 @@ paths: application/json: schema: type: array - items: *119 + items: *120 examples: default: *220 headers: @@ -101460,7 +101517,7 @@ x-webhooks: pull_requests: type: array items: *359 - repository: *119 + repository: *120 status: example: completed type: string diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.deref.json index a2a3cd1a40..ca0cde7677 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.json @@ -180,6 +180,10 @@ "name": "hosted-compute", "description": "Manage hosted compute networking resources." }, + { + "name": "credentials", + "description": "Revoke compromised or leaked GitHub credentials." + }, { "name": "campaigns", "description": "Endpoints to manage campaigns via the REST API." @@ -14232,6 +14236,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/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/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml index 29b71b290e..28905d9ba8 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml @@ -95,6 +95,8 @@ tags: description: Manage private registry configurations. - name: hosted-compute description: Manage hosted compute networking resources. +- name: credentials + description: Revoke compromised or leaked GitHub credentials. - name: campaigns description: Endpoints to manage campaigns via the REST API. servers: @@ -432,7 +434,7 @@ paths: The EPSS percentile represents the relative rank of the CVE's likelihood of being exploited compared to other CVEs. schema: type: string - - &39 + - &40 name: before description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For @@ -441,7 +443,7 @@ paths: required: false schema: type: string - - &40 + - &41 name: after description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For @@ -982,7 +984,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &98 + schema: &99 title: Validation Error Simple description: Validation Error Simple type: object @@ -1733,7 +1735,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &97 + schema: &98 title: Validation Error description: Validation Error type: object @@ -1976,7 +1978,7 @@ paths: parameters: - *16 responses: - '202': &47 + '202': &39 description: Accepted content: application/json: @@ -5010,6 +5012,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/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': &94 + description: Internal Error + content: + application/json: + schema: *3 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: credentials + subcategory: revoke "/emojis": get: summary: Get emojis @@ -6931,7 +6992,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-code-security-configurations-for-an-enterprise parameters: - - &41 + - &42 name: enterprise description: The slug version of the enterprise name. You can also substitute this value with the enterprise id. @@ -6947,8 +7008,8 @@ paths: schema: type: integer default: 30 - - *39 - *40 + - *41 responses: '200': description: Response @@ -6956,7 +7017,7 @@ paths: application/json: schema: type: array - items: &42 + items: &43 type: object description: A code security configuration properties: @@ -7238,7 +7299,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#create-a-code-security-configuration-for-an-enterprise parameters: - - *41 + - *42 requestBody: required: true content: @@ -7315,7 +7376,7 @@ paths: - disabled - not_set default: disabled - code_scanning_default_setup_options: &45 + code_scanning_default_setup_options: &46 type: object description: Feature options for code scanning default setup nullable: true @@ -7425,9 +7486,9 @@ paths: description: Successfully created code security configuration content: application/json: - schema: *42 + schema: *43 examples: - default: &43 + default: &44 value: id: 1325 target_type: enterprise @@ -7479,13 +7540,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-default-code-security-configurations-for-an-enterprise parameters: - - *41 + - *42 responses: '200': description: Response content: application/json: - schema: &143 + schema: &144 type: array description: A list of default code security configurations items: @@ -7499,9 +7560,9 @@ paths: description: The visibility of newly created repositories for which the code security configuration will be applied to by default - configuration: *42 + configuration: *43 examples: - default: &144 + default: &145 value: - default_for_new_repos: public configuration: @@ -7585,8 +7646,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#retrieve-a-code-security-configuration-of-an-enterprise parameters: - - *41 - - &44 + - *42 + - &45 name: configuration_id description: The unique identifier of the code security configuration. in: path @@ -7598,9 +7659,9 @@ paths: description: Response content: application/json: - schema: *42 + schema: *43 examples: - default: *43 + default: *44 '304': *37 '403': *29 '404': *6 @@ -7624,8 +7685,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#update-a-custom-code-security-configuration-for-an-enterprise parameters: - - *41 - - *44 + - *42 + - *45 requestBody: required: true content: @@ -7695,7 +7756,7 @@ paths: - enabled - disabled - not_set - code_scanning_default_setup_options: *45 + code_scanning_default_setup_options: *46 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -7776,13 +7837,13 @@ paths: description: Response content: application/json: - schema: *42 + schema: *43 examples: - default: *43 + default: *44 '304': *37 '403': *29 '404': *6 - '409': &46 + '409': &47 description: Conflict content: application/json: @@ -7809,15 +7870,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#delete-a-code-security-configuration-for-an-enterprise parameters: - - *41 - - *44 + - *42 + - *45 responses: - '204': &145 + '204': &146 description: A header with no content is returned. '400': *14 '403': *29 '404': *6 - '409': *46 + '409': *47 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -7841,8 +7902,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#attach-an-enterprise-configuration-to-repositories parameters: - - *41 - - *44 + - *42 + - *45 requestBody: required: true content: @@ -7866,10 +7927,10 @@ paths: value: scope: all responses: - '202': *47 + '202': *39 '403': *29 '404': *6 - '409': *46 + '409': *47 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -7893,8 +7954,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-enterprise parameters: - - *41 - - *44 + - *42 + - *45 requestBody: required: true content: @@ -7934,12 +7995,12 @@ paths: - none - private_and_internal - public - configuration: *42 + configuration: *43 examples: default: value: default_for_new_repos: all - configuration: &142 + configuration: &143 value: id: 1325 target_type: organization @@ -7993,8 +8054,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-repositories-associated-with-an-enterprise-code-security-configuration parameters: - - *41 - - *44 + - *42 + - *45 - 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/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -8003,8 +8064,8 @@ paths: schema: type: integer default: 30 - - *39 - *40 + - *41 - name: status description: |- A comma-separated list of statuses. If specified, only repositories with these attachment statuses will be returned. @@ -8022,7 +8083,7 @@ paths: application/json: schema: type: array - items: &146 + items: &147 type: object description: Repositories associated with a code security configuration and attachment status @@ -8323,7 +8384,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &147 + repository: &148 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -8416,7 +8477,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - - *41 + - *42 - &153 name: state in: query @@ -8503,8 +8564,8 @@ paths: - epss_percentage default: created - *48 - - *39 - *40 + - *41 - &161 name: first description: |- @@ -8823,13 +8884,13 @@ paths: format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - updated_at: &136 + updated_at: &137 type: string description: 'The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_at: &138 + dismissed_at: &139 type: string description: 'The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -8859,7 +8920,7 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: &137 + fixed_at: &138 type: string description: 'The time that the alert was no longer detected and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -9238,7 +9299,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - - *41 + - *42 - &248 name: state in: query @@ -9283,8 +9344,8 @@ paths: default: created - *48 - *17 - - *39 - *40 + - *41 - &252 name: validity in: query @@ -14212,7 +14273,7 @@ paths: properties: id: type: string - repository: &119 + repository: &120 title: Minimal Repository description: Minimal Repository type: object @@ -15284,7 +15345,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization parameters: - - &94 + - &95 name: org description: The organization name. The name is not case sensitive. in: path @@ -15397,11 +15458,7 @@ paths: repositoryName: github/example '400': *14 '403': *29 - '500': &148 - description: Internal Error - content: - application/json: - schema: *3 + '500': *94 '503': *65 x-github: githubCloudOnly: false @@ -15428,13 +15485,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-an-organization parameters: - - *94 + - *95 responses: '200': description: Response content: application/json: - schema: &95 + schema: &96 title: Organization Full description: Organization Full type: object @@ -15723,7 +15780,7 @@ paths: - updated_at - archived_at examples: - default-response: &96 + default-response: &97 value: login: github id: 1 @@ -15814,7 +15871,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#update-an-organization parameters: - - *94 + - *95 requestBody: required: false content: @@ -16030,18 +16087,18 @@ paths: description: Response content: application/json: - schema: *95 + schema: *96 examples: - default: *96 + default: *97 '422': description: Validation failed content: application/json: schema: oneOf: - - *97 - *98 - '409': *46 + - *99 + '409': *47 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -16064,9 +16121,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#delete-an-organization parameters: - - *94 + - *95 responses: - '202': *47 + '202': *39 '404': *6 '403': *29 x-github: @@ -16089,7 +16146,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-an-organization parameters: - - *94 + - *95 responses: '200': description: Response @@ -16136,7 +16193,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-repositories-with-github-actions-cache-usage-for-an-organization parameters: - - *94 + - *95 - *17 - *19 responses: @@ -16209,7 +16266,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-github-hosted-runners-for-an-organization parameters: - - *94 + - *95 - *17 - *19 responses: @@ -16227,7 +16284,7 @@ paths: type: integer runners: type: array - items: &99 + items: &100 title: GitHub-hosted hosted runner description: A Github-hosted hosted runner. type: object @@ -16277,7 +16334,7 @@ paths: - source - version nullable: true - machine_size_details: &102 + machine_size_details: &103 title: Github-owned VM details. description: Provides details of a particular machine spec. type: object @@ -16369,7 +16426,7 @@ paths: - public_ip_enabled - platform examples: - default: &118 + default: &119 value: total_count: 2 runners: @@ -16429,7 +16486,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#create-a-github-hosted-runner-for-an-organization parameters: - - *94 + - *95 requestBody: required: true content: @@ -16496,9 +16553,9 @@ paths: description: Response content: application/json: - schema: *99 + schema: *100 examples: - default: &103 + default: &104 value: id: 5 name: My hosted ubuntu runner @@ -16537,7 +16594,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-github-owned-images-for-github-hosted-runners-in-an-organization parameters: - - *94 + - *95 responses: '200': description: Response @@ -16553,7 +16610,7 @@ paths: type: integer images: type: array - items: &100 + items: &101 title: GitHub-hosted runner image details. description: Provides details of a hosted runner image type: object @@ -16589,7 +16646,7 @@ paths: - display_name - source examples: - default: &101 + default: &102 value: id: ubuntu-20.04 platform: linux-x64 @@ -16613,7 +16670,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-partner-images-for-github-hosted-runners-in-an-organization parameters: - - *94 + - *95 responses: '200': description: Response @@ -16629,9 +16686,9 @@ paths: type: integer images: type: array - items: *100 + items: *101 examples: - default: *101 + default: *102 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -16648,7 +16705,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-limits-on-github-hosted-runners-for-an-organization parameters: - - *94 + - *95 responses: '200': description: Response @@ -16701,7 +16758,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-github-hosted-runners-machine-specs-for-an-organization parameters: - - *94 + - *95 responses: '200': description: Response @@ -16717,7 +16774,7 @@ paths: type: integer machine_specs: type: array - items: *102 + items: *103 examples: default: value: @@ -16742,7 +16799,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-platforms-for-github-hosted-runners-in-an-organization parameters: - - *94 + - *95 responses: '200': description: Response @@ -16786,8 +16843,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization parameters: - - *94 - - &104 + - *95 + - &105 name: hosted_runner_id description: Unique identifier of the GitHub-hosted runner. in: path @@ -16799,9 +16856,9 @@ paths: description: Response content: application/json: - schema: *99 + schema: *100 examples: - default: *103 + default: *104 headers: Link: *58 x-github: @@ -16821,8 +16878,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-organization parameters: - - *94 - - *104 + - *95 + - *105 requestBody: required: true content: @@ -16860,9 +16917,9 @@ paths: description: Response content: application/json: - schema: *99 + schema: *100 examples: - default: *103 + default: *104 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -16878,16 +16935,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization parameters: - - *94 - - *104 + - *95 + - *105 responses: '202': description: Response content: application/json: - schema: *99 + schema: *100 examples: - default: *103 + default: *104 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -16907,13 +16964,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *94 + - *95 responses: '200': description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &105 + schema: &106 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -16927,7 +16984,7 @@ paths: required: - include_claim_keys examples: - default: &106 + default: &107 value: include_claim_keys: - repo @@ -16949,20 +17006,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *94 + - *95 requestBody: required: true content: application/json: - schema: *105 + schema: *106 examples: - default: *106 + default: *107 responses: '201': description: Empty response content: application/json: - schema: &128 + schema: &129 title: Empty Object description: An object without any properties. type: object @@ -16992,7 +17049,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-an-organization parameters: - - *94 + - *95 responses: '200': description: Response @@ -17001,7 +17058,7 @@ paths: schema: type: object properties: - enabled_repositories: &107 + enabled_repositories: &108 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -17014,7 +17071,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: &108 + allowed_actions: &109 type: string description: The permissions policy that controls the actions and reusable workflows that are allowed to run. @@ -17053,7 +17110,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-an-organization parameters: - - *94 + - *95 responses: '204': description: Response @@ -17064,8 +17121,8 @@ paths: schema: type: object properties: - enabled_repositories: *107 - allowed_actions: *108 + enabled_repositories: *108 + allowed_actions: *109 required: - enabled_repositories examples: @@ -17092,7 +17149,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#list-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *94 + - *95 - *17 - *19 responses: @@ -17252,7 +17309,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *94 + - *95 responses: '204': description: Response @@ -17296,8 +17353,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *94 - - &109 + - *95 + - &110 name: repository_id description: The unique identifier of the repository. in: path @@ -17325,8 +17382,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *94 - - *109 + - *95 + - *110 responses: '204': description: Response @@ -17349,13 +17406,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *94 + - *95 responses: '200': description: Response content: application/json: - schema: &110 + schema: &111 type: object properties: github_owned_allowed: @@ -17377,7 +17434,7 @@ paths: items: type: string examples: - default: &111 + default: &112 value: github_owned_allowed: true verified_allowed: false @@ -17402,7 +17459,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *94 + - *95 responses: '204': description: Response @@ -17410,9 +17467,9 @@ paths: required: false content: application/json: - schema: *110 + schema: *111 examples: - selected_actions: *111 + selected_actions: *112 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -17434,7 +17491,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-an-organization parameters: - - *94 + - *95 responses: '200': description: Response @@ -17443,14 +17500,14 @@ paths: schema: &307 type: object properties: - default_workflow_permissions: &112 + default_workflow_permissions: &113 type: string description: The default workflow permissions granted to the GITHUB_TOKEN when running workflows. enum: - read - write - can_approve_pull_request_reviews: &113 + can_approve_pull_request_reviews: &114 type: boolean description: Whether GitHub Actions can approve pull requests. Enabling this can be a security risk. @@ -17458,7 +17515,7 @@ paths: - default_workflow_permissions - can_approve_pull_request_reviews examples: - default: &114 + default: &115 summary: Give read-only permission, and allow approving PRs. value: default_workflow_permissions: read @@ -17483,7 +17540,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-an-organization parameters: - - *94 + - *95 responses: '204': description: Success response @@ -17494,10 +17551,10 @@ paths: schema: &308 type: object properties: - default_workflow_permissions: *112 - can_approve_pull_request_reviews: *113 + default_workflow_permissions: *113 + can_approve_pull_request_reviews: *114 examples: - default: *114 + default: *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -17517,7 +17574,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runner-groups-for-an-organization parameters: - - *94 + - *95 - *17 - *19 - name: visible_to_repository @@ -17542,7 +17599,7 @@ paths: type: number runner_groups: type: array - items: &115 + items: &116 type: object properties: id: @@ -17658,7 +17715,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-organization parameters: - - *94 + - *95 requestBody: required: true content: @@ -17730,9 +17787,9 @@ paths: description: Response content: application/json: - schema: *115 + schema: *116 examples: - default: &117 + default: &118 value: id: 2 name: octo-runner-group @@ -17767,8 +17824,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization parameters: - - *94 - - &116 + - *95 + - &117 name: runner_group_id description: Unique identifier of the self-hosted runner group. in: path @@ -17780,7 +17837,7 @@ paths: description: Response content: application/json: - schema: *115 + schema: *116 examples: default: value: @@ -17816,8 +17873,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization parameters: - - *94 - - *116 + - *95 + - *117 requestBody: required: true content: @@ -17871,9 +17928,9 @@ paths: description: Response content: application/json: - schema: *115 + schema: *116 examples: - default: *117 + default: *118 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -17892,8 +17949,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization parameters: - - *94 - - *116 + - *95 + - *117 responses: '204': description: Response @@ -17916,8 +17973,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-github-hosted-runners-in-a-group-for-an-organization parameters: - - *94 - - *116 + - *95 + - *117 - *17 - *19 responses: @@ -17935,9 +17992,9 @@ paths: type: number runners: type: array - items: *99 + items: *100 examples: - default: *118 + default: *119 headers: Link: *58 x-github: @@ -17959,8 +18016,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *94 - - *116 + - *95 + - *117 - *19 - *17 responses: @@ -17978,7 +18035,7 @@ paths: type: number repositories: type: array - items: *119 + items: *120 examples: default: &611 value: @@ -18232,8 +18289,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-repository-access-for-a-self-hosted-runner-group-in-an-organization parameters: - - *94 - - *116 + - *95 + - *117 requestBody: required: true content: @@ -18277,9 +18334,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *94 - - *116 - - *109 + - *95 + - *117 + - *110 responses: '204': description: Response @@ -18301,9 +18358,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *94 - - *116 - - *109 + - *95 + - *117 + - *110 responses: '204': description: Response @@ -18326,8 +18383,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-organization parameters: - - *94 - - *116 + - *95 + - *117 - *17 - *19 responses: @@ -18345,7 +18402,7 @@ paths: type: number runners: type: array - items: &121 + items: &122 title: Self hosted runners description: A self hosted runner type: object @@ -18374,7 +18431,7 @@ paths: type: boolean labels: type: array - items: &124 + items: &125 title: Self hosted runner label description: A label for a self hosted runner type: object @@ -18404,7 +18461,7 @@ paths: - busy - labels examples: - default: &122 + default: &123 value: total_count: 2 runners: @@ -18463,8 +18520,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-organization parameters: - - *94 - - *116 + - *95 + - *117 requestBody: required: true content: @@ -18508,9 +18565,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-organization parameters: - - *94 - - *116 - - &120 + - *95 + - *117 + - &121 name: runner_id description: Unique identifier of the self-hosted runner. in: path @@ -18538,9 +18595,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-organization parameters: - - *94 - - *116 - - *120 + - *95 + - *117 + - *121 responses: '204': description: Response @@ -18570,7 +18627,7 @@ paths: in: query schema: type: string - - *94 + - *95 - *17 - *19 responses: @@ -18588,9 +18645,9 @@ paths: type: integer runners: type: array - items: *121 + items: *122 examples: - default: *122 + default: *123 headers: Link: *58 x-github: @@ -18614,7 +18671,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-an-organization parameters: - - *94 + - *95 responses: '200': description: Response @@ -18690,7 +18747,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-an-organization parameters: - - *94 + - *95 requestBody: required: true content: @@ -18743,7 +18800,7 @@ paths: - runner - encoded_jit_config properties: - runner: *121 + runner: *122 encoded_jit_config: type: string description: The base64 encoded runner configuration. @@ -18772,7 +18829,7 @@ paths: encoded_jit_config: abc123 '404': *6 '422': *7 - '409': *46 + '409': *47 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18800,13 +18857,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-an-organization parameters: - - *94 + - *95 responses: '201': description: Response content: application/json: - schema: &123 + schema: &124 title: Authentication Token description: Authentication Token type: object @@ -18875,13 +18932,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-an-organization parameters: - - *94 + - *95 responses: '201': description: Response content: application/json: - schema: *123 + schema: *124 examples: default: &313 value: @@ -18908,14 +18965,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization parameters: - - *94 - - *120 + - *95 + - *121 responses: '200': description: Response content: application/json: - schema: *121 + schema: *122 examples: default: &314 value: @@ -18958,8 +19015,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization parameters: - - *94 - - *120 + - *95 + - *121 responses: '204': description: Response @@ -18984,10 +19041,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *94 - - *120 + - *95 + - *121 responses: - '200': &125 + '200': &126 description: Response content: application/json: @@ -19001,7 +19058,7 @@ paths: type: integer labels: type: array - items: *124 + items: *125 examples: default: value: @@ -19040,8 +19097,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-an-organization parameters: - - *94 - - *120 + - *95 + - *121 requestBody: required: true content: @@ -19065,7 +19122,7 @@ paths: - gpu - accelerated responses: - '200': *125 + '200': *126 '404': *6 '422': *7 x-github: @@ -19089,8 +19146,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *94 - - *120 + - *95 + - *121 requestBody: required: true content: @@ -19115,7 +19172,7 @@ paths: - gpu - accelerated responses: - '200': *125 + '200': *126 '404': *6 '422': *7 x-github: @@ -19139,8 +19196,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-an-organization parameters: - - *94 - - *120 + - *95 + - *121 responses: '200': &315 description: Response @@ -19156,7 +19213,7 @@ paths: type: integer labels: type: array - items: *124 + items: *125 examples: default: value: @@ -19197,8 +19254,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-an-organization parameters: - - *94 - - *120 + - *95 + - *121 - &316 name: name description: The name of a self-hosted runner's custom label. @@ -19207,7 +19264,7 @@ paths: schema: type: string responses: - '200': *125 + '200': *126 '404': *6 '422': *7 x-github: @@ -19232,7 +19289,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-organization-secrets parameters: - - *94 + - *95 - *17 - *19 responses: @@ -19250,7 +19307,7 @@ paths: type: integer secrets: type: array - items: &126 + items: &127 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -19323,7 +19380,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-public-key parameters: - - *94 + - *95 responses: '200': description: Response @@ -19383,8 +19440,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-secret parameters: - - *94 - - &127 + - *95 + - &128 name: secret_name description: The name of the secret. in: path @@ -19396,7 +19453,7 @@ paths: description: Response content: application/json: - schema: *126 + schema: *127 examples: default: value: @@ -19426,8 +19483,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *94 - - *127 + - *95 + - *128 requestBody: required: true content: @@ -19484,7 +19541,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *128 + schema: *129 examples: default: value: @@ -19510,8 +19567,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-organization-secret parameters: - - *94 - - *127 + - *95 + - *128 responses: '204': description: Response @@ -19537,8 +19594,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *94 - - *127 + - *95 + - *128 - *19 - *17 responses: @@ -19556,9 +19613,9 @@ paths: type: integer repositories: type: array - items: *119 + items: *120 examples: - default: &131 + default: &132 value: total_count: 1 repositories: @@ -19650,8 +19707,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *94 - - *127 + - *95 + - *128 requestBody: required: true content: @@ -19703,8 +19760,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - - *94 - - *127 + - *95 + - *128 - name: repository_id in: path required: true @@ -19737,8 +19794,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *94 - - *127 + - *95 + - *128 - name: repository_id in: path required: true @@ -19770,7 +19827,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - - *94 + - *95 - &302 name: per_page description: The number of results per page (max 30). For more information, @@ -19795,7 +19852,7 @@ paths: type: integer variables: type: array - items: &129 + items: &130 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -19880,7 +19937,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-organization-variable parameters: - - *94 + - *95 requestBody: required: true content: @@ -19928,7 +19985,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *128 + schema: *129 examples: default: value: @@ -19953,8 +20010,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-organization-variable parameters: - - *94 - - &130 + - *95 + - &131 name: name description: The name of the variable. in: path @@ -19966,7 +20023,7 @@ paths: description: Response content: application/json: - schema: *129 + schema: *130 examples: default: value: @@ -19996,8 +20053,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-organization-variable parameters: - - *94 - - *130 + - *95 + - *131 requestBody: required: true content: @@ -20059,8 +20116,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-organization-variable parameters: - - *94 - - *130 + - *95 + - *131 responses: '204': description: Response @@ -20086,8 +20143,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - - *94 - - *130 + - *95 + - *131 - *19 - *17 responses: @@ -20105,9 +20162,9 @@ paths: type: integer repositories: type: array - items: *119 + items: *120 examples: - default: *131 + default: *132 '409': description: Response when the visibility of the variable is not set to `selected` @@ -20133,8 +20190,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - - *94 - - *130 + - *95 + - *131 requestBody: required: true content: @@ -20183,8 +20240,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - - *94 - - *130 + - *95 + - *131 - name: repository_id in: path required: true @@ -20218,8 +20275,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - - *94 - - *130 + - *95 + - *131 - name: repository_id in: path required: true @@ -20253,9 +20310,9 @@ paths: url: https://docs.github.com/rest/orgs/orgs#list-attestations parameters: - *17 - - *39 - *40 - - *94 + - *41 + - *95 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -20413,7 +20470,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *94 + - *95 - *17 - *19 responses: @@ -20463,8 +20520,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - - *94 - - &132 + - *95 + - &133 name: username description: The handle for the GitHub user account. in: path @@ -20495,8 +20552,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *94 - - *132 + - *95 + - *133 responses: '204': description: Response @@ -20516,8 +20573,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *94 - - *132 + - *95 + - *133 responses: '204': description: Response @@ -20542,7 +20599,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#list-campaigns-for-an-organization parameters: - - *94 + - *95 - *19 - *17 - *48 @@ -20550,7 +20607,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &133 + schema: &134 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -20576,7 +20633,7 @@ paths: application/json: schema: type: array - items: &134 + items: &135 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -20763,7 +20820,7 @@ paths: type: string format: date-time nullable: true - state: *133 + state: *134 contact_link: description: The contact link of the campaign. type: string @@ -20884,7 +20941,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#create-a-campaign-for-an-organization parameters: - - *94 + - *95 requestBody: required: true content: @@ -20978,9 +21035,9 @@ paths: description: Response content: application/json: - schema: *134 + schema: *135 examples: - default: &135 + default: &136 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -21051,7 +21108,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#get-a-campaign-for-an-organization parameters: - - *94 + - *95 - name: campaign_number description: The campaign number. in: path @@ -21063,9 +21120,9 @@ paths: description: Response content: application/json: - schema: *134 + schema: *135 examples: - default: *135 + default: *136 '404': *6 '422': description: Unprocessable Entity @@ -21093,7 +21150,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#update-a-campaign parameters: - - *94 + - *95 - name: campaign_number description: The campaign number. in: path @@ -21142,7 +21199,7 @@ paths: type: string format: uri nullable: true - state: *133 + state: *134 examples: default: value: @@ -21152,9 +21209,9 @@ paths: description: Response content: application/json: - schema: *134 + schema: *135 examples: - default: *135 + default: *136 '400': description: Bad Request content: @@ -21187,7 +21244,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#delete-a-campaign-for-an-organization parameters: - - *94 + - *95 - name: campaign_number description: The campaign number. in: path @@ -21220,7 +21277,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - - *94 + - *95 - &368 name: tool_name description: The name of a code scanning tool. Only results by this tool will @@ -21228,7 +21285,7 @@ paths: but not both. in: query required: false - schema: &139 + schema: &140 type: string description: The name of the tool used to generate the code scanning analysis. - &369 @@ -21239,13 +21296,13 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &140 + schema: &141 nullable: true type: string description: The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data. - - *39 - *40 + - *41 - *19 - *17 - *48 @@ -21300,7 +21357,7 @@ paths: properties: number: *54 created_at: *55 - updated_at: *136 + updated_at: *137 url: *56 html_url: *57 instances_url: &373 @@ -21309,7 +21366,7 @@ paths: for an alert. format: uri readOnly: true - state: &141 + state: &142 type: string description: State of a code scanning alert. nullable: true @@ -21317,7 +21374,7 @@ paths: - open - dismissed - fixed - fixed_at: *137 + fixed_at: *138 dismissed_by: title: Simple User description: A GitHub user. @@ -21325,7 +21382,7 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *138 + dismissed_at: *139 dismissed_reason: &374 type: string description: "**Required when the state is dismissed.** The @@ -21397,13 +21454,13 @@ paths: tool: &377 type: object properties: - name: *139 + name: *140 version: nullable: true type: string description: The version of the tool used to generate the code scanning analysis. - guid: *140 + guid: *141 most_recent_instance: &378 type: object properties: @@ -21429,7 +21486,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: *141 + state: *142 commit_sha: type: string message: @@ -21744,7 +21801,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-code-security-configurations-for-an-organization parameters: - - *94 + - *95 - name: target_type in: query description: The target type of the code security configuration @@ -21763,8 +21820,8 @@ paths: schema: type: integer default: 30 - - *39 - *40 + - *41 responses: '200': description: Response @@ -21772,7 +21829,7 @@ paths: application/json: schema: type: array - items: *42 + items: *43 examples: default: value: @@ -21855,7 +21912,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#create-a-code-security-configuration parameters: - - *94 + - *95 requestBody: required: true content: @@ -21932,7 +21989,7 @@ paths: - disabled - not_set default: disabled - code_scanning_default_setup_options: *45 + code_scanning_default_setup_options: *46 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -22057,9 +22114,9 @@ paths: description: Successfully created code security configuration content: application/json: - schema: *42 + schema: *43 examples: - default: *142 + default: *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22081,15 +22138,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-default-code-security-configurations parameters: - - *94 + - *95 responses: '200': description: Response content: application/json: - schema: *143 + schema: *144 examples: - default: *144 + default: *145 '304': *37 '403': *29 '404': *6 @@ -22115,7 +22172,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *94 + - *95 requestBody: required: true content: @@ -22138,11 +22195,11 @@ paths: - 32 - 91 responses: - '204': *145 + '204': *146 '400': *14 '403': *29 '404': *6 - '409': *46 + '409': *47 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22164,16 +22221,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-a-code-security-configuration parameters: - - *94 - - *44 + - *95 + - *45 responses: '200': description: Response content: application/json: - schema: *42 + schema: *43 examples: - default: *142 + default: *143 '304': *37 '403': *29 '404': *6 @@ -22197,8 +22254,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#update-a-code-security-configuration parameters: - - *94 - - *44 + - *95 + - *45 requestBody: required: true content: @@ -22268,7 +22325,7 @@ paths: - enabled - disabled - not_set - code_scanning_default_setup_options: *45 + code_scanning_default_setup_options: *46 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -22379,7 +22436,7 @@ paths: description: Response when a configuration is updated content: application/json: - schema: *42 + schema: *43 examples: default: value: @@ -22436,14 +22493,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *94 - - *44 + - *95 + - *45 responses: - '204': *145 + '204': *146 '400': *14 '403': *29 '404': *6 - '409': *46 + '409': *47 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22467,8 +22524,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *94 - - *44 + - *95 + - *45 requestBody: required: true content: @@ -22507,7 +22564,7 @@ paths: - 32 - 91 responses: - '202': *47 + '202': *39 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22531,8 +22588,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization parameters: - - *94 - - *44 + - *95 + - *45 requestBody: required: true content: @@ -22572,12 +22629,12 @@ paths: - none - private_and_internal - public - configuration: *42 + configuration: *43 examples: default: value: default_for_new_repos: all - configuration: *142 + configuration: *143 '403': *29 '404': *6 x-github: @@ -22601,8 +22658,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration parameters: - - *94 - - *44 + - *95 + - *45 - 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/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -22611,8 +22668,8 @@ paths: schema: type: integer default: 30 - - *39 - *40 + - *41 - name: status description: |- A comma-separated list of statuses. If specified, only repositories with these attachment statuses will be returned. @@ -22630,13 +22687,13 @@ paths: application/json: schema: type: array - items: *146 + items: *147 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *147 + repository: *148 '403': *29 '404': *6 x-github: @@ -22660,7 +22717,7 @@ paths: parameters: - *17 - *19 - - *94 + - *95 responses: '200': description: Response @@ -22701,7 +22758,7 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *119 + repository: *120 machine: type: object title: Codespace machine @@ -23363,7 +23420,7 @@ paths: stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-f8adfad99a/stop recent_folders: [] '304': *37 - '500': *148 + '500': *94 '401': *25 '403': *29 '404': *6 @@ -23385,7 +23442,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *94 + - *95 deprecated: true requestBody: required: true @@ -23429,7 +23486,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *148 + '500': *94 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -23452,7 +23509,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#add-users-to-codespaces-access-for-an-organization parameters: - - *94 + - *95 deprecated: true requestBody: required: true @@ -23484,7 +23541,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *148 + '500': *94 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -23507,7 +23564,7 @@ paths: url: https://docs.github.com/rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *94 + - *95 requestBody: required: true content: @@ -23538,7 +23595,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *148 + '500': *94 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -23559,7 +23616,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *94 + - *95 - *17 - *19 responses: @@ -23648,7 +23705,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *94 + - *95 responses: '200': description: Response @@ -23706,8 +23763,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *94 - - *127 + - *95 + - *128 responses: '200': description: Response @@ -23742,8 +23799,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - - *94 - - *127 + - *95 + - *128 requestBody: required: true content: @@ -23798,7 +23855,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *128 + schema: *129 examples: default: value: @@ -23824,8 +23881,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *94 - - *127 + - *95 + - *128 responses: '204': description: Response @@ -23850,8 +23907,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - - *94 - - *127 + - *95 + - *128 - *19 - *17 responses: @@ -23869,9 +23926,9 @@ paths: type: integer repositories: type: array - items: *119 + items: *120 examples: - default: *131 + default: *132 '404': *6 x-github: githubCloudOnly: false @@ -23893,8 +23950,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - - *94 - - *127 + - *95 + - *128 requestBody: required: true content: @@ -23944,8 +24001,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - - *94 - - *127 + - *95 + - *128 - name: repository_id in: path required: true @@ -23978,8 +24035,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - - *94 - - *127 + - *95 + - *128 - name: repository_id in: path required: true @@ -24018,7 +24075,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#get-copilot-seat-information-and-settings-for-an-organization parameters: - - *94 + - *95 responses: '200': description: OK @@ -24127,7 +24184,7 @@ paths: cli: enabled public_code_suggestions: block plan_type: business - '500': *148 + '500': *94 '401': *25 '403': *29 '404': *6 @@ -24159,7 +24216,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#list-all-copilot-seat-assignments-for-an-organization parameters: - - *94 + - *95 - *19 - name: per_page description: The number of results per page (max 100). For more information, @@ -24370,7 +24427,7 @@ paths: site_admin: false headers: Link: *58 - '500': *148 + '500': *94 '401': *25 '403': *29 '404': *6 @@ -24403,7 +24460,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#add-teams-to-the-copilot-subscription-for-an-organization parameters: - - *94 + - *95 requestBody: content: application/json: @@ -24445,7 +24502,7 @@ paths: default: value: seats_created: 5 - '500': *148 + '500': *94 '401': *25 '403': *29 '404': *6 @@ -24481,7 +24538,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#remove-teams-from-the-copilot-subscription-for-an-organization parameters: - - *94 + - *95 requestBody: content: application/json: @@ -24523,7 +24580,7 @@ paths: default: value: seats_cancelled: 5 - '500': *148 + '500': *94 '401': *25 '403': *29 '404': *6 @@ -24561,7 +24618,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-organization parameters: - - *94 + - *95 requestBody: content: application/json: @@ -24602,7 +24659,7 @@ paths: default: value: seats_created: 5 - '500': *148 + '500': *94 '401': *25 '403': *29 '404': *6 @@ -24638,7 +24695,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization parameters: - - *94 + - *95 requestBody: content: application/json: @@ -24680,7 +24737,7 @@ paths: default: value: seats_cancelled: 5 - '500': *148 + '500': *94 '401': *25 '403': *29 '404': *6 @@ -24719,7 +24776,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization parameters: - - *94 + - *95 - 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`). @@ -25157,7 +25214,7 @@ paths: custom_model_training_date: '2024-02-01' total_pr_summaries_created: 10 total_engaged_users: 4 - '500': *148 + '500': *94 '403': *29 '404': *6 '422': &264 @@ -25187,7 +25244,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *94 + - *95 - *153 - *154 - *155 @@ -25197,8 +25254,8 @@ paths: - *159 - *160 - *48 - - *39 - *40 + - *41 - *161 - *162 - *17 @@ -25237,7 +25294,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-organization-secrets parameters: - - *94 + - *95 - *17 - *19 responses: @@ -25326,7 +25383,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-public-key parameters: - - *94 + - *95 responses: '200': description: Response @@ -25372,8 +25429,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-secret parameters: - - *94 - - *127 + - *95 + - *128 responses: '200': description: Response @@ -25407,8 +25464,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *94 - - *127 + - *95 + - *128 requestBody: required: true content: @@ -25463,7 +25520,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *128 + schema: *129 examples: default: value: @@ -25487,8 +25544,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-an-organization-secret parameters: - - *94 - - *127 + - *95 + - *128 responses: '204': description: Response @@ -25512,8 +25569,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *94 - - *127 + - *95 + - *128 - *19 - *17 responses: @@ -25531,9 +25588,9 @@ paths: type: integer repositories: type: array - items: *119 + items: *120 examples: - default: *131 + default: *132 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25554,8 +25611,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *94 - - *127 + - *95 + - *128 requestBody: required: true content: @@ -25605,8 +25662,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - - *94 - - *127 + - *95 + - *128 - name: repository_id in: path required: true @@ -25637,8 +25694,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *94 - - *127 + - *95 + - *128 - name: repository_id in: path required: true @@ -25668,7 +25725,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-organization parameters: - - *94 + - *95 responses: '200': description: Response @@ -25824,7 +25881,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-organization-events parameters: - - *94 + - *95 - *17 - *19 responses: @@ -25903,7 +25960,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-failed-organization-invitations parameters: - - *94 + - *95 - *17 - *19 responses: @@ -26017,7 +26074,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-organization-webhooks parameters: - - *94 + - *95 - *17 - *19 responses: @@ -26138,7 +26195,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#create-an-organization-webhook parameters: - - *94 + - *95 requestBody: required: true content: @@ -26247,7 +26304,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - - *94 + - *95 - &170 name: hook_id description: The unique identifier of the hook. You can find this value in @@ -26290,7 +26347,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - - *94 + - *95 - *170 requestBody: required: false @@ -26377,7 +26434,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *94 + - *95 - *170 responses: '204': @@ -26405,7 +26462,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - - *94 + - *95 - *170 responses: '200': @@ -26436,7 +26493,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - - *94 + - *95 - *170 requestBody: required: false @@ -26487,7 +26544,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *94 + - *95 - *170 - *17 - *171 @@ -26525,7 +26582,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - - *94 + - *95 - *170 - *16 responses: @@ -26560,11 +26617,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - - *94 + - *95 - *170 - *16 responses: - '202': *47 + '202': *39 '400': *14 '422': *15 x-github: @@ -26590,7 +26647,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *94 + - *95 - *170 responses: '204': @@ -26613,7 +26670,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *94 + - *95 - &180 name: actor_type in: path @@ -26735,7 +26792,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - - *94 + - *95 - *176 - *177 - *19 @@ -26819,7 +26876,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - - *94 + - *95 - *176 - *177 responses: @@ -26863,7 +26920,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *94 + - *95 - &182 name: user_id in: path @@ -26898,7 +26955,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *94 + - *95 - *176 - *177 - *180 @@ -26927,7 +26984,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - - *94 + - *95 - *176 - *177 - &183 @@ -26995,7 +27052,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - - *94 + - *95 - *182 - *176 - *177 @@ -27024,7 +27081,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *94 + - *95 - *180 - *181 - *176 @@ -27054,7 +27111,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - - *94 + - *95 - *182 - *176 - *177 @@ -27134,7 +27191,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-an-organization-installation-for-the-authenticated-app parameters: - - *94 + - *95 responses: '200': description: Response @@ -27211,7 +27268,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *94 + - *95 - *17 - *19 responses: @@ -27300,7 +27357,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *94 + - *95 responses: '200': description: Response @@ -27362,7 +27419,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *94 + - *95 requestBody: required: true content: @@ -27417,7 +27474,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *94 + - *95 responses: '204': description: Response @@ -27441,7 +27498,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-pending-organization-invitations parameters: - - *94 + - *95 - *17 - *19 - name: role @@ -27500,7 +27557,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#create-an-organization-invitation parameters: - - *94 + - *95 requestBody: required: false content: @@ -27608,7 +27665,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - - *94 + - *95 - &192 name: invitation_id description: The unique identifier of the invitation. @@ -27639,7 +27696,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - - *94 + - *95 - *192 - *17 - *19 @@ -27687,7 +27744,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#list-issue-types-for-an-organization parameters: - - *94 + - *95 responses: '200': description: Response @@ -27733,7 +27790,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#create-issue-type-for-an-organization parameters: - - *94 + - *95 requestBody: required: true content: @@ -27814,7 +27871,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - - *94 + - *95 - &195 name: issue_type_id description: The unique identifier of the issue type. @@ -27894,7 +27951,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - - *94 + - *95 - *195 responses: '204': @@ -27928,7 +27985,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-organization-issues-assigned-to-the-authenticated-user parameters: - - *94 + - *95 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -28011,7 +28068,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-members parameters: - - *94 + - *95 - name: filter description: Filter members returned in the list. `2fa_disabled` means that only members without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -28069,8 +28126,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-organization-membership-for-a-user parameters: - - *94 - - *132 + - *95 + - *133 responses: '204': description: Response if requester is an organization member and user is @@ -28101,8 +28158,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-an-organization-member parameters: - - *94 - - *132 + - *95 + - *133 responses: '204': description: Response @@ -28128,8 +28185,8 @@ paths: parameters: - *17 - *19 - - *94 - - *132 + - *95 + - *133 responses: '200': description: Response @@ -28149,7 +28206,7 @@ paths: examples: default: *200 '304': *37 - '500': *148 + '500': *94 '401': *25 '403': *29 '404': *6 @@ -28172,8 +28229,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *94 - - *132 + - *95 + - *133 - &201 name: codespace_name in: path @@ -28182,9 +28239,9 @@ paths: schema: type: string responses: - '202': *47 + '202': *39 '304': *37 - '500': *148 + '500': *94 '401': *25 '403': *29 '404': *6 @@ -28207,8 +28264,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - - *94 - - *132 + - *95 + - *133 - *201 responses: '200': @@ -28359,7 +28416,7 @@ paths: recent_folders: [] template: '304': *37 - '500': *148 + '500': *94 '401': *25 '403': *29 '404': *6 @@ -28390,8 +28447,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user parameters: - - *94 - - *132 + - *95 + - *133 responses: '200': description: The user's GitHub Copilot seat details, including usage. @@ -28440,7 +28497,7 @@ paths: members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos parent: - '500': *148 + '500': *94 '401': *25 '403': *29 '404': *6 @@ -28465,8 +28522,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-organization-membership-for-a-user parameters: - - *94 - - *132 + - *95 + - *133 responses: '200': description: Response @@ -28592,8 +28649,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-organization-membership-for-a-user parameters: - - *94 - - *132 + - *95 + - *133 requestBody: required: false content: @@ -28644,8 +28701,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *94 - - *132 + - *95 + - *133 responses: '204': description: Response @@ -28670,7 +28727,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-organization-migrations parameters: - - *94 + - *95 - *17 - *19 - name: exclude @@ -28944,7 +29001,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#start-an-organization-migration parameters: - - *94 + - *95 requestBody: required: true content: @@ -29198,7 +29255,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - - *94 + - *95 - &207 name: migration_id description: The unique identifier of the migration. @@ -29395,7 +29452,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *94 + - *95 - *207 responses: '302': @@ -29417,7 +29474,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *94 + - *95 - *207 responses: '204': @@ -29441,7 +29498,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - - *94 + - *95 - *207 - &625 name: repo_name @@ -29470,7 +29527,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *94 + - *95 - *207 - *17 - *19 @@ -29481,7 +29538,7 @@ paths: application/json: schema: type: array - items: *119 + items: *120 examples: default: &220 value: @@ -29620,7 +29677,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-all-organization-roles-for-an-organization parameters: - - *94 + - *95 responses: '200': description: Response - list of organization roles @@ -29783,7 +29840,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - - *94 + - *95 - &208 name: team_slug description: The slug of the team name. @@ -29815,7 +29872,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - - *94 + - *95 - *208 - &209 name: role_id @@ -29852,7 +29909,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - - *94 + - *95 - *208 - *209 responses: @@ -29879,8 +29936,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - - *94 - - *132 + - *95 + - *133 responses: '204': description: Response @@ -29905,8 +29962,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - - *94 - - *132 + - *95 + - *133 - *209 responses: '204': @@ -29937,8 +29994,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - - *94 - - *132 + - *95 + - *133 - *209 responses: '204': @@ -29967,7 +30024,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - - *94 + - *95 - *209 responses: '200': @@ -30024,7 +30081,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - - *94 + - *95 - *209 - *17 - *19 @@ -30148,7 +30205,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - - *94 + - *95 - *209 - *17 - *19 @@ -30302,7 +30359,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#list-outside-collaborators-for-an-organization parameters: - - *94 + - *95 - name: filter description: Filter the list of outside collaborators. `2fa_disabled` means that only outside collaborators without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -30354,8 +30411,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - - *94 - - *132 + - *95 + - *133 requestBody: required: false content: @@ -30412,8 +30469,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - - *94 - - *132 + - *95 + - *133 responses: '204': description: Response @@ -30470,7 +30527,7 @@ paths: - docker - nuget - container - - *94 + - *95 - &627 name: visibility description: |- @@ -30559,7 +30616,7 @@ paths: required: true schema: type: string - - *94 + - *95 responses: '200': description: Response @@ -30619,7 +30676,7 @@ paths: parameters: - *216 - *217 - - *94 + - *95 responses: '204': description: Response @@ -30653,7 +30710,7 @@ paths: parameters: - *216 - *217 - - *94 + - *95 - name: token description: package token schema: @@ -30687,7 +30744,7 @@ paths: parameters: - *216 - *217 - - *94 + - *95 - *19 - *17 - name: state @@ -30834,7 +30891,7 @@ paths: parameters: - *216 - *217 - - *94 + - *95 - &219 name: package_version_id description: Unique identifier of the package version. @@ -30885,7 +30942,7 @@ paths: parameters: - *216 - *217 - - *94 + - *95 - *219 responses: '204': @@ -30920,7 +30977,7 @@ paths: parameters: - *216 - *217 - - *94 + - *95 - *219 responses: '204': @@ -30948,7 +31005,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *94 + - *95 - *17 - *19 - &221 @@ -31021,7 +31078,7 @@ paths: type: string example: token_id[]=1,token_id[]=2 responses: - '500': *148 + '500': *94 '422': *15 '404': *6 '403': *29 @@ -31173,7 +31230,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#review-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *94 + - *95 requestBody: required: true content: @@ -31214,11 +31271,11 @@ paths: action: deny reason: Access is too broad. responses: - '500': *148 + '500': *94 '422': *15 '404': *6 '403': *29 - '202': *47 + '202': *39 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31239,7 +31296,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#review-a-request-to-access-organization-resources-with-a-fine-grained-personal-access-token parameters: - - *94 + - *95 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -31275,11 +31332,11 @@ paths: action: deny reason: This request is denied because the access is too broad. responses: - '500': *148 + '500': *94 '422': *15 '404': *6 '403': *29 - '204': *145 + '204': *146 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31300,7 +31357,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-repositories-requested-to-be-accessed-by-a-fine-grained-personal-access-token parameters: - - *94 + - *95 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -31311,7 +31368,7 @@ paths: - *17 - *19 responses: - '500': *148 + '500': *94 '404': *6 '403': *29 '200': @@ -31320,7 +31377,7 @@ paths: application/json: schema: type: array - items: *119 + items: *120 examples: default: *220 headers: @@ -31345,7 +31402,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-fine-grained-personal-access-tokens-with-access-to-organization-resources parameters: - - *94 + - *95 - *17 - *19 - *221 @@ -31357,7 +31414,7 @@ paths: - *226 - *227 responses: - '500': *148 + '500': *94 '422': *15 '404': *6 '403': *29 @@ -31504,7 +31561,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#update-the-access-to-organization-resources-via-fine-grained-personal-access-tokens parameters: - - *94 + - *95 requestBody: required: true content: @@ -31539,9 +31596,9 @@ paths: - 1296269 - 1296280 responses: - '500': *148 + '500': *94 '404': *6 - '202': *47 + '202': *39 '403': *29 '422': *15 x-github: @@ -31564,7 +31621,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#update-the-access-a-fine-grained-personal-access-token-has-to-organization-resources parameters: - - *94 + - *95 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -31592,9 +31649,9 @@ paths: value: action: revoke responses: - '500': *148 + '500': *94 '404': *6 - '204': *145 + '204': *146 '403': *29 '422': *15 x-github: @@ -31616,7 +31673,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-repositories-a-fine-grained-personal-access-token-has-access-to parameters: - - *94 + - *95 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -31626,7 +31683,7 @@ paths: - *17 - *19 responses: - '500': *148 + '500': *94 '404': *6 '403': *29 '200': @@ -31635,7 +31692,7 @@ paths: application/json: schema: type: array - items: *119 + items: *120 examples: default: *220 headers: @@ -31661,7 +31718,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#list-private-registries-for-an-organization parameters: - - *94 + - *95 - *17 - *19 responses: @@ -31753,7 +31810,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization parameters: - - *94 + - *95 requestBody: required: true content: @@ -31924,7 +31981,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization parameters: - - *94 + - *95 responses: '200': description: Response @@ -31972,8 +32029,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - - *94 - - *127 + - *95 + - *128 responses: '200': description: The specified private registry configuration for the organization @@ -32002,8 +32059,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - - *94 - - *127 + - *95 + - *128 requestBody: required: true content: @@ -32080,8 +32137,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - - *94 - - *127 + - *95 + - *128 responses: '204': description: Response @@ -32106,7 +32163,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-organization-projects parameters: - - *94 + - *95 - name: state description: Indicates the state of the projects to return. in: query @@ -32274,7 +32331,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#create-an-organization-project parameters: - - *94 + - *95 requestBody: required: true content: @@ -32365,7 +32422,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-all-custom-properties-for-an-organization parameters: - - *94 + - *95 responses: '200': description: Response @@ -32487,7 +32544,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization parameters: - - *94 + - *95 requestBody: required: true content: @@ -32551,7 +32608,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - - *94 + - *95 - &233 name: custom_property_name description: The custom property name @@ -32600,7 +32657,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - - *94 + - *95 - *233 requestBody: required: true @@ -32695,10 +32752,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - - *94 + - *95 - *233 responses: - '204': *145 + '204': *146 '403': *29 '404': *6 x-github: @@ -32719,7 +32776,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#list-custom-property-values-for-organization-repositories parameters: - - *94 + - *95 - *17 - *19 - name: repository_query @@ -32824,7 +32881,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-property-values-for-organization-repositories parameters: - - *94 + - *95 requestBody: required: true content: @@ -32885,7 +32942,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-public-organization-members parameters: - - *94 + - *95 - *17 - *19 responses: @@ -32916,8 +32973,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-public-organization-membership-for-a-user parameters: - - *94 - - *132 + - *95 + - *133 responses: '204': description: Response if user is a public member @@ -32941,8 +32998,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - - *94 - - *132 + - *95 + - *133 responses: '204': description: Response @@ -32963,8 +33020,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - - *94 - - *132 + - *95 + - *133 responses: '204': description: Response @@ -32988,7 +33045,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-organization-repositories parameters: - - *94 + - *95 - name: type description: Specifies the types of repositories you want returned. in: query @@ -33034,7 +33091,7 @@ paths: application/json: schema: type: array - items: *119 + items: *120 examples: default: *220 headers: @@ -33057,7 +33114,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-organization-repository parameters: - - *94 + - *95 requestBody: required: true content: @@ -34254,7 +34311,7 @@ paths: category: orgs subcategory: rules parameters: - - *94 + - *95 - *17 - *19 - &562 @@ -35255,7 +35312,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *148 + '500': *94 post: summary: Create an organization repository ruleset description: Create a repository ruleset for an organization. @@ -35271,7 +35328,7 @@ paths: category: orgs subcategory: rules parameters: - - *94 + - *95 requestBody: description: Request body required: true @@ -35381,7 +35438,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *148 + '500': *94 "/orgs/{org}/rulesets/rule-suites": get: summary: List organization rule suites @@ -35395,7 +35452,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *94 + - *95 - &563 name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally @@ -35533,7 +35590,7 @@ paths: result: pass evaluation_result: fail '404': *6 - '500': *148 + '500': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35552,7 +35609,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *94 + - *95 - &569 name: rule_suite_id description: |- @@ -35703,7 +35760,7 @@ paths: result: fail rule_type: commit_message_pattern '404': *6 - '500': *148 + '500': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35729,7 +35786,7 @@ paths: category: orgs subcategory: rules parameters: - - *94 + - *95 - name: ruleset_id description: The ID of the ruleset. in: path @@ -35745,7 +35802,7 @@ paths: examples: default: *246 '404': *6 - '500': *148 + '500': *94 put: summary: Update an organization repository ruleset description: Update a ruleset for an organization. @@ -35761,7 +35818,7 @@ paths: category: orgs subcategory: rules parameters: - - *94 + - *95 - name: ruleset_id description: The ID of the ruleset. in: path @@ -35835,7 +35892,7 @@ paths: examples: default: *246 '404': *6 - '500': *148 + '500': *94 delete: summary: Delete an organization repository ruleset description: Delete a ruleset for an organization. @@ -35851,7 +35908,7 @@ paths: category: orgs subcategory: rules parameters: - - *94 + - *95 - name: ruleset_id description: The ID of the ruleset. in: path @@ -35862,7 +35919,7 @@ paths: '204': description: Response '404': *6 - '500': *148 + '500': *94 "/orgs/{org}/rulesets/{ruleset_id}/history": get: summary: Get organization ruleset history @@ -35874,7 +35931,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-history parameters: - - *94 + - *95 - *17 - *19 - name: ruleset_id @@ -35932,7 +35989,7 @@ paths: type: User updated_at: '2024-08-23T16:29:47Z' '404': *6 - '500': *148 + '500': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35949,7 +36006,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-version parameters: - - *94 + - *95 - name: ruleset_id description: The ID of the ruleset. in: path @@ -36016,7 +36073,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *148 + '500': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36038,7 +36095,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - - *94 + - *95 - *248 - *249 - *250 @@ -36104,7 +36161,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories-for-an-organization parameters: - - *94 + - *95 - *48 - name: sort description: The property to sort the results by. @@ -36117,8 +36174,8 @@ paths: - updated - published default: created - - *39 - *40 + - *41 - 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/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -36818,7 +36875,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#list-security-manager-teams parameters: - - *94 + - *95 responses: '200': description: Response @@ -36851,7 +36908,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#add-a-security-manager-team parameters: - - *94 + - *95 - *208 responses: '204': @@ -36877,7 +36934,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *94 + - *95 - *208 responses: '204': @@ -36907,7 +36964,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-actions-billing-for-an-organization parameters: - - *94 + - *95 responses: '200': description: Response @@ -37013,7 +37070,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-packages-billing-for-an-organization parameters: - - *94 + - *95 responses: '200': description: Response @@ -37063,7 +37120,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-shared-storage-billing-for-an-organization parameters: - - *94 + - *95 responses: '200': description: Response @@ -37111,7 +37168,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#list-hosted-compute-network-configurations-for-an-organization parameters: - - *94 + - *95 - *17 - *19 responses: @@ -37207,7 +37264,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#create-a-hosted-compute-network-configuration-for-an-organization parameters: - - *94 + - *95 requestBody: required: true content: @@ -37279,7 +37336,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - - *94 + - *95 - &261 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. @@ -37315,7 +37372,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - - *94 + - *95 - *261 requestBody: required: true @@ -37376,7 +37433,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - - *94 + - *95 - *261 responses: '204': @@ -37400,7 +37457,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - - *94 + - *95 - name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -37484,7 +37541,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - - *94 + - *95 - *208 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO @@ -37520,7 +37577,7 @@ paths: items: *262 examples: default: *263 - '500': *148 + '500': *94 '403': *29 '404': *6 '422': *264 @@ -37541,7 +37598,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-teams parameters: - - *94 + - *95 - *17 - *19 responses: @@ -37575,7 +37632,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#create-a-team parameters: - - *94 + - *95 requestBody: required: true content: @@ -38027,7 +38084,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-by-name parameters: - - *94 + - *95 - *208 responses: '200': @@ -38057,7 +38114,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team parameters: - - *94 + - *95 - *208 requestBody: required: false @@ -38154,7 +38211,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team parameters: - - *94 + - *95 - *208 responses: '204': @@ -38181,7 +38238,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions parameters: - - *94 + - *95 - *208 - *48 - *17 @@ -38372,7 +38429,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion parameters: - - *94 + - *95 - *208 requestBody: required: true @@ -38481,7 +38538,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion parameters: - - *94 + - *95 - *208 - &269 name: discussion_number @@ -38519,7 +38576,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion parameters: - - *94 + - *95 - *208 - *269 requestBody: @@ -38616,7 +38673,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion parameters: - - *94 + - *95 - *208 - *269 responses: @@ -38644,7 +38701,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments parameters: - - *94 + - *95 - *208 - *269 - *48 @@ -38797,7 +38854,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment parameters: - - *94 + - *95 - *208 - *269 requestBody: @@ -38889,7 +38946,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment parameters: - - *94 + - *95 - *208 - *269 - &272 @@ -38928,7 +38985,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment parameters: - - *94 + - *95 - *208 - *269 - *272 @@ -39019,7 +39076,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment parameters: - - *94 + - *95 - *208 - *269 - *272 @@ -39048,7 +39105,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - - *94 + - *95 - *208 - *269 - *272 @@ -39170,7 +39227,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - - *94 + - *95 - *208 - *269 - *272 @@ -39262,7 +39319,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - - *94 + - *95 - *208 - *269 - *272 @@ -39298,7 +39355,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - - *94 + - *95 - *208 - *269 - name: content @@ -39354,7 +39411,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - - *94 + - *95 - *208 - *269 requestBody: @@ -39420,7 +39477,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-reaction parameters: - - *94 + - *95 - *208 - *269 - *276 @@ -39447,7 +39504,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations parameters: - - *94 + - *95 - *208 - *17 - *19 @@ -39482,7 +39539,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members parameters: - - *94 + - *95 - *208 - name: role description: Filters members returned by their role in the team. @@ -39536,9 +39593,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user parameters: - - *94 + - *95 - *208 - - *132 + - *133 responses: '200': description: Response @@ -39607,9 +39664,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - - *94 + - *95 - *208 - - *132 + - *133 requestBody: required: false content: @@ -39671,9 +39728,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user parameters: - - *94 + - *95 - *208 - - *132 + - *133 responses: '204': description: Response @@ -39698,7 +39755,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects parameters: - - *94 + - *95 - *208 - *17 - *19 @@ -39840,7 +39897,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project parameters: - - *94 + - *95 - *208 - &279 name: project_id @@ -39918,7 +39975,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions parameters: - - *94 + - *95 - *208 - *279 requestBody: @@ -39986,7 +40043,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team parameters: - - *94 + - *95 - *208 - *279 responses: @@ -40015,7 +40072,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories parameters: - - *94 + - *95 - *208 - *17 - *19 @@ -40026,7 +40083,7 @@ paths: application/json: schema: type: array - items: *119 + items: *120 examples: default: *220 headers: @@ -40057,7 +40114,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *94 + - *95 - *208 - *280 - *281 @@ -40635,7 +40692,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *94 + - *95 - *208 - *280 - *281 @@ -40683,7 +40740,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team parameters: - - *94 + - *95 - *208 - *280 - *281 @@ -40710,7 +40767,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams parameters: - - *94 + - *95 - *208 - *17 - *19 @@ -40776,7 +40833,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#enable-or-disable-a-security-feature-for-an-organization parameters: - - *94 + - *95 - name: security_product in: path description: The security feature to enable or disable. @@ -41501,8 +41558,8 @@ paths: application/json: schema: oneOf: - - *97 - *98 + - *99 '503': description: Response content: @@ -41867,7 +41924,7 @@ paths: url: https://docs.github.com/rest/projects/collaborators#add-project-collaborator parameters: - *279 - - *132 + - *133 requestBody: required: false content: @@ -41920,7 +41977,7 @@ paths: url: https://docs.github.com/rest/projects/collaborators#remove-user-as-a-collaborator parameters: - *279 - - *132 + - *133 responses: '204': description: Response @@ -41952,7 +42009,7 @@ paths: url: https://docs.github.com/rest/projects/collaborators#get-project-permission-for-a-user parameters: - *279 - - *132 + - *133 responses: '200': description: Response @@ -44013,7 +44070,7 @@ paths: description: Response content: application/json: - schema: *128 + schema: *129 examples: default: value: @@ -44123,7 +44180,7 @@ paths: description: Empty response content: application/json: - schema: *128 + schema: *129 examples: default: value: @@ -44319,7 +44376,7 @@ paths: enabled: &304 type: boolean description: Whether GitHub Actions is enabled on the repository. - allowed_actions: *108 + allowed_actions: *109 selected_actions_url: *303 required: - enabled @@ -44360,7 +44417,7 @@ paths: type: object properties: enabled: *304 - allowed_actions: *108 + allowed_actions: *109 required: - enabled examples: @@ -44476,9 +44533,9 @@ paths: description: Response content: application/json: - schema: *110 + schema: *111 examples: - default: *111 + default: *112 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -44506,9 +44563,9 @@ paths: required: false content: application/json: - schema: *110 + schema: *111 examples: - selected_actions: *111 + selected_actions: *112 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -44539,7 +44596,7 @@ paths: application/json: schema: *307 examples: - default: *114 + default: *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44574,7 +44631,7 @@ paths: application/json: schema: *308 examples: - default: *114 + default: *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44620,9 +44677,9 @@ paths: type: integer runners: type: array - items: *121 + items: *122 examples: - default: *122 + default: *123 headers: Link: *58 x-github: @@ -44726,7 +44783,7 @@ paths: '201': *311 '404': *6 '422': *7 - '409': *46 + '409': *47 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44761,7 +44818,7 @@ paths: description: Response content: application/json: - schema: *123 + schema: *124 examples: default: *312 x-github: @@ -44798,7 +44855,7 @@ paths: description: Response content: application/json: - schema: *123 + schema: *124 examples: default: *313 x-github: @@ -44824,13 +44881,13 @@ paths: parameters: - *280 - *281 - - *120 + - *121 responses: '200': description: Response content: application/json: - schema: *121 + schema: *122 examples: default: *314 x-github: @@ -44855,7 +44912,7 @@ paths: parameters: - *280 - *281 - - *120 + - *121 responses: '204': description: Response @@ -44882,9 +44939,9 @@ paths: parameters: - *280 - *281 - - *120 + - *121 responses: - '200': *125 + '200': *126 '404': *6 x-github: githubCloudOnly: false @@ -44908,7 +44965,7 @@ paths: parameters: - *280 - *281 - - *120 + - *121 requestBody: required: true content: @@ -44932,7 +44989,7 @@ paths: - gpu - accelerated responses: - '200': *125 + '200': *126 '404': *6 '422': *7 x-github: @@ -44958,7 +45015,7 @@ paths: parameters: - *280 - *281 - - *120 + - *121 requestBody: required: true content: @@ -44983,7 +45040,7 @@ paths: - gpu - accelerated responses: - '200': *125 + '200': *126 '404': *6 '422': *7 x-github: @@ -45009,7 +45066,7 @@ paths: parameters: - *280 - *281 - - *120 + - *121 responses: '200': *315 '404': *6 @@ -45040,10 +45097,10 @@ paths: parameters: - *280 - *281 - - *120 + - *121 - *316 responses: - '200': *125 + '200': *126 '404': *6 '422': *7 x-github: @@ -45443,8 +45500,8 @@ paths: - author - committer nullable: true - repository: *119 - head_repository: *119 + repository: *120 + head_repository: *120 head_repository_id: type: integer example: 5 @@ -46130,7 +46187,7 @@ paths: description: Response content: application/json: - schema: *128 + schema: *129 examples: default: value: @@ -46420,11 +46477,11 @@ paths: description: Response content: application/json: - schema: *128 + schema: *129 examples: default: value: - '409': *46 + '409': *47 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46524,11 +46581,11 @@ paths: description: Response content: application/json: - schema: *128 + schema: *129 examples: default: value: - '409': *46 + '409': *47 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46646,7 +46703,7 @@ paths: '204': description: Response '403': *29 - '500': *148 + '500': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47049,7 +47106,7 @@ paths: description: Response content: application/json: - schema: *128 + schema: *129 examples: default: value: @@ -47095,7 +47152,7 @@ paths: description: Response content: application/json: - schema: *128 + schema: *129 examples: default: value: @@ -47345,7 +47402,7 @@ paths: parameters: - *280 - *281 - - *127 + - *128 responses: '200': description: Response @@ -47381,7 +47438,7 @@ paths: parameters: - *280 - *281 - - *127 + - *128 requestBody: required: true content: @@ -47412,7 +47469,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *128 + schema: *129 examples: default: value: @@ -47440,7 +47497,7 @@ paths: parameters: - *280 - *281 - - *127 + - *128 responses: '204': description: Response @@ -47537,7 +47594,7 @@ paths: description: Response content: application/json: - schema: *128 + schema: *129 examples: default: value: @@ -47564,7 +47621,7 @@ paths: parameters: - *280 - *281 - - *130 + - *131 responses: '200': description: Response @@ -47600,7 +47657,7 @@ paths: parameters: - *280 - *281 - - *130 + - *131 requestBody: required: true content: @@ -47644,7 +47701,7 @@ paths: parameters: - *280 - *281 - - *130 + - *131 responses: '204': description: Response @@ -48083,8 +48140,8 @@ paths: - *281 - *48 - *17 - - *39 - *40 + - *41 - name: ref description: |- The Git reference for the activities you want to list. @@ -48435,8 +48492,8 @@ paths: - *280 - *281 - *17 - - *39 - *40 + - *41 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -49399,12 +49456,12 @@ paths: nullable: true oneOf: - *4 - - *128 + - *129 committer: nullable: true oneOf: - *4 - - *128 + - *129 parents: type: array items: @@ -53315,7 +53372,7 @@ paths: description: Response content: application/json: - schema: *128 + schema: *129 examples: default: value: @@ -53453,7 +53510,7 @@ paths: nullable: true properties: *61 required: *62 - repository: *119 + repository: *120 created_at: type: string format: date-time @@ -53869,7 +53926,7 @@ paths: required: - app_id - setting - repository: *119 + repository: *120 examples: default: value: @@ -54317,7 +54374,7 @@ paths: description: Response content: application/json: - schema: *128 + schema: *129 examples: default: value: @@ -54366,8 +54423,8 @@ paths: schema: type: integer - *48 - - *39 - *40 + - *41 - name: sort description: The property by which to sort the results. in: query @@ -54402,12 +54459,12 @@ paths: properties: number: *54 created_at: *55 - updated_at: *136 + updated_at: *137 url: *56 html_url: *57 instances_url: *373 - state: *141 - fixed_at: *137 + state: *142 + fixed_at: *138 dismissed_by: title: Simple User description: A GitHub user. @@ -54415,7 +54472,7 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *138 + dismissed_at: *139 dismissed_reason: *374 dismissed_comment: *375 rule: *376 @@ -54591,12 +54648,12 @@ paths: properties: number: *54 created_at: *55 - updated_at: *136 + updated_at: *137 url: *56 html_url: *57 instances_url: *373 - state: *141 - fixed_at: *137 + state: *142 + fixed_at: *138 dismissed_by: title: Simple User description: A GitHub user. @@ -54604,7 +54661,7 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *138 + dismissed_at: *139 dismissed_reason: *374 dismissed_comment: *375 rule: @@ -56668,7 +56725,7 @@ paths: description: Response content: application/json: - schema: *128 + schema: *129 examples: default: value: @@ -56959,7 +57016,7 @@ paths: - failed - updating - removed_by_enterprise - configuration: *42 + configuration: *43 examples: default: value: @@ -56991,7 +57048,7 @@ paths: html_url: https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1325 created_at: '2024-05-01T00:00:00Z' updated_at: '2024-05-01T00:00:00Z' - '204': *145 + '204': *146 '304': *37 '403': *29 '404': *6 @@ -57430,7 +57487,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': *148 + '500': *94 '401': *25 '403': *29 '404': *6 @@ -57596,7 +57653,7 @@ paths: - path: ".devcontainer.json" display_name: Default project configuration total_count: 3 - '500': *148 + '500': *94 '400': *14 '401': *25 '403': *29 @@ -57680,7 +57737,7 @@ paths: memory_in_bytes: 34359738368 cpus: 8 '304': *37 - '500': *148 + '500': *94 '401': *25 '403': *29 '404': *6 @@ -57948,7 +58005,7 @@ paths: parameters: - *280 - *281 - - *127 + - *128 responses: '200': description: Response @@ -57978,7 +58035,7 @@ paths: parameters: - *280 - *281 - - *127 + - *128 requestBody: required: true content: @@ -58006,7 +58063,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *128 + schema: *129 examples: default: value: @@ -58032,7 +58089,7 @@ paths: parameters: - *280 - *281 - - *127 + - *128 responses: '204': description: Response @@ -58272,7 +58329,7 @@ paths: parameters: - *280 - *281 - - *132 + - *133 responses: '204': description: Response if user is a collaborator @@ -58316,7 +58373,7 @@ paths: parameters: - *280 - *281 - - *132 + - *133 requestBody: required: false content: @@ -58353,7 +58410,7 @@ paths: example: 42 type: integer format: int64 - repository: *119 + repository: *120 invitee: title: Simple User description: A GitHub user. @@ -58566,7 +58623,7 @@ paths: parameters: - *280 - *281 - - *132 + - *133 responses: '204': description: No Content when collaborator was removed from the repository. @@ -58597,7 +58654,7 @@ paths: parameters: - *280 - *281 - - *132 + - *133 responses: '200': description: if user has admin permissions @@ -59264,10 +59321,10 @@ paths: sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e headers: Link: *58 - '500': *148 + '500': *94 '400': *14 '404': *6 - '409': *46 + '409': *47 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59336,7 +59393,7 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc protected: false '422': *15 - '409': *46 + '409': *47 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60254,7 +60311,7 @@ paths: draft: false headers: Link: *58 - '409': *46 + '409': *47 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60418,9 +60475,9 @@ paths: ..... '422': *15 '404': *6 - '500': *148 + '500': *94 '503': *65 - '409': *46 + '409': *47 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60807,7 +60864,7 @@ paths: type: string total_count: type: integer - repository: *119 + repository: *120 commit_url: type: string format: uri @@ -61573,7 +61630,7 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" '404': *6 - '500': *148 + '500': *94 '503': *65 x-github: githubCloudOnly: false @@ -62634,7 +62691,7 @@ paths: verified_at: '422': *15 '404': *6 - '409': *46 + '409': *47 '503': *65 x-github: githubCloudOnly: false @@ -62812,8 +62869,8 @@ paths: schema: type: integer default: 30 - - *39 - *40 + - *41 - *161 - *162 responses: @@ -62874,8 +62931,8 @@ paths: url: *56 html_url: *57 created_at: *55 - updated_at: *136 - dismissed_at: *138 + updated_at: *137 + dismissed_at: *139 dismissed_by: title: Simple User description: A GitHub user. @@ -62899,7 +62956,7 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *137 + fixed_at: *138 auto_dismissed_at: *431 required: - number @@ -63413,7 +63470,7 @@ paths: '400': *14 '403': *29 '404': *6 - '409': *46 + '409': *47 '422': *7 x-github: githubCloudOnly: false @@ -63539,7 +63596,7 @@ paths: parameters: - *280 - *281 - - *127 + - *128 responses: '200': description: Response @@ -63573,7 +63630,7 @@ paths: parameters: - *280 - *281 - - *127 + - *128 requestBody: required: true content: @@ -63601,7 +63658,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *128 + schema: *129 examples: default: value: @@ -63627,7 +63684,7 @@ paths: parameters: - *280 - *281 - - *127 + - *128 responses: '204': description: Response @@ -66215,7 +66272,7 @@ paths: - *280 - *281 - *445 - - *127 + - *128 responses: '200': description: Response @@ -66248,7 +66305,7 @@ paths: - *280 - *281 - *445 - - *127 + - *128 requestBody: required: true content: @@ -66279,7 +66336,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *128 + schema: *129 examples: default: value: @@ -66308,7 +66365,7 @@ paths: - *280 - *281 - *445 - - *127 + - *128 responses: '204': description: Default response @@ -66407,7 +66464,7 @@ paths: description: Response content: application/json: - schema: *128 + schema: *129 examples: default: value: @@ -66435,7 +66492,7 @@ paths: - *280 - *281 - *445 - - *130 + - *131 responses: '200': description: Response @@ -66466,7 +66523,7 @@ paths: parameters: - *280 - *281 - - *130 + - *131 - *445 requestBody: required: true @@ -66511,7 +66568,7 @@ paths: parameters: - *280 - *281 - - *130 + - *131 - *445 responses: '204': @@ -66635,7 +66692,7 @@ paths: application/json: schema: type: array - items: *119 + items: *120 examples: default: value: @@ -66880,7 +66937,7 @@ paths: schema: type: string '404': *6 - '409': *46 + '409': *47 '403': *29 '422': description: Validation failed @@ -66888,7 +66945,7 @@ paths: application/json: schema: oneOf: - - *97 + - *98 - *458 x-github: githubCloudOnly: false @@ -66966,7 +67023,7 @@ paths: '404': *6 '422': *15 '403': *29 - '409': *46 + '409': *47 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67288,7 +67345,7 @@ paths: type: string '422': *15 '404': *6 - '409': *46 + '409': *47 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67377,7 +67434,7 @@ paths: payload: verified_at: '404': *6 - '409': *46 + '409': *47 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67475,7 +67532,7 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/git/commits/612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac headers: Link: *58 - '409': *46 + '409': *47 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67516,7 +67573,7 @@ paths: sha: aa218f56b14c9653891f9e74264a383fa43fefbd url: https://api.github.com/repos/octocat/Hello-World/git/commits/aa218f56b14c9653891f9e74264a383fa43fefbd '404': *6 - '409': *46 + '409': *47 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67574,7 +67631,7 @@ paths: schema: type: string '422': *15 - '409': *46 + '409': *47 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67628,7 +67685,7 @@ paths: examples: default: *462 '422': *15 - '409': *46 + '409': *47 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67653,7 +67710,7 @@ paths: '422': description: Validation failed, an attempt was made to delete the default branch, or the endpoint has been spammed. - '409': *46 + '409': *47 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67857,7 +67914,7 @@ paths: schema: type: string '422': *15 - '409': *46 + '409': *47 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67919,7 +67976,7 @@ paths: examples: default: *465 '404': *6 - '409': *46 + '409': *47 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68088,7 +68145,7 @@ paths: '422': *15 '404': *6 '403': *29 - '409': *46 + '409': *47 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68176,7 +68233,7 @@ paths: truncated: false '422': *15 '404': *6 - '409': *46 + '409': *47 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68705,7 +68762,7 @@ paths: - *170 - *16 responses: - '202': *47 + '202': *39 '400': *14 '422': *15 x-github: @@ -75797,7 +75854,7 @@ paths: examples: default: *514 '422': *15 - '409': *46 + '409': *47 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75897,7 +75954,7 @@ paths: description: Response '422': *15 '400': *14 - '409': *46 + '409': *47 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75925,7 +75982,7 @@ paths: description: Response '422': *15 '404': *6 - '409': *46 + '409': *47 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76357,7 +76414,7 @@ paths: - *281 - *517 responses: - '204': *145 + '204': *146 '404': *6 x-github: githubCloudOnly: false @@ -76614,7 +76671,7 @@ paths: description: Empty response content: application/json: - schema: *128 + schema: *129 examples: default: value: @@ -76682,7 +76739,7 @@ paths: - *280 - *281 responses: - '204': *145 + '204': *146 '422': *14 x-github: githubCloudOnly: false @@ -76704,7 +76761,7 @@ paths: - *280 - *281 responses: - '204': *145 + '204': *146 '422': *14 x-github: githubCloudOnly: false @@ -78409,7 +78466,7 @@ paths: content: application/json: schema: *3 - '500': *148 + '500': *94 '503': *65 x-github: githubCloudOnly: false @@ -79044,7 +79101,7 @@ paths: headers: Link: *58 '422': *15 - '500': *148 + '500': *94 '503': *65 x-github: githubCloudOnly: false @@ -82842,7 +82899,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *148 + '500': *94 post: summary: Create a repository ruleset description: Create a ruleset for a repository. @@ -82954,7 +83011,7 @@ paths: created_at: '2023-07-15T08:43:03Z' updated_at: '2023-08-23T16:29:47Z' '404': *6 - '500': *148 + '500': *94 "/repos/{owner}/{repo}/rulesets/rule-suites": get: summary: List repository rule suites @@ -82985,7 +83042,7 @@ paths: examples: default: *568 '404': *6 - '500': *148 + '500': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83016,7 +83073,7 @@ paths: examples: default: *571 '404': *6 - '500': *148 + '500': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83067,7 +83124,7 @@ paths: examples: default: *572 '404': *6 - '500': *148 + '500': *94 put: summary: Update a repository ruleset description: Update a ruleset for a repository. @@ -83150,7 +83207,7 @@ paths: examples: default: *572 '404': *6 - '500': *148 + '500': *94 delete: summary: Delete a repository ruleset description: Delete a ruleset for a repository. @@ -83178,7 +83235,7 @@ paths: '204': description: Response '404': *6 - '500': *148 + '500': *94 "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history": get: summary: Get repository ruleset history @@ -83211,7 +83268,7 @@ paths: examples: default: *573 '404': *6 - '500': *148 + '500': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83280,7 +83337,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *148 + '500': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84307,8 +84364,8 @@ paths: - updated - published default: created - - *39 - *40 + - *41 - 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/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -85216,7 +85273,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *97 + schema: *98 examples: invalid_state_transition: value: @@ -85251,7 +85308,7 @@ paths: - *281 - *585 responses: - '202': *47 + '202': *39 '400': *14 '403': *29 '404': *6 @@ -85434,8 +85491,8 @@ paths: - - 1302998400 - 1124 - -435 - '202': *47 - '204': *145 + '202': *39 + '204': *146 '422': description: Repository contains more than 10,000 commits x-github: @@ -85504,8 +85561,8 @@ paths: - 0 total: 89 week: 1336280400 - '202': *47 - '204': *145 + '202': *39 + '204': *146 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85606,8 +85663,8 @@ paths: a: 6898 d: 77 c: 10 - '202': *47 - '204': *145 + '202': *39 + '204': *146 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85808,7 +85865,7 @@ paths: - - 0 - 2 - 21 - '204': *145 + '204': *146 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86928,7 +86985,7 @@ paths: description: Response content: application/json: - schema: *119 + schema: *120 examples: default: value: @@ -87376,7 +87433,7 @@ paths: application/json: schema: type: array - items: *119 + items: *120 examples: default: value: @@ -87565,7 +87622,7 @@ paths: html_url: type: string format: uri - repository: *119 + repository: *120 score: type: number file_size: @@ -87868,7 +87925,7 @@ paths: type: string sha: type: string - repository: *119 + repository: *120 score: type: number node_id: @@ -90399,7 +90456,7 @@ paths: url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - *597 - - *132 + - *133 responses: '204': description: if user is a member @@ -90436,7 +90493,7 @@ paths: url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - *597 - - *132 + - *133 responses: '204': description: Response @@ -90476,7 +90533,7 @@ paths: url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - *597 - - *132 + - *133 responses: '204': description: Response @@ -90513,7 +90570,7 @@ paths: url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - *597 - - *132 + - *133 responses: '200': description: Response @@ -90555,7 +90612,7 @@ paths: url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - *597 - - *132 + - *133 requestBody: required: false content: @@ -90617,7 +90674,7 @@ paths: url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - *597 - - *132 + - *133 responses: '204': description: Response @@ -90822,7 +90879,7 @@ paths: application/json: schema: type: array - items: *119 + items: *120 examples: default: *220 headers: @@ -91595,7 +91652,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#check-if-a-user-is-blocked-by-the-authenticated-user parameters: - - *132 + - *133 responses: '204': description: If the user is blocked @@ -91623,7 +91680,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#block-a-user parameters: - - *132 + - *133 responses: '204': description: Response @@ -91647,7 +91704,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#unblock-a-user parameters: - - *132 + - *133 responses: '204': description: Response @@ -91700,7 +91757,7 @@ paths: examples: default: *200 '304': *37 - '500': *148 + '500': *94 '401': *25 '403': *29 '404': *6 @@ -92001,7 +92058,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *127 + - *128 responses: '200': description: Response @@ -92037,7 +92094,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *127 + - *128 requestBody: required: true content: @@ -92082,7 +92139,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *128 + schema: *129 examples: default: value: @@ -92110,7 +92167,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *127 + - *128 responses: '204': description: Response @@ -92135,7 +92192,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *127 + - *128 responses: '200': description: Response @@ -92151,13 +92208,13 @@ paths: type: integer repositories: type: array - items: *119 + items: *120 examples: default: *611 '401': *25 '403': *29 '404': *6 - '500': *148 + '500': *94 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -92178,7 +92235,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *127 + - *128 requestBody: required: true content: @@ -92210,7 +92267,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *148 + '500': *94 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -92232,7 +92289,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *127 + - *128 - name: repository_id in: path required: true @@ -92244,7 +92301,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *148 + '500': *94 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -92265,7 +92322,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *127 + - *128 - name: repository_id in: path required: true @@ -92277,7 +92334,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *148 + '500': *94 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -92307,7 +92364,7 @@ paths: examples: default: *400 '304': *37 - '500': *148 + '500': *94 '401': *25 '403': *29 '404': *6 @@ -92387,9 +92444,9 @@ paths: parameters: - *201 responses: - '202': *47 + '202': *39 '304': *37 - '500': *148 + '500': *94 '401': *25 '403': *29 '404': *6 @@ -92469,7 +92526,7 @@ paths: sha: fd95a81ca01e48ede9f39c799ecbcef817b8a3b2 id: latest export_url: https://api.github.com/user/codespaces/:name/exports/latest - '500': *148 + '500': *94 '401': *25 '403': *29 '404': *6 @@ -92549,7 +92606,7 @@ paths: examples: default: *615 '304': *37 - '500': *148 + '500': *94 '401': *25 '403': *29 '404': *6 @@ -93416,7 +93473,7 @@ paths: examples: default: *400 '304': *37 - '500': *148 + '500': *94 '400': *14 '401': *25 '402': @@ -93426,7 +93483,7 @@ paths: schema: *3 '403': *29 '404': *6 - '409': *46 + '409': *47 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -93455,7 +93512,7 @@ paths: schema: *199 examples: default: *400 - '500': *148 + '500': *94 '401': *25 '403': *29 '404': *6 @@ -93894,7 +93951,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#check-if-a-person-is-followed-by-the-authenticated-user parameters: - - *132 + - *133 responses: '204': description: if the person is followed by the authenticated user @@ -93924,7 +93981,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#follow-a-user parameters: - - *132 + - *133 responses: '204': description: Response @@ -93949,7 +94006,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#unfollow-a-user parameters: - - *132 + - *133 responses: '204': description: Response @@ -94513,7 +94570,7 @@ paths: url: https://docs.github.com/rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *23 - - *109 + - *110 responses: '204': description: Response @@ -94539,7 +94596,7 @@ paths: url: https://docs.github.com/rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *23 - - *109 + - *110 responses: '204': description: Response @@ -95222,7 +95279,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-an-organization-membership-for-the-authenticated-user parameters: - - *94 + - *95 responses: '200': description: Response @@ -95286,7 +95343,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#update-an-organization-membership-for-the-authenticated-user parameters: - - *94 + - *95 requestBody: required: true content: @@ -96109,7 +96166,7 @@ paths: application/json: schema: type: array - items: *119 + items: *120 examples: default: *220 headers: @@ -97174,7 +97231,7 @@ paths: '204': description: Response '403': *29 - '409': *46 + '409': *47 '404': *6 '304': *37 x-github: @@ -97196,7 +97253,7 @@ paths: responses: '204': description: Response - '409': *46 + '409': *47 '304': *37 '404': *6 '403': *29 @@ -97849,7 +97906,7 @@ paths: application/json: schema: type: array - items: *119 + items: *120 examples: default: *220 headers: @@ -98113,7 +98170,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user parameters: - - *132 + - *133 responses: '200': description: Response @@ -98149,9 +98206,9 @@ paths: url: https://docs.github.com/rest/users/attestations#list-attestations parameters: - *17 - - *39 - *40 - - *132 + - *41 + - *133 - name: subject_digest description: Subject Digest in: path @@ -98206,7 +98263,7 @@ paths: description: Response content: application/json: - schema: *128 + schema: *129 examples: default: value: @@ -98232,7 +98289,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-user parameters: - - *132 + - *133 responses: '200': description: Response @@ -98265,7 +98322,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-for-the-authenticated-user parameters: - - *132 + - *133 - *17 - *19 responses: @@ -98346,8 +98403,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-organization-events-for-the-authenticated-user parameters: - - *132 - - *94 + - *133 + - *95 - *17 - *19 responses: @@ -98436,7 +98493,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-user parameters: - - *132 + - *133 - *17 - *19 responses: @@ -98513,7 +98570,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-followers-of-a-user parameters: - - *132 + - *133 - *17 - *19 responses: @@ -98544,7 +98601,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-the-people-a-user-follows parameters: - - *132 + - *133 - *17 - *19 responses: @@ -98575,7 +98632,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#check-if-a-user-follows-another-user parameters: - - *132 + - *133 - name: target_user in: path required: true @@ -98602,7 +98659,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-a-user parameters: - - *132 + - *133 - *67 - *17 - *19 @@ -98636,7 +98693,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#list-gpg-keys-for-a-user parameters: - - *132 + - *133 - *17 - *19 responses: @@ -98672,7 +98729,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-contextual-information-for-a-user parameters: - - *132 + - *133 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -98744,7 +98801,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-user-installation-for-the-authenticated-app parameters: - - *132 + - *133 responses: '200': description: Response @@ -98770,7 +98827,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#list-public-keys-for-a-user parameters: - - *132 + - *133 - *17 - *19 responses: @@ -98818,7 +98875,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-organizations-for-a-user parameters: - - *132 + - *133 - *17 - *19 responses: @@ -98870,7 +98927,7 @@ paths: - nuget - container - *627 - - *132 + - *133 - *19 - *17 responses: @@ -98907,7 +98964,7 @@ paths: parameters: - *216 - *217 - - *132 + - *133 responses: '200': description: Response @@ -98938,7 +98995,7 @@ paths: parameters: - *216 - *217 - - *132 + - *133 responses: '204': description: Response @@ -98972,7 +99029,7 @@ paths: parameters: - *216 - *217 - - *132 + - *133 - name: token description: package token schema: @@ -99006,7 +99063,7 @@ paths: parameters: - *216 - *217 - - *132 + - *133 responses: '200': description: Response @@ -99075,7 +99132,7 @@ paths: - *216 - *217 - *219 - - *132 + - *133 responses: '200': description: Response @@ -99118,7 +99175,7 @@ paths: parameters: - *216 - *217 - - *132 + - *133 - *219 responses: '204': @@ -99153,7 +99210,7 @@ paths: parameters: - *216 - *217 - - *132 + - *133 - *219 responses: '204': @@ -99180,7 +99237,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-user-projects parameters: - - *132 + - *133 - name: state description: Indicates the state of the projects to return. in: query @@ -99263,7 +99320,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-received-by-the-authenticated-user parameters: - - *132 + - *133 - *17 - *19 responses: @@ -99352,7 +99409,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-received-by-a-user parameters: - - *132 + - *133 - *17 - *19 responses: @@ -99439,7 +99496,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repositories-for-a-user parameters: - - *132 + - *133 - name: type description: Limit results to repositories of the specified type. in: query @@ -99482,7 +99539,7 @@ paths: application/json: schema: type: array - items: *119 + items: *120 examples: default: *220 headers: @@ -99508,7 +99565,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-actions-billing-for-a-user parameters: - - *132 + - *133 responses: '200': description: Response @@ -99538,7 +99595,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-packages-billing-for-a-user parameters: - - *132 + - *133 responses: '200': description: Response @@ -99568,7 +99625,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-shared-storage-billing-for-a-user parameters: - - *132 + - *133 responses: '200': description: Response @@ -99594,7 +99651,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/social-accounts#list-social-accounts-for-a-user parameters: - - *132 + - *133 - *17 - *19 responses: @@ -99626,7 +99683,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#list-ssh-signing-keys-for-a-user parameters: - - *132 + - *133 - *17 - *19 responses: @@ -99662,7 +99719,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *132 + - *133 - *650 - *48 - *17 @@ -99698,7 +99755,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *132 + - *133 - *17 - *19 responses: @@ -99708,7 +99765,7 @@ paths: application/json: schema: type: array - items: *119 + items: *120 examples: default: *220 headers: @@ -101460,7 +101517,7 @@ x-webhooks: pull_requests: type: array items: *359 - repository: *119 + repository: *120 status: example: completed type: string diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json index 32c5c95e29..0dc92af145 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 6be06d22ee..6bb44bd492 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: ; rel="next", ; 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 32c5c95e29..0dc92af145 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 6be06d22ee..6bb44bd492 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: ; rel="next", ; 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 679933e14e..5e38c29b85 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 f3f4a14a8e..59e5f208ed 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 679933e14e..5e38c29b85 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 f3f4a14a8e..59e5f208ed 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: