diff --git a/descriptions-next/api.github.com/api.github.com.2022-11-28.json b/descriptions-next/api.github.com/api.github.com.2022-11-28.json index 5ddc61a75d..3288606e31 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.json @@ -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." @@ -2044,6 +2048,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", @@ -309995,6 +310064,16 @@ } } }, + "internal_error": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + } + }, "conflict": { "description": "Conflict", "content": { @@ -310089,16 +310168,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-next/api.github.com/api.github.com.2022-11-28.yaml b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml index ebc5c65455..ed6ca5c0b9 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml @@ -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: @@ -1407,6 +1409,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 @@ -232243,6 +232303,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: @@ -232301,12 +232367,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-next/api.github.com/api.github.com.json b/descriptions-next/api.github.com/api.github.com.json index 5ddc61a75d..3288606e31 100644 --- a/descriptions-next/api.github.com/api.github.com.json +++ b/descriptions-next/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." @@ -2044,6 +2048,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", @@ -309995,6 +310064,16 @@ } } }, + "internal_error": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + } + }, "conflict": { "description": "Conflict", "content": { @@ -310089,16 +310168,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-next/api.github.com/api.github.com.yaml b/descriptions-next/api.github.com/api.github.com.yaml index ebc5c65455..ed6ca5c0b9 100644 --- a/descriptions-next/api.github.com/api.github.com.yaml +++ b/descriptions-next/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: @@ -1407,6 +1409,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 @@ -232243,6 +232303,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: @@ -232301,12 +232367,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-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index dfa7efe9e6..9ceb584a51 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -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." @@ -16162,6 +16166,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-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index 557913e8ec..5976af9331 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -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 - - &37 + - &38 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 - - &38 + - &39 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 @@ -1032,7 +1034,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &94 + schema: &95 title: Validation Error Simple description: Validation Error Simple type: object @@ -1836,7 +1838,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &93 + schema: &94 title: Validation Error description: Validation Error type: object @@ -2103,7 +2105,7 @@ paths: parameters: - *16 responses: - '202': &45 + '202': &37 description: Accepted content: application/json: @@ -5329,6 +5331,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': *37 + '422': *7 + '500': &90 + description: Internal Error + content: + application/json: + schema: *3 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: credentials + subcategory: revoke "/emojis": get: summary: Get emojis @@ -7250,7 +7311,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-code-security-configurations-for-an-enterprise parameters: - - &39 + - &40 name: enterprise description: The slug version of the enterprise name. You can also substitute this value with the enterprise id. @@ -7266,8 +7327,8 @@ paths: schema: type: integer default: 30 - - *37 - *38 + - *39 responses: '200': description: Response @@ -7275,7 +7336,7 @@ paths: application/json: schema: type: array - items: &40 + items: &41 type: object description: A code security configuration properties: @@ -7561,7 +7622,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#create-a-code-security-configuration-for-an-enterprise parameters: - - *39 + - *40 requestBody: required: true content: @@ -7638,7 +7699,7 @@ paths: - disabled - not_set default: disabled - code_scanning_default_setup_options: &43 + code_scanning_default_setup_options: &44 type: - object - 'null' @@ -7750,9 +7811,9 @@ paths: description: Successfully created code security configuration content: application/json: - schema: *40 + schema: *41 examples: - default: &41 + default: &42 value: id: 1325 target_type: enterprise @@ -7804,13 +7865,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-default-code-security-configurations-for-an-enterprise parameters: - - *39 + - *40 responses: '200': description: Response content: application/json: - schema: &138 + schema: &139 type: array description: A list of default code security configurations items: @@ -7824,9 +7885,9 @@ paths: description: The visibility of newly created repositories for which the code security configuration will be applied to by default - configuration: *40 + configuration: *41 examples: - default: &139 + default: &140 value: - default_for_new_repos: public configuration: @@ -7910,8 +7971,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#retrieve-a-code-security-configuration-of-an-enterprise parameters: - - *39 - - &42 + - *40 + - &43 name: configuration_id description: The unique identifier of the code security configuration. in: path @@ -7923,9 +7984,9 @@ paths: description: Response content: application/json: - schema: *40 + schema: *41 examples: - default: *41 + default: *42 '304': *35 '403': *27 '404': *6 @@ -7949,8 +8010,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: - - *39 - - *42 + - *40 + - *43 requestBody: required: true content: @@ -8020,7 +8081,7 @@ paths: - enabled - disabled - not_set - code_scanning_default_setup_options: *43 + code_scanning_default_setup_options: *44 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -8101,13 +8162,13 @@ paths: description: Response content: application/json: - schema: *40 + schema: *41 examples: - default: *41 + default: *42 '304': *35 '403': *27 '404': *6 - '409': &44 + '409': &45 description: Conflict content: application/json: @@ -8134,15 +8195,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#delete-a-code-security-configuration-for-an-enterprise parameters: - - *39 - - *42 + - *40 + - *43 responses: - '204': &140 + '204': &141 description: A header with no content is returned. '400': *14 '403': *27 '404': *6 - '409': *44 + '409': *45 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -8166,8 +8227,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#attach-an-enterprise-configuration-to-repositories parameters: - - *39 - - *42 + - *40 + - *43 requestBody: required: true content: @@ -8191,10 +8252,10 @@ paths: value: scope: all responses: - '202': *45 + '202': *37 '403': *27 '404': *6 - '409': *44 + '409': *45 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -8218,8 +8279,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: - - *39 - - *42 + - *40 + - *43 requestBody: required: true content: @@ -8259,12 +8320,12 @@ paths: - none - private_and_internal - public - configuration: *40 + configuration: *41 examples: default: value: default_for_new_repos: all - configuration: &137 + configuration: &138 value: id: 1325 target_type: organization @@ -8318,8 +8379,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: - - *39 - - *42 + - *40 + - *43 - 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)." @@ -8328,8 +8389,8 @@ paths: schema: type: integer default: 30 - - *37 - *38 + - *39 - name: status description: |- A comma-separated list of statuses. If specified, only repositories with these attachment statuses will be returned. @@ -8347,7 +8408,7 @@ paths: application/json: schema: type: array - items: &141 + items: &142 type: object description: Repositories associated with a code security configuration and attachment status @@ -8692,7 +8753,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &142 + repository: &143 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -8785,7 +8846,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - - *39 + - *40 - &147 name: state in: query @@ -8872,8 +8933,8 @@ paths: - epss_percentage default: created - *46 - - *37 - *38 + - *39 - &155 name: first description: |- @@ -9206,7 +9267,7 @@ paths: 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_at: &133 + dismissed_at: &134 type: - string - 'null' @@ -9237,7 +9298,7 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: &132 + fixed_at: &133 type: - string - 'null' @@ -9618,7 +9679,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - - *39 + - *40 - &236 name: state in: query @@ -9663,8 +9724,8 @@ paths: default: created - *46 - *17 - - *37 - *38 + - *39 - &240 name: validity in: query @@ -14679,7 +14740,7 @@ paths: properties: id: type: string - repository: &115 + repository: &116 title: Minimal Repository description: Minimal Repository type: object @@ -15833,7 +15894,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization parameters: - - &90 + - &91 name: org description: The organization name. The name is not case sensitive. in: path @@ -15946,11 +16007,7 @@ paths: repositoryName: github/example '400': *14 '403': *27 - '500': &143 - description: Internal Error - content: - application/json: - schema: *3 + '500': *90 '503': *62 x-github: githubCloudOnly: false @@ -15977,13 +16034,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-an-organization parameters: - - *90 + - *91 responses: '200': description: Response content: application/json: - schema: &91 + schema: &92 title: Organization Full description: Organization Full type: object @@ -16338,7 +16395,7 @@ paths: - updated_at - archived_at examples: - default-response: &92 + default-response: &93 value: login: github id: 1 @@ -16429,7 +16486,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#update-an-organization parameters: - - *90 + - *91 requestBody: required: false content: @@ -16646,18 +16703,18 @@ paths: description: Response content: application/json: - schema: *91 + schema: *92 examples: - default: *92 + default: *93 '422': description: Validation failed content: application/json: schema: oneOf: - - *93 - *94 - '409': *44 + - *95 + '409': *45 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -16680,9 +16737,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#delete-an-organization parameters: - - *90 + - *91 responses: - '202': *45 + '202': *37 '404': *6 '403': *27 x-github: @@ -16705,7 +16762,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-an-organization parameters: - - *90 + - *91 responses: '200': description: Response @@ -16752,7 +16809,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: - - *90 + - *91 - *17 - *19 responses: @@ -16828,7 +16885,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-github-hosted-runners-for-an-organization parameters: - - *90 + - *91 - *17 - *19 responses: @@ -16846,7 +16903,7 @@ paths: type: integer runners: type: array - items: &95 + items: &96 title: GitHub-hosted hosted runner description: A Github-hosted hosted runner. type: object @@ -16904,7 +16961,7 @@ paths: - display_name - source - version - machine_size_details: &98 + machine_size_details: &99 title: Github-owned VM details. description: Provides details of a particular machine spec. type: object @@ -17009,7 +17066,7 @@ paths: - public_ip_enabled - platform examples: - default: &114 + default: &115 value: total_count: 2 runners: @@ -17069,7 +17126,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#create-a-github-hosted-runner-for-an-organization parameters: - - *90 + - *91 requestBody: required: true content: @@ -17136,9 +17193,9 @@ paths: description: Response content: application/json: - schema: *95 + schema: *96 examples: - default: &99 + default: &100 value: id: 5 name: My hosted ubuntu runner @@ -17177,7 +17234,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: - - *90 + - *91 responses: '200': description: Response @@ -17193,7 +17250,7 @@ paths: type: integer images: type: array - items: &96 + items: &97 title: GitHub-hosted runner image details. description: Provides details of a hosted runner image type: object @@ -17233,7 +17290,7 @@ paths: - display_name - source examples: - default: &97 + default: &98 value: id: ubuntu-20.04 platform: linux-x64 @@ -17257,7 +17314,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: - - *90 + - *91 responses: '200': description: Response @@ -17273,9 +17330,9 @@ paths: type: integer images: type: array - items: *96 + items: *97 examples: - default: *97 + default: *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -17292,7 +17349,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: - - *90 + - *91 responses: '200': description: Response @@ -17347,7 +17404,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: - - *90 + - *91 responses: '200': description: Response @@ -17363,7 +17420,7 @@ paths: type: integer machine_specs: type: array - items: *98 + items: *99 examples: default: value: @@ -17388,7 +17445,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: - - *90 + - *91 responses: '200': description: Response @@ -17432,8 +17489,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization parameters: - - *90 - - &100 + - *91 + - &101 name: hosted_runner_id description: Unique identifier of the GitHub-hosted runner. in: path @@ -17445,9 +17502,9 @@ paths: description: Response content: application/json: - schema: *95 + schema: *96 examples: - default: *99 + default: *100 headers: Link: *57 x-github: @@ -17467,8 +17524,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-organization parameters: - - *90 - - *100 + - *91 + - *101 requestBody: required: true content: @@ -17506,9 +17563,9 @@ paths: description: Response content: application/json: - schema: *95 + schema: *96 examples: - default: *99 + default: *100 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -17524,16 +17581,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization parameters: - - *90 - - *100 + - *91 + - *101 responses: '202': description: Response content: application/json: - schema: *95 + schema: *96 examples: - default: *99 + default: *100 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -17553,13 +17610,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: - - *90 + - *91 responses: '200': description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &101 + schema: &102 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -17573,7 +17630,7 @@ paths: required: - include_claim_keys examples: - default: &102 + default: &103 value: include_claim_keys: - repo @@ -17595,20 +17652,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: - - *90 + - *91 requestBody: required: true content: application/json: - schema: *101 + schema: *102 examples: - default: *102 + default: *103 responses: '201': description: Empty response content: application/json: - schema: &124 + schema: &125 title: Empty Object description: An object without any properties. type: object @@ -17638,7 +17695,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-an-organization parameters: - - *90 + - *91 responses: '200': description: Response @@ -17647,7 +17704,7 @@ paths: schema: type: object properties: - enabled_repositories: &103 + enabled_repositories: &104 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -17660,7 +17717,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: &104 + allowed_actions: &105 type: string description: The permissions policy that controls the actions and reusable workflows that are allowed to run. @@ -17699,7 +17756,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-an-organization parameters: - - *90 + - *91 responses: '204': description: Response @@ -17710,8 +17767,8 @@ paths: schema: type: object properties: - enabled_repositories: *103 - allowed_actions: *104 + enabled_repositories: *104 + allowed_actions: *105 required: - enabled_repositories examples: @@ -17738,7 +17795,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: - - *90 + - *91 - *17 - *19 responses: @@ -17898,7 +17955,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: - - *90 + - *91 responses: '204': description: Response @@ -17942,8 +17999,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: - - *90 - - &105 + - *91 + - &106 name: repository_id description: The unique identifier of the repository. in: path @@ -17971,8 +18028,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: - - *90 - - *105 + - *91 + - *106 responses: '204': description: Response @@ -17995,13 +18052,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *90 + - *91 responses: '200': description: Response content: application/json: - schema: &106 + schema: &107 type: object properties: github_owned_allowed: @@ -18023,7 +18080,7 @@ paths: items: type: string examples: - default: &107 + default: &108 value: github_owned_allowed: true verified_allowed: false @@ -18048,7 +18105,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *90 + - *91 responses: '204': description: Response @@ -18056,9 +18113,9 @@ paths: required: false content: application/json: - schema: *106 + schema: *107 examples: - selected_actions: *107 + selected_actions: *108 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -18080,7 +18137,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-an-organization parameters: - - *90 + - *91 responses: '200': description: Response @@ -18089,14 +18146,14 @@ paths: schema: &294 type: object properties: - default_workflow_permissions: &108 + default_workflow_permissions: &109 type: string description: The default workflow permissions granted to the GITHUB_TOKEN when running workflows. enum: - read - write - can_approve_pull_request_reviews: &109 + can_approve_pull_request_reviews: &110 type: boolean description: Whether GitHub Actions can approve pull requests. Enabling this can be a security risk. @@ -18104,7 +18161,7 @@ paths: - default_workflow_permissions - can_approve_pull_request_reviews examples: - default: &110 + default: &111 summary: Give read-only permission, and allow approving PRs. value: default_workflow_permissions: read @@ -18129,7 +18186,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-an-organization parameters: - - *90 + - *91 responses: '204': description: Success response @@ -18140,10 +18197,10 @@ paths: schema: &295 type: object properties: - default_workflow_permissions: *108 - can_approve_pull_request_reviews: *109 + default_workflow_permissions: *109 + can_approve_pull_request_reviews: *110 examples: - default: *110 + default: *111 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18163,7 +18220,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: - - *90 + - *91 - *17 - *19 - name: visible_to_repository @@ -18188,7 +18245,7 @@ paths: type: number runner_groups: type: array - items: &111 + items: &112 type: object properties: id: @@ -18305,7 +18362,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: - - *90 + - *91 requestBody: required: true content: @@ -18378,9 +18435,9 @@ paths: description: Response content: application/json: - schema: *111 + schema: *112 examples: - default: &113 + default: &114 value: id: 2 name: octo-runner-group @@ -18415,8 +18472,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: - - *90 - - &112 + - *91 + - &113 name: runner_group_id description: Unique identifier of the self-hosted runner group. in: path @@ -18428,7 +18485,7 @@ paths: description: Response content: application/json: - schema: *111 + schema: *112 examples: default: value: @@ -18464,8 +18521,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: - - *90 - - *112 + - *91 + - *113 requestBody: required: true content: @@ -18521,9 +18578,9 @@ paths: description: Response content: application/json: - schema: *111 + schema: *112 examples: - default: *113 + default: *114 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -18542,8 +18599,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: - - *90 - - *112 + - *91 + - *113 responses: '204': description: Response @@ -18566,8 +18623,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: - - *90 - - *112 + - *91 + - *113 - *17 - *19 responses: @@ -18585,9 +18642,9 @@ paths: type: number runners: type: array - items: *95 + items: *96 examples: - default: *114 + default: *115 headers: Link: *57 x-github: @@ -18609,8 +18666,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: - - *90 - - *112 + - *91 + - *113 - *19 - *17 responses: @@ -18628,7 +18685,7 @@ paths: type: number repositories: type: array - items: *115 + items: *116 examples: default: &589 value: @@ -18882,8 +18939,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: - - *90 - - *112 + - *91 + - *113 requestBody: required: true content: @@ -18927,9 +18984,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: - - *90 - - *112 - - *105 + - *91 + - *113 + - *106 responses: '204': description: Response @@ -18951,9 +19008,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: - - *90 - - *112 - - *105 + - *91 + - *113 + - *106 responses: '204': description: Response @@ -18976,8 +19033,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: - - *90 - - *112 + - *91 + - *113 - *17 - *19 responses: @@ -18995,7 +19052,7 @@ paths: type: number runners: type: array - items: &117 + items: &118 title: Self hosted runners description: A self hosted runner type: object @@ -19029,7 +19086,7 @@ paths: type: boolean labels: type: array - items: &120 + items: &121 title: Self hosted runner label description: A label for a self hosted runner type: object @@ -19059,7 +19116,7 @@ paths: - busy - labels examples: - default: &118 + default: &119 value: total_count: 2 runners: @@ -19118,8 +19175,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: - - *90 - - *112 + - *91 + - *113 requestBody: required: true content: @@ -19163,9 +19220,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: - - *90 - - *112 - - &116 + - *91 + - *113 + - &117 name: runner_id description: Unique identifier of the self-hosted runner. in: path @@ -19193,9 +19250,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: - - *90 - - *112 - - *116 + - *91 + - *113 + - *117 responses: '204': description: Response @@ -19225,7 +19282,7 @@ paths: in: query schema: type: string - - *90 + - *91 - *17 - *19 responses: @@ -19243,9 +19300,9 @@ paths: type: integer runners: type: array - items: *117 + items: *118 examples: - default: *118 + default: *119 headers: Link: *57 x-github: @@ -19269,7 +19326,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-an-organization parameters: - - *90 + - *91 responses: '200': description: Response @@ -19345,7 +19402,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: - - *90 + - *91 requestBody: required: true content: @@ -19398,7 +19455,7 @@ paths: - runner - encoded_jit_config properties: - runner: *117 + runner: *118 encoded_jit_config: type: string description: The base64 encoded runner configuration. @@ -19427,7 +19484,7 @@ paths: encoded_jit_config: abc123 '404': *6 '422': *7 - '409': *44 + '409': *45 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19455,13 +19512,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-an-organization parameters: - - *90 + - *91 responses: '201': description: Response content: application/json: - schema: &119 + schema: &120 title: Authentication Token description: Authentication Token type: object @@ -19534,13 +19591,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-an-organization parameters: - - *90 + - *91 responses: '201': description: Response content: application/json: - schema: *119 + schema: *120 examples: default: &300 value: @@ -19567,14 +19624,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: - - *90 - - *116 + - *91 + - *117 responses: '200': description: Response content: application/json: - schema: *117 + schema: *118 examples: default: &301 value: @@ -19617,8 +19674,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: - - *90 - - *116 + - *91 + - *117 responses: '204': description: Response @@ -19643,10 +19700,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: - - *90 - - *116 + - *91 + - *117 responses: - '200': &121 + '200': &122 description: Response content: application/json: @@ -19660,7 +19717,7 @@ paths: type: integer labels: type: array - items: *120 + items: *121 examples: default: value: @@ -19699,8 +19756,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: - - *90 - - *116 + - *91 + - *117 requestBody: required: true content: @@ -19724,7 +19781,7 @@ paths: - gpu - accelerated responses: - '200': *121 + '200': *122 '404': *6 '422': *7 x-github: @@ -19748,8 +19805,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: - - *90 - - *116 + - *91 + - *117 requestBody: required: true content: @@ -19774,7 +19831,7 @@ paths: - gpu - accelerated responses: - '200': *121 + '200': *122 '404': *6 '422': *7 x-github: @@ -19798,8 +19855,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: - - *90 - - *116 + - *91 + - *117 responses: '200': &302 description: Response @@ -19815,7 +19872,7 @@ paths: type: integer labels: type: array - items: *120 + items: *121 examples: default: value: @@ -19856,8 +19913,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: - - *90 - - *116 + - *91 + - *117 - &303 name: name description: The name of a self-hosted runner's custom label. @@ -19866,7 +19923,7 @@ paths: schema: type: string responses: - '200': *121 + '200': *122 '404': *6 '422': *7 x-github: @@ -19891,7 +19948,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-organization-secrets parameters: - - *90 + - *91 - *17 - *19 responses: @@ -19909,7 +19966,7 @@ paths: type: integer secrets: type: array - items: &122 + items: &123 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -19984,7 +20041,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-public-key parameters: - - *90 + - *91 responses: '200': description: Response @@ -20050,8 +20107,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-secret parameters: - - *90 - - &123 + - *91 + - &124 name: secret_name description: The name of the secret. in: path @@ -20063,7 +20120,7 @@ paths: description: Response content: application/json: - schema: *122 + schema: *123 examples: default: value: @@ -20093,8 +20150,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *90 - - *123 + - *91 + - *124 requestBody: required: true content: @@ -20151,7 +20208,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *124 + schema: *125 examples: default: value: @@ -20177,8 +20234,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-organization-secret parameters: - - *90 - - *123 + - *91 + - *124 responses: '204': description: Response @@ -20204,8 +20261,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *90 - - *123 + - *91 + - *124 - *19 - *17 responses: @@ -20223,9 +20280,9 @@ paths: type: integer repositories: type: array - items: *115 + items: *116 examples: - default: &127 + default: &128 value: total_count: 1 repositories: @@ -20317,8 +20374,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *90 - - *123 + - *91 + - *124 requestBody: required: true content: @@ -20370,8 +20427,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - - *90 - - *123 + - *91 + - *124 - name: repository_id in: path required: true @@ -20404,8 +20461,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *90 - - *123 + - *91 + - *124 - name: repository_id in: path required: true @@ -20437,7 +20494,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - - *90 + - *91 - &289 name: per_page description: The number of results per page (max 30). For more information, @@ -20462,7 +20519,7 @@ paths: type: integer variables: type: array - items: &125 + items: &126 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -20552,7 +20609,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-organization-variable parameters: - - *90 + - *91 requestBody: required: true content: @@ -20600,7 +20657,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *124 + schema: *125 examples: default: value: @@ -20625,8 +20682,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-organization-variable parameters: - - *90 - - &126 + - *91 + - &127 name: name description: The name of the variable. in: path @@ -20638,7 +20695,7 @@ paths: description: Response content: application/json: - schema: *125 + schema: *126 examples: default: value: @@ -20668,8 +20725,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-organization-variable parameters: - - *90 - - *126 + - *91 + - *127 requestBody: required: true content: @@ -20731,8 +20788,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-organization-variable parameters: - - *90 - - *126 + - *91 + - *127 responses: '204': description: Response @@ -20758,8 +20815,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - - *90 - - *126 + - *91 + - *127 - *19 - *17 responses: @@ -20777,9 +20834,9 @@ paths: type: integer repositories: type: array - items: *115 + items: *116 examples: - default: *127 + default: *128 '409': description: Response when the visibility of the variable is not set to `selected` @@ -20805,8 +20862,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - - *90 - - *126 + - *91 + - *127 requestBody: required: true content: @@ -20855,8 +20912,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - - *90 - - *126 + - *91 + - *127 - name: repository_id in: path required: true @@ -20890,8 +20947,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - - *90 - - *126 + - *91 + - *127 - name: repository_id in: path required: true @@ -20925,9 +20982,9 @@ paths: url: https://docs.github.com/rest/orgs/orgs#list-attestations parameters: - *17 - - *37 - *38 - - *90 + - *39 + - *91 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -21085,7 +21142,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *90 + - *91 - *17 - *19 responses: @@ -21135,8 +21192,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - - *90 - - &128 + - *91 + - &129 name: username description: The handle for the GitHub user account. in: path @@ -21167,8 +21224,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *90 - - *128 + - *91 + - *129 responses: '204': description: Response @@ -21188,8 +21245,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *90 - - *128 + - *91 + - *129 responses: '204': description: Response @@ -21214,7 +21271,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#list-campaigns-for-an-organization parameters: - - *90 + - *91 - *19 - *17 - *46 @@ -21222,7 +21279,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &129 + schema: &130 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -21248,7 +21305,7 @@ paths: application/json: schema: type: array - items: &130 + items: &131 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -21454,7 +21511,7 @@ paths: - string - 'null' format: date-time - state: *129 + state: *130 contact_link: description: The contact link of the campaign. type: @@ -21576,7 +21633,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#create-a-campaign-for-an-organization parameters: - - *90 + - *91 requestBody: required: true content: @@ -21671,9 +21728,9 @@ paths: description: Response content: application/json: - schema: *130 + schema: *131 examples: - default: &131 + default: &132 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -21744,7 +21801,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#get-a-campaign-for-an-organization parameters: - - *90 + - *91 - name: campaign_number description: The campaign number. in: path @@ -21756,9 +21813,9 @@ paths: description: Response content: application/json: - schema: *130 + schema: *131 examples: - default: *131 + default: *132 '404': *6 '422': description: Unprocessable Entity @@ -21786,7 +21843,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#update-a-campaign parameters: - - *90 + - *91 - name: campaign_number description: The campaign number. in: path @@ -21836,7 +21893,7 @@ paths: - string - 'null' format: uri - state: *129 + state: *130 examples: default: value: @@ -21846,9 +21903,9 @@ paths: description: Response content: application/json: - schema: *130 + schema: *131 examples: - default: *131 + default: *132 '400': description: Bad Request content: @@ -21881,7 +21938,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#delete-a-campaign-for-an-organization parameters: - - *90 + - *91 - name: campaign_number description: The campaign number. in: path @@ -21914,7 +21971,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - - *90 + - *91 - &354 name: tool_name description: The name of a code scanning tool. Only results by this tool will @@ -21922,7 +21979,7 @@ paths: but not both. in: query required: false - schema: &134 + schema: &135 type: string description: The name of the tool used to generate the code scanning analysis. - &355 @@ -21933,14 +21990,14 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &135 + schema: &136 type: - string - 'null' description: The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data. - - *37 - *38 + - *39 - *19 - *17 - *46 @@ -22004,7 +22061,7 @@ paths: for an alert. format: uri readOnly: true - state: &136 + state: &137 type: - string - 'null' @@ -22014,12 +22071,12 @@ paths: - dismissed - fixed - - fixed_at: *132 + fixed_at: *133 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *133 + dismissed_at: *134 dismissed_reason: &360 type: - string @@ -22102,14 +22159,14 @@ paths: tool: &363 type: object properties: - name: *134 + name: *135 version: type: - string - 'null' description: The version of the tool used to generate the code scanning analysis. - guid: *135 + guid: *136 most_recent_instance: &364 type: object properties: @@ -22135,7 +22192,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: *136 + state: *137 commit_sha: type: string message: @@ -22449,7 +22506,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-code-security-configurations-for-an-organization parameters: - - *90 + - *91 - name: target_type in: query description: The target type of the code security configuration @@ -22468,8 +22525,8 @@ paths: schema: type: integer default: 30 - - *37 - *38 + - *39 responses: '200': description: Response @@ -22477,7 +22534,7 @@ paths: application/json: schema: type: array - items: *40 + items: *41 examples: default: value: @@ -22560,7 +22617,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#create-a-code-security-configuration parameters: - - *90 + - *91 requestBody: required: true content: @@ -22637,7 +22694,7 @@ paths: - disabled - not_set default: disabled - code_scanning_default_setup_options: *43 + code_scanning_default_setup_options: *44 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -22762,9 +22819,9 @@ paths: description: Successfully created code security configuration content: application/json: - schema: *40 + schema: *41 examples: - default: *137 + default: *138 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22786,15 +22843,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-default-code-security-configurations parameters: - - *90 + - *91 responses: '200': description: Response content: application/json: - schema: *138 + schema: *139 examples: - default: *139 + default: *140 '304': *35 '403': *27 '404': *6 @@ -22820,7 +22877,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *90 + - *91 requestBody: required: true content: @@ -22843,11 +22900,11 @@ paths: - 32 - 91 responses: - '204': *140 + '204': *141 '400': *14 '403': *27 '404': *6 - '409': *44 + '409': *45 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22869,16 +22926,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-a-code-security-configuration parameters: - - *90 - - *42 + - *91 + - *43 responses: '200': description: Response content: application/json: - schema: *40 + schema: *41 examples: - default: *137 + default: *138 '304': *35 '403': *27 '404': *6 @@ -22902,8 +22959,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#update-a-code-security-configuration parameters: - - *90 - - *42 + - *91 + - *43 requestBody: required: true content: @@ -22973,7 +23030,7 @@ paths: - enabled - disabled - not_set - code_scanning_default_setup_options: *43 + code_scanning_default_setup_options: *44 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -23084,7 +23141,7 @@ paths: description: Response when a configuration is updated content: application/json: - schema: *40 + schema: *41 examples: default: value: @@ -23141,14 +23198,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *90 - - *42 + - *91 + - *43 responses: - '204': *140 + '204': *141 '400': *14 '403': *27 '404': *6 - '409': *44 + '409': *45 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23172,8 +23229,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *90 - - *42 + - *91 + - *43 requestBody: required: true content: @@ -23212,7 +23269,7 @@ paths: - 32 - 91 responses: - '202': *45 + '202': *37 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23236,8 +23293,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: - - *90 - - *42 + - *91 + - *43 requestBody: required: true content: @@ -23277,12 +23334,12 @@ paths: - none - private_and_internal - public - configuration: *40 + configuration: *41 examples: default: value: default_for_new_repos: all - configuration: *137 + configuration: *138 '403': *27 '404': *6 x-github: @@ -23306,8 +23363,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration parameters: - - *90 - - *42 + - *91 + - *43 - 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)." @@ -23316,8 +23373,8 @@ paths: schema: type: integer default: 30 - - *37 - *38 + - *39 - name: status description: |- A comma-separated list of statuses. If specified, only repositories with these attachment statuses will be returned. @@ -23335,13 +23392,13 @@ paths: application/json: schema: type: array - items: *141 + items: *142 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *142 + repository: *143 '403': *27 '404': *6 x-github: @@ -23365,7 +23422,7 @@ paths: parameters: - *17 - *19 - - *90 + - *91 responses: '200': description: Response @@ -23412,7 +23469,7 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *115 + repository: *116 machine: anyOf: - type: 'null' @@ -24113,7 +24170,7 @@ paths: stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-f8adfad99a/stop recent_folders: [] '304': *35 - '500': *143 + '500': *90 '401': *23 '403': *27 '404': *6 @@ -24135,7 +24192,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *90 + - *91 deprecated: true requestBody: required: true @@ -24179,7 +24236,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *143 + '500': *90 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -24202,7 +24259,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#add-users-to-codespaces-access-for-an-organization parameters: - - *90 + - *91 deprecated: true requestBody: required: true @@ -24234,7 +24291,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *143 + '500': *90 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -24257,7 +24314,7 @@ paths: url: https://docs.github.com/rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *90 + - *91 requestBody: required: true content: @@ -24288,7 +24345,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *143 + '500': *90 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -24309,7 +24366,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *90 + - *91 - *17 - *19 responses: @@ -24400,7 +24457,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *90 + - *91 responses: '200': description: Response @@ -24464,8 +24521,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *90 - - *123 + - *91 + - *124 responses: '200': description: Response @@ -24500,8 +24557,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - - *90 - - *123 + - *91 + - *124 requestBody: required: true content: @@ -24556,7 +24613,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *124 + schema: *125 examples: default: value: @@ -24582,8 +24639,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *90 - - *123 + - *91 + - *124 responses: '204': description: Response @@ -24608,8 +24665,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - - *90 - - *123 + - *91 + - *124 - *19 - *17 responses: @@ -24627,9 +24684,9 @@ paths: type: integer repositories: type: array - items: *115 + items: *116 examples: - default: *127 + default: *128 '404': *6 x-github: githubCloudOnly: false @@ -24651,8 +24708,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - - *90 - - *123 + - *91 + - *124 requestBody: required: true content: @@ -24702,8 +24759,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - - *90 - - *123 + - *91 + - *124 - name: repository_id in: path required: true @@ -24736,8 +24793,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - - *90 - - *123 + - *91 + - *124 - name: repository_id in: path required: true @@ -24776,7 +24833,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: - - *90 + - *91 responses: '200': description: OK @@ -24885,7 +24942,7 @@ paths: cli: enabled public_code_suggestions: block plan_type: business - '500': *143 + '500': *90 '401': *23 '403': *27 '404': *6 @@ -24917,7 +24974,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: - - *90 + - *91 - *19 - name: per_page description: The number of results per page (max 100). For more information, @@ -25133,7 +25190,7 @@ paths: site_admin: false headers: Link: *57 - '500': *143 + '500': *90 '401': *23 '403': *27 '404': *6 @@ -25166,7 +25223,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: - - *90 + - *91 requestBody: content: application/json: @@ -25208,7 +25265,7 @@ paths: default: value: seats_created: 5 - '500': *143 + '500': *90 '401': *23 '403': *27 '404': *6 @@ -25244,7 +25301,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: - - *90 + - *91 requestBody: content: application/json: @@ -25286,7 +25343,7 @@ paths: default: value: seats_cancelled: 5 - '500': *143 + '500': *90 '401': *23 '403': *27 '404': *6 @@ -25324,7 +25381,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: - - *90 + - *91 requestBody: content: application/json: @@ -25365,7 +25422,7 @@ paths: default: value: seats_created: 5 - '500': *143 + '500': *90 '401': *23 '403': *27 '404': *6 @@ -25401,7 +25458,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: - - *90 + - *91 requestBody: content: application/json: @@ -25443,7 +25500,7 @@ paths: default: value: seats_cancelled: 5 - '500': *143 + '500': *90 '401': *23 '403': *27 '404': *6 @@ -25482,7 +25539,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization parameters: - - *90 + - *91 - 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`). @@ -25928,7 +25985,7 @@ paths: custom_model_training_date: '2024-02-01' total_pr_summaries_created: 10 total_engaged_users: 4 - '500': *143 + '500': *90 '403': *27 '404': *6 '422': &251 @@ -25958,7 +26015,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *90 + - *91 - *147 - *148 - *149 @@ -25968,8 +26025,8 @@ paths: - *153 - *154 - *46 - - *37 - *38 + - *39 - *155 - *156 - *17 @@ -26008,7 +26065,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-organization-secrets parameters: - - *90 + - *91 - *17 - *19 responses: @@ -26099,7 +26156,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-public-key parameters: - - *90 + - *91 responses: '200': description: Response @@ -26147,8 +26204,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-secret parameters: - - *90 - - *123 + - *91 + - *124 responses: '200': description: Response @@ -26182,8 +26239,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *90 - - *123 + - *91 + - *124 requestBody: required: true content: @@ -26238,7 +26295,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *124 + schema: *125 examples: default: value: @@ -26262,8 +26319,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-an-organization-secret parameters: - - *90 - - *123 + - *91 + - *124 responses: '204': description: Response @@ -26287,8 +26344,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *90 - - *123 + - *91 + - *124 - *19 - *17 responses: @@ -26306,9 +26363,9 @@ paths: type: integer repositories: type: array - items: *115 + items: *116 examples: - default: *127 + default: *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26329,8 +26386,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *90 - - *123 + - *91 + - *124 requestBody: required: true content: @@ -26380,8 +26437,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - - *90 - - *123 + - *91 + - *124 - name: repository_id in: path required: true @@ -26412,8 +26469,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *90 - - *123 + - *91 + - *124 - name: repository_id in: path required: true @@ -26443,7 +26500,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: - - *90 + - *91 responses: '200': description: Response @@ -26504,7 +26561,7 @@ paths: repository: anyOf: - type: 'null' - - *115 + - *116 created_at: type: string format: date-time @@ -26600,7 +26657,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-organization-events parameters: - - *90 + - *91 - *17 - *19 responses: @@ -26679,7 +26736,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-failed-organization-invitations parameters: - - *90 + - *91 - *17 - *19 responses: @@ -26800,7 +26857,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-organization-webhooks parameters: - - *90 + - *91 - *17 - *19 responses: @@ -26933,7 +26990,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#create-an-organization-webhook parameters: - - *90 + - *91 requestBody: required: true content: @@ -27044,7 +27101,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - - *90 + - *91 - &162 name: hook_id description: The unique identifier of the hook. You can find this value in @@ -27087,7 +27144,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - - *90 + - *91 - *162 requestBody: required: false @@ -27175,7 +27232,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *90 + - *91 - *162 responses: '204': @@ -27203,7 +27260,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - - *90 + - *91 - *162 responses: '200': @@ -27234,7 +27291,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - - *90 + - *91 - *162 requestBody: required: false @@ -27285,7 +27342,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *90 + - *91 - *162 - *17 - *163 @@ -27323,7 +27380,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - - *90 + - *91 - *162 - *16 responses: @@ -27358,11 +27415,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - - *90 + - *91 - *162 - *16 responses: - '202': *45 + '202': *37 '400': *14 '422': *15 x-github: @@ -27388,7 +27445,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *90 + - *91 - *162 responses: '204': @@ -27411,7 +27468,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *90 + - *91 - &172 name: actor_type in: path @@ -27534,7 +27591,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - - *90 + - *91 - *168 - *169 - *19 @@ -27619,7 +27676,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - - *90 + - *91 - *168 - *169 responses: @@ -27663,7 +27720,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *90 + - *91 - &174 name: user_id in: path @@ -27698,7 +27755,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *90 + - *91 - *168 - *169 - *172 @@ -27727,7 +27784,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - - *90 + - *91 - *168 - *169 - &175 @@ -27795,7 +27852,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - - *90 + - *91 - *174 - *168 - *169 @@ -27824,7 +27881,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *90 + - *91 - *172 - *173 - *168 @@ -27854,7 +27911,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - - *90 + - *91 - *174 - *168 - *169 @@ -27937,7 +27994,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-an-organization-installation-for-the-authenticated-app parameters: - - *90 + - *91 responses: '200': description: Response @@ -28014,7 +28071,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *90 + - *91 - *17 - *19 responses: @@ -28103,7 +28160,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *90 + - *91 responses: '200': description: Response @@ -28168,7 +28225,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *90 + - *91 requestBody: required: true content: @@ -28224,7 +28281,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *90 + - *91 responses: '204': description: Response @@ -28248,7 +28305,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-pending-organization-invitations parameters: - - *90 + - *91 - *17 - *19 - name: role @@ -28307,7 +28364,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#create-an-organization-invitation parameters: - - *90 + - *91 requestBody: required: false content: @@ -28415,7 +28472,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - - *90 + - *91 - &184 name: invitation_id description: The unique identifier of the invitation. @@ -28446,7 +28503,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - - *90 + - *91 - *184 - *17 - *19 @@ -28494,7 +28551,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#list-issue-types-for-an-organization parameters: - - *90 + - *91 responses: '200': description: Response @@ -28540,7 +28597,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#create-issue-type-for-an-organization parameters: - - *90 + - *91 requestBody: required: true content: @@ -28624,7 +28681,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - - *90 + - *91 - &187 name: issue_type_id description: The unique identifier of the issue type. @@ -28707,7 +28764,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - - *90 + - *91 - *187 responses: '204': @@ -28741,7 +28798,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-organization-issues-assigned-to-the-authenticated-user parameters: - - *90 + - *91 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -28824,7 +28881,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-members parameters: - - *90 + - *91 - 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) @@ -28882,8 +28939,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-organization-membership-for-a-user parameters: - - *90 - - *128 + - *91 + - *129 responses: '204': description: Response if requester is an organization member and user is @@ -28914,8 +28971,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-an-organization-member parameters: - - *90 - - *128 + - *91 + - *129 responses: '204': description: Response @@ -28941,8 +28998,8 @@ paths: parameters: - *17 - *19 - - *90 - - *128 + - *91 + - *129 responses: '200': description: Response @@ -28962,7 +29019,7 @@ paths: examples: default: *192 '304': *35 - '500': *143 + '500': *90 '401': *23 '403': *27 '404': *6 @@ -28985,8 +29042,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *90 - - *128 + - *91 + - *129 - &193 name: codespace_name in: path @@ -28995,9 +29052,9 @@ paths: schema: type: string responses: - '202': *45 + '202': *37 '304': *35 - '500': *143 + '500': *90 '401': *23 '403': *27 '404': *6 @@ -29020,8 +29077,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - - *90 - - *128 + - *91 + - *129 - *193 responses: '200': @@ -29172,7 +29229,7 @@ paths: recent_folders: [] template: '304': *35 - '500': *143 + '500': *90 '401': *23 '403': *27 '404': *6 @@ -29203,8 +29260,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: - - *90 - - *128 + - *91 + - *129 responses: '200': description: The user's GitHub Copilot seat details, including usage. @@ -29253,7 +29310,7 @@ paths: members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos parent: - '500': *143 + '500': *90 '401': *23 '403': *27 '404': *6 @@ -29278,8 +29335,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-organization-membership-for-a-user parameters: - - *90 - - *128 + - *91 + - *129 responses: '200': description: Response @@ -29406,8 +29463,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-organization-membership-for-a-user parameters: - - *90 - - *128 + - *91 + - *129 requestBody: required: false content: @@ -29458,8 +29515,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *90 - - *128 + - *91 + - *129 responses: '204': description: Response @@ -29484,7 +29541,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-organization-migrations parameters: - - *90 + - *91 - *17 - *19 - name: exclude @@ -29763,7 +29820,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#start-an-organization-migration parameters: - - *90 + - *91 requestBody: required: true content: @@ -30022,7 +30079,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - - *90 + - *91 - &198 name: migration_id description: The unique identifier of the migration. @@ -30220,7 +30277,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *90 + - *91 - *198 responses: '302': @@ -30242,7 +30299,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *90 + - *91 - *198 responses: '204': @@ -30266,7 +30323,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - - *90 + - *91 - *198 - &602 name: repo_name @@ -30295,7 +30352,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *90 + - *91 - *198 - *17 - *19 @@ -30306,7 +30363,7 @@ paths: application/json: schema: type: array - items: *115 + items: *116 examples: default: &210 value: @@ -30445,7 +30502,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-all-organization-roles-for-an-organization parameters: - - *90 + - *91 responses: '200': description: Response - list of organization roles @@ -30610,7 +30667,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - - *90 + - *91 - &199 name: team_slug description: The slug of the team name. @@ -30642,7 +30699,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - - *90 + - *91 - *199 - &200 name: role_id @@ -30679,7 +30736,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - - *90 + - *91 - *199 - *200 responses: @@ -30706,8 +30763,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - - *90 - - *128 + - *91 + - *129 responses: '204': description: Response @@ -30732,8 +30789,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - - *90 - - *128 + - *91 + - *129 - *200 responses: '204': @@ -30764,8 +30821,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - - *90 - - *128 + - *91 + - *129 - *200 responses: '204': @@ -30794,7 +30851,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - - *90 + - *91 - *200 responses: '200': @@ -30851,7 +30908,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: - - *90 + - *91 - *200 - *17 - *19 @@ -30974,7 +31031,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: - - *90 + - *91 - *200 - *17 - *19 @@ -31145,7 +31202,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#list-outside-collaborators-for-an-organization parameters: - - *90 + - *91 - 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) @@ -31197,8 +31254,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - - *90 - - *128 + - *91 + - *129 requestBody: required: false content: @@ -31255,8 +31312,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - - *90 - - *128 + - *91 + - *129 responses: '204': description: Response @@ -31313,7 +31370,7 @@ paths: - docker - nuget - container - - *90 + - *91 - &604 name: visibility description: |- @@ -31402,7 +31459,7 @@ paths: required: true schema: type: string - - *90 + - *91 responses: '200': description: Response @@ -31462,7 +31519,7 @@ paths: parameters: - *206 - *207 - - *90 + - *91 responses: '204': description: Response @@ -31496,7 +31553,7 @@ paths: parameters: - *206 - *207 - - *90 + - *91 - name: token description: package token schema: @@ -31530,7 +31587,7 @@ paths: parameters: - *206 - *207 - - *90 + - *91 - *19 - *17 - name: state @@ -31687,7 +31744,7 @@ paths: parameters: - *206 - *207 - - *90 + - *91 - &209 name: package_version_id description: Unique identifier of the package version. @@ -31738,7 +31795,7 @@ paths: parameters: - *206 - *207 - - *90 + - *91 - *209 responses: '204': @@ -31773,7 +31830,7 @@ paths: parameters: - *206 - *207 - - *90 + - *91 - *209 responses: '204': @@ -31801,7 +31858,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: - - *90 + - *91 - *17 - *19 - &211 @@ -31878,7 +31935,7 @@ paths: examples: - token_id[]=1,token_id[]=2 responses: - '500': *143 + '500': *90 '422': *15 '404': *6 '403': *27 @@ -32033,7 +32090,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: - - *90 + - *91 requestBody: required: true content: @@ -32075,11 +32132,11 @@ paths: action: deny reason: Access is too broad. responses: - '500': *143 + '500': *90 '422': *15 '404': *6 '403': *27 - '202': *45 + '202': *37 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32100,7 +32157,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: - - *90 + - *91 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -32137,11 +32194,11 @@ paths: action: deny reason: This request is denied because the access is too broad. responses: - '500': *143 + '500': *90 '422': *15 '404': *6 '403': *27 - '204': *140 + '204': *141 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32162,7 +32219,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: - - *90 + - *91 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -32173,7 +32230,7 @@ paths: - *17 - *19 responses: - '500': *143 + '500': *90 '404': *6 '403': *27 '200': @@ -32182,7 +32239,7 @@ paths: application/json: schema: type: array - items: *115 + items: *116 examples: default: *210 headers: @@ -32207,7 +32264,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: - - *90 + - *91 - *17 - *19 - *211 @@ -32219,7 +32276,7 @@ paths: - *216 - *217 responses: - '500': *143 + '500': *90 '422': *15 '404': *6 '403': *27 @@ -32368,7 +32425,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: - - *90 + - *91 requestBody: required: true content: @@ -32403,9 +32460,9 @@ paths: - 1296269 - 1296280 responses: - '500': *143 + '500': *90 '404': *6 - '202': *45 + '202': *37 '403': *27 '422': *15 x-github: @@ -32428,7 +32485,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: - - *90 + - *91 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -32456,9 +32513,9 @@ paths: value: action: revoke responses: - '500': *143 + '500': *90 '404': *6 - '204': *140 + '204': *141 '403': *27 '422': *15 x-github: @@ -32480,7 +32537,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: - - *90 + - *91 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -32490,7 +32547,7 @@ paths: - *17 - *19 responses: - '500': *143 + '500': *90 '404': *6 '403': *27 '200': @@ -32499,7 +32556,7 @@ paths: application/json: schema: type: array - items: *115 + items: *116 examples: default: *210 headers: @@ -32525,7 +32582,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#list-private-registries-for-an-organization parameters: - - *90 + - *91 - *17 - *19 responses: @@ -32620,7 +32677,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization parameters: - - *90 + - *91 requestBody: required: true content: @@ -32794,7 +32851,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: - - *90 + - *91 responses: '200': description: Response @@ -32844,8 +32901,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - - *90 - - *123 + - *91 + - *124 responses: '200': description: The specified private registry configuration for the organization @@ -32874,8 +32931,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - - *90 - - *123 + - *91 + - *124 requestBody: required: true content: @@ -32953,8 +33010,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - - *90 - - *123 + - *91 + - *124 responses: '204': description: Response @@ -32979,7 +33036,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-organization-projects parameters: - - *90 + - *91 - name: state description: Indicates the state of the projects to return. in: query @@ -33156,7 +33213,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#create-an-organization-project parameters: - - *90 + - *91 requestBody: required: true content: @@ -33247,7 +33304,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-all-custom-properties-for-an-organization parameters: - - *90 + - *91 responses: '200': description: Response @@ -33379,7 +33436,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization parameters: - - *90 + - *91 requestBody: required: true content: @@ -33443,7 +33500,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - - *90 + - *91 - &223 name: custom_property_name description: The custom property name @@ -33492,7 +33549,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: - - *90 + - *91 - *223 requestBody: required: true @@ -33596,10 +33653,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - - *90 + - *91 - *223 responses: - '204': *140 + '204': *141 '403': *27 '404': *6 x-github: @@ -33620,7 +33677,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#list-custom-property-values-for-organization-repositories parameters: - - *90 + - *91 - *17 - *19 - name: repository_query @@ -33731,7 +33788,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: - - *90 + - *91 requestBody: required: true content: @@ -33792,7 +33849,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-public-organization-members parameters: - - *90 + - *91 - *17 - *19 responses: @@ -33823,8 +33880,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-public-organization-membership-for-a-user parameters: - - *90 - - *128 + - *91 + - *129 responses: '204': description: Response if user is a public member @@ -33848,8 +33905,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - - *90 - - *128 + - *91 + - *129 responses: '204': description: Response @@ -33870,8 +33927,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - - *90 - - *128 + - *91 + - *129 responses: '204': description: Response @@ -33895,7 +33952,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-organization-repositories parameters: - - *90 + - *91 - name: type description: Specifies the types of repositories you want returned. in: query @@ -33941,7 +33998,7 @@ paths: application/json: schema: type: array - items: *115 + items: *116 examples: default: *210 headers: @@ -33964,7 +34021,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-organization-repository parameters: - - *90 + - *91 requestBody: required: true content: @@ -35243,7 +35300,7 @@ paths: category: orgs subcategory: rules parameters: - - *90 + - *91 - *17 - *19 - &540 @@ -36249,7 +36306,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *143 + '500': *90 post: summary: Create an organization repository ruleset description: Create a repository ruleset for an organization. @@ -36265,7 +36322,7 @@ paths: category: orgs subcategory: rules parameters: - - *90 + - *91 requestBody: description: Request body required: true @@ -36375,7 +36432,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *143 + '500': *90 "/orgs/{org}/rulesets/rule-suites": get: summary: List organization rule suites @@ -36389,7 +36446,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *90 + - *91 - &541 name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally @@ -36528,7 +36585,7 @@ paths: result: pass evaluation_result: fail '404': *6 - '500': *143 + '500': *90 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36547,7 +36604,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *90 + - *91 - &547 name: rule_suite_id description: |- @@ -36706,7 +36763,7 @@ paths: result: fail rule_type: commit_message_pattern '404': *6 - '500': *143 + '500': *90 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36732,7 +36789,7 @@ paths: category: orgs subcategory: rules parameters: - - *90 + - *91 - name: ruleset_id description: The ID of the ruleset. in: path @@ -36748,7 +36805,7 @@ paths: examples: default: *234 '404': *6 - '500': *143 + '500': *90 put: summary: Update an organization repository ruleset description: Update a ruleset for an organization. @@ -36764,7 +36821,7 @@ paths: category: orgs subcategory: rules parameters: - - *90 + - *91 - name: ruleset_id description: The ID of the ruleset. in: path @@ -36838,7 +36895,7 @@ paths: examples: default: *234 '404': *6 - '500': *143 + '500': *90 delete: summary: Delete an organization repository ruleset description: Delete a ruleset for an organization. @@ -36854,7 +36911,7 @@ paths: category: orgs subcategory: rules parameters: - - *90 + - *91 - name: ruleset_id description: The ID of the ruleset. in: path @@ -36865,7 +36922,7 @@ paths: '204': description: Response '404': *6 - '500': *143 + '500': *90 "/orgs/{org}/rulesets/{ruleset_id}/history": get: summary: Get organization ruleset history @@ -36877,7 +36934,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-history parameters: - - *90 + - *91 - *17 - *19 - name: ruleset_id @@ -36935,7 +36992,7 @@ paths: type: User updated_at: '2024-08-23T16:29:47Z' '404': *6 - '500': *143 + '500': *90 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36952,7 +37009,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-version parameters: - - *90 + - *91 - name: ruleset_id description: The ID of the ruleset. in: path @@ -37019,7 +37076,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *143 + '500': *90 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37041,7 +37098,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - - *90 + - *91 - *236 - *237 - *238 @@ -37107,7 +37164,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories-for-an-organization parameters: - - *90 + - *91 - *46 - name: sort description: The property to sort the results by. @@ -37120,8 +37177,8 @@ paths: - updated - published default: created - - *37 - *38 + - *39 - 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)." @@ -37849,7 +37906,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#list-security-manager-teams parameters: - - *90 + - *91 responses: '200': description: Response @@ -37882,7 +37939,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#add-a-security-manager-team parameters: - - *90 + - *91 - *199 responses: '204': @@ -37908,7 +37965,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *90 + - *91 - *199 responses: '204': @@ -37938,7 +37995,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-actions-billing-for-an-organization parameters: - - *90 + - *91 responses: '200': description: Response @@ -38044,7 +38101,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-packages-billing-for-an-organization parameters: - - *90 + - *91 responses: '200': description: Response @@ -38094,7 +38151,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-shared-storage-billing-for-an-organization parameters: - - *90 + - *91 responses: '200': description: Response @@ -38142,7 +38199,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#list-hosted-compute-network-configurations-for-an-organization parameters: - - *90 + - *91 - *17 - *19 responses: @@ -38243,7 +38300,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: - - *90 + - *91 requestBody: required: true content: @@ -38315,7 +38372,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: - - *90 + - *91 - &248 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. @@ -38351,7 +38408,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: - - *90 + - *91 - *248 requestBody: required: true @@ -38412,7 +38469,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: - - *90 + - *91 - *248 responses: '204': @@ -38436,7 +38493,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: - - *90 + - *91 - name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -38525,7 +38582,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - - *90 + - *91 - *199 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO @@ -38561,7 +38618,7 @@ paths: items: *249 examples: default: *250 - '500': *143 + '500': *90 '403': *27 '404': *6 '422': *251 @@ -38582,7 +38639,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-teams parameters: - - *90 + - *91 - *17 - *19 responses: @@ -38616,7 +38673,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#create-a-team parameters: - - *90 + - *91 requestBody: required: true content: @@ -39138,7 +39195,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-by-name parameters: - - *90 + - *91 - *199 responses: '200': @@ -39168,7 +39225,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team parameters: - - *90 + - *91 - *199 requestBody: required: false @@ -39266,7 +39323,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team parameters: - - *90 + - *91 - *199 responses: '204': @@ -39293,7 +39350,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions parameters: - - *90 + - *91 - *199 - *46 - *17 @@ -39496,7 +39553,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion parameters: - - *90 + - *91 - *199 requestBody: required: true @@ -39605,7 +39662,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion parameters: - - *90 + - *91 - *199 - &256 name: discussion_number @@ -39643,7 +39700,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion parameters: - - *90 + - *91 - *199 - *256 requestBody: @@ -39740,7 +39797,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion parameters: - - *90 + - *91 - *199 - *256 responses: @@ -39768,7 +39825,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments parameters: - - *90 + - *91 - *199 - *256 - *46 @@ -39929,7 +39986,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment parameters: - - *90 + - *91 - *199 - *256 requestBody: @@ -40021,7 +40078,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment parameters: - - *90 + - *91 - *199 - *256 - &259 @@ -40060,7 +40117,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment parameters: - - *90 + - *91 - *199 - *256 - *259 @@ -40151,7 +40208,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment parameters: - - *90 + - *91 - *199 - *256 - *259 @@ -40180,7 +40237,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - - *90 + - *91 - *199 - *256 - *259 @@ -40303,7 +40360,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - - *90 + - *91 - *199 - *256 - *259 @@ -40395,7 +40452,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - - *90 + - *91 - *199 - *256 - *259 @@ -40431,7 +40488,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - - *90 + - *91 - *199 - *256 - name: content @@ -40487,7 +40544,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - - *90 + - *91 - *199 - *256 requestBody: @@ -40553,7 +40610,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-reaction parameters: - - *90 + - *91 - *199 - *256 - *263 @@ -40580,7 +40637,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations parameters: - - *90 + - *91 - *199 - *17 - *19 @@ -40615,7 +40672,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members parameters: - - *90 + - *91 - *199 - name: role description: Filters members returned by their role in the team. @@ -40669,9 +40726,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user parameters: - - *90 + - *91 - *199 - - *128 + - *129 responses: '200': description: Response @@ -40741,9 +40798,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - - *90 + - *91 - *199 - - *128 + - *129 requestBody: required: false content: @@ -40805,9 +40862,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user parameters: - - *90 + - *91 - *199 - - *128 + - *129 responses: '204': description: Response @@ -40832,7 +40889,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects parameters: - - *90 + - *91 - *199 - *17 - *19 @@ -40975,7 +41032,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project parameters: - - *90 + - *91 - *199 - &266 name: project_id @@ -41053,7 +41110,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions parameters: - - *90 + - *91 - *199 - *266 requestBody: @@ -41122,7 +41179,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team parameters: - - *90 + - *91 - *199 - *266 responses: @@ -41151,7 +41208,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories parameters: - - *90 + - *91 - *199 - *17 - *19 @@ -41162,7 +41219,7 @@ paths: application/json: schema: type: array - items: *115 + items: *116 examples: default: *210 headers: @@ -41193,7 +41250,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *90 + - *91 - *199 - *267 - *268 @@ -41843,7 +41900,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *90 + - *91 - *199 - *267 - *268 @@ -41891,7 +41948,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team parameters: - - *90 + - *91 - *199 - *267 - *268 @@ -41918,7 +41975,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams parameters: - - *90 + - *91 - *199 - *17 - *19 @@ -41984,7 +42041,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#enable-or-disable-a-security-feature-for-an-organization parameters: - - *90 + - *91 - name: security_product in: path description: The security feature to enable or disable. @@ -42735,8 +42792,8 @@ paths: application/json: schema: oneOf: - - *93 - *94 + - *95 '503': description: Response content: @@ -43105,7 +43162,7 @@ paths: url: https://docs.github.com/rest/projects/collaborators#add-project-collaborator parameters: - *266 - - *128 + - *129 requestBody: required: false content: @@ -43160,7 +43217,7 @@ paths: url: https://docs.github.com/rest/projects/collaborators#remove-user-as-a-collaborator parameters: - *266 - - *128 + - *129 responses: '204': description: Response @@ -43192,7 +43249,7 @@ paths: url: https://docs.github.com/rest/projects/collaborators#get-project-permission-for-a-user parameters: - *266 - - *128 + - *129 responses: '200': description: Response @@ -45318,7 +45375,7 @@ paths: description: Response content: application/json: - schema: *124 + schema: *125 examples: default: value: @@ -45428,7 +45485,7 @@ paths: description: Empty response content: application/json: - schema: *124 + schema: *125 examples: default: value: @@ -45629,7 +45686,7 @@ paths: enabled: &291 type: boolean description: Whether GitHub Actions is enabled on the repository. - allowed_actions: *104 + allowed_actions: *105 selected_actions_url: *290 required: - enabled @@ -45670,7 +45727,7 @@ paths: type: object properties: enabled: *291 - allowed_actions: *104 + allowed_actions: *105 required: - enabled examples: @@ -45786,9 +45843,9 @@ paths: description: Response content: application/json: - schema: *106 + schema: *107 examples: - default: *107 + default: *108 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -45816,9 +45873,9 @@ paths: required: false content: application/json: - schema: *106 + schema: *107 examples: - selected_actions: *107 + selected_actions: *108 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -45849,7 +45906,7 @@ paths: application/json: schema: *294 examples: - default: *110 + default: *111 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45884,7 +45941,7 @@ paths: application/json: schema: *295 examples: - default: *110 + default: *111 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45930,9 +45987,9 @@ paths: type: integer runners: type: array - items: *117 + items: *118 examples: - default: *118 + default: *119 headers: Link: *57 x-github: @@ -46036,7 +46093,7 @@ paths: '201': *298 '404': *6 '422': *7 - '409': *44 + '409': *45 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46071,7 +46128,7 @@ paths: description: Response content: application/json: - schema: *119 + schema: *120 examples: default: *299 x-github: @@ -46108,7 +46165,7 @@ paths: description: Response content: application/json: - schema: *119 + schema: *120 examples: default: *300 x-github: @@ -46134,13 +46191,13 @@ paths: parameters: - *267 - *268 - - *116 + - *117 responses: '200': description: Response content: application/json: - schema: *117 + schema: *118 examples: default: *301 x-github: @@ -46165,7 +46222,7 @@ paths: parameters: - *267 - *268 - - *116 + - *117 responses: '204': description: Response @@ -46192,9 +46249,9 @@ paths: parameters: - *267 - *268 - - *116 + - *117 responses: - '200': *121 + '200': *122 '404': *6 x-github: githubCloudOnly: false @@ -46218,7 +46275,7 @@ paths: parameters: - *267 - *268 - - *116 + - *117 requestBody: required: true content: @@ -46242,7 +46299,7 @@ paths: - gpu - accelerated responses: - '200': *121 + '200': *122 '404': *6 '422': *7 x-github: @@ -46268,7 +46325,7 @@ paths: parameters: - *267 - *268 - - *116 + - *117 requestBody: required: true content: @@ -46293,7 +46350,7 @@ paths: - gpu - accelerated responses: - '200': *121 + '200': *122 '404': *6 '422': *7 x-github: @@ -46319,7 +46376,7 @@ paths: parameters: - *267 - *268 - - *116 + - *117 responses: '200': *302 '404': *6 @@ -46350,10 +46407,10 @@ paths: parameters: - *267 - *268 - - *116 + - *117 - *303 responses: - '200': *121 + '200': *122 '404': *6 '422': *7 x-github: @@ -46798,8 +46855,8 @@ paths: - timestamp - author - committer - repository: *115 - head_repository: *115 + repository: *116 + head_repository: *116 head_repository_id: type: integer examples: @@ -47496,7 +47553,7 @@ paths: description: Response content: application/json: - schema: *124 + schema: *125 examples: default: value: @@ -47786,11 +47843,11 @@ paths: description: Response content: application/json: - schema: *124 + schema: *125 examples: default: value: - '409': *44 + '409': *45 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47890,11 +47947,11 @@ paths: description: Response content: application/json: - schema: *124 + schema: *125 examples: default: value: - '409': *44 + '409': *45 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48012,7 +48069,7 @@ paths: '204': description: Response '403': *27 - '500': *143 + '500': *90 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48435,7 +48492,7 @@ paths: description: Response content: application/json: - schema: *124 + schema: *125 examples: default: value: @@ -48482,7 +48539,7 @@ paths: description: Response content: application/json: - schema: *124 + schema: *125 examples: default: value: @@ -48732,7 +48789,7 @@ paths: parameters: - *267 - *268 - - *123 + - *124 responses: '200': description: Response @@ -48768,7 +48825,7 @@ paths: parameters: - *267 - *268 - - *123 + - *124 requestBody: required: true content: @@ -48799,7 +48856,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *124 + schema: *125 examples: default: value: @@ -48827,7 +48884,7 @@ paths: parameters: - *267 - *268 - - *123 + - *124 responses: '204': description: Response @@ -48924,7 +48981,7 @@ paths: description: Response content: application/json: - schema: *124 + schema: *125 examples: default: value: @@ -48951,7 +49008,7 @@ paths: parameters: - *267 - *268 - - *126 + - *127 responses: '200': description: Response @@ -48987,7 +49044,7 @@ paths: parameters: - *267 - *268 - - *126 + - *127 requestBody: required: true content: @@ -49031,7 +49088,7 @@ paths: parameters: - *267 - *268 - - *126 + - *127 responses: '204': description: Response @@ -49481,8 +49538,8 @@ paths: - *268 - *46 - *17 - - *37 - *38 + - *39 - name: ref description: |- The Git reference for the activities you want to list. @@ -49837,8 +49894,8 @@ paths: - *267 - *268 - *17 - - *37 - *38 + - *39 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -50852,14 +50909,14 @@ paths: author: oneOf: - *4 - - *124 + - *125 type: - 'null' - object committer: oneOf: - *4 - - *124 + - *125 type: - 'null' - object @@ -54839,7 +54896,7 @@ paths: description: Response content: application/json: - schema: *124 + schema: *125 examples: default: value: @@ -54987,7 +55044,7 @@ paths: anyOf: - type: 'null' - *5 - repository: *115 + repository: *116 created_at: type: - string @@ -55400,7 +55457,7 @@ paths: required: - app_id - setting - repository: *115 + repository: *116 examples: default: value: @@ -55848,7 +55905,7 @@ paths: description: Response content: application/json: - schema: *124 + schema: *125 examples: default: value: @@ -55897,8 +55954,8 @@ paths: schema: type: integer - *46 - - *37 - *38 + - *39 - name: sort description: The property by which to sort the results. in: query @@ -55937,13 +55994,13 @@ paths: url: *55 html_url: *56 instances_url: *359 - state: *136 - fixed_at: *132 + state: *137 + fixed_at: *133 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *133 + dismissed_at: *134 dismissed_reason: *360 dismissed_comment: *361 rule: *362 @@ -56120,13 +56177,13 @@ paths: url: *55 html_url: *56 instances_url: *359 - state: *136 - fixed_at: *132 + state: *137 + fixed_at: *133 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *133 + dismissed_at: *134 dismissed_reason: *360 dismissed_comment: *361 rule: @@ -58223,7 +58280,7 @@ paths: description: Response content: application/json: - schema: *124 + schema: *125 examples: default: value: @@ -58518,7 +58575,7 @@ paths: - failed - updating - removed_by_enterprise - configuration: *40 + configuration: *41 examples: default: value: @@ -58550,7 +58607,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': *140 + '204': *141 '304': *35 '403': *27 '404': *6 @@ -58997,7 +59054,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': *143 + '500': *90 '401': *23 '403': *27 '404': *6 @@ -59164,7 +59221,7 @@ paths: - path: ".devcontainer.json" display_name: Default project configuration total_count: 3 - '500': *143 + '500': *90 '400': *14 '401': *23 '403': *27 @@ -59245,7 +59302,7 @@ paths: memory_in_bytes: 34359738368 cpus: 8 '304': *35 - '500': *143 + '500': *90 '401': *23 '403': *27 '404': *6 @@ -59520,7 +59577,7 @@ paths: parameters: - *267 - *268 - - *123 + - *124 responses: '200': description: Response @@ -59550,7 +59607,7 @@ paths: parameters: - *267 - *268 - - *123 + - *124 requestBody: required: true content: @@ -59578,7 +59635,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *124 + schema: *125 examples: default: value: @@ -59604,7 +59661,7 @@ paths: parameters: - *267 - *268 - - *123 + - *124 responses: '204': description: Response @@ -59866,7 +59923,7 @@ paths: parameters: - *267 - *268 - - *128 + - *129 responses: '204': description: Response if user is a collaborator @@ -59910,7 +59967,7 @@ paths: parameters: - *267 - *268 - - *128 + - *129 requestBody: required: false content: @@ -59948,7 +60005,7 @@ paths: format: int64 examples: - 42 - repository: *115 + repository: *116 invitee: anyOf: - type: 'null' @@ -60159,7 +60216,7 @@ paths: parameters: - *267 - *268 - - *128 + - *129 responses: '204': description: No Content when collaborator was removed from the repository. @@ -60190,7 +60247,7 @@ paths: parameters: - *267 - *268 - - *128 + - *129 responses: '200': description: if user has admin permissions @@ -60855,10 +60912,10 @@ paths: sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e headers: Link: *57 - '500': *143 + '500': *90 '400': *14 '404': *6 - '409': *44 + '409': *45 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60927,7 +60984,7 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc protected: false '422': *15 - '409': *44 + '409': *45 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61863,7 +61920,7 @@ paths: draft: false headers: Link: *57 - '409': *44 + '409': *45 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62027,9 +62084,9 @@ paths: ..... '422': *15 '404': *6 - '500': *143 + '500': *90 '503': *62 - '409': *44 + '409': *45 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62420,7 +62477,7 @@ paths: type: string total_count: type: integer - repository: *115 + repository: *116 commit_url: type: string format: uri @@ -63191,7 +63248,7 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" '404': *6 - '500': *143 + '500': *90 '503': *62 x-github: githubCloudOnly: false @@ -64290,7 +64347,7 @@ paths: verified_at: '422': *15 '404': *6 - '409': *44 + '409': *45 '503': *62 x-github: githubCloudOnly: false @@ -64469,8 +64526,8 @@ paths: schema: type: integer default: 30 - - *37 - *38 + - *39 - *155 - *156 responses: @@ -64536,7 +64593,7 @@ paths: html_url: *56 created_at: *53 updated_at: *54 - dismissed_at: *133 + dismissed_at: *134 dismissed_by: anyOf: - type: 'null' @@ -64560,7 +64617,7 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: *132 + fixed_at: *133 auto_dismissed_at: *412 required: - number @@ -65074,7 +65131,7 @@ paths: '400': *14 '403': *27 '404': *6 - '409': *44 + '409': *45 '422': *7 x-github: githubCloudOnly: false @@ -65201,7 +65258,7 @@ paths: parameters: - *267 - *268 - - *123 + - *124 responses: '200': description: Response @@ -65235,7 +65292,7 @@ paths: parameters: - *267 - *268 - - *123 + - *124 requestBody: required: true content: @@ -65263,7 +65320,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *124 + schema: *125 examples: default: value: @@ -65289,7 +65346,7 @@ paths: parameters: - *267 - *268 - - *123 + - *124 responses: '204': description: Response @@ -67977,7 +68034,7 @@ paths: - *267 - *268 - *426 - - *123 + - *124 responses: '200': description: Response @@ -68010,7 +68067,7 @@ paths: - *267 - *268 - *426 - - *123 + - *124 requestBody: required: true content: @@ -68041,7 +68098,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *124 + schema: *125 examples: default: value: @@ -68070,7 +68127,7 @@ paths: - *267 - *268 - *426 - - *123 + - *124 responses: '204': description: Default response @@ -68169,7 +68226,7 @@ paths: description: Response content: application/json: - schema: *124 + schema: *125 examples: default: value: @@ -68197,7 +68254,7 @@ paths: - *267 - *268 - *426 - - *126 + - *127 responses: '200': description: Response @@ -68228,7 +68285,7 @@ paths: parameters: - *267 - *268 - - *126 + - *127 - *426 requestBody: required: true @@ -68273,7 +68330,7 @@ paths: parameters: - *267 - *268 - - *126 + - *127 - *426 responses: '204': @@ -68397,7 +68454,7 @@ paths: application/json: schema: type: array - items: *115 + items: *116 examples: default: value: @@ -68643,7 +68700,7 @@ paths: schema: type: string '404': *6 - '409': *44 + '409': *45 '403': *27 '422': description: Validation failed @@ -68651,7 +68708,7 @@ paths: application/json: schema: oneOf: - - *93 + - *94 - *439 x-github: githubCloudOnly: false @@ -68730,7 +68787,7 @@ paths: '404': *6 '422': *15 '403': *27 - '409': *44 + '409': *45 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69065,7 +69122,7 @@ paths: type: string '422': *15 '404': *6 - '409': *44 + '409': *45 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69154,7 +69211,7 @@ paths: payload: verified_at: '404': *6 - '409': *44 + '409': *45 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69253,7 +69310,7 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/git/commits/612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac headers: Link: *57 - '409': *44 + '409': *45 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69294,7 +69351,7 @@ paths: sha: aa218f56b14c9653891f9e74264a383fa43fefbd url: https://api.github.com/repos/octocat/Hello-World/git/commits/aa218f56b14c9653891f9e74264a383fa43fefbd '404': *6 - '409': *44 + '409': *45 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69352,7 +69409,7 @@ paths: schema: type: string '422': *15 - '409': *44 + '409': *45 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69406,7 +69463,7 @@ paths: examples: default: *443 '422': *15 - '409': *44 + '409': *45 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69431,7 +69488,7 @@ paths: '422': description: Validation failed, an attempt was made to delete the default branch, or the endpoint has been spammed. - '409': *44 + '409': *45 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69640,7 +69697,7 @@ paths: schema: type: string '422': *15 - '409': *44 + '409': *45 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69702,7 +69759,7 @@ paths: examples: default: *446 '404': *6 - '409': *44 + '409': *45 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69878,7 +69935,7 @@ paths: '422': *15 '404': *6 '403': *27 - '409': *44 + '409': *45 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69966,7 +70023,7 @@ paths: truncated: false '422': *15 '404': *6 - '409': *44 + '409': *45 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70508,7 +70565,7 @@ paths: - *162 - *16 responses: - '202': *45 + '202': *37 '400': *14 '422': *15 x-github: @@ -77626,7 +77683,7 @@ paths: examples: default: *492 '422': *15 - '409': *44 + '409': *45 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77727,7 +77784,7 @@ paths: description: Response '422': *15 '400': *14 - '409': *44 + '409': *45 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77755,7 +77812,7 @@ paths: description: Response '422': *15 '404': *6 - '409': *44 + '409': *45 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78190,7 +78247,7 @@ paths: - *268 - *495 responses: - '204': *140 + '204': *141 '404': *6 x-github: githubCloudOnly: false @@ -78484,7 +78541,7 @@ paths: description: Empty response content: application/json: - schema: *124 + schema: *125 examples: default: value: @@ -78552,7 +78609,7 @@ paths: - *267 - *268 responses: - '204': *140 + '204': *141 '422': *14 x-github: githubCloudOnly: false @@ -78574,7 +78631,7 @@ paths: - *267 - *268 responses: - '204': *140 + '204': *141 '422': *14 x-github: githubCloudOnly: false @@ -80317,7 +80374,7 @@ paths: content: application/json: schema: *3 - '500': *143 + '500': *90 '503': *62 x-github: githubCloudOnly: false @@ -80954,7 +81011,7 @@ paths: headers: Link: *57 '422': *15 - '500': *143 + '500': *90 '503': *62 x-github: githubCloudOnly: false @@ -84797,7 +84854,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *143 + '500': *90 post: summary: Create a repository ruleset description: Create a ruleset for a repository. @@ -84909,7 +84966,7 @@ paths: created_at: '2023-07-15T08:43:03Z' updated_at: '2023-08-23T16:29:47Z' '404': *6 - '500': *143 + '500': *90 "/repos/{owner}/{repo}/rulesets/rule-suites": get: summary: List repository rule suites @@ -84940,7 +84997,7 @@ paths: examples: default: *546 '404': *6 - '500': *143 + '500': *90 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84971,7 +85028,7 @@ paths: examples: default: *549 '404': *6 - '500': *143 + '500': *90 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85022,7 +85079,7 @@ paths: examples: default: *550 '404': *6 - '500': *143 + '500': *90 put: summary: Update a repository ruleset description: Update a ruleset for a repository. @@ -85105,7 +85162,7 @@ paths: examples: default: *550 '404': *6 - '500': *143 + '500': *90 delete: summary: Delete a repository ruleset description: Delete a ruleset for a repository. @@ -85133,7 +85190,7 @@ paths: '204': description: Response '404': *6 - '500': *143 + '500': *90 "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history": get: summary: Get repository ruleset history @@ -85166,7 +85223,7 @@ paths: examples: default: *551 '404': *6 - '500': *143 + '500': *90 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85235,7 +85292,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *143 + '500': *90 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86284,8 +86341,8 @@ paths: - updated - published default: created - - *37 - *38 + - *39 - 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)." @@ -87224,7 +87281,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *93 + schema: *94 examples: invalid_state_transition: value: @@ -87259,7 +87316,7 @@ paths: - *268 - *563 responses: - '202': *45 + '202': *37 '400': *14 '403': *27 '404': *6 @@ -87439,8 +87496,8 @@ paths: - - 1302998400 - 1124 - -435 - '202': *45 - '204': *140 + '202': *37 + '204': *141 '422': description: Repository contains more than 10,000 commits x-github: @@ -87511,8 +87568,8 @@ paths: - 0 total: 89 week: 1336280400 - '202': *45 - '204': *140 + '202': *37 + '204': *141 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87611,8 +87668,8 @@ paths: a: 6898 d: 77 c: 10 - '202': *45 - '204': *140 + '202': *37 + '204': *141 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87813,7 +87870,7 @@ paths: - - 0 - 2 - 21 - '204': *140 + '204': *141 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88959,7 +89016,7 @@ paths: description: Response content: application/json: - schema: *115 + schema: *116 examples: default: value: @@ -89407,7 +89464,7 @@ paths: application/json: schema: type: array - items: *115 + items: *116 examples: default: value: @@ -89596,7 +89653,7 @@ paths: html_url: type: string format: uri - repository: *115 + repository: *116 score: type: number file_size: @@ -89893,7 +89950,7 @@ paths: type: string sha: type: string - repository: *115 + repository: *116 score: type: number node_id: @@ -92437,7 +92494,7 @@ paths: url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - *575 - - *128 + - *129 responses: '204': description: if user is a member @@ -92474,7 +92531,7 @@ paths: url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - *575 - - *128 + - *129 responses: '204': description: Response @@ -92514,7 +92571,7 @@ paths: url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - *575 - - *128 + - *129 responses: '204': description: Response @@ -92551,7 +92608,7 @@ paths: url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - *575 - - *128 + - *129 responses: '200': description: Response @@ -92593,7 +92650,7 @@ paths: url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - *575 - - *128 + - *129 requestBody: required: false content: @@ -92655,7 +92712,7 @@ paths: url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - *575 - - *128 + - *129 responses: '204': description: Response @@ -92860,7 +92917,7 @@ paths: application/json: schema: type: array - items: *115 + items: *116 examples: default: *210 headers: @@ -93687,7 +93744,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: - - *128 + - *129 responses: '204': description: If the user is blocked @@ -93715,7 +93772,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#block-a-user parameters: - - *128 + - *129 responses: '204': description: Response @@ -93739,7 +93796,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#unblock-a-user parameters: - - *128 + - *129 responses: '204': description: Response @@ -93792,7 +93849,7 @@ paths: examples: default: *192 '304': *35 - '500': *143 + '500': *90 '401': *23 '403': *27 '404': *6 @@ -94097,7 +94154,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *123 + - *124 responses: '200': description: Response @@ -94133,7 +94190,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *123 + - *124 requestBody: required: true content: @@ -94178,7 +94235,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *124 + schema: *125 examples: default: value: @@ -94206,7 +94263,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *123 + - *124 responses: '204': description: Response @@ -94231,7 +94288,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *123 + - *124 responses: '200': description: Response @@ -94247,13 +94304,13 @@ paths: type: integer repositories: type: array - items: *115 + items: *116 examples: default: *589 '401': *23 '403': *27 '404': *6 - '500': *143 + '500': *90 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -94274,7 +94331,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *123 + - *124 requestBody: required: true content: @@ -94306,7 +94363,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *143 + '500': *90 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -94328,7 +94385,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *123 + - *124 - name: repository_id in: path required: true @@ -94340,7 +94397,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *143 + '500': *90 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -94361,7 +94418,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *123 + - *124 - name: repository_id in: path required: true @@ -94373,7 +94430,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *143 + '500': *90 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -94403,7 +94460,7 @@ paths: examples: default: *386 '304': *35 - '500': *143 + '500': *90 '401': *23 '403': *27 '404': *6 @@ -94483,9 +94540,9 @@ paths: parameters: - *193 responses: - '202': *45 + '202': *37 '304': *35 - '500': *143 + '500': *90 '401': *23 '403': *27 '404': *6 @@ -94577,7 +94634,7 @@ paths: sha: fd95a81ca01e48ede9f39c799ecbcef817b8a3b2 id: latest export_url: https://api.github.com/user/codespaces/:name/exports/latest - '500': *143 + '500': *90 '401': *23 '403': *27 '404': *6 @@ -94657,7 +94714,7 @@ paths: examples: default: *592 '304': *35 - '500': *143 + '500': *90 '401': *23 '403': *27 '404': *6 @@ -95551,7 +95608,7 @@ paths: examples: default: *386 '304': *35 - '500': *143 + '500': *90 '400': *14 '401': *23 '402': @@ -95561,7 +95618,7 @@ paths: schema: *3 '403': *27 '404': *6 - '409': *44 + '409': *45 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -95590,7 +95647,7 @@ paths: schema: *191 examples: default: *386 - '500': *143 + '500': *90 '401': *23 '403': *27 '404': *6 @@ -96038,7 +96095,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: - - *128 + - *129 responses: '204': description: if the person is followed by the authenticated user @@ -96068,7 +96125,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#follow-a-user parameters: - - *128 + - *129 responses: '204': description: Response @@ -96093,7 +96150,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#unfollow-a-user parameters: - - *128 + - *129 responses: '204': description: Response @@ -96671,7 +96728,7 @@ paths: url: https://docs.github.com/rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *21 - - *105 + - *106 responses: '204': description: Response @@ -96697,7 +96754,7 @@ paths: url: https://docs.github.com/rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *21 - - *105 + - *106 responses: '204': description: Response @@ -97392,7 +97449,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-an-organization-membership-for-the-authenticated-user parameters: - - *90 + - *91 responses: '200': description: Response @@ -97456,7 +97513,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#update-an-organization-membership-for-the-authenticated-user parameters: - - *90 + - *91 requestBody: required: true content: @@ -98288,7 +98345,7 @@ paths: application/json: schema: type: array - items: *115 + items: *116 examples: default: *210 headers: @@ -99369,7 +99426,7 @@ paths: '204': description: Response '403': *27 - '409': *44 + '409': *45 '404': *6 '304': *35 x-github: @@ -99391,7 +99448,7 @@ paths: responses: '204': description: Response - '409': *44 + '409': *45 '304': *35 '404': *6 '403': *27 @@ -100049,7 +100106,7 @@ paths: application/json: schema: type: array - items: *115 + items: *116 examples: default: *210 headers: @@ -100313,7 +100370,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user parameters: - - *128 + - *129 responses: '200': description: Response @@ -100349,9 +100406,9 @@ paths: url: https://docs.github.com/rest/users/attestations#list-attestations parameters: - *17 - - *37 - *38 - - *128 + - *39 + - *129 - name: subject_digest description: Subject Digest in: path @@ -100406,7 +100463,7 @@ paths: description: Response content: application/json: - schema: *124 + schema: *125 examples: default: value: @@ -100432,7 +100489,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: - - *128 + - *129 responses: '200': description: Response @@ -100465,7 +100522,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-for-the-authenticated-user parameters: - - *128 + - *129 - *17 - *19 responses: @@ -100546,8 +100603,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-organization-events-for-the-authenticated-user parameters: - - *128 - - *90 + - *129 + - *91 - *17 - *19 responses: @@ -100636,7 +100693,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-user parameters: - - *128 + - *129 - *17 - *19 responses: @@ -100713,7 +100770,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-followers-of-a-user parameters: - - *128 + - *129 - *17 - *19 responses: @@ -100744,7 +100801,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-the-people-a-user-follows parameters: - - *128 + - *129 - *17 - *19 responses: @@ -100775,7 +100832,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#check-if-a-user-follows-another-user parameters: - - *128 + - *129 - name: target_user in: path required: true @@ -100802,7 +100859,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-a-user parameters: - - *128 + - *129 - *64 - *17 - *19 @@ -100836,7 +100893,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#list-gpg-keys-for-a-user parameters: - - *128 + - *129 - *17 - *19 responses: @@ -100872,7 +100929,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-contextual-information-for-a-user parameters: - - *128 + - *129 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -100944,7 +101001,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-user-installation-for-the-authenticated-app parameters: - - *128 + - *129 responses: '200': description: Response @@ -100970,7 +101027,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#list-public-keys-for-a-user parameters: - - *128 + - *129 - *17 - *19 responses: @@ -101018,7 +101075,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-organizations-for-a-user parameters: - - *128 + - *129 - *17 - *19 responses: @@ -101070,7 +101127,7 @@ paths: - nuget - container - *604 - - *128 + - *129 - *19 - *17 responses: @@ -101107,7 +101164,7 @@ paths: parameters: - *206 - *207 - - *128 + - *129 responses: '200': description: Response @@ -101138,7 +101195,7 @@ paths: parameters: - *206 - *207 - - *128 + - *129 responses: '204': description: Response @@ -101172,7 +101229,7 @@ paths: parameters: - *206 - *207 - - *128 + - *129 - name: token description: package token schema: @@ -101206,7 +101263,7 @@ paths: parameters: - *206 - *207 - - *128 + - *129 responses: '200': description: Response @@ -101275,7 +101332,7 @@ paths: - *206 - *207 - *209 - - *128 + - *129 responses: '200': description: Response @@ -101318,7 +101375,7 @@ paths: parameters: - *206 - *207 - - *128 + - *129 - *209 responses: '204': @@ -101353,7 +101410,7 @@ paths: parameters: - *206 - *207 - - *128 + - *129 - *209 responses: '204': @@ -101380,7 +101437,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-user-projects parameters: - - *128 + - *129 - name: state description: Indicates the state of the projects to return. in: query @@ -101463,7 +101520,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-received-by-the-authenticated-user parameters: - - *128 + - *129 - *17 - *19 responses: @@ -101552,7 +101609,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-received-by-a-user parameters: - - *128 + - *129 - *17 - *19 responses: @@ -101639,7 +101696,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repositories-for-a-user parameters: - - *128 + - *129 - name: type description: Limit results to repositories of the specified type. in: query @@ -101682,7 +101739,7 @@ paths: application/json: schema: type: array - items: *115 + items: *116 examples: default: *210 headers: @@ -101708,7 +101765,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-actions-billing-for-a-user parameters: - - *128 + - *129 responses: '200': description: Response @@ -101738,7 +101795,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-packages-billing-for-a-user parameters: - - *128 + - *129 responses: '200': description: Response @@ -101768,7 +101825,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-shared-storage-billing-for-a-user parameters: - - *128 + - *129 responses: '200': description: Response @@ -101794,7 +101851,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/social-accounts#list-social-accounts-for-a-user parameters: - - *128 + - *129 - *17 - *19 responses: @@ -101826,7 +101883,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#list-ssh-signing-keys-for-a-user parameters: - - *128 + - *129 - *17 - *19 responses: @@ -101862,7 +101919,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *128 + - *129 - *627 - *46 - *17 @@ -101898,7 +101955,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *128 + - *129 - *17 - *19 responses: @@ -101908,7 +101965,7 @@ paths: application/json: schema: type: array - items: *115 + items: *116 examples: default: *210 headers: @@ -103770,7 +103827,7 @@ webhooks: pull_requests: type: array items: *346 - repository: *115 + repository: *116 status: type: string enum: diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json index dfa7efe9e6..9ceb584a51 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json @@ -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." @@ -16162,6 +16166,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-next/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml index 557913e8ec..5976af9331 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml @@ -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 - - &37 + - &38 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 - - &38 + - &39 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 @@ -1032,7 +1034,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &94 + schema: &95 title: Validation Error Simple description: Validation Error Simple type: object @@ -1836,7 +1838,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &93 + schema: &94 title: Validation Error description: Validation Error type: object @@ -2103,7 +2105,7 @@ paths: parameters: - *16 responses: - '202': &45 + '202': &37 description: Accepted content: application/json: @@ -5329,6 +5331,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': *37 + '422': *7 + '500': &90 + description: Internal Error + content: + application/json: + schema: *3 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: credentials + subcategory: revoke "/emojis": get: summary: Get emojis @@ -7250,7 +7311,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-code-security-configurations-for-an-enterprise parameters: - - &39 + - &40 name: enterprise description: The slug version of the enterprise name. You can also substitute this value with the enterprise id. @@ -7266,8 +7327,8 @@ paths: schema: type: integer default: 30 - - *37 - *38 + - *39 responses: '200': description: Response @@ -7275,7 +7336,7 @@ paths: application/json: schema: type: array - items: &40 + items: &41 type: object description: A code security configuration properties: @@ -7561,7 +7622,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#create-a-code-security-configuration-for-an-enterprise parameters: - - *39 + - *40 requestBody: required: true content: @@ -7638,7 +7699,7 @@ paths: - disabled - not_set default: disabled - code_scanning_default_setup_options: &43 + code_scanning_default_setup_options: &44 type: - object - 'null' @@ -7750,9 +7811,9 @@ paths: description: Successfully created code security configuration content: application/json: - schema: *40 + schema: *41 examples: - default: &41 + default: &42 value: id: 1325 target_type: enterprise @@ -7804,13 +7865,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-default-code-security-configurations-for-an-enterprise parameters: - - *39 + - *40 responses: '200': description: Response content: application/json: - schema: &138 + schema: &139 type: array description: A list of default code security configurations items: @@ -7824,9 +7885,9 @@ paths: description: The visibility of newly created repositories for which the code security configuration will be applied to by default - configuration: *40 + configuration: *41 examples: - default: &139 + default: &140 value: - default_for_new_repos: public configuration: @@ -7910,8 +7971,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#retrieve-a-code-security-configuration-of-an-enterprise parameters: - - *39 - - &42 + - *40 + - &43 name: configuration_id description: The unique identifier of the code security configuration. in: path @@ -7923,9 +7984,9 @@ paths: description: Response content: application/json: - schema: *40 + schema: *41 examples: - default: *41 + default: *42 '304': *35 '403': *27 '404': *6 @@ -7949,8 +8010,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: - - *39 - - *42 + - *40 + - *43 requestBody: required: true content: @@ -8020,7 +8081,7 @@ paths: - enabled - disabled - not_set - code_scanning_default_setup_options: *43 + code_scanning_default_setup_options: *44 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -8101,13 +8162,13 @@ paths: description: Response content: application/json: - schema: *40 + schema: *41 examples: - default: *41 + default: *42 '304': *35 '403': *27 '404': *6 - '409': &44 + '409': &45 description: Conflict content: application/json: @@ -8134,15 +8195,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#delete-a-code-security-configuration-for-an-enterprise parameters: - - *39 - - *42 + - *40 + - *43 responses: - '204': &140 + '204': &141 description: A header with no content is returned. '400': *14 '403': *27 '404': *6 - '409': *44 + '409': *45 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -8166,8 +8227,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#attach-an-enterprise-configuration-to-repositories parameters: - - *39 - - *42 + - *40 + - *43 requestBody: required: true content: @@ -8191,10 +8252,10 @@ paths: value: scope: all responses: - '202': *45 + '202': *37 '403': *27 '404': *6 - '409': *44 + '409': *45 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -8218,8 +8279,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: - - *39 - - *42 + - *40 + - *43 requestBody: required: true content: @@ -8259,12 +8320,12 @@ paths: - none - private_and_internal - public - configuration: *40 + configuration: *41 examples: default: value: default_for_new_repos: all - configuration: &137 + configuration: &138 value: id: 1325 target_type: organization @@ -8318,8 +8379,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: - - *39 - - *42 + - *40 + - *43 - 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)." @@ -8328,8 +8389,8 @@ paths: schema: type: integer default: 30 - - *37 - *38 + - *39 - name: status description: |- A comma-separated list of statuses. If specified, only repositories with these attachment statuses will be returned. @@ -8347,7 +8408,7 @@ paths: application/json: schema: type: array - items: &141 + items: &142 type: object description: Repositories associated with a code security configuration and attachment status @@ -8692,7 +8753,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &142 + repository: &143 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -8785,7 +8846,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - - *39 + - *40 - &147 name: state in: query @@ -8872,8 +8933,8 @@ paths: - epss_percentage default: created - *46 - - *37 - *38 + - *39 - &155 name: first description: |- @@ -9206,7 +9267,7 @@ paths: 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_at: &133 + dismissed_at: &134 type: - string - 'null' @@ -9237,7 +9298,7 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: &132 + fixed_at: &133 type: - string - 'null' @@ -9618,7 +9679,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - - *39 + - *40 - &236 name: state in: query @@ -9663,8 +9724,8 @@ paths: default: created - *46 - *17 - - *37 - *38 + - *39 - &240 name: validity in: query @@ -14679,7 +14740,7 @@ paths: properties: id: type: string - repository: &115 + repository: &116 title: Minimal Repository description: Minimal Repository type: object @@ -15833,7 +15894,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization parameters: - - &90 + - &91 name: org description: The organization name. The name is not case sensitive. in: path @@ -15946,11 +16007,7 @@ paths: repositoryName: github/example '400': *14 '403': *27 - '500': &143 - description: Internal Error - content: - application/json: - schema: *3 + '500': *90 '503': *62 x-github: githubCloudOnly: false @@ -15977,13 +16034,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-an-organization parameters: - - *90 + - *91 responses: '200': description: Response content: application/json: - schema: &91 + schema: &92 title: Organization Full description: Organization Full type: object @@ -16338,7 +16395,7 @@ paths: - updated_at - archived_at examples: - default-response: &92 + default-response: &93 value: login: github id: 1 @@ -16429,7 +16486,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#update-an-organization parameters: - - *90 + - *91 requestBody: required: false content: @@ -16646,18 +16703,18 @@ paths: description: Response content: application/json: - schema: *91 + schema: *92 examples: - default: *92 + default: *93 '422': description: Validation failed content: application/json: schema: oneOf: - - *93 - *94 - '409': *44 + - *95 + '409': *45 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -16680,9 +16737,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#delete-an-organization parameters: - - *90 + - *91 responses: - '202': *45 + '202': *37 '404': *6 '403': *27 x-github: @@ -16705,7 +16762,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-an-organization parameters: - - *90 + - *91 responses: '200': description: Response @@ -16752,7 +16809,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: - - *90 + - *91 - *17 - *19 responses: @@ -16828,7 +16885,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-github-hosted-runners-for-an-organization parameters: - - *90 + - *91 - *17 - *19 responses: @@ -16846,7 +16903,7 @@ paths: type: integer runners: type: array - items: &95 + items: &96 title: GitHub-hosted hosted runner description: A Github-hosted hosted runner. type: object @@ -16904,7 +16961,7 @@ paths: - display_name - source - version - machine_size_details: &98 + machine_size_details: &99 title: Github-owned VM details. description: Provides details of a particular machine spec. type: object @@ -17009,7 +17066,7 @@ paths: - public_ip_enabled - platform examples: - default: &114 + default: &115 value: total_count: 2 runners: @@ -17069,7 +17126,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#create-a-github-hosted-runner-for-an-organization parameters: - - *90 + - *91 requestBody: required: true content: @@ -17136,9 +17193,9 @@ paths: description: Response content: application/json: - schema: *95 + schema: *96 examples: - default: &99 + default: &100 value: id: 5 name: My hosted ubuntu runner @@ -17177,7 +17234,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: - - *90 + - *91 responses: '200': description: Response @@ -17193,7 +17250,7 @@ paths: type: integer images: type: array - items: &96 + items: &97 title: GitHub-hosted runner image details. description: Provides details of a hosted runner image type: object @@ -17233,7 +17290,7 @@ paths: - display_name - source examples: - default: &97 + default: &98 value: id: ubuntu-20.04 platform: linux-x64 @@ -17257,7 +17314,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: - - *90 + - *91 responses: '200': description: Response @@ -17273,9 +17330,9 @@ paths: type: integer images: type: array - items: *96 + items: *97 examples: - default: *97 + default: *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -17292,7 +17349,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: - - *90 + - *91 responses: '200': description: Response @@ -17347,7 +17404,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: - - *90 + - *91 responses: '200': description: Response @@ -17363,7 +17420,7 @@ paths: type: integer machine_specs: type: array - items: *98 + items: *99 examples: default: value: @@ -17388,7 +17445,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: - - *90 + - *91 responses: '200': description: Response @@ -17432,8 +17489,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization parameters: - - *90 - - &100 + - *91 + - &101 name: hosted_runner_id description: Unique identifier of the GitHub-hosted runner. in: path @@ -17445,9 +17502,9 @@ paths: description: Response content: application/json: - schema: *95 + schema: *96 examples: - default: *99 + default: *100 headers: Link: *57 x-github: @@ -17467,8 +17524,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-organization parameters: - - *90 - - *100 + - *91 + - *101 requestBody: required: true content: @@ -17506,9 +17563,9 @@ paths: description: Response content: application/json: - schema: *95 + schema: *96 examples: - default: *99 + default: *100 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -17524,16 +17581,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization parameters: - - *90 - - *100 + - *91 + - *101 responses: '202': description: Response content: application/json: - schema: *95 + schema: *96 examples: - default: *99 + default: *100 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -17553,13 +17610,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: - - *90 + - *91 responses: '200': description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &101 + schema: &102 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -17573,7 +17630,7 @@ paths: required: - include_claim_keys examples: - default: &102 + default: &103 value: include_claim_keys: - repo @@ -17595,20 +17652,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: - - *90 + - *91 requestBody: required: true content: application/json: - schema: *101 + schema: *102 examples: - default: *102 + default: *103 responses: '201': description: Empty response content: application/json: - schema: &124 + schema: &125 title: Empty Object description: An object without any properties. type: object @@ -17638,7 +17695,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-an-organization parameters: - - *90 + - *91 responses: '200': description: Response @@ -17647,7 +17704,7 @@ paths: schema: type: object properties: - enabled_repositories: &103 + enabled_repositories: &104 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -17660,7 +17717,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: &104 + allowed_actions: &105 type: string description: The permissions policy that controls the actions and reusable workflows that are allowed to run. @@ -17699,7 +17756,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-an-organization parameters: - - *90 + - *91 responses: '204': description: Response @@ -17710,8 +17767,8 @@ paths: schema: type: object properties: - enabled_repositories: *103 - allowed_actions: *104 + enabled_repositories: *104 + allowed_actions: *105 required: - enabled_repositories examples: @@ -17738,7 +17795,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: - - *90 + - *91 - *17 - *19 responses: @@ -17898,7 +17955,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: - - *90 + - *91 responses: '204': description: Response @@ -17942,8 +17999,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: - - *90 - - &105 + - *91 + - &106 name: repository_id description: The unique identifier of the repository. in: path @@ -17971,8 +18028,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: - - *90 - - *105 + - *91 + - *106 responses: '204': description: Response @@ -17995,13 +18052,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *90 + - *91 responses: '200': description: Response content: application/json: - schema: &106 + schema: &107 type: object properties: github_owned_allowed: @@ -18023,7 +18080,7 @@ paths: items: type: string examples: - default: &107 + default: &108 value: github_owned_allowed: true verified_allowed: false @@ -18048,7 +18105,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *90 + - *91 responses: '204': description: Response @@ -18056,9 +18113,9 @@ paths: required: false content: application/json: - schema: *106 + schema: *107 examples: - selected_actions: *107 + selected_actions: *108 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -18080,7 +18137,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-an-organization parameters: - - *90 + - *91 responses: '200': description: Response @@ -18089,14 +18146,14 @@ paths: schema: &294 type: object properties: - default_workflow_permissions: &108 + default_workflow_permissions: &109 type: string description: The default workflow permissions granted to the GITHUB_TOKEN when running workflows. enum: - read - write - can_approve_pull_request_reviews: &109 + can_approve_pull_request_reviews: &110 type: boolean description: Whether GitHub Actions can approve pull requests. Enabling this can be a security risk. @@ -18104,7 +18161,7 @@ paths: - default_workflow_permissions - can_approve_pull_request_reviews examples: - default: &110 + default: &111 summary: Give read-only permission, and allow approving PRs. value: default_workflow_permissions: read @@ -18129,7 +18186,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-an-organization parameters: - - *90 + - *91 responses: '204': description: Success response @@ -18140,10 +18197,10 @@ paths: schema: &295 type: object properties: - default_workflow_permissions: *108 - can_approve_pull_request_reviews: *109 + default_workflow_permissions: *109 + can_approve_pull_request_reviews: *110 examples: - default: *110 + default: *111 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18163,7 +18220,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: - - *90 + - *91 - *17 - *19 - name: visible_to_repository @@ -18188,7 +18245,7 @@ paths: type: number runner_groups: type: array - items: &111 + items: &112 type: object properties: id: @@ -18305,7 +18362,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: - - *90 + - *91 requestBody: required: true content: @@ -18378,9 +18435,9 @@ paths: description: Response content: application/json: - schema: *111 + schema: *112 examples: - default: &113 + default: &114 value: id: 2 name: octo-runner-group @@ -18415,8 +18472,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: - - *90 - - &112 + - *91 + - &113 name: runner_group_id description: Unique identifier of the self-hosted runner group. in: path @@ -18428,7 +18485,7 @@ paths: description: Response content: application/json: - schema: *111 + schema: *112 examples: default: value: @@ -18464,8 +18521,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: - - *90 - - *112 + - *91 + - *113 requestBody: required: true content: @@ -18521,9 +18578,9 @@ paths: description: Response content: application/json: - schema: *111 + schema: *112 examples: - default: *113 + default: *114 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -18542,8 +18599,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: - - *90 - - *112 + - *91 + - *113 responses: '204': description: Response @@ -18566,8 +18623,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: - - *90 - - *112 + - *91 + - *113 - *17 - *19 responses: @@ -18585,9 +18642,9 @@ paths: type: number runners: type: array - items: *95 + items: *96 examples: - default: *114 + default: *115 headers: Link: *57 x-github: @@ -18609,8 +18666,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: - - *90 - - *112 + - *91 + - *113 - *19 - *17 responses: @@ -18628,7 +18685,7 @@ paths: type: number repositories: type: array - items: *115 + items: *116 examples: default: &589 value: @@ -18882,8 +18939,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: - - *90 - - *112 + - *91 + - *113 requestBody: required: true content: @@ -18927,9 +18984,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: - - *90 - - *112 - - *105 + - *91 + - *113 + - *106 responses: '204': description: Response @@ -18951,9 +19008,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: - - *90 - - *112 - - *105 + - *91 + - *113 + - *106 responses: '204': description: Response @@ -18976,8 +19033,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: - - *90 - - *112 + - *91 + - *113 - *17 - *19 responses: @@ -18995,7 +19052,7 @@ paths: type: number runners: type: array - items: &117 + items: &118 title: Self hosted runners description: A self hosted runner type: object @@ -19029,7 +19086,7 @@ paths: type: boolean labels: type: array - items: &120 + items: &121 title: Self hosted runner label description: A label for a self hosted runner type: object @@ -19059,7 +19116,7 @@ paths: - busy - labels examples: - default: &118 + default: &119 value: total_count: 2 runners: @@ -19118,8 +19175,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: - - *90 - - *112 + - *91 + - *113 requestBody: required: true content: @@ -19163,9 +19220,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: - - *90 - - *112 - - &116 + - *91 + - *113 + - &117 name: runner_id description: Unique identifier of the self-hosted runner. in: path @@ -19193,9 +19250,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: - - *90 - - *112 - - *116 + - *91 + - *113 + - *117 responses: '204': description: Response @@ -19225,7 +19282,7 @@ paths: in: query schema: type: string - - *90 + - *91 - *17 - *19 responses: @@ -19243,9 +19300,9 @@ paths: type: integer runners: type: array - items: *117 + items: *118 examples: - default: *118 + default: *119 headers: Link: *57 x-github: @@ -19269,7 +19326,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-an-organization parameters: - - *90 + - *91 responses: '200': description: Response @@ -19345,7 +19402,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: - - *90 + - *91 requestBody: required: true content: @@ -19398,7 +19455,7 @@ paths: - runner - encoded_jit_config properties: - runner: *117 + runner: *118 encoded_jit_config: type: string description: The base64 encoded runner configuration. @@ -19427,7 +19484,7 @@ paths: encoded_jit_config: abc123 '404': *6 '422': *7 - '409': *44 + '409': *45 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19455,13 +19512,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-an-organization parameters: - - *90 + - *91 responses: '201': description: Response content: application/json: - schema: &119 + schema: &120 title: Authentication Token description: Authentication Token type: object @@ -19534,13 +19591,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-an-organization parameters: - - *90 + - *91 responses: '201': description: Response content: application/json: - schema: *119 + schema: *120 examples: default: &300 value: @@ -19567,14 +19624,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: - - *90 - - *116 + - *91 + - *117 responses: '200': description: Response content: application/json: - schema: *117 + schema: *118 examples: default: &301 value: @@ -19617,8 +19674,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: - - *90 - - *116 + - *91 + - *117 responses: '204': description: Response @@ -19643,10 +19700,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: - - *90 - - *116 + - *91 + - *117 responses: - '200': &121 + '200': &122 description: Response content: application/json: @@ -19660,7 +19717,7 @@ paths: type: integer labels: type: array - items: *120 + items: *121 examples: default: value: @@ -19699,8 +19756,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: - - *90 - - *116 + - *91 + - *117 requestBody: required: true content: @@ -19724,7 +19781,7 @@ paths: - gpu - accelerated responses: - '200': *121 + '200': *122 '404': *6 '422': *7 x-github: @@ -19748,8 +19805,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: - - *90 - - *116 + - *91 + - *117 requestBody: required: true content: @@ -19774,7 +19831,7 @@ paths: - gpu - accelerated responses: - '200': *121 + '200': *122 '404': *6 '422': *7 x-github: @@ -19798,8 +19855,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: - - *90 - - *116 + - *91 + - *117 responses: '200': &302 description: Response @@ -19815,7 +19872,7 @@ paths: type: integer labels: type: array - items: *120 + items: *121 examples: default: value: @@ -19856,8 +19913,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: - - *90 - - *116 + - *91 + - *117 - &303 name: name description: The name of a self-hosted runner's custom label. @@ -19866,7 +19923,7 @@ paths: schema: type: string responses: - '200': *121 + '200': *122 '404': *6 '422': *7 x-github: @@ -19891,7 +19948,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-organization-secrets parameters: - - *90 + - *91 - *17 - *19 responses: @@ -19909,7 +19966,7 @@ paths: type: integer secrets: type: array - items: &122 + items: &123 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -19984,7 +20041,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-public-key parameters: - - *90 + - *91 responses: '200': description: Response @@ -20050,8 +20107,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-secret parameters: - - *90 - - &123 + - *91 + - &124 name: secret_name description: The name of the secret. in: path @@ -20063,7 +20120,7 @@ paths: description: Response content: application/json: - schema: *122 + schema: *123 examples: default: value: @@ -20093,8 +20150,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *90 - - *123 + - *91 + - *124 requestBody: required: true content: @@ -20151,7 +20208,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *124 + schema: *125 examples: default: value: @@ -20177,8 +20234,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-organization-secret parameters: - - *90 - - *123 + - *91 + - *124 responses: '204': description: Response @@ -20204,8 +20261,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *90 - - *123 + - *91 + - *124 - *19 - *17 responses: @@ -20223,9 +20280,9 @@ paths: type: integer repositories: type: array - items: *115 + items: *116 examples: - default: &127 + default: &128 value: total_count: 1 repositories: @@ -20317,8 +20374,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *90 - - *123 + - *91 + - *124 requestBody: required: true content: @@ -20370,8 +20427,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - - *90 - - *123 + - *91 + - *124 - name: repository_id in: path required: true @@ -20404,8 +20461,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *90 - - *123 + - *91 + - *124 - name: repository_id in: path required: true @@ -20437,7 +20494,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - - *90 + - *91 - &289 name: per_page description: The number of results per page (max 30). For more information, @@ -20462,7 +20519,7 @@ paths: type: integer variables: type: array - items: &125 + items: &126 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -20552,7 +20609,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-organization-variable parameters: - - *90 + - *91 requestBody: required: true content: @@ -20600,7 +20657,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *124 + schema: *125 examples: default: value: @@ -20625,8 +20682,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-organization-variable parameters: - - *90 - - &126 + - *91 + - &127 name: name description: The name of the variable. in: path @@ -20638,7 +20695,7 @@ paths: description: Response content: application/json: - schema: *125 + schema: *126 examples: default: value: @@ -20668,8 +20725,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-organization-variable parameters: - - *90 - - *126 + - *91 + - *127 requestBody: required: true content: @@ -20731,8 +20788,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-organization-variable parameters: - - *90 - - *126 + - *91 + - *127 responses: '204': description: Response @@ -20758,8 +20815,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - - *90 - - *126 + - *91 + - *127 - *19 - *17 responses: @@ -20777,9 +20834,9 @@ paths: type: integer repositories: type: array - items: *115 + items: *116 examples: - default: *127 + default: *128 '409': description: Response when the visibility of the variable is not set to `selected` @@ -20805,8 +20862,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - - *90 - - *126 + - *91 + - *127 requestBody: required: true content: @@ -20855,8 +20912,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - - *90 - - *126 + - *91 + - *127 - name: repository_id in: path required: true @@ -20890,8 +20947,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - - *90 - - *126 + - *91 + - *127 - name: repository_id in: path required: true @@ -20925,9 +20982,9 @@ paths: url: https://docs.github.com/rest/orgs/orgs#list-attestations parameters: - *17 - - *37 - *38 - - *90 + - *39 + - *91 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -21085,7 +21142,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *90 + - *91 - *17 - *19 responses: @@ -21135,8 +21192,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - - *90 - - &128 + - *91 + - &129 name: username description: The handle for the GitHub user account. in: path @@ -21167,8 +21224,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *90 - - *128 + - *91 + - *129 responses: '204': description: Response @@ -21188,8 +21245,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *90 - - *128 + - *91 + - *129 responses: '204': description: Response @@ -21214,7 +21271,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#list-campaigns-for-an-organization parameters: - - *90 + - *91 - *19 - *17 - *46 @@ -21222,7 +21279,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &129 + schema: &130 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -21248,7 +21305,7 @@ paths: application/json: schema: type: array - items: &130 + items: &131 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -21454,7 +21511,7 @@ paths: - string - 'null' format: date-time - state: *129 + state: *130 contact_link: description: The contact link of the campaign. type: @@ -21576,7 +21633,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#create-a-campaign-for-an-organization parameters: - - *90 + - *91 requestBody: required: true content: @@ -21671,9 +21728,9 @@ paths: description: Response content: application/json: - schema: *130 + schema: *131 examples: - default: &131 + default: &132 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -21744,7 +21801,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#get-a-campaign-for-an-organization parameters: - - *90 + - *91 - name: campaign_number description: The campaign number. in: path @@ -21756,9 +21813,9 @@ paths: description: Response content: application/json: - schema: *130 + schema: *131 examples: - default: *131 + default: *132 '404': *6 '422': description: Unprocessable Entity @@ -21786,7 +21843,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#update-a-campaign parameters: - - *90 + - *91 - name: campaign_number description: The campaign number. in: path @@ -21836,7 +21893,7 @@ paths: - string - 'null' format: uri - state: *129 + state: *130 examples: default: value: @@ -21846,9 +21903,9 @@ paths: description: Response content: application/json: - schema: *130 + schema: *131 examples: - default: *131 + default: *132 '400': description: Bad Request content: @@ -21881,7 +21938,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#delete-a-campaign-for-an-organization parameters: - - *90 + - *91 - name: campaign_number description: The campaign number. in: path @@ -21914,7 +21971,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - - *90 + - *91 - &354 name: tool_name description: The name of a code scanning tool. Only results by this tool will @@ -21922,7 +21979,7 @@ paths: but not both. in: query required: false - schema: &134 + schema: &135 type: string description: The name of the tool used to generate the code scanning analysis. - &355 @@ -21933,14 +21990,14 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &135 + schema: &136 type: - string - 'null' description: The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data. - - *37 - *38 + - *39 - *19 - *17 - *46 @@ -22004,7 +22061,7 @@ paths: for an alert. format: uri readOnly: true - state: &136 + state: &137 type: - string - 'null' @@ -22014,12 +22071,12 @@ paths: - dismissed - fixed - - fixed_at: *132 + fixed_at: *133 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *133 + dismissed_at: *134 dismissed_reason: &360 type: - string @@ -22102,14 +22159,14 @@ paths: tool: &363 type: object properties: - name: *134 + name: *135 version: type: - string - 'null' description: The version of the tool used to generate the code scanning analysis. - guid: *135 + guid: *136 most_recent_instance: &364 type: object properties: @@ -22135,7 +22192,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: *136 + state: *137 commit_sha: type: string message: @@ -22449,7 +22506,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-code-security-configurations-for-an-organization parameters: - - *90 + - *91 - name: target_type in: query description: The target type of the code security configuration @@ -22468,8 +22525,8 @@ paths: schema: type: integer default: 30 - - *37 - *38 + - *39 responses: '200': description: Response @@ -22477,7 +22534,7 @@ paths: application/json: schema: type: array - items: *40 + items: *41 examples: default: value: @@ -22560,7 +22617,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#create-a-code-security-configuration parameters: - - *90 + - *91 requestBody: required: true content: @@ -22637,7 +22694,7 @@ paths: - disabled - not_set default: disabled - code_scanning_default_setup_options: *43 + code_scanning_default_setup_options: *44 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -22762,9 +22819,9 @@ paths: description: Successfully created code security configuration content: application/json: - schema: *40 + schema: *41 examples: - default: *137 + default: *138 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22786,15 +22843,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-default-code-security-configurations parameters: - - *90 + - *91 responses: '200': description: Response content: application/json: - schema: *138 + schema: *139 examples: - default: *139 + default: *140 '304': *35 '403': *27 '404': *6 @@ -22820,7 +22877,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *90 + - *91 requestBody: required: true content: @@ -22843,11 +22900,11 @@ paths: - 32 - 91 responses: - '204': *140 + '204': *141 '400': *14 '403': *27 '404': *6 - '409': *44 + '409': *45 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22869,16 +22926,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-a-code-security-configuration parameters: - - *90 - - *42 + - *91 + - *43 responses: '200': description: Response content: application/json: - schema: *40 + schema: *41 examples: - default: *137 + default: *138 '304': *35 '403': *27 '404': *6 @@ -22902,8 +22959,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#update-a-code-security-configuration parameters: - - *90 - - *42 + - *91 + - *43 requestBody: required: true content: @@ -22973,7 +23030,7 @@ paths: - enabled - disabled - not_set - code_scanning_default_setup_options: *43 + code_scanning_default_setup_options: *44 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -23084,7 +23141,7 @@ paths: description: Response when a configuration is updated content: application/json: - schema: *40 + schema: *41 examples: default: value: @@ -23141,14 +23198,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *90 - - *42 + - *91 + - *43 responses: - '204': *140 + '204': *141 '400': *14 '403': *27 '404': *6 - '409': *44 + '409': *45 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23172,8 +23229,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *90 - - *42 + - *91 + - *43 requestBody: required: true content: @@ -23212,7 +23269,7 @@ paths: - 32 - 91 responses: - '202': *45 + '202': *37 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23236,8 +23293,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: - - *90 - - *42 + - *91 + - *43 requestBody: required: true content: @@ -23277,12 +23334,12 @@ paths: - none - private_and_internal - public - configuration: *40 + configuration: *41 examples: default: value: default_for_new_repos: all - configuration: *137 + configuration: *138 '403': *27 '404': *6 x-github: @@ -23306,8 +23363,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration parameters: - - *90 - - *42 + - *91 + - *43 - 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)." @@ -23316,8 +23373,8 @@ paths: schema: type: integer default: 30 - - *37 - *38 + - *39 - name: status description: |- A comma-separated list of statuses. If specified, only repositories with these attachment statuses will be returned. @@ -23335,13 +23392,13 @@ paths: application/json: schema: type: array - items: *141 + items: *142 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *142 + repository: *143 '403': *27 '404': *6 x-github: @@ -23365,7 +23422,7 @@ paths: parameters: - *17 - *19 - - *90 + - *91 responses: '200': description: Response @@ -23412,7 +23469,7 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *115 + repository: *116 machine: anyOf: - type: 'null' @@ -24113,7 +24170,7 @@ paths: stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-f8adfad99a/stop recent_folders: [] '304': *35 - '500': *143 + '500': *90 '401': *23 '403': *27 '404': *6 @@ -24135,7 +24192,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *90 + - *91 deprecated: true requestBody: required: true @@ -24179,7 +24236,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *143 + '500': *90 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -24202,7 +24259,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#add-users-to-codespaces-access-for-an-organization parameters: - - *90 + - *91 deprecated: true requestBody: required: true @@ -24234,7 +24291,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *143 + '500': *90 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -24257,7 +24314,7 @@ paths: url: https://docs.github.com/rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *90 + - *91 requestBody: required: true content: @@ -24288,7 +24345,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *143 + '500': *90 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -24309,7 +24366,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *90 + - *91 - *17 - *19 responses: @@ -24400,7 +24457,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *90 + - *91 responses: '200': description: Response @@ -24464,8 +24521,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *90 - - *123 + - *91 + - *124 responses: '200': description: Response @@ -24500,8 +24557,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - - *90 - - *123 + - *91 + - *124 requestBody: required: true content: @@ -24556,7 +24613,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *124 + schema: *125 examples: default: value: @@ -24582,8 +24639,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *90 - - *123 + - *91 + - *124 responses: '204': description: Response @@ -24608,8 +24665,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - - *90 - - *123 + - *91 + - *124 - *19 - *17 responses: @@ -24627,9 +24684,9 @@ paths: type: integer repositories: type: array - items: *115 + items: *116 examples: - default: *127 + default: *128 '404': *6 x-github: githubCloudOnly: false @@ -24651,8 +24708,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - - *90 - - *123 + - *91 + - *124 requestBody: required: true content: @@ -24702,8 +24759,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - - *90 - - *123 + - *91 + - *124 - name: repository_id in: path required: true @@ -24736,8 +24793,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - - *90 - - *123 + - *91 + - *124 - name: repository_id in: path required: true @@ -24776,7 +24833,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: - - *90 + - *91 responses: '200': description: OK @@ -24885,7 +24942,7 @@ paths: cli: enabled public_code_suggestions: block plan_type: business - '500': *143 + '500': *90 '401': *23 '403': *27 '404': *6 @@ -24917,7 +24974,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: - - *90 + - *91 - *19 - name: per_page description: The number of results per page (max 100). For more information, @@ -25133,7 +25190,7 @@ paths: site_admin: false headers: Link: *57 - '500': *143 + '500': *90 '401': *23 '403': *27 '404': *6 @@ -25166,7 +25223,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: - - *90 + - *91 requestBody: content: application/json: @@ -25208,7 +25265,7 @@ paths: default: value: seats_created: 5 - '500': *143 + '500': *90 '401': *23 '403': *27 '404': *6 @@ -25244,7 +25301,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: - - *90 + - *91 requestBody: content: application/json: @@ -25286,7 +25343,7 @@ paths: default: value: seats_cancelled: 5 - '500': *143 + '500': *90 '401': *23 '403': *27 '404': *6 @@ -25324,7 +25381,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: - - *90 + - *91 requestBody: content: application/json: @@ -25365,7 +25422,7 @@ paths: default: value: seats_created: 5 - '500': *143 + '500': *90 '401': *23 '403': *27 '404': *6 @@ -25401,7 +25458,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: - - *90 + - *91 requestBody: content: application/json: @@ -25443,7 +25500,7 @@ paths: default: value: seats_cancelled: 5 - '500': *143 + '500': *90 '401': *23 '403': *27 '404': *6 @@ -25482,7 +25539,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization parameters: - - *90 + - *91 - 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`). @@ -25928,7 +25985,7 @@ paths: custom_model_training_date: '2024-02-01' total_pr_summaries_created: 10 total_engaged_users: 4 - '500': *143 + '500': *90 '403': *27 '404': *6 '422': &251 @@ -25958,7 +26015,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *90 + - *91 - *147 - *148 - *149 @@ -25968,8 +26025,8 @@ paths: - *153 - *154 - *46 - - *37 - *38 + - *39 - *155 - *156 - *17 @@ -26008,7 +26065,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-organization-secrets parameters: - - *90 + - *91 - *17 - *19 responses: @@ -26099,7 +26156,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-public-key parameters: - - *90 + - *91 responses: '200': description: Response @@ -26147,8 +26204,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-secret parameters: - - *90 - - *123 + - *91 + - *124 responses: '200': description: Response @@ -26182,8 +26239,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *90 - - *123 + - *91 + - *124 requestBody: required: true content: @@ -26238,7 +26295,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *124 + schema: *125 examples: default: value: @@ -26262,8 +26319,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-an-organization-secret parameters: - - *90 - - *123 + - *91 + - *124 responses: '204': description: Response @@ -26287,8 +26344,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *90 - - *123 + - *91 + - *124 - *19 - *17 responses: @@ -26306,9 +26363,9 @@ paths: type: integer repositories: type: array - items: *115 + items: *116 examples: - default: *127 + default: *128 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26329,8 +26386,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *90 - - *123 + - *91 + - *124 requestBody: required: true content: @@ -26380,8 +26437,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - - *90 - - *123 + - *91 + - *124 - name: repository_id in: path required: true @@ -26412,8 +26469,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *90 - - *123 + - *91 + - *124 - name: repository_id in: path required: true @@ -26443,7 +26500,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: - - *90 + - *91 responses: '200': description: Response @@ -26504,7 +26561,7 @@ paths: repository: anyOf: - type: 'null' - - *115 + - *116 created_at: type: string format: date-time @@ -26600,7 +26657,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-organization-events parameters: - - *90 + - *91 - *17 - *19 responses: @@ -26679,7 +26736,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-failed-organization-invitations parameters: - - *90 + - *91 - *17 - *19 responses: @@ -26800,7 +26857,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-organization-webhooks parameters: - - *90 + - *91 - *17 - *19 responses: @@ -26933,7 +26990,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#create-an-organization-webhook parameters: - - *90 + - *91 requestBody: required: true content: @@ -27044,7 +27101,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - - *90 + - *91 - &162 name: hook_id description: The unique identifier of the hook. You can find this value in @@ -27087,7 +27144,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - - *90 + - *91 - *162 requestBody: required: false @@ -27175,7 +27232,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *90 + - *91 - *162 responses: '204': @@ -27203,7 +27260,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - - *90 + - *91 - *162 responses: '200': @@ -27234,7 +27291,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - - *90 + - *91 - *162 requestBody: required: false @@ -27285,7 +27342,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *90 + - *91 - *162 - *17 - *163 @@ -27323,7 +27380,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - - *90 + - *91 - *162 - *16 responses: @@ -27358,11 +27415,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - - *90 + - *91 - *162 - *16 responses: - '202': *45 + '202': *37 '400': *14 '422': *15 x-github: @@ -27388,7 +27445,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *90 + - *91 - *162 responses: '204': @@ -27411,7 +27468,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *90 + - *91 - &172 name: actor_type in: path @@ -27534,7 +27591,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - - *90 + - *91 - *168 - *169 - *19 @@ -27619,7 +27676,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - - *90 + - *91 - *168 - *169 responses: @@ -27663,7 +27720,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *90 + - *91 - &174 name: user_id in: path @@ -27698,7 +27755,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *90 + - *91 - *168 - *169 - *172 @@ -27727,7 +27784,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - - *90 + - *91 - *168 - *169 - &175 @@ -27795,7 +27852,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - - *90 + - *91 - *174 - *168 - *169 @@ -27824,7 +27881,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *90 + - *91 - *172 - *173 - *168 @@ -27854,7 +27911,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - - *90 + - *91 - *174 - *168 - *169 @@ -27937,7 +27994,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-an-organization-installation-for-the-authenticated-app parameters: - - *90 + - *91 responses: '200': description: Response @@ -28014,7 +28071,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *90 + - *91 - *17 - *19 responses: @@ -28103,7 +28160,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *90 + - *91 responses: '200': description: Response @@ -28168,7 +28225,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *90 + - *91 requestBody: required: true content: @@ -28224,7 +28281,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *90 + - *91 responses: '204': description: Response @@ -28248,7 +28305,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-pending-organization-invitations parameters: - - *90 + - *91 - *17 - *19 - name: role @@ -28307,7 +28364,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#create-an-organization-invitation parameters: - - *90 + - *91 requestBody: required: false content: @@ -28415,7 +28472,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - - *90 + - *91 - &184 name: invitation_id description: The unique identifier of the invitation. @@ -28446,7 +28503,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - - *90 + - *91 - *184 - *17 - *19 @@ -28494,7 +28551,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#list-issue-types-for-an-organization parameters: - - *90 + - *91 responses: '200': description: Response @@ -28540,7 +28597,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#create-issue-type-for-an-organization parameters: - - *90 + - *91 requestBody: required: true content: @@ -28624,7 +28681,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - - *90 + - *91 - &187 name: issue_type_id description: The unique identifier of the issue type. @@ -28707,7 +28764,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - - *90 + - *91 - *187 responses: '204': @@ -28741,7 +28798,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-organization-issues-assigned-to-the-authenticated-user parameters: - - *90 + - *91 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -28824,7 +28881,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-members parameters: - - *90 + - *91 - 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) @@ -28882,8 +28939,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-organization-membership-for-a-user parameters: - - *90 - - *128 + - *91 + - *129 responses: '204': description: Response if requester is an organization member and user is @@ -28914,8 +28971,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-an-organization-member parameters: - - *90 - - *128 + - *91 + - *129 responses: '204': description: Response @@ -28941,8 +28998,8 @@ paths: parameters: - *17 - *19 - - *90 - - *128 + - *91 + - *129 responses: '200': description: Response @@ -28962,7 +29019,7 @@ paths: examples: default: *192 '304': *35 - '500': *143 + '500': *90 '401': *23 '403': *27 '404': *6 @@ -28985,8 +29042,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *90 - - *128 + - *91 + - *129 - &193 name: codespace_name in: path @@ -28995,9 +29052,9 @@ paths: schema: type: string responses: - '202': *45 + '202': *37 '304': *35 - '500': *143 + '500': *90 '401': *23 '403': *27 '404': *6 @@ -29020,8 +29077,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - - *90 - - *128 + - *91 + - *129 - *193 responses: '200': @@ -29172,7 +29229,7 @@ paths: recent_folders: [] template: '304': *35 - '500': *143 + '500': *90 '401': *23 '403': *27 '404': *6 @@ -29203,8 +29260,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: - - *90 - - *128 + - *91 + - *129 responses: '200': description: The user's GitHub Copilot seat details, including usage. @@ -29253,7 +29310,7 @@ paths: members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos parent: - '500': *143 + '500': *90 '401': *23 '403': *27 '404': *6 @@ -29278,8 +29335,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-organization-membership-for-a-user parameters: - - *90 - - *128 + - *91 + - *129 responses: '200': description: Response @@ -29406,8 +29463,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-organization-membership-for-a-user parameters: - - *90 - - *128 + - *91 + - *129 requestBody: required: false content: @@ -29458,8 +29515,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *90 - - *128 + - *91 + - *129 responses: '204': description: Response @@ -29484,7 +29541,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-organization-migrations parameters: - - *90 + - *91 - *17 - *19 - name: exclude @@ -29763,7 +29820,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#start-an-organization-migration parameters: - - *90 + - *91 requestBody: required: true content: @@ -30022,7 +30079,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - - *90 + - *91 - &198 name: migration_id description: The unique identifier of the migration. @@ -30220,7 +30277,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *90 + - *91 - *198 responses: '302': @@ -30242,7 +30299,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *90 + - *91 - *198 responses: '204': @@ -30266,7 +30323,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - - *90 + - *91 - *198 - &602 name: repo_name @@ -30295,7 +30352,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *90 + - *91 - *198 - *17 - *19 @@ -30306,7 +30363,7 @@ paths: application/json: schema: type: array - items: *115 + items: *116 examples: default: &210 value: @@ -30445,7 +30502,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-all-organization-roles-for-an-organization parameters: - - *90 + - *91 responses: '200': description: Response - list of organization roles @@ -30610,7 +30667,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - - *90 + - *91 - &199 name: team_slug description: The slug of the team name. @@ -30642,7 +30699,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - - *90 + - *91 - *199 - &200 name: role_id @@ -30679,7 +30736,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - - *90 + - *91 - *199 - *200 responses: @@ -30706,8 +30763,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - - *90 - - *128 + - *91 + - *129 responses: '204': description: Response @@ -30732,8 +30789,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - - *90 - - *128 + - *91 + - *129 - *200 responses: '204': @@ -30764,8 +30821,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - - *90 - - *128 + - *91 + - *129 - *200 responses: '204': @@ -30794,7 +30851,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - - *90 + - *91 - *200 responses: '200': @@ -30851,7 +30908,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: - - *90 + - *91 - *200 - *17 - *19 @@ -30974,7 +31031,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: - - *90 + - *91 - *200 - *17 - *19 @@ -31145,7 +31202,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#list-outside-collaborators-for-an-organization parameters: - - *90 + - *91 - 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) @@ -31197,8 +31254,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - - *90 - - *128 + - *91 + - *129 requestBody: required: false content: @@ -31255,8 +31312,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - - *90 - - *128 + - *91 + - *129 responses: '204': description: Response @@ -31313,7 +31370,7 @@ paths: - docker - nuget - container - - *90 + - *91 - &604 name: visibility description: |- @@ -31402,7 +31459,7 @@ paths: required: true schema: type: string - - *90 + - *91 responses: '200': description: Response @@ -31462,7 +31519,7 @@ paths: parameters: - *206 - *207 - - *90 + - *91 responses: '204': description: Response @@ -31496,7 +31553,7 @@ paths: parameters: - *206 - *207 - - *90 + - *91 - name: token description: package token schema: @@ -31530,7 +31587,7 @@ paths: parameters: - *206 - *207 - - *90 + - *91 - *19 - *17 - name: state @@ -31687,7 +31744,7 @@ paths: parameters: - *206 - *207 - - *90 + - *91 - &209 name: package_version_id description: Unique identifier of the package version. @@ -31738,7 +31795,7 @@ paths: parameters: - *206 - *207 - - *90 + - *91 - *209 responses: '204': @@ -31773,7 +31830,7 @@ paths: parameters: - *206 - *207 - - *90 + - *91 - *209 responses: '204': @@ -31801,7 +31858,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: - - *90 + - *91 - *17 - *19 - &211 @@ -31878,7 +31935,7 @@ paths: examples: - token_id[]=1,token_id[]=2 responses: - '500': *143 + '500': *90 '422': *15 '404': *6 '403': *27 @@ -32033,7 +32090,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: - - *90 + - *91 requestBody: required: true content: @@ -32075,11 +32132,11 @@ paths: action: deny reason: Access is too broad. responses: - '500': *143 + '500': *90 '422': *15 '404': *6 '403': *27 - '202': *45 + '202': *37 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32100,7 +32157,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: - - *90 + - *91 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -32137,11 +32194,11 @@ paths: action: deny reason: This request is denied because the access is too broad. responses: - '500': *143 + '500': *90 '422': *15 '404': *6 '403': *27 - '204': *140 + '204': *141 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32162,7 +32219,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: - - *90 + - *91 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -32173,7 +32230,7 @@ paths: - *17 - *19 responses: - '500': *143 + '500': *90 '404': *6 '403': *27 '200': @@ -32182,7 +32239,7 @@ paths: application/json: schema: type: array - items: *115 + items: *116 examples: default: *210 headers: @@ -32207,7 +32264,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: - - *90 + - *91 - *17 - *19 - *211 @@ -32219,7 +32276,7 @@ paths: - *216 - *217 responses: - '500': *143 + '500': *90 '422': *15 '404': *6 '403': *27 @@ -32368,7 +32425,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: - - *90 + - *91 requestBody: required: true content: @@ -32403,9 +32460,9 @@ paths: - 1296269 - 1296280 responses: - '500': *143 + '500': *90 '404': *6 - '202': *45 + '202': *37 '403': *27 '422': *15 x-github: @@ -32428,7 +32485,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: - - *90 + - *91 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -32456,9 +32513,9 @@ paths: value: action: revoke responses: - '500': *143 + '500': *90 '404': *6 - '204': *140 + '204': *141 '403': *27 '422': *15 x-github: @@ -32480,7 +32537,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: - - *90 + - *91 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -32490,7 +32547,7 @@ paths: - *17 - *19 responses: - '500': *143 + '500': *90 '404': *6 '403': *27 '200': @@ -32499,7 +32556,7 @@ paths: application/json: schema: type: array - items: *115 + items: *116 examples: default: *210 headers: @@ -32525,7 +32582,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#list-private-registries-for-an-organization parameters: - - *90 + - *91 - *17 - *19 responses: @@ -32620,7 +32677,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization parameters: - - *90 + - *91 requestBody: required: true content: @@ -32794,7 +32851,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: - - *90 + - *91 responses: '200': description: Response @@ -32844,8 +32901,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - - *90 - - *123 + - *91 + - *124 responses: '200': description: The specified private registry configuration for the organization @@ -32874,8 +32931,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - - *90 - - *123 + - *91 + - *124 requestBody: required: true content: @@ -32953,8 +33010,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - - *90 - - *123 + - *91 + - *124 responses: '204': description: Response @@ -32979,7 +33036,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-organization-projects parameters: - - *90 + - *91 - name: state description: Indicates the state of the projects to return. in: query @@ -33156,7 +33213,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#create-an-organization-project parameters: - - *90 + - *91 requestBody: required: true content: @@ -33247,7 +33304,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-all-custom-properties-for-an-organization parameters: - - *90 + - *91 responses: '200': description: Response @@ -33379,7 +33436,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization parameters: - - *90 + - *91 requestBody: required: true content: @@ -33443,7 +33500,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - - *90 + - *91 - &223 name: custom_property_name description: The custom property name @@ -33492,7 +33549,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: - - *90 + - *91 - *223 requestBody: required: true @@ -33596,10 +33653,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - - *90 + - *91 - *223 responses: - '204': *140 + '204': *141 '403': *27 '404': *6 x-github: @@ -33620,7 +33677,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#list-custom-property-values-for-organization-repositories parameters: - - *90 + - *91 - *17 - *19 - name: repository_query @@ -33731,7 +33788,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: - - *90 + - *91 requestBody: required: true content: @@ -33792,7 +33849,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-public-organization-members parameters: - - *90 + - *91 - *17 - *19 responses: @@ -33823,8 +33880,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-public-organization-membership-for-a-user parameters: - - *90 - - *128 + - *91 + - *129 responses: '204': description: Response if user is a public member @@ -33848,8 +33905,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - - *90 - - *128 + - *91 + - *129 responses: '204': description: Response @@ -33870,8 +33927,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - - *90 - - *128 + - *91 + - *129 responses: '204': description: Response @@ -33895,7 +33952,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-organization-repositories parameters: - - *90 + - *91 - name: type description: Specifies the types of repositories you want returned. in: query @@ -33941,7 +33998,7 @@ paths: application/json: schema: type: array - items: *115 + items: *116 examples: default: *210 headers: @@ -33964,7 +34021,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-organization-repository parameters: - - *90 + - *91 requestBody: required: true content: @@ -35243,7 +35300,7 @@ paths: category: orgs subcategory: rules parameters: - - *90 + - *91 - *17 - *19 - &540 @@ -36249,7 +36306,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *143 + '500': *90 post: summary: Create an organization repository ruleset description: Create a repository ruleset for an organization. @@ -36265,7 +36322,7 @@ paths: category: orgs subcategory: rules parameters: - - *90 + - *91 requestBody: description: Request body required: true @@ -36375,7 +36432,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *143 + '500': *90 "/orgs/{org}/rulesets/rule-suites": get: summary: List organization rule suites @@ -36389,7 +36446,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *90 + - *91 - &541 name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally @@ -36528,7 +36585,7 @@ paths: result: pass evaluation_result: fail '404': *6 - '500': *143 + '500': *90 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36547,7 +36604,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *90 + - *91 - &547 name: rule_suite_id description: |- @@ -36706,7 +36763,7 @@ paths: result: fail rule_type: commit_message_pattern '404': *6 - '500': *143 + '500': *90 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36732,7 +36789,7 @@ paths: category: orgs subcategory: rules parameters: - - *90 + - *91 - name: ruleset_id description: The ID of the ruleset. in: path @@ -36748,7 +36805,7 @@ paths: examples: default: *234 '404': *6 - '500': *143 + '500': *90 put: summary: Update an organization repository ruleset description: Update a ruleset for an organization. @@ -36764,7 +36821,7 @@ paths: category: orgs subcategory: rules parameters: - - *90 + - *91 - name: ruleset_id description: The ID of the ruleset. in: path @@ -36838,7 +36895,7 @@ paths: examples: default: *234 '404': *6 - '500': *143 + '500': *90 delete: summary: Delete an organization repository ruleset description: Delete a ruleset for an organization. @@ -36854,7 +36911,7 @@ paths: category: orgs subcategory: rules parameters: - - *90 + - *91 - name: ruleset_id description: The ID of the ruleset. in: path @@ -36865,7 +36922,7 @@ paths: '204': description: Response '404': *6 - '500': *143 + '500': *90 "/orgs/{org}/rulesets/{ruleset_id}/history": get: summary: Get organization ruleset history @@ -36877,7 +36934,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-history parameters: - - *90 + - *91 - *17 - *19 - name: ruleset_id @@ -36935,7 +36992,7 @@ paths: type: User updated_at: '2024-08-23T16:29:47Z' '404': *6 - '500': *143 + '500': *90 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36952,7 +37009,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-version parameters: - - *90 + - *91 - name: ruleset_id description: The ID of the ruleset. in: path @@ -37019,7 +37076,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *143 + '500': *90 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37041,7 +37098,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - - *90 + - *91 - *236 - *237 - *238 @@ -37107,7 +37164,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories-for-an-organization parameters: - - *90 + - *91 - *46 - name: sort description: The property to sort the results by. @@ -37120,8 +37177,8 @@ paths: - updated - published default: created - - *37 - *38 + - *39 - 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)." @@ -37849,7 +37906,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#list-security-manager-teams parameters: - - *90 + - *91 responses: '200': description: Response @@ -37882,7 +37939,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#add-a-security-manager-team parameters: - - *90 + - *91 - *199 responses: '204': @@ -37908,7 +37965,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *90 + - *91 - *199 responses: '204': @@ -37938,7 +37995,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-actions-billing-for-an-organization parameters: - - *90 + - *91 responses: '200': description: Response @@ -38044,7 +38101,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-packages-billing-for-an-organization parameters: - - *90 + - *91 responses: '200': description: Response @@ -38094,7 +38151,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-shared-storage-billing-for-an-organization parameters: - - *90 + - *91 responses: '200': description: Response @@ -38142,7 +38199,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#list-hosted-compute-network-configurations-for-an-organization parameters: - - *90 + - *91 - *17 - *19 responses: @@ -38243,7 +38300,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: - - *90 + - *91 requestBody: required: true content: @@ -38315,7 +38372,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: - - *90 + - *91 - &248 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. @@ -38351,7 +38408,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: - - *90 + - *91 - *248 requestBody: required: true @@ -38412,7 +38469,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: - - *90 + - *91 - *248 responses: '204': @@ -38436,7 +38493,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: - - *90 + - *91 - name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -38525,7 +38582,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - - *90 + - *91 - *199 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO @@ -38561,7 +38618,7 @@ paths: items: *249 examples: default: *250 - '500': *143 + '500': *90 '403': *27 '404': *6 '422': *251 @@ -38582,7 +38639,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-teams parameters: - - *90 + - *91 - *17 - *19 responses: @@ -38616,7 +38673,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#create-a-team parameters: - - *90 + - *91 requestBody: required: true content: @@ -39138,7 +39195,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-by-name parameters: - - *90 + - *91 - *199 responses: '200': @@ -39168,7 +39225,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team parameters: - - *90 + - *91 - *199 requestBody: required: false @@ -39266,7 +39323,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team parameters: - - *90 + - *91 - *199 responses: '204': @@ -39293,7 +39350,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions parameters: - - *90 + - *91 - *199 - *46 - *17 @@ -39496,7 +39553,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion parameters: - - *90 + - *91 - *199 requestBody: required: true @@ -39605,7 +39662,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion parameters: - - *90 + - *91 - *199 - &256 name: discussion_number @@ -39643,7 +39700,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion parameters: - - *90 + - *91 - *199 - *256 requestBody: @@ -39740,7 +39797,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion parameters: - - *90 + - *91 - *199 - *256 responses: @@ -39768,7 +39825,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments parameters: - - *90 + - *91 - *199 - *256 - *46 @@ -39929,7 +39986,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment parameters: - - *90 + - *91 - *199 - *256 requestBody: @@ -40021,7 +40078,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment parameters: - - *90 + - *91 - *199 - *256 - &259 @@ -40060,7 +40117,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment parameters: - - *90 + - *91 - *199 - *256 - *259 @@ -40151,7 +40208,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment parameters: - - *90 + - *91 - *199 - *256 - *259 @@ -40180,7 +40237,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - - *90 + - *91 - *199 - *256 - *259 @@ -40303,7 +40360,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - - *90 + - *91 - *199 - *256 - *259 @@ -40395,7 +40452,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - - *90 + - *91 - *199 - *256 - *259 @@ -40431,7 +40488,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - - *90 + - *91 - *199 - *256 - name: content @@ -40487,7 +40544,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - - *90 + - *91 - *199 - *256 requestBody: @@ -40553,7 +40610,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-reaction parameters: - - *90 + - *91 - *199 - *256 - *263 @@ -40580,7 +40637,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations parameters: - - *90 + - *91 - *199 - *17 - *19 @@ -40615,7 +40672,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members parameters: - - *90 + - *91 - *199 - name: role description: Filters members returned by their role in the team. @@ -40669,9 +40726,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user parameters: - - *90 + - *91 - *199 - - *128 + - *129 responses: '200': description: Response @@ -40741,9 +40798,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - - *90 + - *91 - *199 - - *128 + - *129 requestBody: required: false content: @@ -40805,9 +40862,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user parameters: - - *90 + - *91 - *199 - - *128 + - *129 responses: '204': description: Response @@ -40832,7 +40889,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects parameters: - - *90 + - *91 - *199 - *17 - *19 @@ -40975,7 +41032,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project parameters: - - *90 + - *91 - *199 - &266 name: project_id @@ -41053,7 +41110,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions parameters: - - *90 + - *91 - *199 - *266 requestBody: @@ -41122,7 +41179,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team parameters: - - *90 + - *91 - *199 - *266 responses: @@ -41151,7 +41208,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories parameters: - - *90 + - *91 - *199 - *17 - *19 @@ -41162,7 +41219,7 @@ paths: application/json: schema: type: array - items: *115 + items: *116 examples: default: *210 headers: @@ -41193,7 +41250,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *90 + - *91 - *199 - *267 - *268 @@ -41843,7 +41900,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *90 + - *91 - *199 - *267 - *268 @@ -41891,7 +41948,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team parameters: - - *90 + - *91 - *199 - *267 - *268 @@ -41918,7 +41975,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams parameters: - - *90 + - *91 - *199 - *17 - *19 @@ -41984,7 +42041,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#enable-or-disable-a-security-feature-for-an-organization parameters: - - *90 + - *91 - name: security_product in: path description: The security feature to enable or disable. @@ -42735,8 +42792,8 @@ paths: application/json: schema: oneOf: - - *93 - *94 + - *95 '503': description: Response content: @@ -43105,7 +43162,7 @@ paths: url: https://docs.github.com/rest/projects/collaborators#add-project-collaborator parameters: - *266 - - *128 + - *129 requestBody: required: false content: @@ -43160,7 +43217,7 @@ paths: url: https://docs.github.com/rest/projects/collaborators#remove-user-as-a-collaborator parameters: - *266 - - *128 + - *129 responses: '204': description: Response @@ -43192,7 +43249,7 @@ paths: url: https://docs.github.com/rest/projects/collaborators#get-project-permission-for-a-user parameters: - *266 - - *128 + - *129 responses: '200': description: Response @@ -45318,7 +45375,7 @@ paths: description: Response content: application/json: - schema: *124 + schema: *125 examples: default: value: @@ -45428,7 +45485,7 @@ paths: description: Empty response content: application/json: - schema: *124 + schema: *125 examples: default: value: @@ -45629,7 +45686,7 @@ paths: enabled: &291 type: boolean description: Whether GitHub Actions is enabled on the repository. - allowed_actions: *104 + allowed_actions: *105 selected_actions_url: *290 required: - enabled @@ -45670,7 +45727,7 @@ paths: type: object properties: enabled: *291 - allowed_actions: *104 + allowed_actions: *105 required: - enabled examples: @@ -45786,9 +45843,9 @@ paths: description: Response content: application/json: - schema: *106 + schema: *107 examples: - default: *107 + default: *108 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -45816,9 +45873,9 @@ paths: required: false content: application/json: - schema: *106 + schema: *107 examples: - selected_actions: *107 + selected_actions: *108 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -45849,7 +45906,7 @@ paths: application/json: schema: *294 examples: - default: *110 + default: *111 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45884,7 +45941,7 @@ paths: application/json: schema: *295 examples: - default: *110 + default: *111 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45930,9 +45987,9 @@ paths: type: integer runners: type: array - items: *117 + items: *118 examples: - default: *118 + default: *119 headers: Link: *57 x-github: @@ -46036,7 +46093,7 @@ paths: '201': *298 '404': *6 '422': *7 - '409': *44 + '409': *45 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46071,7 +46128,7 @@ paths: description: Response content: application/json: - schema: *119 + schema: *120 examples: default: *299 x-github: @@ -46108,7 +46165,7 @@ paths: description: Response content: application/json: - schema: *119 + schema: *120 examples: default: *300 x-github: @@ -46134,13 +46191,13 @@ paths: parameters: - *267 - *268 - - *116 + - *117 responses: '200': description: Response content: application/json: - schema: *117 + schema: *118 examples: default: *301 x-github: @@ -46165,7 +46222,7 @@ paths: parameters: - *267 - *268 - - *116 + - *117 responses: '204': description: Response @@ -46192,9 +46249,9 @@ paths: parameters: - *267 - *268 - - *116 + - *117 responses: - '200': *121 + '200': *122 '404': *6 x-github: githubCloudOnly: false @@ -46218,7 +46275,7 @@ paths: parameters: - *267 - *268 - - *116 + - *117 requestBody: required: true content: @@ -46242,7 +46299,7 @@ paths: - gpu - accelerated responses: - '200': *121 + '200': *122 '404': *6 '422': *7 x-github: @@ -46268,7 +46325,7 @@ paths: parameters: - *267 - *268 - - *116 + - *117 requestBody: required: true content: @@ -46293,7 +46350,7 @@ paths: - gpu - accelerated responses: - '200': *121 + '200': *122 '404': *6 '422': *7 x-github: @@ -46319,7 +46376,7 @@ paths: parameters: - *267 - *268 - - *116 + - *117 responses: '200': *302 '404': *6 @@ -46350,10 +46407,10 @@ paths: parameters: - *267 - *268 - - *116 + - *117 - *303 responses: - '200': *121 + '200': *122 '404': *6 '422': *7 x-github: @@ -46798,8 +46855,8 @@ paths: - timestamp - author - committer - repository: *115 - head_repository: *115 + repository: *116 + head_repository: *116 head_repository_id: type: integer examples: @@ -47496,7 +47553,7 @@ paths: description: Response content: application/json: - schema: *124 + schema: *125 examples: default: value: @@ -47786,11 +47843,11 @@ paths: description: Response content: application/json: - schema: *124 + schema: *125 examples: default: value: - '409': *44 + '409': *45 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47890,11 +47947,11 @@ paths: description: Response content: application/json: - schema: *124 + schema: *125 examples: default: value: - '409': *44 + '409': *45 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48012,7 +48069,7 @@ paths: '204': description: Response '403': *27 - '500': *143 + '500': *90 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48435,7 +48492,7 @@ paths: description: Response content: application/json: - schema: *124 + schema: *125 examples: default: value: @@ -48482,7 +48539,7 @@ paths: description: Response content: application/json: - schema: *124 + schema: *125 examples: default: value: @@ -48732,7 +48789,7 @@ paths: parameters: - *267 - *268 - - *123 + - *124 responses: '200': description: Response @@ -48768,7 +48825,7 @@ paths: parameters: - *267 - *268 - - *123 + - *124 requestBody: required: true content: @@ -48799,7 +48856,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *124 + schema: *125 examples: default: value: @@ -48827,7 +48884,7 @@ paths: parameters: - *267 - *268 - - *123 + - *124 responses: '204': description: Response @@ -48924,7 +48981,7 @@ paths: description: Response content: application/json: - schema: *124 + schema: *125 examples: default: value: @@ -48951,7 +49008,7 @@ paths: parameters: - *267 - *268 - - *126 + - *127 responses: '200': description: Response @@ -48987,7 +49044,7 @@ paths: parameters: - *267 - *268 - - *126 + - *127 requestBody: required: true content: @@ -49031,7 +49088,7 @@ paths: parameters: - *267 - *268 - - *126 + - *127 responses: '204': description: Response @@ -49481,8 +49538,8 @@ paths: - *268 - *46 - *17 - - *37 - *38 + - *39 - name: ref description: |- The Git reference for the activities you want to list. @@ -49837,8 +49894,8 @@ paths: - *267 - *268 - *17 - - *37 - *38 + - *39 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -50852,14 +50909,14 @@ paths: author: oneOf: - *4 - - *124 + - *125 type: - 'null' - object committer: oneOf: - *4 - - *124 + - *125 type: - 'null' - object @@ -54839,7 +54896,7 @@ paths: description: Response content: application/json: - schema: *124 + schema: *125 examples: default: value: @@ -54987,7 +55044,7 @@ paths: anyOf: - type: 'null' - *5 - repository: *115 + repository: *116 created_at: type: - string @@ -55400,7 +55457,7 @@ paths: required: - app_id - setting - repository: *115 + repository: *116 examples: default: value: @@ -55848,7 +55905,7 @@ paths: description: Response content: application/json: - schema: *124 + schema: *125 examples: default: value: @@ -55897,8 +55954,8 @@ paths: schema: type: integer - *46 - - *37 - *38 + - *39 - name: sort description: The property by which to sort the results. in: query @@ -55937,13 +55994,13 @@ paths: url: *55 html_url: *56 instances_url: *359 - state: *136 - fixed_at: *132 + state: *137 + fixed_at: *133 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *133 + dismissed_at: *134 dismissed_reason: *360 dismissed_comment: *361 rule: *362 @@ -56120,13 +56177,13 @@ paths: url: *55 html_url: *56 instances_url: *359 - state: *136 - fixed_at: *132 + state: *137 + fixed_at: *133 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *133 + dismissed_at: *134 dismissed_reason: *360 dismissed_comment: *361 rule: @@ -58223,7 +58280,7 @@ paths: description: Response content: application/json: - schema: *124 + schema: *125 examples: default: value: @@ -58518,7 +58575,7 @@ paths: - failed - updating - removed_by_enterprise - configuration: *40 + configuration: *41 examples: default: value: @@ -58550,7 +58607,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': *140 + '204': *141 '304': *35 '403': *27 '404': *6 @@ -58997,7 +59054,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': *143 + '500': *90 '401': *23 '403': *27 '404': *6 @@ -59164,7 +59221,7 @@ paths: - path: ".devcontainer.json" display_name: Default project configuration total_count: 3 - '500': *143 + '500': *90 '400': *14 '401': *23 '403': *27 @@ -59245,7 +59302,7 @@ paths: memory_in_bytes: 34359738368 cpus: 8 '304': *35 - '500': *143 + '500': *90 '401': *23 '403': *27 '404': *6 @@ -59520,7 +59577,7 @@ paths: parameters: - *267 - *268 - - *123 + - *124 responses: '200': description: Response @@ -59550,7 +59607,7 @@ paths: parameters: - *267 - *268 - - *123 + - *124 requestBody: required: true content: @@ -59578,7 +59635,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *124 + schema: *125 examples: default: value: @@ -59604,7 +59661,7 @@ paths: parameters: - *267 - *268 - - *123 + - *124 responses: '204': description: Response @@ -59866,7 +59923,7 @@ paths: parameters: - *267 - *268 - - *128 + - *129 responses: '204': description: Response if user is a collaborator @@ -59910,7 +59967,7 @@ paths: parameters: - *267 - *268 - - *128 + - *129 requestBody: required: false content: @@ -59948,7 +60005,7 @@ paths: format: int64 examples: - 42 - repository: *115 + repository: *116 invitee: anyOf: - type: 'null' @@ -60159,7 +60216,7 @@ paths: parameters: - *267 - *268 - - *128 + - *129 responses: '204': description: No Content when collaborator was removed from the repository. @@ -60190,7 +60247,7 @@ paths: parameters: - *267 - *268 - - *128 + - *129 responses: '200': description: if user has admin permissions @@ -60855,10 +60912,10 @@ paths: sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e headers: Link: *57 - '500': *143 + '500': *90 '400': *14 '404': *6 - '409': *44 + '409': *45 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60927,7 +60984,7 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc protected: false '422': *15 - '409': *44 + '409': *45 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61863,7 +61920,7 @@ paths: draft: false headers: Link: *57 - '409': *44 + '409': *45 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62027,9 +62084,9 @@ paths: ..... '422': *15 '404': *6 - '500': *143 + '500': *90 '503': *62 - '409': *44 + '409': *45 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62420,7 +62477,7 @@ paths: type: string total_count: type: integer - repository: *115 + repository: *116 commit_url: type: string format: uri @@ -63191,7 +63248,7 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" '404': *6 - '500': *143 + '500': *90 '503': *62 x-github: githubCloudOnly: false @@ -64290,7 +64347,7 @@ paths: verified_at: '422': *15 '404': *6 - '409': *44 + '409': *45 '503': *62 x-github: githubCloudOnly: false @@ -64469,8 +64526,8 @@ paths: schema: type: integer default: 30 - - *37 - *38 + - *39 - *155 - *156 responses: @@ -64536,7 +64593,7 @@ paths: html_url: *56 created_at: *53 updated_at: *54 - dismissed_at: *133 + dismissed_at: *134 dismissed_by: anyOf: - type: 'null' @@ -64560,7 +64617,7 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: *132 + fixed_at: *133 auto_dismissed_at: *412 required: - number @@ -65074,7 +65131,7 @@ paths: '400': *14 '403': *27 '404': *6 - '409': *44 + '409': *45 '422': *7 x-github: githubCloudOnly: false @@ -65201,7 +65258,7 @@ paths: parameters: - *267 - *268 - - *123 + - *124 responses: '200': description: Response @@ -65235,7 +65292,7 @@ paths: parameters: - *267 - *268 - - *123 + - *124 requestBody: required: true content: @@ -65263,7 +65320,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *124 + schema: *125 examples: default: value: @@ -65289,7 +65346,7 @@ paths: parameters: - *267 - *268 - - *123 + - *124 responses: '204': description: Response @@ -67977,7 +68034,7 @@ paths: - *267 - *268 - *426 - - *123 + - *124 responses: '200': description: Response @@ -68010,7 +68067,7 @@ paths: - *267 - *268 - *426 - - *123 + - *124 requestBody: required: true content: @@ -68041,7 +68098,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *124 + schema: *125 examples: default: value: @@ -68070,7 +68127,7 @@ paths: - *267 - *268 - *426 - - *123 + - *124 responses: '204': description: Default response @@ -68169,7 +68226,7 @@ paths: description: Response content: application/json: - schema: *124 + schema: *125 examples: default: value: @@ -68197,7 +68254,7 @@ paths: - *267 - *268 - *426 - - *126 + - *127 responses: '200': description: Response @@ -68228,7 +68285,7 @@ paths: parameters: - *267 - *268 - - *126 + - *127 - *426 requestBody: required: true @@ -68273,7 +68330,7 @@ paths: parameters: - *267 - *268 - - *126 + - *127 - *426 responses: '204': @@ -68397,7 +68454,7 @@ paths: application/json: schema: type: array - items: *115 + items: *116 examples: default: value: @@ -68643,7 +68700,7 @@ paths: schema: type: string '404': *6 - '409': *44 + '409': *45 '403': *27 '422': description: Validation failed @@ -68651,7 +68708,7 @@ paths: application/json: schema: oneOf: - - *93 + - *94 - *439 x-github: githubCloudOnly: false @@ -68730,7 +68787,7 @@ paths: '404': *6 '422': *15 '403': *27 - '409': *44 + '409': *45 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69065,7 +69122,7 @@ paths: type: string '422': *15 '404': *6 - '409': *44 + '409': *45 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69154,7 +69211,7 @@ paths: payload: verified_at: '404': *6 - '409': *44 + '409': *45 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69253,7 +69310,7 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/git/commits/612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac headers: Link: *57 - '409': *44 + '409': *45 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69294,7 +69351,7 @@ paths: sha: aa218f56b14c9653891f9e74264a383fa43fefbd url: https://api.github.com/repos/octocat/Hello-World/git/commits/aa218f56b14c9653891f9e74264a383fa43fefbd '404': *6 - '409': *44 + '409': *45 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69352,7 +69409,7 @@ paths: schema: type: string '422': *15 - '409': *44 + '409': *45 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69406,7 +69463,7 @@ paths: examples: default: *443 '422': *15 - '409': *44 + '409': *45 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69431,7 +69488,7 @@ paths: '422': description: Validation failed, an attempt was made to delete the default branch, or the endpoint has been spammed. - '409': *44 + '409': *45 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69640,7 +69697,7 @@ paths: schema: type: string '422': *15 - '409': *44 + '409': *45 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69702,7 +69759,7 @@ paths: examples: default: *446 '404': *6 - '409': *44 + '409': *45 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69878,7 +69935,7 @@ paths: '422': *15 '404': *6 '403': *27 - '409': *44 + '409': *45 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69966,7 +70023,7 @@ paths: truncated: false '422': *15 '404': *6 - '409': *44 + '409': *45 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70508,7 +70565,7 @@ paths: - *162 - *16 responses: - '202': *45 + '202': *37 '400': *14 '422': *15 x-github: @@ -77626,7 +77683,7 @@ paths: examples: default: *492 '422': *15 - '409': *44 + '409': *45 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77727,7 +77784,7 @@ paths: description: Response '422': *15 '400': *14 - '409': *44 + '409': *45 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77755,7 +77812,7 @@ paths: description: Response '422': *15 '404': *6 - '409': *44 + '409': *45 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78190,7 +78247,7 @@ paths: - *268 - *495 responses: - '204': *140 + '204': *141 '404': *6 x-github: githubCloudOnly: false @@ -78484,7 +78541,7 @@ paths: description: Empty response content: application/json: - schema: *124 + schema: *125 examples: default: value: @@ -78552,7 +78609,7 @@ paths: - *267 - *268 responses: - '204': *140 + '204': *141 '422': *14 x-github: githubCloudOnly: false @@ -78574,7 +78631,7 @@ paths: - *267 - *268 responses: - '204': *140 + '204': *141 '422': *14 x-github: githubCloudOnly: false @@ -80317,7 +80374,7 @@ paths: content: application/json: schema: *3 - '500': *143 + '500': *90 '503': *62 x-github: githubCloudOnly: false @@ -80954,7 +81011,7 @@ paths: headers: Link: *57 '422': *15 - '500': *143 + '500': *90 '503': *62 x-github: githubCloudOnly: false @@ -84797,7 +84854,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *143 + '500': *90 post: summary: Create a repository ruleset description: Create a ruleset for a repository. @@ -84909,7 +84966,7 @@ paths: created_at: '2023-07-15T08:43:03Z' updated_at: '2023-08-23T16:29:47Z' '404': *6 - '500': *143 + '500': *90 "/repos/{owner}/{repo}/rulesets/rule-suites": get: summary: List repository rule suites @@ -84940,7 +84997,7 @@ paths: examples: default: *546 '404': *6 - '500': *143 + '500': *90 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84971,7 +85028,7 @@ paths: examples: default: *549 '404': *6 - '500': *143 + '500': *90 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85022,7 +85079,7 @@ paths: examples: default: *550 '404': *6 - '500': *143 + '500': *90 put: summary: Update a repository ruleset description: Update a ruleset for a repository. @@ -85105,7 +85162,7 @@ paths: examples: default: *550 '404': *6 - '500': *143 + '500': *90 delete: summary: Delete a repository ruleset description: Delete a ruleset for a repository. @@ -85133,7 +85190,7 @@ paths: '204': description: Response '404': *6 - '500': *143 + '500': *90 "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history": get: summary: Get repository ruleset history @@ -85166,7 +85223,7 @@ paths: examples: default: *551 '404': *6 - '500': *143 + '500': *90 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85235,7 +85292,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *143 + '500': *90 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86284,8 +86341,8 @@ paths: - updated - published default: created - - *37 - *38 + - *39 - 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)." @@ -87224,7 +87281,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *93 + schema: *94 examples: invalid_state_transition: value: @@ -87259,7 +87316,7 @@ paths: - *268 - *563 responses: - '202': *45 + '202': *37 '400': *14 '403': *27 '404': *6 @@ -87439,8 +87496,8 @@ paths: - - 1302998400 - 1124 - -435 - '202': *45 - '204': *140 + '202': *37 + '204': *141 '422': description: Repository contains more than 10,000 commits x-github: @@ -87511,8 +87568,8 @@ paths: - 0 total: 89 week: 1336280400 - '202': *45 - '204': *140 + '202': *37 + '204': *141 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87611,8 +87668,8 @@ paths: a: 6898 d: 77 c: 10 - '202': *45 - '204': *140 + '202': *37 + '204': *141 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87813,7 +87870,7 @@ paths: - - 0 - 2 - 21 - '204': *140 + '204': *141 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88959,7 +89016,7 @@ paths: description: Response content: application/json: - schema: *115 + schema: *116 examples: default: value: @@ -89407,7 +89464,7 @@ paths: application/json: schema: type: array - items: *115 + items: *116 examples: default: value: @@ -89596,7 +89653,7 @@ paths: html_url: type: string format: uri - repository: *115 + repository: *116 score: type: number file_size: @@ -89893,7 +89950,7 @@ paths: type: string sha: type: string - repository: *115 + repository: *116 score: type: number node_id: @@ -92437,7 +92494,7 @@ paths: url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - *575 - - *128 + - *129 responses: '204': description: if user is a member @@ -92474,7 +92531,7 @@ paths: url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - *575 - - *128 + - *129 responses: '204': description: Response @@ -92514,7 +92571,7 @@ paths: url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - *575 - - *128 + - *129 responses: '204': description: Response @@ -92551,7 +92608,7 @@ paths: url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - *575 - - *128 + - *129 responses: '200': description: Response @@ -92593,7 +92650,7 @@ paths: url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - *575 - - *128 + - *129 requestBody: required: false content: @@ -92655,7 +92712,7 @@ paths: url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - *575 - - *128 + - *129 responses: '204': description: Response @@ -92860,7 +92917,7 @@ paths: application/json: schema: type: array - items: *115 + items: *116 examples: default: *210 headers: @@ -93687,7 +93744,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: - - *128 + - *129 responses: '204': description: If the user is blocked @@ -93715,7 +93772,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#block-a-user parameters: - - *128 + - *129 responses: '204': description: Response @@ -93739,7 +93796,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#unblock-a-user parameters: - - *128 + - *129 responses: '204': description: Response @@ -93792,7 +93849,7 @@ paths: examples: default: *192 '304': *35 - '500': *143 + '500': *90 '401': *23 '403': *27 '404': *6 @@ -94097,7 +94154,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *123 + - *124 responses: '200': description: Response @@ -94133,7 +94190,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *123 + - *124 requestBody: required: true content: @@ -94178,7 +94235,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *124 + schema: *125 examples: default: value: @@ -94206,7 +94263,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *123 + - *124 responses: '204': description: Response @@ -94231,7 +94288,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *123 + - *124 responses: '200': description: Response @@ -94247,13 +94304,13 @@ paths: type: integer repositories: type: array - items: *115 + items: *116 examples: default: *589 '401': *23 '403': *27 '404': *6 - '500': *143 + '500': *90 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -94274,7 +94331,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *123 + - *124 requestBody: required: true content: @@ -94306,7 +94363,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *143 + '500': *90 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -94328,7 +94385,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *123 + - *124 - name: repository_id in: path required: true @@ -94340,7 +94397,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *143 + '500': *90 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -94361,7 +94418,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *123 + - *124 - name: repository_id in: path required: true @@ -94373,7 +94430,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *143 + '500': *90 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -94403,7 +94460,7 @@ paths: examples: default: *386 '304': *35 - '500': *143 + '500': *90 '401': *23 '403': *27 '404': *6 @@ -94483,9 +94540,9 @@ paths: parameters: - *193 responses: - '202': *45 + '202': *37 '304': *35 - '500': *143 + '500': *90 '401': *23 '403': *27 '404': *6 @@ -94577,7 +94634,7 @@ paths: sha: fd95a81ca01e48ede9f39c799ecbcef817b8a3b2 id: latest export_url: https://api.github.com/user/codespaces/:name/exports/latest - '500': *143 + '500': *90 '401': *23 '403': *27 '404': *6 @@ -94657,7 +94714,7 @@ paths: examples: default: *592 '304': *35 - '500': *143 + '500': *90 '401': *23 '403': *27 '404': *6 @@ -95551,7 +95608,7 @@ paths: examples: default: *386 '304': *35 - '500': *143 + '500': *90 '400': *14 '401': *23 '402': @@ -95561,7 +95618,7 @@ paths: schema: *3 '403': *27 '404': *6 - '409': *44 + '409': *45 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -95590,7 +95647,7 @@ paths: schema: *191 examples: default: *386 - '500': *143 + '500': *90 '401': *23 '403': *27 '404': *6 @@ -96038,7 +96095,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: - - *128 + - *129 responses: '204': description: if the person is followed by the authenticated user @@ -96068,7 +96125,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#follow-a-user parameters: - - *128 + - *129 responses: '204': description: Response @@ -96093,7 +96150,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#unfollow-a-user parameters: - - *128 + - *129 responses: '204': description: Response @@ -96671,7 +96728,7 @@ paths: url: https://docs.github.com/rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *21 - - *105 + - *106 responses: '204': description: Response @@ -96697,7 +96754,7 @@ paths: url: https://docs.github.com/rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *21 - - *105 + - *106 responses: '204': description: Response @@ -97392,7 +97449,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-an-organization-membership-for-the-authenticated-user parameters: - - *90 + - *91 responses: '200': description: Response @@ -97456,7 +97513,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#update-an-organization-membership-for-the-authenticated-user parameters: - - *90 + - *91 requestBody: required: true content: @@ -98288,7 +98345,7 @@ paths: application/json: schema: type: array - items: *115 + items: *116 examples: default: *210 headers: @@ -99369,7 +99426,7 @@ paths: '204': description: Response '403': *27 - '409': *44 + '409': *45 '404': *6 '304': *35 x-github: @@ -99391,7 +99448,7 @@ paths: responses: '204': description: Response - '409': *44 + '409': *45 '304': *35 '404': *6 '403': *27 @@ -100049,7 +100106,7 @@ paths: application/json: schema: type: array - items: *115 + items: *116 examples: default: *210 headers: @@ -100313,7 +100370,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user parameters: - - *128 + - *129 responses: '200': description: Response @@ -100349,9 +100406,9 @@ paths: url: https://docs.github.com/rest/users/attestations#list-attestations parameters: - *17 - - *37 - *38 - - *128 + - *39 + - *129 - name: subject_digest description: Subject Digest in: path @@ -100406,7 +100463,7 @@ paths: description: Response content: application/json: - schema: *124 + schema: *125 examples: default: value: @@ -100432,7 +100489,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: - - *128 + - *129 responses: '200': description: Response @@ -100465,7 +100522,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-for-the-authenticated-user parameters: - - *128 + - *129 - *17 - *19 responses: @@ -100546,8 +100603,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-organization-events-for-the-authenticated-user parameters: - - *128 - - *90 + - *129 + - *91 - *17 - *19 responses: @@ -100636,7 +100693,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-user parameters: - - *128 + - *129 - *17 - *19 responses: @@ -100713,7 +100770,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-followers-of-a-user parameters: - - *128 + - *129 - *17 - *19 responses: @@ -100744,7 +100801,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-the-people-a-user-follows parameters: - - *128 + - *129 - *17 - *19 responses: @@ -100775,7 +100832,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#check-if-a-user-follows-another-user parameters: - - *128 + - *129 - name: target_user in: path required: true @@ -100802,7 +100859,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-a-user parameters: - - *128 + - *129 - *64 - *17 - *19 @@ -100836,7 +100893,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#list-gpg-keys-for-a-user parameters: - - *128 + - *129 - *17 - *19 responses: @@ -100872,7 +100929,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-contextual-information-for-a-user parameters: - - *128 + - *129 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -100944,7 +101001,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-user-installation-for-the-authenticated-app parameters: - - *128 + - *129 responses: '200': description: Response @@ -100970,7 +101027,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#list-public-keys-for-a-user parameters: - - *128 + - *129 - *17 - *19 responses: @@ -101018,7 +101075,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-organizations-for-a-user parameters: - - *128 + - *129 - *17 - *19 responses: @@ -101070,7 +101127,7 @@ paths: - nuget - container - *604 - - *128 + - *129 - *19 - *17 responses: @@ -101107,7 +101164,7 @@ paths: parameters: - *206 - *207 - - *128 + - *129 responses: '200': description: Response @@ -101138,7 +101195,7 @@ paths: parameters: - *206 - *207 - - *128 + - *129 responses: '204': description: Response @@ -101172,7 +101229,7 @@ paths: parameters: - *206 - *207 - - *128 + - *129 - name: token description: package token schema: @@ -101206,7 +101263,7 @@ paths: parameters: - *206 - *207 - - *128 + - *129 responses: '200': description: Response @@ -101275,7 +101332,7 @@ paths: - *206 - *207 - *209 - - *128 + - *129 responses: '200': description: Response @@ -101318,7 +101375,7 @@ paths: parameters: - *206 - *207 - - *128 + - *129 - *209 responses: '204': @@ -101353,7 +101410,7 @@ paths: parameters: - *206 - *207 - - *128 + - *129 - *209 responses: '204': @@ -101380,7 +101437,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-user-projects parameters: - - *128 + - *129 - name: state description: Indicates the state of the projects to return. in: query @@ -101463,7 +101520,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-received-by-the-authenticated-user parameters: - - *128 + - *129 - *17 - *19 responses: @@ -101552,7 +101609,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-received-by-a-user parameters: - - *128 + - *129 - *17 - *19 responses: @@ -101639,7 +101696,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repositories-for-a-user parameters: - - *128 + - *129 - name: type description: Limit results to repositories of the specified type. in: query @@ -101682,7 +101739,7 @@ paths: application/json: schema: type: array - items: *115 + items: *116 examples: default: *210 headers: @@ -101708,7 +101765,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-actions-billing-for-a-user parameters: - - *128 + - *129 responses: '200': description: Response @@ -101738,7 +101795,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-packages-billing-for-a-user parameters: - - *128 + - *129 responses: '200': description: Response @@ -101768,7 +101825,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-shared-storage-billing-for-a-user parameters: - - *128 + - *129 responses: '200': description: Response @@ -101794,7 +101851,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/social-accounts#list-social-accounts-for-a-user parameters: - - *128 + - *129 - *17 - *19 responses: @@ -101826,7 +101883,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#list-ssh-signing-keys-for-a-user parameters: - - *128 + - *129 - *17 - *19 responses: @@ -101862,7 +101919,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *128 + - *129 - *627 - *46 - *17 @@ -101898,7 +101955,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *128 + - *129 - *17 - *19 responses: @@ -101908,7 +101965,7 @@ paths: application/json: schema: type: array - items: *115 + items: *116 examples: default: *210 headers: @@ -103770,7 +103827,7 @@ webhooks: pull_requests: type: array items: *346 - repository: *115 + repository: *116 status: type: string enum: diff --git a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json index 5c6a819369..522fd66e3f 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions-next/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": [ @@ -16178,6 +16182,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-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml index c4bf5b158f..1738442580 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions-next/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 - - &82 + - &84 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 - - &83 + - &85 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 - - &84 + - &86 name: direction description: The direction to sort the results by. in: query @@ -2111,7 +2113,7 @@ paths: parameters: - *16 responses: - '202': &93 + '202': &37 description: Accepted content: application/json: @@ -2800,7 +2802,7 @@ paths: suspended_at: suspended_by: headers: - Link: &37 + Link: &38 example: ; rel="next", ; rel="last" schema: @@ -2990,7 +2992,7 @@ paths: - selected repositories: type: array - items: &61 + items: &62 title: Repository description: A repository on GitHub. type: object @@ -5337,6 +5339,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': *37 + '422': *7 + '500': &83 + description: Internal Error + content: + application/json: + schema: *3 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: credentials + subcategory: revoke "/emojis": get: summary: Get emojis @@ -7600,7 +7661,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: - - &38 + - &39 name: enterprise description: The slug version of the enterprise name. You can also substitute this value with the enterprise id. @@ -7633,7 +7694,7 @@ paths: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 headers: - Link: *37 + Link: *38 x-github: enabledForGitHubApps: false githubCloudOnly: true @@ -7653,7 +7714,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: - - *38 + - *39 - *17 - *19 responses: @@ -7671,7 +7732,7 @@ paths: type: integer runners: type: array - items: &39 + items: &40 title: GitHub-hosted hosted runner description: A Github-hosted hosted runner. type: object @@ -7729,7 +7790,7 @@ paths: - display_name - source - version - machine_size_details: &42 + machine_size_details: &43 title: Github-owned VM details. description: Provides details of a particular machine spec. type: object @@ -7876,7 +7937,7 @@ paths: public_ips: [] last_active_on: '2023-04-26T15:23:37Z' headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -7894,7 +7955,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: - - *38 + - *39 requestBody: required: true content: @@ -7962,9 +8023,9 @@ paths: description: Response content: application/json: - schema: *39 + schema: *40 examples: - default: &43 + default: &44 value: id: 5 name: My hosted ubuntu runner @@ -8003,7 +8064,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: - - *38 + - *39 responses: '200': description: Response @@ -8019,7 +8080,7 @@ paths: type: integer images: type: array - items: &40 + items: &41 title: GitHub-hosted runner image details. description: Provides details of a hosted runner image type: object @@ -8059,7 +8120,7 @@ paths: - display_name - source examples: - default: &41 + default: &42 value: id: ubuntu-20.04 platform: linux-x64 @@ -8083,7 +8144,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: - - *38 + - *39 responses: '200': description: Response @@ -8099,9 +8160,9 @@ paths: type: integer images: type: array - items: *40 + items: *41 examples: - default: *41 + default: *42 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -8118,7 +8179,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: - - *38 + - *39 responses: '200': description: Response @@ -8173,7 +8234,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: - - *38 + - *39 responses: '200': description: Response @@ -8189,7 +8250,7 @@ paths: type: integer machine_specs: type: array - items: *42 + items: *43 examples: default: &179 value: @@ -8214,7 +8275,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: - - *38 + - *39 responses: '200': description: Response @@ -8258,8 +8319,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: - - *38 - - &44 + - *39 + - &45 name: hosted_runner_id description: Unique identifier of the GitHub-hosted runner. in: path @@ -8271,11 +8332,11 @@ paths: description: Response content: application/json: - schema: *39 + schema: *40 examples: - default: *43 + default: *44 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -8293,8 +8354,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: - - *38 - - *44 + - *39 + - *45 requestBody: required: true content: @@ -8332,9 +8393,9 @@ paths: description: Response content: application/json: - schema: *39 + schema: *40 examples: - default: *43 + default: *44 x-github: enabledForGitHubApps: false githubCloudOnly: true @@ -8350,16 +8411,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: - - *38 - - *44 + - *39 + - *45 responses: '202': description: Response content: application/json: - schema: *39 + schema: *40 examples: - default: *43 + default: *44 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -8379,7 +8440,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: - - *38 + - *39 responses: '204': description: Response @@ -8419,7 +8480,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: - - *38 + - *39 responses: '200': description: Response @@ -8428,7 +8489,7 @@ paths: schema: type: object properties: - enabled_organizations: &45 + enabled_organizations: &46 type: string description: The policy that controls the organizations in the enterprise that are allowed to run GitHub Actions. @@ -8441,7 +8502,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: &46 + allowed_actions: &47 type: string description: The permissions policy that controls the actions and reusable workflows that are allowed to run. @@ -8480,7 +8541,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: - - *38 + - *39 responses: '204': description: Response @@ -8491,8 +8552,8 @@ paths: schema: type: object properties: - enabled_organizations: *45 - allowed_actions: *46 + enabled_organizations: *46 + allowed_actions: *47 required: - enabled_organizations examples: @@ -8519,7 +8580,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: - - *38 + - *39 - *17 - *19 responses: @@ -8534,7 +8595,7 @@ paths: type: number organizations: type: array - items: &56 + items: &57 title: Organization Simple description: A GitHub organization. type: object @@ -8609,7 +8670,7 @@ paths: - total_count - organizations examples: - default: &57 + default: &58 value: total_count: 1 organizations: @@ -8643,7 +8704,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: - - *38 + - *39 responses: '204': description: Response @@ -8687,8 +8748,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: - - *38 - - &47 + - *39 + - &48 name: org_id description: The unique identifier of the organization. in: path @@ -8716,8 +8777,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: - - *38 - - *47 + - *39 + - *48 responses: '204': description: Response @@ -8740,13 +8801,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: - - *38 + - *39 responses: '200': description: Response content: application/json: - schema: &48 + schema: &49 type: object properties: github_owned_allowed: @@ -8767,7 +8828,7 @@ paths: items: type: string examples: - default: &49 + default: &50 value: github_owned_allowed: true verified_allowed: false @@ -8792,7 +8853,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: - - *38 + - *39 responses: '204': description: Response @@ -8800,9 +8861,9 @@ paths: required: true content: application/json: - schema: *48 + schema: *49 examples: - selected_actions: *49 + selected_actions: *50 x-github: enabledForGitHubApps: false githubCloudOnly: true @@ -8824,7 +8885,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: - - *38 + - *39 responses: '200': description: Success response @@ -8833,14 +8894,14 @@ paths: schema: &185 type: object properties: - default_workflow_permissions: &50 + default_workflow_permissions: &51 type: string description: The default workflow permissions granted to the GITHUB_TOKEN when running workflows. enum: - read - write - can_approve_pull_request_reviews: &51 + can_approve_pull_request_reviews: &52 type: boolean description: Whether GitHub Actions can approve pull requests. Enabling this can be a security risk. @@ -8848,7 +8909,7 @@ paths: - default_workflow_permissions - can_approve_pull_request_reviews examples: - default: &52 + default: &53 summary: Give read-only permission, and allow approving PRs. value: default_workflow_permissions: read @@ -8873,7 +8934,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: - - *38 + - *39 requestBody: required: true content: @@ -8881,10 +8942,10 @@ paths: schema: &186 type: object properties: - default_workflow_permissions: *50 - can_approve_pull_request_reviews: *51 + default_workflow_permissions: *51 + can_approve_pull_request_reviews: *52 examples: - default: *52 + default: *53 responses: '204': description: Success response @@ -8907,7 +8968,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: - - *38 + - *39 - *17 - *19 - name: visible_to_organization @@ -8929,7 +8990,7 @@ paths: type: number runner_groups: type: array - items: &53 + items: &54 type: object properties: id: @@ -9038,7 +9099,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: - - *38 + - *39 requestBody: required: true content: @@ -9110,9 +9171,9 @@ paths: description: Response content: application/json: - schema: *53 + schema: *54 examples: - default: &54 + default: &55 value: id: 2 name: octo-runner-group @@ -9146,8 +9207,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: - - *38 - - &55 + - *39 + - &56 name: runner_group_id description: Unique identifier of the self-hosted runner group. in: path @@ -9159,9 +9220,9 @@ paths: description: Response content: application/json: - schema: *53 + schema: *54 examples: - default: *54 + default: *55 x-github: enabledForGitHubApps: false githubCloudOnly: true @@ -9180,8 +9241,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: - - *38 - - *55 + - *39 + - *56 requestBody: required: false content: @@ -9235,7 +9296,7 @@ paths: description: Response content: application/json: - schema: *53 + schema: *54 examples: default: value: @@ -9270,8 +9331,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: - - *38 - - *55 + - *39 + - *56 responses: '204': description: Response @@ -9294,8 +9355,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: - - *38 - - *55 + - *39 + - *56 - *17 - *19 responses: @@ -9310,12 +9371,12 @@ paths: type: number organizations: type: array - items: *56 + items: *57 required: - total_count - organizations examples: - default: *57 + default: *58 x-github: enabledForGitHubApps: false githubCloudOnly: true @@ -9334,8 +9395,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: - - *38 - - *55 + - *39 + - *56 requestBody: required: true content: @@ -9380,9 +9441,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: - - *38 - - *55 - - *47 + - *39 + - *56 + - *48 responses: '204': description: Response @@ -9404,9 +9465,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: - - *38 - - *55 - - *47 + - *39 + - *56 + - *48 responses: '204': description: Response @@ -9429,8 +9490,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: - - *38 - - *55 + - *39 + - *56 - *17 - *19 responses: @@ -9445,7 +9506,7 @@ paths: type: number runners: type: array - items: &59 + items: &60 title: Self hosted runners description: A self hosted runner type: object @@ -9479,7 +9540,7 @@ paths: type: boolean labels: type: array - items: &63 + items: &64 title: Self hosted runner label description: A label for a self hosted runner type: object @@ -9512,7 +9573,7 @@ paths: - total_count - runners examples: - default: &60 + default: &61 value: total_count: 2 runners: @@ -9552,7 +9613,7 @@ paths: name: no-gpu type: custom headers: - Link: *37 + Link: *38 x-github: enabledForGitHubApps: false githubCloudOnly: true @@ -9571,8 +9632,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: - - *38 - - *55 + - *39 + - *56 requestBody: required: true content: @@ -9616,9 +9677,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: - - *38 - - *55 - - &58 + - *39 + - *56 + - &59 name: runner_id description: Unique identifier of the self-hosted runner. in: path @@ -9646,9 +9707,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: - - *38 - - *55 - - *58 + - *39 + - *56 + - *59 responses: '204': description: Response @@ -9676,7 +9737,7 @@ paths: in: query schema: type: string - - *38 + - *39 - *17 - *19 responses: @@ -9691,11 +9752,11 @@ paths: type: number runners: type: array - items: *59 + items: *60 examples: - default: *60 + default: *61 headers: - Link: *37 + Link: *38 x-github: enabledForGitHubApps: false githubCloudOnly: true @@ -9715,7 +9776,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: - - *38 + - *39 responses: '200': description: Response @@ -9789,7 +9850,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: - - *38 + - *39 requestBody: required: true content: @@ -9842,7 +9903,7 @@ paths: - runner - encoded_jit_config properties: - runner: *59 + runner: *60 encoded_jit_config: type: string description: The base64 encoded runner configuration. @@ -9871,7 +9932,7 @@ paths: encoded_jit_config: abc123 '404': *6 '422': *7 - '409': &92 + '409': &94 description: Conflict content: application/json: @@ -9903,13 +9964,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: - - *38 + - *39 responses: '201': description: Response content: application/json: - schema: &62 + schema: &63 title: Authentication Token description: Authentication Token type: object @@ -9933,7 +9994,7 @@ paths: repositories: description: The repositories this token has access to type: array - items: *61 + items: *62 single_file: type: - string @@ -9983,13 +10044,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: - - *38 + - *39 responses: '201': description: Response content: application/json: - schema: *62 + schema: *63 examples: default: &194 value: @@ -10014,14 +10075,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: - - *38 - - *58 + - *39 + - *59 responses: '200': description: Response content: application/json: - schema: *59 + schema: *60 examples: default: &195 value: @@ -10062,8 +10123,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: - - *38 - - *58 + - *39 + - *59 responses: '204': description: Response @@ -10086,10 +10147,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: - - *38 - - *58 + - *39 + - *59 responses: - '200': &64 + '200': &65 description: Response content: application/json: @@ -10103,7 +10164,7 @@ paths: type: integer labels: type: array - items: *63 + items: *64 examples: default: value: @@ -10140,8 +10201,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: - - *38 - - *58 + - *39 + - *59 requestBody: required: true content: @@ -10165,7 +10226,7 @@ paths: - gpu - accelerated responses: - '200': *64 + '200': *65 '404': *6 '422': *7 x-github: @@ -10187,8 +10248,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: - - *38 - - *58 + - *39 + - *59 requestBody: required: true content: @@ -10213,7 +10274,7 @@ paths: - gpu - accelerated responses: - '200': *64 + '200': *65 '404': *6 '422': *7 x-github: @@ -10235,8 +10296,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: - - *38 - - *58 + - *39 + - *59 responses: '200': &196 description: Response @@ -10252,7 +10313,7 @@ paths: type: integer labels: type: array - items: *63 + items: *64 examples: default: value: @@ -10292,8 +10353,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: - - *38 - - *58 + - *39 + - *59 - &197 name: name description: The name of a self-hosted runner's custom label. @@ -10302,7 +10363,7 @@ paths: schema: type: string responses: - '200': *64 + '200': *65 '404': *6 '422': *7 x-github: @@ -10321,19 +10382,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/enterprises#get-announcement-banner-for-enterprise parameters: - - *38 + - *39 responses: '200': description: Response content: application/json: - schema: &69 + schema: &70 title: Announcement Banner description: Announcement at either the repository, organization, or enterprise level type: object properties: - announcement: &65 + announcement: &66 type: - string - 'null' @@ -10342,7 +10403,7 @@ paths: 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)." examples: - Very **important** announcement about _something_. - expires_at: &66 + expires_at: &67 type: - string - 'null' @@ -10354,7 +10415,7 @@ paths: it to an empty string.' examples: - '"2021-01-01T00:00:00.000-07:00"' - user_dismissible: &67 + user_dismissible: &68 type: - boolean - 'null' @@ -10367,7 +10428,7 @@ paths: - expires_at - user_dismissible examples: - default: &68 + default: &69 summary: Announcement banner value: announcement: Very **important** announcement about _something_. @@ -10396,23 +10457,23 @@ paths: description: Enterprise global announcement type: object properties: - announcement: *65 - expires_at: *66 - user_dismissible: *67 + announcement: *66 + expires_at: *67 + user_dismissible: *68 required: - announcement examples: - default: *68 + default: *69 parameters: - - *38 + - *39 responses: '200': description: Response content: application/json: - schema: *69 + schema: *70 examples: - default: *68 + default: *69 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -10428,7 +10489,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/enterprises#remove-announcement-banner-from-enterprise parameters: - - *38 + - *39 responses: '204': description: Response @@ -10455,7 +10516,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: - - *38 + - *39 - 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). @@ -10684,7 +10745,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: - - *38 + - *39 responses: '200': description: The stream key for the audit log streaming configuration was @@ -10728,7 +10789,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: - - *38 + - *39 responses: '200': description: OK @@ -10795,7 +10856,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: - - *38 + - *39 requestBody: required: true content: @@ -10821,7 +10882,7 @@ paths: vendor_specific: type: object oneOf: - - &73 + - &74 title: AzureBlobConfig description: Azure Blob Config for audit log streaming configuration. type: object @@ -10835,7 +10896,7 @@ paths: required: - key_id - encrypted_sas_url - - &74 + - &75 title: AzureHubConfig description: Azure Event Hubs Config for audit log streaming configuration. type: object @@ -10854,7 +10915,7 @@ paths: - name - encrypted_connstring - key_id - - &75 + - &76 title: AmazonS3OIDCConfig description: Amazon S3 OIDC Config for audit log streaming configuration. type: object @@ -10882,7 +10943,7 @@ paths: - bucket - key_id - region - - &76 + - &77 title: AmazonS3AccessKeysConfig description: Amazon S3 Access Keys Config for audit log streaming configuration. @@ -10916,7 +10977,7 @@ paths: - encrypted_secret_key - key_id - region - - &77 + - &78 title: SplunkConfig description: Splunk Config for Audit Log Stream Configuration type: object @@ -10944,7 +11005,7 @@ paths: - key_id - port - ssl_verify - - &78 + - &79 title: HecConfig description: Hec Config for Audit Log Stream Configuration type: object @@ -10976,7 +11037,7 @@ paths: - key_id - port - ssl_verify - - &79 + - &80 title: GoogleCloudConfig description: Google Cloud Config for audit log streaming configuration. type: object @@ -10994,7 +11055,7 @@ paths: - bucket - key_id - encrypted_json_credentials - - &80 + - &81 title: DatadogConfig description: Datadog Config for audit log streaming configuration. type: object @@ -11025,7 +11086,7 @@ paths: - stream_type - vendor_specific examples: - default: &81 + default: &82 value: enabled: false stream_type: Azure Event Hubs @@ -11039,7 +11100,7 @@ paths: description: The audit log stream configuration was created successfully. content: application/json: - schema: &70 + schema: &71 title: Get an audit log streaming configuration description: Get an audit log streaming configuration for an enterprise. type: object @@ -11071,7 +11132,7 @@ paths: - created_at - updated_at examples: - default: &71 + default: &72 value: id: 1 stream_type: Splunk @@ -11099,8 +11160,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: - - *38 - - &72 + - *39 + - &73 name: stream_id description: The ID of the audit log stream configuration. in: path @@ -11112,9 +11173,9 @@ paths: description: Lists one audit log stream configuration via stream ID. content: application/json: - schema: *70 + schema: *71 examples: - default: *71 + default: *72 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -11133,8 +11194,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: - - *38 - - *72 + - *39 + - *73 requestBody: required: true content: @@ -11160,7 +11221,6 @@ paths: vendor_specific: type: object oneOf: - - *73 - *74 - *75 - *76 @@ -11168,20 +11228,21 @@ paths: - *78 - *79 - *80 + - *81 required: - enabled - stream_type - vendor_specific examples: - default: *81 + default: *82 responses: '200': description: Successful update content: application/json: - schema: *70 + schema: *71 examples: - default: *71 + default: *72 '422': description: Validation error content: @@ -11211,8 +11272,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: - - *38 - - *72 + - *39 + - *73 responses: '204': description: The audit log stream configuration was deleted successfully. @@ -11238,7 +11299,7 @@ paths: category: enterprise-admin subcategory: bypass-requests parameters: - - *38 + - *39 - name: organization_name description: The name of the organization to filter on. in: query @@ -11544,11 +11605,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': &95 - description: Internal Error - content: - application/json: - schema: *3 + '500': *83 "/enterprises/{enterprise}/code-scanning/alerts": get: summary: List code scanning alerts for an enterprise @@ -11565,7 +11622,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: - - *38 + - *39 - &224 name: tool_name description: The name of a code scanning tool. Only results by this tool will @@ -11573,7 +11630,7 @@ paths: but not both. in: query required: false - schema: &85 + schema: &87 type: string description: The name of the tool used to generate the code scanning analysis. - &225 @@ -11584,17 +11641,17 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &86 + schema: &88 type: - string - 'null' description: The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data. - - *82 - - *83 + - *84 + - *85 - *19 - *17 - - *84 + - *86 - name: state description: If specified, only code scanning alerts with this state will be returned. @@ -11660,7 +11717,7 @@ paths: for an alert. format: uri readOnly: true - state: &87 + state: &89 type: - string - 'null' @@ -11772,14 +11829,14 @@ paths: tool: &451 type: object properties: - name: *85 + name: *87 version: type: - string - 'null' description: The version of the tool used to generate the code scanning analysis. - guid: *86 + guid: *88 most_recent_instance: &452 type: object properties: @@ -11805,7 +11862,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: *87 + state: *89 commit_sha: type: string message: @@ -11846,7 +11903,7 @@ paths: - test - library - - repository: &94 + repository: &95 title: Simple Repository description: A GitHub repository. type: object @@ -12416,7 +12473,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: *37 + Link: *38 '404': *6 '503': &128 description: Service unavailable @@ -12453,7 +12510,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: - - *38 + - *39 - name: per_page in: query description: The number of results per page (max 100). For more information, @@ -12462,8 +12519,8 @@ paths: schema: type: integer default: 30 - - *82 - - *83 + - *84 + - *85 responses: '200': description: Response @@ -12471,7 +12528,7 @@ paths: application/json: schema: type: array - items: &88 + items: &90 type: object description: A code security configuration properties: @@ -12757,7 +12814,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: - - *38 + - *39 requestBody: required: true content: @@ -12834,7 +12891,7 @@ paths: - disabled - not_set default: disabled - code_scanning_default_setup_options: &91 + code_scanning_default_setup_options: &93 type: - object - 'null' @@ -12946,9 +13003,9 @@ paths: description: Successfully created code security configuration content: application/json: - schema: *88 + schema: *90 examples: - default: &89 + default: &91 value: id: 1325 target_type: enterprise @@ -13000,7 +13057,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: - - *38 + - *39 responses: '200': description: Response @@ -13020,7 +13077,7 @@ paths: description: The visibility of newly created repositories for which the code security configuration will be applied to by default - configuration: *88 + configuration: *90 examples: default: &231 value: @@ -13106,8 +13163,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: - - *38 - - &90 + - *39 + - &92 name: configuration_id description: The unique identifier of the code security configuration. in: path @@ -13119,9 +13176,9 @@ paths: description: Response content: application/json: - schema: *88 + schema: *90 examples: - default: *89 + default: *91 '304': *35 '403': *27 '404': *6 @@ -13145,8 +13202,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: - - *38 - - *90 + - *39 + - *92 requestBody: required: true content: @@ -13216,7 +13273,7 @@ paths: - enabled - disabled - not_set - code_scanning_default_setup_options: *91 + code_scanning_default_setup_options: *93 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -13297,13 +13354,13 @@ paths: description: Response content: application/json: - schema: *88 + schema: *90 examples: - default: *89 + default: *91 '304': *35 '403': *27 '404': *6 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -13326,15 +13383,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: - - *38 - - *90 + - *39 + - *92 responses: '204': &114 description: A header with no content is returned. '400': *14 '403': *27 '404': *6 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -13358,8 +13415,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: - - *38 - - *90 + - *39 + - *92 requestBody: required: true content: @@ -13383,10 +13440,10 @@ paths: value: scope: all responses: - '202': *93 + '202': *37 '403': *27 '404': *6 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -13410,8 +13467,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: - - *38 - - *90 + - *39 + - *92 requestBody: required: true content: @@ -13451,7 +13508,7 @@ paths: - none - private_and_internal - public - configuration: *88 + configuration: *90 examples: default: value: @@ -13510,8 +13567,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: - - *38 - - *90 + - *39 + - *92 - 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)." @@ -13520,8 +13577,8 @@ paths: schema: type: integer default: 30 - - *82 - - *83 + - *84 + - *85 - name: status description: |- A comma-separated list of statuses. If specified, only repositories with these attachment statuses will be returned. @@ -13557,7 +13614,7 @@ paths: - failed - updating - removed_by_enterprise - repository: *94 + repository: *95 examples: default: summary: Example of code security configuration repositories @@ -13657,7 +13714,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: - - *38 + - *39 responses: '200': description: Response @@ -13764,7 +13821,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: - - *38 + - *39 requestBody: required: false content: @@ -13850,7 +13907,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/license#list-enterprise-consumed-licenses parameters: - - *38 + - *39 - *17 - *19 responses: @@ -13989,7 +14046,7 @@ paths: visual_studio_subscription_email: '' total_user_accounts: 1 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -14022,7 +14079,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: - - *38 + - *39 - *19 - name: per_page description: The number of results per page (max 100). For more information, @@ -14059,7 +14116,7 @@ paths: organization: anyOf: - type: 'null' - - *56 + - *57 assigning_team: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. @@ -14394,8 +14451,8 @@ paths: type: User site_admin: false headers: - Link: *37 - '500': *95 + Link: *38 + '500': *83 '401': *23 '403': *27 '404': *6 @@ -14425,7 +14482,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: - - *38 + - *39 - 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`). @@ -14871,7 +14928,7 @@ paths: custom_model_training_date: '2024-02-01' total_pr_summaries_created: 10 total_engaged_users: 4 - '500': *95 + '500': *83 '403': *27 '404': *6 '422': &132 @@ -14903,7 +14960,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - - *38 + - *39 - &242 name: state in: query @@ -14989,9 +15046,9 @@ paths: - updated - epss_percentage default: created + - *86 - *84 - - *82 - - *83 + - *85 - &250 name: first description: |- @@ -15336,7 +15393,7 @@ paths: ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - repository: *94 + repository: *95 required: - number - state @@ -15699,7 +15756,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/license#get-a-license-sync-status parameters: - - *38 + - *39 responses: '200': description: License Sync Status Response @@ -15763,7 +15820,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: - - *38 + - *39 - *17 - *19 responses: @@ -15845,7 +15902,7 @@ paths: - 6789ABDCEF12345 created_on: '2023-04-26T15:23:37Z' headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -15862,7 +15919,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: - - *38 + - *39 requestBody: required: true content: @@ -15932,7 +15989,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: - - *38 + - *39 - &109 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. @@ -15949,7 +16006,7 @@ paths: examples: default: *108 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -15966,7 +16023,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: - - *38 + - *39 - *109 requestBody: required: true @@ -16025,7 +16082,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: - - *38 + - *39 - *109 responses: '204': @@ -16048,7 +16105,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: - - *38 + - *39 - &343 name: network_settings_id description: Unique identifier of the hosted compute network settings. @@ -16108,7 +16165,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: *37 + Link: *38 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -16127,7 +16184,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: - - *38 + - *39 responses: '200': description: Response @@ -16257,7 +16314,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: - - *38 + - *39 requestBody: required: true content: @@ -16322,7 +16379,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: - - *38 + - *39 - &163 name: org description: The organization name. The name is not case sensitive. @@ -16376,7 +16433,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: - - *38 + - *39 - *112 responses: '200': @@ -16406,7 +16463,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: - - *38 + - *39 - *112 requestBody: required: true @@ -16508,7 +16565,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: - - *38 + - *39 - *112 responses: '204': *114 @@ -16530,7 +16587,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/rules#create-an-enterprise-repository-ruleset parameters: - - *38 + - *39 requestBody: description: Request body required: true @@ -17641,7 +17698,7 @@ paths: created_at: '2024-08-15T08:43:03Z' updated_at: '2024-09-23T16:29:47Z' '404': *6 - '500': *95 + '500': *83 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -17662,7 +17719,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/rules#get-an-enterprise-repository-ruleset parameters: - - *38 + - *39 - name: ruleset_id description: The ID of the ruleset. in: path @@ -17678,7 +17735,7 @@ paths: examples: default: *125 '404': *6 - '500': *95 + '500': *83 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -17694,7 +17751,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/rules#update-an-enterprise-repository-ruleset parameters: - - *38 + - *39 - name: ruleset_id description: The ID of the ruleset. in: path @@ -17757,7 +17814,7 @@ paths: examples: default: *125 '404': *6 - '500': *95 + '500': *83 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -17773,7 +17830,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/rules#delete-an-enterprise-repository-ruleset parameters: - - *38 + - *39 - name: ruleset_id description: The ID of the ruleset. in: path @@ -17784,7 +17841,7 @@ paths: '204': description: Response '404': *6 - '500': *95 + '500': *83 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -17801,7 +17858,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/rules#get-enterprise-ruleset-history parameters: - - *38 + - *39 - *17 - *19 - name: ruleset_id @@ -17859,7 +17916,7 @@ paths: type: User updated_at: '2024-08-23T16:29:47Z' '404': *6 - '500': *95 + '500': *83 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -17876,7 +17933,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/rules#get-enterprise-ruleset-version parameters: - - *38 + - *39 - name: ruleset_id description: The ID of the ruleset. in: path @@ -17929,7 +17986,7 @@ paths: rules: - type: repository_delete '404': *6 - '500': *95 + '500': *83 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -17948,7 +18005,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: - - *38 + - *39 - &323 name: state in: query @@ -17991,10 +18048,10 @@ paths: - created - updated default: created - - *84 + - *86 - *17 - - *82 - - *83 + - *84 + - *85 - &327 name: validity in: query @@ -18086,7 +18143,7 @@ paths: secret: type: string description: The secret that was detected. - repository: *94 + repository: *95 push_protection_bypassed: type: - boolean @@ -18390,7 +18447,7 @@ paths: publicly_leaked: false multi_repo: false headers: - Link: *37 + Link: *38 '404': *6 '503': *128 x-github: @@ -18417,7 +18474,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: - - *38 + - *39 responses: '200': description: Response @@ -18523,7 +18580,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: - - *38 + - *39 - &335 name: advanced_security_product in: query @@ -18645,7 +18702,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: - - *38 + - *39 responses: '200': description: Response when getting cost centers @@ -18694,7 +18751,7 @@ paths: name: Monalisa '400': *14 '403': *27 - '500': *95 + '500': *83 '503': *128 x-github: githubCloudOnly: true @@ -18715,7 +18772,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: - - *38 + - *39 - &129 name: cost_center_id description: The ID corresponding to the cost center. @@ -18757,8 +18814,8 @@ paths: message: Resources successfully added to the cost center. '400': *14 '403': *27 - '409': *92 - '500': *95 + '409': *94 + '500': *83 '503': *128 x-github: githubCloudOnly: true @@ -18778,7 +18835,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: - - *38 + - *39 - *129 requestBody: required: true @@ -18815,7 +18872,7 @@ paths: message: Resources successfully removed from the cost center. '400': *14 '403': *27 - '500': *95 + '500': *83 '503': *128 x-github: githubCloudOnly: true @@ -18841,7 +18898,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: - - *38 + - *39 responses: '200': description: Response @@ -18894,7 +18951,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: - - *38 + - *39 responses: '200': description: Response @@ -18942,7 +18999,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: - - *38 + - *39 - &164 name: year description: If specified, only return results for a single year. The value @@ -19060,7 +19117,7 @@ paths: repositoryName: github/example '400': *14 '403': *27 - '500': *95 + '500': *83 '503': *128 x-github: githubCloudOnly: true @@ -19094,7 +19151,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: - - *38 + - *39 - name: team_slug description: The slug of the enterprise team name. in: path @@ -19135,7 +19192,7 @@ paths: items: *130 examples: default: *131 - '500': *95 + '500': *83 '403': *27 '404': *6 '422': *132 @@ -19163,7 +19220,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: - - *38 + - *39 - name: security_product in: path description: The security feature to enable or disable. @@ -19630,7 +19687,7 @@ paths: - node_id - name - description - repository: *61 + repository: *62 performed_via_github_app: anyOf: - type: 'null' @@ -20200,7 +20257,7 @@ paths: site_admin: false truncated: false headers: - Link: *37 + Link: *38 '304': *35 '403': *27 x-github: @@ -20789,7 +20846,7 @@ paths: examples: default: *139 headers: - Link: *37 + Link: *38 '422': *15 '304': *35 '403': *27 @@ -20823,7 +20880,7 @@ paths: examples: default: *139 headers: - Link: *37 + Link: *38 '401': *23 '304': *35 '403': *27 @@ -21254,7 +21311,7 @@ paths: updated_at: '2011-04-18T23:23:56Z' author_association: COLLABORATOR headers: - Link: *37 + Link: *38 '304': *35 '404': *6 '403': *27 @@ -21633,7 +21690,7 @@ paths: type: User site_admin: false headers: - Link: *37 + Link: *38 '404': *6 '304': *35 '403': *27 @@ -21984,7 +22041,7 @@ paths: type: integer repositories: type: array - items: *61 + items: *62 repository_selection: type: string examples: @@ -22108,7 +22165,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *37 + Link: *38 '403': *27 '304': *35 '401': *23 @@ -22210,7 +22267,7 @@ paths: - updated - comments default: created - - *84 + - *86 - *137 - name: collab in: query @@ -22488,7 +22545,7 @@ paths: watchers: 1 author_association: COLLABORATOR headers: - Link: *37 + Link: *38 '422': *15 '304': *35 '404': *6 @@ -23166,7 +23223,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *37 + Link: *38 '404': *6 '401': *23 x-github: @@ -23278,7 +23335,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *37 + Link: *38 '404': *6 '422': *15 '401': *23 @@ -23345,7 +23402,7 @@ paths: examples: default: *154 headers: - Link: *37 + Link: *38 '401': *23 x-github: githubCloudOnly: false @@ -23391,7 +23448,7 @@ paths: examples: default: *157 headers: - Link: *37 + Link: *38 '401': *23 x-github: githubCloudOnly: false @@ -24388,7 +24445,7 @@ paths: url: https://api.github.com/notifications/threads/1 subscription_url: https://api.github.com/notifications/threads/1/subscription headers: - Link: *37 + Link: *38 '304': *35 '403': *27 '401': *23 @@ -24857,7 +24914,7 @@ paths: application/json: schema: type: array - items: *56 + items: *57 examples: default: &717 value: @@ -25034,7 +25091,7 @@ paths: default: *169 '400': *14 '403': *27 - '500': *95 + '500': *83 '503': *128 x-github: githubCloudOnly: false @@ -25765,7 +25822,7 @@ paths: oneOf: - *172 - *173 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25790,7 +25847,7 @@ paths: parameters: - *163 responses: - '202': *93 + '202': *37 '404': *6 '403': *27 x-github: @@ -25823,7 +25880,7 @@ paths: examples: default: *175 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25900,7 +25957,7 @@ paths: active_caches_size_in_bytes: 1022142 active_caches_count: 2 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25938,11 +25995,11 @@ paths: type: integer runners: type: array - items: *39 + items: *40 examples: default: *176 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26027,9 +26084,9 @@ paths: description: Response content: application/json: - schema: *39 + schema: *40 examples: - default: *43 + default: *44 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -26063,9 +26120,9 @@ paths: type: integer images: type: array - items: *40 + items: *41 examples: - default: *41 + default: *42 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26099,9 +26156,9 @@ paths: type: integer images: type: array - items: *40 + items: *41 examples: - default: *41 + default: *42 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26160,7 +26217,7 @@ paths: type: integer machine_specs: type: array - items: *42 + items: *43 examples: default: *179 x-github: @@ -26225,17 +26282,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization parameters: - *163 - - *44 + - *45 responses: '200': description: Response content: application/json: - schema: *39 + schema: *40 examples: - default: *43 + default: *44 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26254,7 +26311,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-organization parameters: - *163 - - *44 + - *45 requestBody: required: true content: @@ -26292,9 +26349,9 @@ paths: description: Response content: application/json: - schema: *39 + schema: *40 examples: - default: *43 + default: *44 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -26311,15 +26368,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization parameters: - *163 - - *44 + - *45 responses: '202': description: Response content: application/json: - schema: *39 + schema: *40 examples: - default: *43 + default: *44 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -26446,7 +26503,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: *46 + allowed_actions: *47 selected_actions_url: *182 required: - enabled_repositories @@ -26488,7 +26545,7 @@ paths: type: object properties: enabled_repositories: *183 - allowed_actions: *46 + allowed_actions: *47 required: - enabled_repositories examples: @@ -26533,7 +26590,7 @@ paths: type: number repositories: type: array - items: *61 + items: *62 examples: default: &711 value: @@ -26778,9 +26835,9 @@ paths: description: Response content: application/json: - schema: *48 + schema: *49 examples: - default: *49 + default: *50 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -26811,9 +26868,9 @@ paths: required: false content: application/json: - schema: *48 + schema: *49 examples: - selected_actions: *49 + selected_actions: *50 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -26843,7 +26900,7 @@ paths: application/json: schema: *185 examples: - default: *52 + default: *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26877,7 +26934,7 @@ paths: application/json: schema: *186 examples: - default: *52 + default: *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27150,7 +27207,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: - *163 - - *55 + - *56 responses: '200': description: Response @@ -27193,7 +27250,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: - *163 - - *55 + - *56 requestBody: required: true content: @@ -27271,7 +27328,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: - *163 - - *55 + - *56 responses: '204': description: Response @@ -27295,7 +27352,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: - *163 - - *55 + - *56 - *17 - *19 responses: @@ -27313,11 +27370,11 @@ paths: type: number runners: type: array - items: *39 + items: *40 examples: default: *176 headers: - Link: *37 + Link: *38 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -27338,7 +27395,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: - *163 - - *55 + - *56 - *19 - *17 responses: @@ -27611,7 +27668,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: - *163 - - *55 + - *56 requestBody: required: true content: @@ -27656,7 +27713,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: - *163 - - *55 + - *56 - *184 responses: '204': @@ -27680,7 +27737,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: - *163 - - *55 + - *56 - *184 responses: '204': @@ -27705,7 +27762,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: - *163 - - *55 + - *56 - *17 - *19 responses: @@ -27723,11 +27780,11 @@ paths: type: number runners: type: array - items: *59 + items: *60 examples: - default: *60 + default: *61 headers: - Link: *37 + Link: *38 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -27747,7 +27804,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: - *163 - - *55 + - *56 requestBody: required: true content: @@ -27792,8 +27849,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: - *163 - - *55 - - *58 + - *56 + - *59 responses: '204': description: Response @@ -27816,8 +27873,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: - *163 - - *55 - - *58 + - *56 + - *59 responses: '204': description: Response @@ -27865,11 +27922,11 @@ paths: type: integer runners: type: array - items: *59 + items: *60 examples: - default: *60 + default: *61 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27969,7 +28026,7 @@ paths: '201': *192 '404': *6 '422': *7 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28003,7 +28060,7 @@ paths: description: Response content: application/json: - schema: *62 + schema: *63 examples: default: *193 x-github: @@ -28039,7 +28096,7 @@ paths: description: Response content: application/json: - schema: *62 + schema: *63 examples: default: *194 x-github: @@ -28064,13 +28121,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization parameters: - *163 - - *58 + - *59 responses: '200': description: Response content: application/json: - schema: *59 + schema: *60 examples: default: *195 x-github: @@ -28094,7 +28151,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization parameters: - *163 - - *58 + - *59 responses: '204': description: Response @@ -28120,9 +28177,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: - *163 - - *58 + - *59 responses: - '200': *64 + '200': *65 '404': *6 x-github: githubCloudOnly: false @@ -28145,7 +28202,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: - *163 - - *58 + - *59 requestBody: required: true content: @@ -28169,7 +28226,7 @@ paths: - gpu - accelerated responses: - '200': *64 + '200': *65 '404': *6 '422': *7 x-github: @@ -28194,7 +28251,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: - *163 - - *58 + - *59 requestBody: required: true content: @@ -28219,7 +28276,7 @@ paths: - gpu - accelerated responses: - '200': *64 + '200': *65 '404': *6 '422': *7 x-github: @@ -28244,7 +28301,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: - *163 - - *58 + - *59 responses: '200': *196 '404': *6 @@ -28274,10 +28331,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: - *163 - - *58 + - *59 - *197 responses: - '200': *64 + '200': *65 '404': *6 '422': *7 x-github: @@ -28372,7 +28429,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/secrets/SUPER_SECRET/repositories headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28942,7 +28999,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/variables/ADMIN_EMAIL/repositories headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29339,9 +29396,9 @@ paths: description: Response content: application/json: - schema: *69 + schema: *70 examples: - default: *68 + default: *69 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -29362,7 +29419,7 @@ paths: application/json: schema: *204 examples: - default: *68 + default: *69 parameters: - *163 responses: @@ -29370,9 +29427,9 @@ paths: description: Response content: application/json: - schema: *69 + schema: *70 examples: - default: *68 + default: *69 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -29414,8 +29471,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-attestations parameters: - *17 - - *82 - - *83 + - *84 + - *85 - *163 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 @@ -29778,7 +29835,7 @@ paths: examples: default: *217 '404': *6 - '500': *95 + '500': *83 "/orgs/{org}/bypass-requests/secret-scanning": get: summary: List bypass requests for secret scanning for an org @@ -30012,7 +30069,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': *95 + '500': *83 "/orgs/{org}/campaigns": get: summary: List campaigns for an organization @@ -30032,7 +30089,7 @@ paths: - *163 - *19 - *17 - - *84 + - *86 - name: state description: If specified, only campaigns with this state will be returned. in: query @@ -30209,7 +30266,7 @@ paths: closed_at: state: open headers: - Link: *37 + Link: *38 '404': *6 '503': *128 x-github: @@ -30576,11 +30633,11 @@ paths: - *163 - *224 - *225 - - *82 - - *83 + - *84 + - *85 - *19 - *17 - - *84 + - *86 - name: state description: If specified, only code scanning alerts with this state will be returned. @@ -30624,7 +30681,7 @@ paths: examples: default: *228 headers: - Link: *37 + Link: *38 '404': *6 '503': *128 x-github: @@ -30667,8 +30724,8 @@ paths: schema: type: integer default: 30 - - *82 - - *83 + - *84 + - *85 responses: '200': description: Response @@ -30676,7 +30733,7 @@ paths: application/json: schema: type: array - items: *88 + items: *90 examples: default: value: @@ -30836,7 +30893,7 @@ paths: - disabled - not_set default: disabled - code_scanning_default_setup_options: *91 + code_scanning_default_setup_options: *93 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -30961,7 +31018,7 @@ paths: description: Successfully created code security configuration content: application/json: - schema: *88 + schema: *90 examples: default: *229 x-github: @@ -31046,7 +31103,7 @@ paths: '400': *14 '403': *27 '404': *6 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31069,13 +31126,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-a-code-security-configuration parameters: - *163 - - *90 + - *92 responses: '200': description: Response content: application/json: - schema: *88 + schema: *90 examples: default: *229 '304': *35 @@ -31102,7 +31159,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#update-a-code-security-configuration parameters: - *163 - - *90 + - *92 requestBody: required: true content: @@ -31172,7 +31229,7 @@ paths: - enabled - disabled - not_set - code_scanning_default_setup_options: *91 + code_scanning_default_setup_options: *93 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -31283,7 +31340,7 @@ paths: description: Response when a configuration is updated content: application/json: - schema: *88 + schema: *90 examples: default: value: @@ -31341,13 +31398,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#delete-a-code-security-configuration parameters: - *163 - - *90 + - *92 responses: '204': *114 '400': *14 '403': *27 '404': *6 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31372,7 +31429,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - *163 - - *90 + - *92 requestBody: required: true content: @@ -31411,7 +31468,7 @@ paths: - 32 - 91 responses: - '202': *93 + '202': *37 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31436,7 +31493,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: - *163 - - *90 + - *92 requestBody: required: true content: @@ -31476,7 +31533,7 @@ paths: - none - private_and_internal - public - configuration: *88 + configuration: *90 examples: default: value: @@ -31506,7 +31563,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration parameters: - *163 - - *90 + - *92 - 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)." @@ -31515,8 +31572,8 @@ paths: schema: type: integer default: 30 - - *82 - - *83 + - *84 + - *85 - name: status description: |- A comma-separated list of statuses. If specified, only repositories with these attachment statuses will be returned. @@ -32312,7 +32369,7 @@ paths: stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-f8adfad99a/stop recent_folders: [] '304': *35 - '500': *95 + '500': *83 '401': *23 '403': *27 '404': *6 @@ -32378,7 +32435,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *95 + '500': *83 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -32433,7 +32490,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *95 + '500': *83 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -32487,7 +32544,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *95 + '500': *83 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -32580,7 +32637,7 @@ paths: updated_at: '2020-01-11T11:59:22Z' visibility: all headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -32679,7 +32736,7 @@ paths: updated_at: '2020-01-10T14:59:22Z' visibility: all headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -33084,7 +33141,7 @@ paths: cli: enabled public_code_suggestions: block plan_type: business - '500': *95 + '500': *83 '401': *23 '403': *27 '404': *6 @@ -33143,8 +33200,8 @@ paths: examples: default: *236 headers: - Link: *37 - '500': *95 + Link: *38 + '500': *83 '401': *23 '403': *27 '404': *6 @@ -33219,7 +33276,7 @@ paths: default: value: seats_created: 5 - '500': *95 + '500': *83 '401': *23 '403': *27 '404': *6 @@ -33297,7 +33354,7 @@ paths: default: value: seats_cancelled: 5 - '500': *95 + '500': *83 '401': *23 '403': *27 '404': *6 @@ -33376,7 +33433,7 @@ paths: default: value: seats_created: 5 - '500': *95 + '500': *83 '401': *23 '403': *27 '404': *6 @@ -33454,7 +33511,7 @@ paths: default: value: seats_cancelled: 5 - '500': *95 + '500': *83 '401': *23 '403': *27 '404': *6 @@ -33528,7 +33585,7 @@ paths: items: *130 examples: default: *131 - '500': *95 + '500': *83 '403': *27 '404': *6 '422': *132 @@ -34235,9 +34292,9 @@ paths: - *247 - *248 - *249 + - *86 - *84 - - *82 - - *83 + - *85 - *250 - *251 - *17 @@ -34346,7 +34403,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/dependabot/secrets/SUPER_SECRET/repositories headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34940,7 +34997,7 @@ paths: html_url: https://github.com/octo-org/smile/security/secret-scanning/19 '404': *6 '403': *27 - '500': *95 + '500': *83 "/orgs/{org}/docker/conflicts": get: summary: Get list of conflicting packages during Docker migration for organization @@ -35534,7 +35591,7 @@ paths: invitation_teams_url: https://api.github.com/organizations/2/invitations/1/teams invitation_source: member headers: - Link: *37 + Link: *38 '404': *6 x-github: githubCloudOnly: false @@ -35723,7 +35780,7 @@ paths: created_at: '2011-09-06T17:26:27Z' type: Organization headers: - Link: *37 + Link: *38 '404': *6 x-github: githubCloudOnly: false @@ -36152,7 +36209,7 @@ paths: - *257 - *16 responses: - '202': *93 + '202': *37 '400': *14 '422': *15 x-github: @@ -36238,7 +36295,7 @@ paths: type: string - *19 - *17 - - *84 + - *86 - name: sort description: The property to sort the results by. in: query @@ -36326,7 +36383,7 @@ paths: - *264 - *19 - *17 - - *84 + - *86 - &273 name: sort description: The property to sort the results by. @@ -36647,7 +36704,7 @@ paths: - *264 - *19 - *17 - - *84 + - *86 - *273 - name: actor_name_substring in: query @@ -36871,7 +36928,7 @@ paths: suspended_at: suspended_by: headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37075,7 +37132,7 @@ paths: examples: default: *278 headers: - Link: *37 + Link: *38 '404': *6 x-github: githubCloudOnly: false @@ -37270,7 +37327,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos parent: headers: - Link: *37 + Link: *38 '404': *6 x-github: githubCloudOnly: false @@ -37584,7 +37641,7 @@ paths: - updated - comments default: created - - *84 + - *86 - *137 - *17 - *19 @@ -37599,7 +37656,7 @@ paths: examples: default: *284 headers: - Link: *37 + Link: *38 '404': *6 x-github: githubCloudOnly: false @@ -37659,7 +37716,7 @@ paths: examples: default: *285 headers: - Link: *37 + Link: *38 '422': *15 x-github: githubCloudOnly: false @@ -37757,7 +37814,7 @@ paths: examples: default: *287 '304': *35 - '500': *95 + '500': *83 '401': *23 '403': *27 '404': *6 @@ -37790,9 +37847,9 @@ paths: schema: type: string responses: - '202': *93 + '202': *37 '304': *35 - '500': *95 + '500': *83 '401': *23 '403': *27 '404': *6 @@ -37967,7 +38024,7 @@ paths: recent_folders: [] template: '304': *35 - '500': *95 + '500': *83 '401': *23 '403': *27 '404': *6 @@ -38048,7 +38105,7 @@ paths: members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos parent: - '500': *95 + '500': *83 '401': *23 '403': *27 '404': *6 @@ -38113,7 +38170,7 @@ paths: format: uri examples: - https://api.github.com/orgs/octocat - organization: *56 + organization: *57 user: anyOf: - type: 'null' @@ -38343,7 +38400,7 @@ paths: type: array description: The repositories included in the migration. Only returned for export migrations. - items: *61 + items: *62 url: type: string format: uri @@ -38542,7 +38599,7 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -39214,7 +39271,7 @@ paths: secret_scanning_validity_checks: status: disabled headers: - Link: *37 + Link: *38 '404': *6 x-github: githubCloudOnly: false @@ -39550,7 +39607,7 @@ paths: updated_at: '2022-07-04T22:19:11Z' '422': *15 '404': *6 - '409': *92 + '409': *94 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -39882,7 +39939,7 @@ paths: created_at: '2022-07-04T22:19:11Z' updated_at: '2022-07-04T22:19:11Z' '422': *15 - '409': *92 + '409': *94 '404': *6 x-github: githubCloudOnly: true @@ -40029,7 +40086,7 @@ paths: examples: default: *296 headers: - Link: *37 + Link: *38 '404': description: Response if the organization or role does not exist. '422': @@ -40205,7 +40262,7 @@ paths: examples: default: *285 headers: - Link: *37 + Link: *38 '404': description: Response if the organization or role does not exist. '422': @@ -40256,7 +40313,7 @@ paths: examples: default: *285 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40896,7 +40953,7 @@ paths: enum: - created_at default: created_at - - *84 + - *86 - &305 name: owner description: A list of owner usernames to use to filter the results. @@ -40960,7 +41017,7 @@ paths: examples: - token_id[]=1,token_id[]=2 responses: - '500': *95 + '500': *83 '422': *15 '404': *6 '403': *27 @@ -41095,7 +41152,7 @@ paths: token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41157,11 +41214,11 @@ paths: action: deny reason: Access is too broad. responses: - '500': *95 + '500': *83 '422': *15 '404': *6 '403': *27 - '202': *93 + '202': *37 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41219,7 +41276,7 @@ paths: action: deny reason: This request is denied because the access is too broad. responses: - '500': *95 + '500': *83 '422': *15 '404': *6 '403': *27 @@ -41255,7 +41312,7 @@ paths: - *17 - *19 responses: - '500': *95 + '500': *83 '404': *6 '403': *27 '200': @@ -41268,7 +41325,7 @@ paths: examples: default: *303 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41293,7 +41350,7 @@ paths: - *17 - *19 - *304 - - *84 + - *86 - *305 - *306 - *307 @@ -41301,7 +41358,7 @@ paths: - *309 - *310 responses: - '500': *95 + '500': *83 '422': *15 '404': *6 '403': *27 @@ -41430,7 +41487,7 @@ paths: token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41485,9 +41542,9 @@ paths: - 1296269 - 1296280 responses: - '500': *95 + '500': *83 '404': *6 - '202': *93 + '202': *37 '403': *27 '422': *15 x-github: @@ -41538,7 +41595,7 @@ paths: value: action: revoke responses: - '500': *95 + '500': *83 '404': *6 '204': *114 '403': *27 @@ -41572,7 +41629,7 @@ paths: - *17 - *19 responses: - '500': *95 + '500': *83 '404': *6 '403': *27 '200': @@ -41585,7 +41642,7 @@ paths: examples: default: *303 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41680,7 +41737,7 @@ paths: updated_at: '2020-01-10T14:59:22Z' visibility: selected headers: - Link: *37 + Link: *38 '400': *14 '404': *6 x-github: @@ -41904,7 +41961,7 @@ paths: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 headers: - Link: *37 + Link: *38 '404': *6 x-github: githubCloudOnly: false @@ -42215,7 +42272,7 @@ paths: organization_permission: write private: true headers: - Link: *37 + Link: *38 '422': *7 x-github: githubCloudOnly: false @@ -42616,7 +42673,7 @@ paths: - property_name: team value: octocat headers: - Link: *37 + Link: *38 '403': *27 '404': *6 x-github: @@ -42719,7 +42776,7 @@ paths: examples: default: *285 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42859,7 +42916,7 @@ paths: examples: default: *303 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43407,7 +43464,7 @@ paths: template_repository: anyOf: - type: 'null' - - *61 + - *62 temp_clone_token: type: - string @@ -43512,8 +43569,8 @@ paths: anyOf: - type: 'null' - *4 - parent: *61 - source: *61 + parent: *62 + source: *62 forks: type: integer master_branch: @@ -44243,7 +44300,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *95 + '500': *83 post: summary: Create an organization repository ruleset description: Create a repository ruleset for an organization. @@ -44369,7 +44426,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *95 + '500': *83 "/orgs/{org}/rulesets/rule-suites": get: summary: List organization rule suites @@ -44503,7 +44560,7 @@ paths: result: pass evaluation_result: fail '404': *6 - '500': *95 + '500': *83 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44681,7 +44738,7 @@ paths: result: fail rule_type: commit_message_pattern '404': *6 - '500': *95 + '500': *83 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44723,7 +44780,7 @@ paths: examples: default: *320 '404': *6 - '500': *95 + '500': *83 put: summary: Update an organization repository ruleset description: Update a ruleset for an organization. @@ -44813,7 +44870,7 @@ paths: examples: default: *320 '404': *6 - '500': *95 + '500': *83 delete: summary: Delete an organization repository ruleset description: Delete a ruleset for an organization. @@ -44840,7 +44897,7 @@ paths: '204': description: Response '404': *6 - '500': *95 + '500': *83 "/orgs/{org}/rulesets/{ruleset_id}/history": get: summary: Get organization ruleset history @@ -44872,7 +44929,7 @@ paths: examples: default: *321 '404': *6 - '500': *95 + '500': *83 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44947,7 +45004,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *95 + '500': *83 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44974,7 +45031,7 @@ paths: - *324 - *325 - *326 - - *84 + - *86 - *19 - *17 - &641 @@ -45011,7 +45068,7 @@ paths: examples: default: *331 headers: - Link: *37 + Link: *38 '404': *6 '503': *128 x-github: @@ -45036,7 +45093,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories-for-an-organization parameters: - *163 - - *84 + - *86 - name: sort description: The property to sort the results by. in: query @@ -45048,8 +45105,8 @@ paths: - updated - published default: created - - *82 - - *83 + - *84 + - *85 - 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)." @@ -45366,7 +45423,7 @@ paths: description: A temporary private fork of the advisory's repository for collaborating on a fix. allOf: - - *94 + - *95 type: - 'null' required: @@ -46011,7 +46068,7 @@ paths: examples: default: *342 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46105,7 +46162,7 @@ paths: examples: default: *108 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46220,7 +46277,7 @@ paths: examples: default: *345 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46389,7 +46446,7 @@ paths: items: *130 examples: default: *131 - '500': *95 + '500': *83 '403': *27 '404': *6 '422': *132 @@ -46424,7 +46481,7 @@ paths: examples: default: *296 headers: - Link: *37 + Link: *38 '403': *27 x-github: githubCloudOnly: false @@ -47123,7 +47180,7 @@ paths: parameters: - *163 - *294 - - *84 + - *86 - *17 - *19 - name: pinned @@ -47300,7 +47357,7 @@ paths: eyes: 1 rocket: 1 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47599,7 +47656,7 @@ paths: - *163 - *294 - *350 - - *84 + - *86 - *17 - *19 responses: @@ -47733,7 +47790,7 @@ paths: eyes: 1 rocket: 1 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48107,7 +48164,7 @@ paths: content: heart created_at: '2016-05-20T20:09:31Z' headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48291,7 +48348,7 @@ paths: examples: default: *356 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48521,7 +48578,7 @@ paths: examples: default: *278 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48567,7 +48624,7 @@ paths: examples: default: *285 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48878,7 +48935,7 @@ paths: write: true admin: false headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49092,7 +49149,7 @@ paths: examples: default: *303 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49994,7 +50051,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos html_url: https://github.com/orgs/rails/teams/core headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50689,7 +50746,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: *37 + Link: *38 '304': *35 '403': *27 '401': *23 @@ -51111,7 +51168,7 @@ paths: examples: default: *285 headers: - Link: *37 + Link: *38 '404': *6 '422': *15 '304': *35 @@ -51320,7 +51377,7 @@ paths: created_at: '2016-09-05T14:18:44Z' updated_at: '2016-09-05T14:22:28Z' headers: - Link: *37 + Link: *38 '304': *35 '403': *27 '401': *23 @@ -52592,7 +52649,7 @@ paths: head_branch: main head_sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52796,7 +52853,7 @@ paths: - last_accessed_at - size_in_bytes default: last_accessed_at - - *84 + - *86 responses: '200': description: Response @@ -52864,7 +52921,7 @@ paths: created_at: '2019-01-24T22:45:36.000Z' size_in_bytes: 1024 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53557,7 +53614,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53645,7 +53702,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53678,7 +53735,7 @@ paths: enabled: &390 type: boolean description: Whether GitHub Actions is enabled on the repository. - allowed_actions: *46 + allowed_actions: *47 selected_actions_url: *182 required: - enabled @@ -53721,7 +53778,7 @@ paths: type: object properties: enabled: *390 - allowed_actions: *46 + allowed_actions: *47 required: - enabled examples: @@ -53840,9 +53897,9 @@ paths: description: Response content: application/json: - schema: *48 + schema: *49 examples: - default: *49 + default: *50 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -53874,9 +53931,9 @@ paths: required: false content: application/json: - schema: *48 + schema: *49 examples: - selected_actions: *49 + selected_actions: *50 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -53907,7 +53964,7 @@ paths: application/json: schema: *185 examples: - default: *52 + default: *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53942,7 +53999,7 @@ paths: application/json: schema: *186 examples: - default: *52 + default: *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53988,11 +54045,11 @@ paths: type: integer runners: type: array - items: *59 + items: *60 examples: - default: *60 + default: *61 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54094,7 +54151,7 @@ paths: '201': *192 '404': *6 '422': *7 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54129,7 +54186,7 @@ paths: description: Response content: application/json: - schema: *62 + schema: *63 examples: default: *193 x-github: @@ -54166,7 +54223,7 @@ paths: description: Response content: application/json: - schema: *62 + schema: *63 examples: default: *194 x-github: @@ -54192,13 +54249,13 @@ paths: parameters: - *365 - *366 - - *58 + - *59 responses: '200': description: Response content: application/json: - schema: *59 + schema: *60 examples: default: *195 x-github: @@ -54223,7 +54280,7 @@ paths: parameters: - *365 - *366 - - *58 + - *59 responses: '204': description: Response @@ -54250,9 +54307,9 @@ paths: parameters: - *365 - *366 - - *58 + - *59 responses: - '200': *64 + '200': *65 '404': *6 x-github: githubCloudOnly: false @@ -54276,7 +54333,7 @@ paths: parameters: - *365 - *366 - - *58 + - *59 requestBody: required: true content: @@ -54300,7 +54357,7 @@ paths: - gpu - accelerated responses: - '200': *64 + '200': *65 '404': *6 '422': *7 x-github: @@ -54326,7 +54383,7 @@ paths: parameters: - *365 - *366 - - *58 + - *59 requestBody: required: true content: @@ -54351,7 +54408,7 @@ paths: - gpu - accelerated responses: - '200': *64 + '200': *65 '404': *6 '422': *7 x-github: @@ -54377,7 +54434,7 @@ paths: parameters: - *365 - *366 - - *58 + - *59 responses: '200': *196 '404': *6 @@ -54408,10 +54465,10 @@ paths: parameters: - *365 - *366 - - *58 + - *59 - *197 responses: - '200': *64 + '200': *65 '404': *6 '422': *7 x-github: @@ -55111,7 +55168,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: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55606,7 +55663,7 @@ paths: examples: default: *397 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55781,7 +55838,7 @@ paths: workflow_name: CI head_branch: main headers: - Link: *37 + Link: *38 '404': *6 x-github: githubCloudOnly: false @@ -55848,7 +55905,7 @@ paths: examples: default: value: - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55952,7 +56009,7 @@ paths: examples: default: value: - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56011,7 +56068,7 @@ paths: examples: default: *401 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56070,7 +56127,7 @@ paths: '204': description: Response '403': *27 - '500': *95 + '500': *83 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56735,7 +56792,7 @@ paths: examples: default: *403 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56934,7 +56991,7 @@ paths: examples: default: *407 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57229,7 +57286,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: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57443,7 +57500,7 @@ paths: examples: default: *417 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57539,10 +57596,10 @@ paths: parameters: - *365 - *366 - - *84 + - *86 - *17 - - *82 - - *83 + - *84 + - *85 - name: ref description: |- The Git reference for the activities you want to list. @@ -57687,7 +57744,7 @@ paths: type: User site_admin: false headers: - Link: *37 + Link: *38 '422': *7 x-github: githubCloudOnly: false @@ -57721,7 +57778,7 @@ paths: examples: default: *285 headers: - Link: *37 + Link: *38 '404': *6 x-github: githubCloudOnly: false @@ -57897,8 +57954,8 @@ paths: - *365 - *366 - *17 - - *82 - - *83 + - *84 + - *85 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -58751,7 +58808,7 @@ paths: - linter protection_url: https://api.github.com/repos/octocat/hello-world/branches/master/protection headers: - Link: *37 + Link: *38 '404': *6 x-github: githubCloudOnly: false @@ -61713,7 +61770,7 @@ paths: examples: default: *217 '404': *6 - '500': *95 + '500': *83 "/repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}": get: summary: Get a repository push bypass request @@ -61784,7 +61841,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': *95 + '500': *83 "/repos/{owner}/{repo}/bypass-requests/secret-scanning": get: summary: List bypass requests for secret scanning for a repository @@ -61825,7 +61882,7 @@ paths: default: *436 '404': *6 '403': *27 - '500': *95 + '500': *83 "/repos/{owner}/{repo}/bypass-requests/secret-scanning/{bypass_request_number}": get: summary: Get a bypass request for secret scanning @@ -61897,7 +61954,7 @@ paths: html_url: https://github.com/octo-org/smile/exemptions/1 '404': *6 '403': *27 - '500': *95 + '500': *83 patch: summary: Review a bypass request for secret scanning description: |- @@ -61968,7 +62025,7 @@ paths: '404': *6 '403': *27 '422': *15 - '500': *95 + '500': *83 "/repos/{owner}/{repo}/bypass-responses/secret-scanning/{bypass_response_id}": delete: summary: Dismiss a response on a bypass request for secret scanning @@ -62003,7 +62060,7 @@ paths: '404': *6 '403': *27 '422': *15 - '500': *95 + '500': *83 "/repos/{owner}/{repo}/check-runs": post: summary: Create a check run @@ -63198,7 +63255,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: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64207,7 +64264,7 @@ paths: url: https://api.github.com/repos/github/hello-world name: hello-world headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64283,9 +64340,9 @@ paths: required: false schema: type: integer + - *86 - *84 - - *82 - - *83 + - *85 - name: sort description: The property by which to sort the results. in: query @@ -64324,7 +64381,7 @@ paths: url: *101 html_url: *102 instances_url: *447 - state: *87 + state: *89 fixed_at: *106 dismissed_by: anyOf: @@ -64507,7 +64564,7 @@ paths: url: *101 html_url: *102 instances_url: *447 - state: *87 + state: *89 fixed_at: *106 dismissed_by: anyOf: @@ -65145,7 +65202,7 @@ paths: description: An identifier for the upload. examples: - 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 - - *84 + - *86 - name: sort description: The property by which to sort the results. in: query @@ -65886,7 +65943,7 @@ paths: id: type: integer description: The ID of the variant analysis. - controller_repo: *94 + controller_repo: *95 actor: *4 query_language: *467 query_pack_url: @@ -66320,7 +66377,7 @@ paths: schema: type: object properties: - repository: *94 + repository: *95 analysis_status: *472 artifact_size_in_bytes: type: integer @@ -66905,7 +66962,7 @@ paths: - failed - updating - removed_by_enterprise - configuration: *88 + configuration: *90 examples: default: value: @@ -67384,7 +67441,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': *95 + '500': *83 '401': *23 '403': *27 '404': *6 @@ -67551,7 +67608,7 @@ paths: - path: ".devcontainer.json" display_name: Default project configuration total_count: 3 - '500': *95 + '500': *83 '400': *14 '401': *23 '403': *27 @@ -67632,7 +67689,7 @@ paths: memory_in_bytes: 34359738368 cpus: 8 '304': *35 - '500': *95 + '500': *83 '401': *23 '403': *27 '404': *6 @@ -67855,7 +67912,7 @@ paths: examples: default: *476 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68226,7 +68283,7 @@ paths: admin: false role_name: write headers: - Link: *37 + Link: *38 '404': *6 x-github: githubCloudOnly: false @@ -68754,7 +68811,7 @@ paths: updated_at: '2011-04-14T16:00:49Z' author_association: COLLABORATOR headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68976,7 +69033,7 @@ paths: examples: default: *356 headers: - Link: *37 + Link: *38 '404': *6 x-github: githubCloudOnly: false @@ -69241,11 +69298,11 @@ paths: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e headers: - Link: *37 - '500': *95 + Link: *38 + '500': *83 '400': *14 '404': *6 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69314,7 +69371,7 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc protected: false '422': *15 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69355,7 +69412,7 @@ paths: examples: default: *485 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69643,7 +69700,7 @@ paths: type: string ref: type: string - repo: *61 + repo: *62 sha: type: string user: @@ -69663,7 +69720,7 @@ paths: type: string ref: type: string - repo: *61 + repo: *62 sha: type: string user: @@ -70249,8 +70306,8 @@ paths: auto_merge: draft: false headers: - Link: *37 - '409': *92 + Link: *38 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70414,9 +70471,9 @@ paths: ..... '422': *15 '404': *6 - '500': *95 + '500': *83 '503': *128 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70483,7 +70540,7 @@ paths: examples: default: *492 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70709,7 +70766,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: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71030,7 +71087,7 @@ paths: type: User site_admin: false headers: - Link: *37 + Link: *38 '301': *379 x-github: githubCloudOnly: false @@ -71578,7 +71635,7 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" '404': *6 - '500': *95 + '500': *83 '503': *128 x-github: githubCloudOnly: false @@ -72677,7 +72734,7 @@ paths: verified_at: '422': *15 '404': *6 - '409': *92 + '409': *94 '503': *128 x-github: githubCloudOnly: false @@ -72800,7 +72857,7 @@ paths: site_admin: false contributions: 32 headers: - Link: *37 + Link: *38 '204': description: Response if repository is empty '403': *27 @@ -72839,7 +72896,7 @@ paths: - *247 - *248 - *249 - - *84 + - *86 - name: page description: "**Closing down notice**. Page number of the results to fetch. Use cursor-based pagination with `before` or `after` instead." @@ -72856,8 +72913,8 @@ paths: schema: type: integer default: 30 - - *82 - - *83 + - *84 + - *85 - *250 - *251 responses: @@ -73461,7 +73518,7 @@ paths: '400': *14 '403': *27 '404': *6 - '409': *92 + '409': *94 '422': *7 x-github: githubCloudOnly: false @@ -73535,7 +73592,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73849,7 +73906,7 @@ paths: advisory_summary: Ruby OpenID advisory_url: https://github.com/advisories/GHSA-fqfj-cmh6-hj49 headers: - Link: *37 + Link: *38 '404': *6 '403': description: Response for a private repository when GitHub Advanced Security @@ -74111,7 +74168,7 @@ paths: spdxElementId: SPDXRef-DOCUMENT relatedSpdxElement: SPDXRef-Repository headers: - Link: *37 + Link: *38 '404': *6 '403': *27 x-github: @@ -74450,7 +74507,7 @@ paths: examples: default: *508 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74929,7 +74986,7 @@ paths: environment_url: https://test-branch.lab.acme.com log_url: https://example.com/deployment/42/output headers: - Link: *37 + Link: *38 '404': *6 x-github: githubCloudOnly: false @@ -75146,7 +75203,7 @@ paths: default: *514 '404': *6 '403': *27 - '500': *95 + '500': *83 "/repos/{owner}/{repo}/dismissal-requests/secret-scanning/{alert_number}": get: summary: Get an alert dismissal request for secret scanning @@ -75218,7 +75275,7 @@ paths: html_url: https://github.com/octo-org/smile/security/secret-scanning/17 '404': *6 '403': *27 - '500': *95 + '500': *83 patch: summary: Review an alert dismissal request for secret scanning description: |- @@ -75290,7 +75347,7 @@ paths: '404': *6 '403': *27 '422': *15 - '500': *95 + '500': *83 "/repos/{owner}/{repo}/dispatches": post: summary: Create a repository dispatch event @@ -76491,7 +76548,7 @@ paths: examples: default: *403 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76691,7 +76748,7 @@ paths: examples: default: *407 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77082,7 +77139,7 @@ paths: url: https://api.github.com/licenses/mit node_id: MDc6TGljZW5zZW1pdA== headers: - Link: *37 + Link: *38 '400': *14 x-github: githubCloudOnly: false @@ -77215,7 +77272,7 @@ paths: schema: type: string '404': *6 - '409': *92 + '409': *94 '403': *27 '422': description: Validation failed @@ -77302,7 +77359,7 @@ paths: '404': *6 '422': *15 '403': *27 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77637,7 +77694,7 @@ paths: type: string '422': *15 '404': *6 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77726,7 +77783,7 @@ paths: payload: verified_at: '404': *6 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77824,8 +77881,8 @@ paths: sha: 612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac url: https://api.github.com/repos/octocat/Hello-World/git/commits/612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac headers: - Link: *37 - '409': *92 + Link: *38 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77866,7 +77923,7 @@ paths: sha: aa218f56b14c9653891f9e74264a383fa43fefbd url: https://api.github.com/repos/octocat/Hello-World/git/commits/aa218f56b14c9653891f9e74264a383fa43fefbd '404': *6 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77924,7 +77981,7 @@ paths: schema: type: string '422': *15 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77978,7 +78035,7 @@ paths: examples: default: *534 '422': *15 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78003,7 +78060,7 @@ paths: '422': description: Validation failed, an attempt was made to delete the default branch, or the endpoint has been spammed. - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78212,7 +78269,7 @@ paths: schema: type: string '422': *15 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78274,7 +78331,7 @@ paths: examples: default: *537 '404': *6 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78450,7 +78507,7 @@ paths: '422': *15 '404': *6 '403': *27 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78538,7 +78595,7 @@ paths: truncated: false '422': *15 '404': *6 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78688,7 +78745,7 @@ paths: status: unused message: headers: - Link: *37 + Link: *38 '404': *6 x-github: githubCloudOnly: false @@ -79080,7 +79137,7 @@ paths: - *257 - *16 responses: - '202': *93 + '202': *37 '400': *14 '422': *15 x-github: @@ -80153,7 +80210,7 @@ paths: html_url: https://github.com/octocat/Hello-World/invitations node_id: MDQ6VXNlcjE= headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80426,7 +80483,7 @@ paths: - updated - comments default: created - - *84 + - *86 - *137 - *17 - *19 @@ -80586,7 +80643,7 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *37 + Link: *38 '301': *379 '422': *15 '404': *6 @@ -80948,7 +81005,7 @@ paths: issue_url: https://api.github.com/repos/octocat/Hello-World/issues/1347 author_association: COLLABORATOR headers: - Link: *37 + Link: *38 '422': *15 '404': *6 x-github: @@ -81137,7 +81194,7 @@ paths: examples: default: *356 headers: - Link: *37 + Link: *38 '404': *6 x-github: githubCloudOnly: false @@ -81576,7 +81633,7 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *37 + Link: *38 '422': *15 x-github: githubCloudOnly: false @@ -82179,7 +82236,7 @@ paths: examples: default: *554 headers: - Link: *37 + Link: *38 '404': *6 '410': *376 x-github: @@ -83057,7 +83114,7 @@ paths: name: label color: red headers: - Link: *37 + Link: *38 '410': *376 x-github: githubCloudOnly: false @@ -83159,7 +83216,7 @@ paths: color: a2eeef default: false headers: - Link: *37 + Link: *38 '301': *379 '404': *6 '410': *376 @@ -83526,7 +83583,7 @@ paths: examples: default: *356 headers: - Link: *37 + Link: *38 '404': *6 '410': *376 x-github: @@ -83718,7 +83775,7 @@ paths: examples: default: *557 headers: - Link: *37 + Link: *38 '404': *6 '410': *376 x-github: @@ -84727,7 +84784,7 @@ paths: type: User site_admin: true headers: - Link: *37 + Link: *38 '404': *6 '410': *376 x-github: @@ -84808,7 +84865,7 @@ paths: last_used: '2022-01-10T15:53:42Z' enabled: true headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84968,7 +85025,7 @@ paths: examples: default: *556 headers: - Link: *37 + Link: *38 '404': *6 x-github: githubCloudOnly: false @@ -85222,7 +85279,7 @@ paths: - *365 - *366 responses: - '202': *93 + '202': *37 '403': description: |- We will return a 403 with one of the following messages: @@ -85633,7 +85690,7 @@ paths: closed_at: '2013-02-12T13:22:01Z' due_on: '2012-10-09T23:39:01Z' headers: - Link: *37 + Link: *38 '404': *6 x-github: githubCloudOnly: false @@ -85882,7 +85939,7 @@ paths: examples: default: *556 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85918,7 +85975,7 @@ paths: examples: default: *581 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -86251,7 +86308,7 @@ paths: examples: default: *583 '422': *15 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86360,7 +86417,7 @@ paths: description: Response '422': *15 '400': *14 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86388,7 +86445,7 @@ paths: description: Response '422': *15 '404': *6 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86492,7 +86549,7 @@ paths: created_at: '2014-02-10T19:00:49Z' updated_at: '2014-02-10T19:00:51Z' headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87286,7 +87343,7 @@ paths: created_at: '2011-04-10T20:09:31Z' updated_at: '2014-03-03T18:58:10Z' headers: - Link: *37 + Link: *38 '401': *23 '403': *27 '404': *6 @@ -87537,7 +87594,7 @@ paths: examples: default: *588 headers: - Link: *37 + Link: *38 '304': *35 '422': *15 x-github: @@ -87827,7 +87884,7 @@ paths: type: string ref: type: string - repo: *61 + repo: *62 sha: type: string user: *4 @@ -87844,7 +87901,7 @@ paths: type: string ref: type: string - repo: *61 + repo: *62 sha: type: string user: *4 @@ -88588,7 +88645,7 @@ paths: original_line: 2 side: RIGHT headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88795,7 +88852,7 @@ paths: examples: default: *356 headers: - Link: *37 + Link: *38 '404': *6 x-github: githubCloudOnly: false @@ -88950,7 +89007,7 @@ paths: content: application/json: schema: *3 - '500': *95 + '500': *83 '503': *128 x-github: githubCloudOnly: false @@ -89175,7 +89232,7 @@ paths: examples: default: *595 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89529,7 +89586,7 @@ paths: examples: default: *596 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89585,9 +89642,9 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" headers: - Link: *37 + Link: *38 '422': *15 - '500': *95 + '500': *83 '503': *128 x-github: githubCloudOnly: false @@ -89805,7 +89862,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos parent: headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91074,7 +91131,7 @@ paths: commit_id: ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091 author_association: COLLABORATOR headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91691,7 +91748,7 @@ paths: pull_request: href: https://api.github.com/repos/octocat/Hello-World/pulls/1 headers: - Link: *37 + Link: *38 '404': *6 x-github: githubCloudOnly: false @@ -92289,7 +92346,7 @@ paths: type: User site_admin: false headers: - Link: *37 + Link: *38 '404': *6 x-github: githubCloudOnly: false @@ -92978,7 +93035,7 @@ paths: type: User site_admin: false headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93135,7 +93192,7 @@ paths: examples: default: *356 headers: - Link: *37 + Link: *38 '404': *6 x-github: githubCloudOnly: false @@ -93431,7 +93488,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *95 + '500': *83 post: summary: Create a repository ruleset description: Create a ruleset for a repository. @@ -93543,7 +93600,7 @@ paths: created_at: '2023-07-15T08:43:03Z' updated_at: '2023-08-23T16:29:47Z' '404': *6 - '500': *95 + '500': *83 "/repos/{owner}/{repo}/rulesets/rule-suites": get: summary: List repository rule suites @@ -93574,7 +93631,7 @@ paths: examples: default: *636 '404': *6 - '500': *95 + '500': *83 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93605,7 +93662,7 @@ paths: examples: default: *639 '404': *6 - '500': *95 + '500': *83 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93656,7 +93713,7 @@ paths: examples: default: *640 '404': *6 - '500': *95 + '500': *83 put: summary: Update a repository ruleset description: Update a ruleset for a repository. @@ -93739,7 +93796,7 @@ paths: examples: default: *640 '404': *6 - '500': *95 + '500': *83 delete: summary: Delete a repository ruleset description: Delete a ruleset for a repository. @@ -93767,7 +93824,7 @@ paths: '204': description: Response '404': *6 - '500': *95 + '500': *83 "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history": get: summary: Get repository ruleset history @@ -93800,7 +93857,7 @@ paths: examples: default: *321 '404': *6 - '500': *95 + '500': *83 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93869,7 +93926,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *95 + '500': *83 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93897,7 +93954,7 @@ paths: - *324 - *325 - *326 - - *84 + - *86 - *19 - *17 - *641 @@ -94679,7 +94736,7 @@ paths: details: pull_request_review_comment_url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 headers: - Link: *37 + Link: *38 '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found @@ -94906,7 +94963,7 @@ paths: parameters: - *365 - *366 - - *84 + - *86 - name: sort description: The property to sort the results by. in: query @@ -94918,8 +94975,8 @@ paths: - updated - published default: created - - *82 - - *83 + - *84 + - *85 - 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)." @@ -95893,7 +95950,7 @@ paths: - *366 - *651 responses: - '202': *93 + '202': *37 '400': *14 '403': *27 '404': *6 @@ -96029,7 +96086,7 @@ paths: type: User site_admin: false headers: - Link: *37 + Link: *38 '422': *15 x-github: githubCloudOnly: false @@ -96073,7 +96130,7 @@ paths: - - 1302998400 - 1124 - -435 - '202': *93 + '202': *37 '204': *114 '422': description: Repository contains more than 10,000 commits @@ -96145,7 +96202,7 @@ paths: - 0 total: 89 week: 1336280400 - '202': *93 + '202': *37 '204': *114 x-github: githubCloudOnly: false @@ -96245,7 +96302,7 @@ paths: a: 6898 d: 77 c: 10 - '202': *93 + '202': *37 '204': *114 x-github: githubCloudOnly: false @@ -96593,7 +96650,7 @@ paths: examples: default: *285 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96826,7 +96883,7 @@ paths: tarball_url: https://github.com/octocat/Hello-World/tarball/v0.1 node_id: MDQ6VXNlcjE= headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97060,7 +97117,7 @@ paths: examples: default: *296 headers: - Link: *37 + Link: *38 '404': *6 x-github: githubCloudOnly: false @@ -98184,7 +98241,7 @@ paths: format: int32 examples: - 1 - - *38 + - *39 responses: '200': description: Success, either groups were found or not found @@ -98407,7 +98464,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#provision-a-scim-enterprise-group parameters: - - *38 + - *39 requestBody: required: true content: @@ -98526,7 +98583,7 @@ paths: examples: - 7fce0092-d52e-4f76-b727-3955bd72c939 - *668 - - *38 + - *39 responses: '200': description: Success, a group was found @@ -98560,7 +98617,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-group parameters: - *670 - - *38 + - *39 requestBody: required: true content: @@ -98626,7 +98683,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-group parameters: - *670 - - *38 + - *39 requestBody: required: true content: @@ -98718,7 +98775,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-group-from-an-enterprise parameters: - *670 - - *38 + - *39 responses: '204': description: Group was deleted, no content @@ -98763,7 +98820,7 @@ paths: value: externalId eq 'E012345' - *673 - *674 - - *38 + - *39 responses: '200': description: Success, either users were found or not found @@ -99009,7 +99066,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#provision-a-scim-enterprise-user parameters: - - *38 + - *39 requestBody: required: true content: @@ -99214,7 +99271,7 @@ paths: required: true schema: type: string - - *38 + - *39 responses: '200': description: Success, a user was found @@ -99251,7 +99308,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-user parameters: - *679 - - *38 + - *39 requestBody: required: true content: @@ -99309,7 +99366,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-user parameters: - *679 - - *38 + - *39 requestBody: required: true content: @@ -99386,7 +99443,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-user-from-an-enterprise parameters: - *679 - - *38 + - *39 responses: '204': description: User was deleted, no content @@ -100962,7 +101019,7 @@ paths: author_association: *134 draft: type: boolean - repository: *61 + repository: *62 body_html: type: string body_text: @@ -102385,7 +102442,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - *689 - - *84 + - *86 - *17 - *19 responses: @@ -102399,7 +102456,7 @@ paths: examples: default: *690 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102606,7 +102663,7 @@ paths: parameters: - *689 - *350 - - *84 + - *86 - *17 - *19 responses: @@ -102620,7 +102677,7 @@ paths: examples: default: *692 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102848,7 +102905,7 @@ paths: examples: default: *356 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102968,7 +103025,7 @@ paths: examples: default: *356 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103068,7 +103125,7 @@ paths: examples: default: *278 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103117,7 +103174,7 @@ paths: examples: default: *285 headers: - Link: *37 + Link: *38 '404': *6 x-github: githubCloudOnly: false @@ -103404,7 +103461,7 @@ paths: examples: default: *696 headers: - Link: *37 + Link: *38 '404': *6 x-github: githubCloudOnly: false @@ -103571,7 +103628,7 @@ paths: examples: default: *303 headers: - Link: *37 + Link: *38 '404': *6 x-github: githubCloudOnly: false @@ -103982,7 +104039,7 @@ paths: examples: response-if-child-teams-exist: *699 headers: - Link: *37 + Link: *38 '404': *6 '403': *27 '422': *15 @@ -104630,7 +104687,7 @@ paths: examples: default: *287 '304': *35 - '500': *95 + '500': *83 '401': *23 '403': *27 '404': *6 @@ -104865,7 +104922,7 @@ paths: examples: default: *476 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105091,7 +105148,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *95 + '500': *83 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105144,7 +105201,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *95 + '500': *83 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105178,7 +105235,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *95 + '500': *83 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105211,7 +105268,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *95 + '500': *83 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105241,7 +105298,7 @@ paths: examples: default: *474 '304': *35 - '500': *95 + '500': *83 '401': *23 '403': *27 '404': *6 @@ -105321,9 +105378,9 @@ paths: parameters: - *288 responses: - '202': *93 + '202': *37 '304': *35 - '500': *95 + '500': *83 '401': *23 '403': *27 '404': *6 @@ -105415,7 +105472,7 @@ paths: sha: fd95a81ca01e48ede9f39c799ecbcef817b8a3b2 id: latest export_url: https://api.github.com/user/codespaces/:name/exports/latest - '500': *95 + '500': *83 '401': *23 '403': *27 '404': *6 @@ -105495,7 +105552,7 @@ paths: examples: default: *706 '304': *35 - '500': *95 + '500': *83 '401': *23 '403': *27 '404': *6 @@ -106389,7 +106446,7 @@ paths: examples: default: *474 '304': *35 - '500': *95 + '500': *83 '400': *14 '401': *23 '402': @@ -106399,7 +106456,7 @@ paths: schema: *3 '403': *27 '404': *6 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -106428,7 +106485,7 @@ paths: schema: *286 examples: default: *474 - '500': *95 + '500': *83 '401': *23 '403': *27 '404': *6 @@ -106639,7 +106696,7 @@ paths: primary: true visibility: public headers: - Link: *37 + Link: *38 '304': *35 '404': *6 '403': *27 @@ -106823,7 +106880,7 @@ paths: examples: default: *285 headers: - Link: *37 + Link: *38 '304': *35 '403': *27 '401': *23 @@ -106856,7 +106913,7 @@ paths: examples: default: *285 headers: - Link: *37 + Link: *38 '304': *35 '403': *27 '401': *23 @@ -107144,7 +107201,7 @@ paths: revoked: false raw_key: string headers: - Link: *37 + Link: *38 '304': *35 '404': *6 '403': *27 @@ -107436,7 +107493,7 @@ paths: suspended_at: suspended_by: headers: - Link: *37 + Link: *38 '304': *35 '403': *27 '401': *23 @@ -107482,11 +107539,11 @@ paths: type: string repositories: type: array - items: *61 + items: *62 examples: default: *711 headers: - Link: *37 + Link: *38 '404': *6 '403': *27 '304': *35 @@ -107702,7 +107759,7 @@ paths: - updated - comments default: created - - *84 + - *86 - *137 - *17 - *19 @@ -107717,7 +107774,7 @@ paths: examples: default: *284 headers: - Link: *37 + Link: *38 '404': *6 '304': *35 x-github: @@ -107795,7 +107852,7 @@ paths: verified: false read_only: false headers: - Link: *37 + Link: *38 '304': *35 '404': *6 '403': *27 @@ -108057,7 +108114,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *37 + Link: *38 '304': *35 '401': *23 '404': *6 @@ -108090,7 +108147,7 @@ paths: examples: default: *715 headers: - Link: *37 + Link: *38 '304': *35 '401': *23 x-github: @@ -108205,7 +108262,7 @@ paths: type: User site_admin: false headers: - Link: *37 + Link: *38 '304': *35 '403': *27 '401': *23 @@ -108540,7 +108597,7 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *37 + Link: *38 '304': *35 '403': *27 '401': *23 @@ -109130,7 +109187,7 @@ paths: examples: default: *303 headers: - Link: *37 + Link: *38 '404': *6 x-github: githubCloudOnly: false @@ -109163,11 +109220,11 @@ paths: application/json: schema: type: array - items: *56 + items: *57 examples: default: *717 headers: - Link: *37 + Link: *38 '304': *35 '403': *27 '401': *23 @@ -109708,7 +109765,7 @@ paths: examples: default: *721 headers: - Link: *37 + Link: *38 '304': *35 '404': *6 '403': *27 @@ -109817,7 +109874,7 @@ paths: application/json: schema: type: array - items: *61 + items: *62 examples: default: &728 summary: Default response @@ -109940,7 +109997,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *37 + Link: *38 '422': *15 '304': *35 '403': *27 @@ -110181,7 +110238,7 @@ paths: examples: default: *722 headers: - Link: *37 + Link: *38 '304': *35 '404': *6 '403': *27 @@ -110207,7 +110264,7 @@ paths: '204': description: Response '403': *27 - '409': *92 + '409': *94 '404': *6 '304': *35 x-github: @@ -110229,7 +110286,7 @@ paths: responses: '204': description: Response - '409': *92 + '409': *94 '304': *35 '404': *6 '403': *27 @@ -110280,7 +110337,7 @@ paths: - provider: twitter url: https://twitter.com/github headers: - Link: *37 + Link: *38 '304': *35 '404': *6 '403': *27 @@ -110461,7 +110518,7 @@ paths: title: ssh-rsa AAAAB3NzaC1yc2EAAB created_at: '2020-07-11T21:31:57Z' headers: - Link: *37 + Link: *38 '304': *35 '404': *6 '403': *27 @@ -110627,7 +110684,7 @@ paths: - created - updated default: created - - *84 + - *86 - *17 - *19 responses: @@ -110637,7 +110694,7 @@ paths: application/json: schema: type: array - items: *61 + items: *62 examples: default-response: *728 application/vnd.github.v3.star+json: @@ -110651,7 +110708,7 @@ paths: starred_at: type: string format: date-time - repo: *61 + repo: *62 required: - starred_at - repo @@ -110779,7 +110836,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *37 + Link: *38 '304': *35 '403': *27 '401': *23 @@ -110891,7 +110948,7 @@ paths: examples: default: *303 headers: - Link: *37 + Link: *38 '304': *35 '403': *27 '401': *23 @@ -110977,7 +111034,7 @@ paths: updated_at: '2017-08-17T12:37:15Z' type: Organization headers: - Link: *37 + Link: *38 '304': *35 '404': *6 '403': *27 @@ -111187,8 +111244,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#list-attestations parameters: - *17 - - *82 - - *83 + - *84 + - *85 - *211 - name: subject_digest description: Subject Digest @@ -111565,7 +111622,7 @@ paths: examples: default: *285 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111596,7 +111653,7 @@ paths: examples: default: *285 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111655,7 +111712,7 @@ paths: examples: default: *139 headers: - Link: *37 + Link: *38 '422': *15 x-github: githubCloudOnly: false @@ -111688,7 +111745,7 @@ paths: examples: default: *732 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111836,7 +111893,7 @@ paths: - id: 1 key: ssh-rsa AAA... headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111866,11 +111923,11 @@ paths: application/json: schema: type: array - items: *56 + items: *57 examples: default: *717 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -112275,7 +112332,7 @@ paths: created_at: '2011-04-10T20:09:31Z' updated_at: '2014-03-03T18:58:10Z' headers: - Link: *37 + Link: *38 '422': *15 x-github: githubCloudOnly: false @@ -112524,7 +112581,7 @@ paths: examples: default: *303 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -112646,7 +112703,7 @@ paths: examples: default: *724 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -112678,7 +112735,7 @@ paths: examples: default: *734 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -112702,7 +112759,7 @@ paths: parameters: - *211 - *735 - - *84 + - *86 - *17 - *19 responses: @@ -112715,11 +112772,11 @@ paths: - type: array items: *736 - type: array - items: *61 + items: *62 examples: default-response: *728 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -112750,7 +112807,7 @@ paths: examples: default: *303 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -230760,7 +230817,7 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *147 - parent_issue_repo: *61 + parent_issue_repo: *62 sub_issue_id: description: The ID of the sub-issue. type: number @@ -230852,7 +230909,7 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *147 - parent_issue_repo: *61 + parent_issue_repo: *62 sub_issue_id: description: The ID of the sub-issue. type: number @@ -230944,7 +231001,7 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *147 - sub_issue_repo: *61 + sub_issue_repo: *62 parent_issue_id: description: The ID of the parent issue. type: number @@ -231036,7 +231093,7 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *147 - sub_issue_repo: *61 + sub_issue_repo: *62 parent_issue_id: description: The ID of the parent issue. type: number diff --git a/descriptions-next/ghec/dereferenced/ghec.deref.json b/descriptions-next/ghec/dereferenced/ghec.deref.json index 5c6a819369..522fd66e3f 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.json +++ b/descriptions-next/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": [ @@ -16178,6 +16182,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-next/ghec/dereferenced/ghec.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.deref.yaml index c4bf5b158f..1738442580 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions-next/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 - - &82 + - &84 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 - - &83 + - &85 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 - - &84 + - &86 name: direction description: The direction to sort the results by. in: query @@ -2111,7 +2113,7 @@ paths: parameters: - *16 responses: - '202': &93 + '202': &37 description: Accepted content: application/json: @@ -2800,7 +2802,7 @@ paths: suspended_at: suspended_by: headers: - Link: &37 + Link: &38 example: ; rel="next", ; rel="last" schema: @@ -2990,7 +2992,7 @@ paths: - selected repositories: type: array - items: &61 + items: &62 title: Repository description: A repository on GitHub. type: object @@ -5337,6 +5339,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': *37 + '422': *7 + '500': &83 + description: Internal Error + content: + application/json: + schema: *3 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: credentials + subcategory: revoke "/emojis": get: summary: Get emojis @@ -7600,7 +7661,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: - - &38 + - &39 name: enterprise description: The slug version of the enterprise name. You can also substitute this value with the enterprise id. @@ -7633,7 +7694,7 @@ paths: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 headers: - Link: *37 + Link: *38 x-github: enabledForGitHubApps: false githubCloudOnly: true @@ -7653,7 +7714,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: - - *38 + - *39 - *17 - *19 responses: @@ -7671,7 +7732,7 @@ paths: type: integer runners: type: array - items: &39 + items: &40 title: GitHub-hosted hosted runner description: A Github-hosted hosted runner. type: object @@ -7729,7 +7790,7 @@ paths: - display_name - source - version - machine_size_details: &42 + machine_size_details: &43 title: Github-owned VM details. description: Provides details of a particular machine spec. type: object @@ -7876,7 +7937,7 @@ paths: public_ips: [] last_active_on: '2023-04-26T15:23:37Z' headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -7894,7 +7955,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: - - *38 + - *39 requestBody: required: true content: @@ -7962,9 +8023,9 @@ paths: description: Response content: application/json: - schema: *39 + schema: *40 examples: - default: &43 + default: &44 value: id: 5 name: My hosted ubuntu runner @@ -8003,7 +8064,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: - - *38 + - *39 responses: '200': description: Response @@ -8019,7 +8080,7 @@ paths: type: integer images: type: array - items: &40 + items: &41 title: GitHub-hosted runner image details. description: Provides details of a hosted runner image type: object @@ -8059,7 +8120,7 @@ paths: - display_name - source examples: - default: &41 + default: &42 value: id: ubuntu-20.04 platform: linux-x64 @@ -8083,7 +8144,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: - - *38 + - *39 responses: '200': description: Response @@ -8099,9 +8160,9 @@ paths: type: integer images: type: array - items: *40 + items: *41 examples: - default: *41 + default: *42 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -8118,7 +8179,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: - - *38 + - *39 responses: '200': description: Response @@ -8173,7 +8234,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: - - *38 + - *39 responses: '200': description: Response @@ -8189,7 +8250,7 @@ paths: type: integer machine_specs: type: array - items: *42 + items: *43 examples: default: &179 value: @@ -8214,7 +8275,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: - - *38 + - *39 responses: '200': description: Response @@ -8258,8 +8319,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: - - *38 - - &44 + - *39 + - &45 name: hosted_runner_id description: Unique identifier of the GitHub-hosted runner. in: path @@ -8271,11 +8332,11 @@ paths: description: Response content: application/json: - schema: *39 + schema: *40 examples: - default: *43 + default: *44 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -8293,8 +8354,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: - - *38 - - *44 + - *39 + - *45 requestBody: required: true content: @@ -8332,9 +8393,9 @@ paths: description: Response content: application/json: - schema: *39 + schema: *40 examples: - default: *43 + default: *44 x-github: enabledForGitHubApps: false githubCloudOnly: true @@ -8350,16 +8411,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: - - *38 - - *44 + - *39 + - *45 responses: '202': description: Response content: application/json: - schema: *39 + schema: *40 examples: - default: *43 + default: *44 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -8379,7 +8440,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: - - *38 + - *39 responses: '204': description: Response @@ -8419,7 +8480,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: - - *38 + - *39 responses: '200': description: Response @@ -8428,7 +8489,7 @@ paths: schema: type: object properties: - enabled_organizations: &45 + enabled_organizations: &46 type: string description: The policy that controls the organizations in the enterprise that are allowed to run GitHub Actions. @@ -8441,7 +8502,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: &46 + allowed_actions: &47 type: string description: The permissions policy that controls the actions and reusable workflows that are allowed to run. @@ -8480,7 +8541,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: - - *38 + - *39 responses: '204': description: Response @@ -8491,8 +8552,8 @@ paths: schema: type: object properties: - enabled_organizations: *45 - allowed_actions: *46 + enabled_organizations: *46 + allowed_actions: *47 required: - enabled_organizations examples: @@ -8519,7 +8580,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: - - *38 + - *39 - *17 - *19 responses: @@ -8534,7 +8595,7 @@ paths: type: number organizations: type: array - items: &56 + items: &57 title: Organization Simple description: A GitHub organization. type: object @@ -8609,7 +8670,7 @@ paths: - total_count - organizations examples: - default: &57 + default: &58 value: total_count: 1 organizations: @@ -8643,7 +8704,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: - - *38 + - *39 responses: '204': description: Response @@ -8687,8 +8748,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: - - *38 - - &47 + - *39 + - &48 name: org_id description: The unique identifier of the organization. in: path @@ -8716,8 +8777,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: - - *38 - - *47 + - *39 + - *48 responses: '204': description: Response @@ -8740,13 +8801,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: - - *38 + - *39 responses: '200': description: Response content: application/json: - schema: &48 + schema: &49 type: object properties: github_owned_allowed: @@ -8767,7 +8828,7 @@ paths: items: type: string examples: - default: &49 + default: &50 value: github_owned_allowed: true verified_allowed: false @@ -8792,7 +8853,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: - - *38 + - *39 responses: '204': description: Response @@ -8800,9 +8861,9 @@ paths: required: true content: application/json: - schema: *48 + schema: *49 examples: - selected_actions: *49 + selected_actions: *50 x-github: enabledForGitHubApps: false githubCloudOnly: true @@ -8824,7 +8885,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: - - *38 + - *39 responses: '200': description: Success response @@ -8833,14 +8894,14 @@ paths: schema: &185 type: object properties: - default_workflow_permissions: &50 + default_workflow_permissions: &51 type: string description: The default workflow permissions granted to the GITHUB_TOKEN when running workflows. enum: - read - write - can_approve_pull_request_reviews: &51 + can_approve_pull_request_reviews: &52 type: boolean description: Whether GitHub Actions can approve pull requests. Enabling this can be a security risk. @@ -8848,7 +8909,7 @@ paths: - default_workflow_permissions - can_approve_pull_request_reviews examples: - default: &52 + default: &53 summary: Give read-only permission, and allow approving PRs. value: default_workflow_permissions: read @@ -8873,7 +8934,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: - - *38 + - *39 requestBody: required: true content: @@ -8881,10 +8942,10 @@ paths: schema: &186 type: object properties: - default_workflow_permissions: *50 - can_approve_pull_request_reviews: *51 + default_workflow_permissions: *51 + can_approve_pull_request_reviews: *52 examples: - default: *52 + default: *53 responses: '204': description: Success response @@ -8907,7 +8968,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: - - *38 + - *39 - *17 - *19 - name: visible_to_organization @@ -8929,7 +8990,7 @@ paths: type: number runner_groups: type: array - items: &53 + items: &54 type: object properties: id: @@ -9038,7 +9099,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: - - *38 + - *39 requestBody: required: true content: @@ -9110,9 +9171,9 @@ paths: description: Response content: application/json: - schema: *53 + schema: *54 examples: - default: &54 + default: &55 value: id: 2 name: octo-runner-group @@ -9146,8 +9207,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: - - *38 - - &55 + - *39 + - &56 name: runner_group_id description: Unique identifier of the self-hosted runner group. in: path @@ -9159,9 +9220,9 @@ paths: description: Response content: application/json: - schema: *53 + schema: *54 examples: - default: *54 + default: *55 x-github: enabledForGitHubApps: false githubCloudOnly: true @@ -9180,8 +9241,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: - - *38 - - *55 + - *39 + - *56 requestBody: required: false content: @@ -9235,7 +9296,7 @@ paths: description: Response content: application/json: - schema: *53 + schema: *54 examples: default: value: @@ -9270,8 +9331,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: - - *38 - - *55 + - *39 + - *56 responses: '204': description: Response @@ -9294,8 +9355,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: - - *38 - - *55 + - *39 + - *56 - *17 - *19 responses: @@ -9310,12 +9371,12 @@ paths: type: number organizations: type: array - items: *56 + items: *57 required: - total_count - organizations examples: - default: *57 + default: *58 x-github: enabledForGitHubApps: false githubCloudOnly: true @@ -9334,8 +9395,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: - - *38 - - *55 + - *39 + - *56 requestBody: required: true content: @@ -9380,9 +9441,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: - - *38 - - *55 - - *47 + - *39 + - *56 + - *48 responses: '204': description: Response @@ -9404,9 +9465,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: - - *38 - - *55 - - *47 + - *39 + - *56 + - *48 responses: '204': description: Response @@ -9429,8 +9490,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: - - *38 - - *55 + - *39 + - *56 - *17 - *19 responses: @@ -9445,7 +9506,7 @@ paths: type: number runners: type: array - items: &59 + items: &60 title: Self hosted runners description: A self hosted runner type: object @@ -9479,7 +9540,7 @@ paths: type: boolean labels: type: array - items: &63 + items: &64 title: Self hosted runner label description: A label for a self hosted runner type: object @@ -9512,7 +9573,7 @@ paths: - total_count - runners examples: - default: &60 + default: &61 value: total_count: 2 runners: @@ -9552,7 +9613,7 @@ paths: name: no-gpu type: custom headers: - Link: *37 + Link: *38 x-github: enabledForGitHubApps: false githubCloudOnly: true @@ -9571,8 +9632,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: - - *38 - - *55 + - *39 + - *56 requestBody: required: true content: @@ -9616,9 +9677,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: - - *38 - - *55 - - &58 + - *39 + - *56 + - &59 name: runner_id description: Unique identifier of the self-hosted runner. in: path @@ -9646,9 +9707,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: - - *38 - - *55 - - *58 + - *39 + - *56 + - *59 responses: '204': description: Response @@ -9676,7 +9737,7 @@ paths: in: query schema: type: string - - *38 + - *39 - *17 - *19 responses: @@ -9691,11 +9752,11 @@ paths: type: number runners: type: array - items: *59 + items: *60 examples: - default: *60 + default: *61 headers: - Link: *37 + Link: *38 x-github: enabledForGitHubApps: false githubCloudOnly: true @@ -9715,7 +9776,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: - - *38 + - *39 responses: '200': description: Response @@ -9789,7 +9850,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: - - *38 + - *39 requestBody: required: true content: @@ -9842,7 +9903,7 @@ paths: - runner - encoded_jit_config properties: - runner: *59 + runner: *60 encoded_jit_config: type: string description: The base64 encoded runner configuration. @@ -9871,7 +9932,7 @@ paths: encoded_jit_config: abc123 '404': *6 '422': *7 - '409': &92 + '409': &94 description: Conflict content: application/json: @@ -9903,13 +9964,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: - - *38 + - *39 responses: '201': description: Response content: application/json: - schema: &62 + schema: &63 title: Authentication Token description: Authentication Token type: object @@ -9933,7 +9994,7 @@ paths: repositories: description: The repositories this token has access to type: array - items: *61 + items: *62 single_file: type: - string @@ -9983,13 +10044,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: - - *38 + - *39 responses: '201': description: Response content: application/json: - schema: *62 + schema: *63 examples: default: &194 value: @@ -10014,14 +10075,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: - - *38 - - *58 + - *39 + - *59 responses: '200': description: Response content: application/json: - schema: *59 + schema: *60 examples: default: &195 value: @@ -10062,8 +10123,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: - - *38 - - *58 + - *39 + - *59 responses: '204': description: Response @@ -10086,10 +10147,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: - - *38 - - *58 + - *39 + - *59 responses: - '200': &64 + '200': &65 description: Response content: application/json: @@ -10103,7 +10164,7 @@ paths: type: integer labels: type: array - items: *63 + items: *64 examples: default: value: @@ -10140,8 +10201,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: - - *38 - - *58 + - *39 + - *59 requestBody: required: true content: @@ -10165,7 +10226,7 @@ paths: - gpu - accelerated responses: - '200': *64 + '200': *65 '404': *6 '422': *7 x-github: @@ -10187,8 +10248,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: - - *38 - - *58 + - *39 + - *59 requestBody: required: true content: @@ -10213,7 +10274,7 @@ paths: - gpu - accelerated responses: - '200': *64 + '200': *65 '404': *6 '422': *7 x-github: @@ -10235,8 +10296,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: - - *38 - - *58 + - *39 + - *59 responses: '200': &196 description: Response @@ -10252,7 +10313,7 @@ paths: type: integer labels: type: array - items: *63 + items: *64 examples: default: value: @@ -10292,8 +10353,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: - - *38 - - *58 + - *39 + - *59 - &197 name: name description: The name of a self-hosted runner's custom label. @@ -10302,7 +10363,7 @@ paths: schema: type: string responses: - '200': *64 + '200': *65 '404': *6 '422': *7 x-github: @@ -10321,19 +10382,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/enterprises#get-announcement-banner-for-enterprise parameters: - - *38 + - *39 responses: '200': description: Response content: application/json: - schema: &69 + schema: &70 title: Announcement Banner description: Announcement at either the repository, organization, or enterprise level type: object properties: - announcement: &65 + announcement: &66 type: - string - 'null' @@ -10342,7 +10403,7 @@ paths: 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)." examples: - Very **important** announcement about _something_. - expires_at: &66 + expires_at: &67 type: - string - 'null' @@ -10354,7 +10415,7 @@ paths: it to an empty string.' examples: - '"2021-01-01T00:00:00.000-07:00"' - user_dismissible: &67 + user_dismissible: &68 type: - boolean - 'null' @@ -10367,7 +10428,7 @@ paths: - expires_at - user_dismissible examples: - default: &68 + default: &69 summary: Announcement banner value: announcement: Very **important** announcement about _something_. @@ -10396,23 +10457,23 @@ paths: description: Enterprise global announcement type: object properties: - announcement: *65 - expires_at: *66 - user_dismissible: *67 + announcement: *66 + expires_at: *67 + user_dismissible: *68 required: - announcement examples: - default: *68 + default: *69 parameters: - - *38 + - *39 responses: '200': description: Response content: application/json: - schema: *69 + schema: *70 examples: - default: *68 + default: *69 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -10428,7 +10489,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/enterprises#remove-announcement-banner-from-enterprise parameters: - - *38 + - *39 responses: '204': description: Response @@ -10455,7 +10516,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: - - *38 + - *39 - 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). @@ -10684,7 +10745,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: - - *38 + - *39 responses: '200': description: The stream key for the audit log streaming configuration was @@ -10728,7 +10789,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: - - *38 + - *39 responses: '200': description: OK @@ -10795,7 +10856,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: - - *38 + - *39 requestBody: required: true content: @@ -10821,7 +10882,7 @@ paths: vendor_specific: type: object oneOf: - - &73 + - &74 title: AzureBlobConfig description: Azure Blob Config for audit log streaming configuration. type: object @@ -10835,7 +10896,7 @@ paths: required: - key_id - encrypted_sas_url - - &74 + - &75 title: AzureHubConfig description: Azure Event Hubs Config for audit log streaming configuration. type: object @@ -10854,7 +10915,7 @@ paths: - name - encrypted_connstring - key_id - - &75 + - &76 title: AmazonS3OIDCConfig description: Amazon S3 OIDC Config for audit log streaming configuration. type: object @@ -10882,7 +10943,7 @@ paths: - bucket - key_id - region - - &76 + - &77 title: AmazonS3AccessKeysConfig description: Amazon S3 Access Keys Config for audit log streaming configuration. @@ -10916,7 +10977,7 @@ paths: - encrypted_secret_key - key_id - region - - &77 + - &78 title: SplunkConfig description: Splunk Config for Audit Log Stream Configuration type: object @@ -10944,7 +11005,7 @@ paths: - key_id - port - ssl_verify - - &78 + - &79 title: HecConfig description: Hec Config for Audit Log Stream Configuration type: object @@ -10976,7 +11037,7 @@ paths: - key_id - port - ssl_verify - - &79 + - &80 title: GoogleCloudConfig description: Google Cloud Config for audit log streaming configuration. type: object @@ -10994,7 +11055,7 @@ paths: - bucket - key_id - encrypted_json_credentials - - &80 + - &81 title: DatadogConfig description: Datadog Config for audit log streaming configuration. type: object @@ -11025,7 +11086,7 @@ paths: - stream_type - vendor_specific examples: - default: &81 + default: &82 value: enabled: false stream_type: Azure Event Hubs @@ -11039,7 +11100,7 @@ paths: description: The audit log stream configuration was created successfully. content: application/json: - schema: &70 + schema: &71 title: Get an audit log streaming configuration description: Get an audit log streaming configuration for an enterprise. type: object @@ -11071,7 +11132,7 @@ paths: - created_at - updated_at examples: - default: &71 + default: &72 value: id: 1 stream_type: Splunk @@ -11099,8 +11160,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: - - *38 - - &72 + - *39 + - &73 name: stream_id description: The ID of the audit log stream configuration. in: path @@ -11112,9 +11173,9 @@ paths: description: Lists one audit log stream configuration via stream ID. content: application/json: - schema: *70 + schema: *71 examples: - default: *71 + default: *72 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -11133,8 +11194,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: - - *38 - - *72 + - *39 + - *73 requestBody: required: true content: @@ -11160,7 +11221,6 @@ paths: vendor_specific: type: object oneOf: - - *73 - *74 - *75 - *76 @@ -11168,20 +11228,21 @@ paths: - *78 - *79 - *80 + - *81 required: - enabled - stream_type - vendor_specific examples: - default: *81 + default: *82 responses: '200': description: Successful update content: application/json: - schema: *70 + schema: *71 examples: - default: *71 + default: *72 '422': description: Validation error content: @@ -11211,8 +11272,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: - - *38 - - *72 + - *39 + - *73 responses: '204': description: The audit log stream configuration was deleted successfully. @@ -11238,7 +11299,7 @@ paths: category: enterprise-admin subcategory: bypass-requests parameters: - - *38 + - *39 - name: organization_name description: The name of the organization to filter on. in: query @@ -11544,11 +11605,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': &95 - description: Internal Error - content: - application/json: - schema: *3 + '500': *83 "/enterprises/{enterprise}/code-scanning/alerts": get: summary: List code scanning alerts for an enterprise @@ -11565,7 +11622,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: - - *38 + - *39 - &224 name: tool_name description: The name of a code scanning tool. Only results by this tool will @@ -11573,7 +11630,7 @@ paths: but not both. in: query required: false - schema: &85 + schema: &87 type: string description: The name of the tool used to generate the code scanning analysis. - &225 @@ -11584,17 +11641,17 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &86 + schema: &88 type: - string - 'null' description: The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data. - - *82 - - *83 + - *84 + - *85 - *19 - *17 - - *84 + - *86 - name: state description: If specified, only code scanning alerts with this state will be returned. @@ -11660,7 +11717,7 @@ paths: for an alert. format: uri readOnly: true - state: &87 + state: &89 type: - string - 'null' @@ -11772,14 +11829,14 @@ paths: tool: &451 type: object properties: - name: *85 + name: *87 version: type: - string - 'null' description: The version of the tool used to generate the code scanning analysis. - guid: *86 + guid: *88 most_recent_instance: &452 type: object properties: @@ -11805,7 +11862,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: *87 + state: *89 commit_sha: type: string message: @@ -11846,7 +11903,7 @@ paths: - test - library - - repository: &94 + repository: &95 title: Simple Repository description: A GitHub repository. type: object @@ -12416,7 +12473,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: *37 + Link: *38 '404': *6 '503': &128 description: Service unavailable @@ -12453,7 +12510,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: - - *38 + - *39 - name: per_page in: query description: The number of results per page (max 100). For more information, @@ -12462,8 +12519,8 @@ paths: schema: type: integer default: 30 - - *82 - - *83 + - *84 + - *85 responses: '200': description: Response @@ -12471,7 +12528,7 @@ paths: application/json: schema: type: array - items: &88 + items: &90 type: object description: A code security configuration properties: @@ -12757,7 +12814,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: - - *38 + - *39 requestBody: required: true content: @@ -12834,7 +12891,7 @@ paths: - disabled - not_set default: disabled - code_scanning_default_setup_options: &91 + code_scanning_default_setup_options: &93 type: - object - 'null' @@ -12946,9 +13003,9 @@ paths: description: Successfully created code security configuration content: application/json: - schema: *88 + schema: *90 examples: - default: &89 + default: &91 value: id: 1325 target_type: enterprise @@ -13000,7 +13057,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: - - *38 + - *39 responses: '200': description: Response @@ -13020,7 +13077,7 @@ paths: description: The visibility of newly created repositories for which the code security configuration will be applied to by default - configuration: *88 + configuration: *90 examples: default: &231 value: @@ -13106,8 +13163,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: - - *38 - - &90 + - *39 + - &92 name: configuration_id description: The unique identifier of the code security configuration. in: path @@ -13119,9 +13176,9 @@ paths: description: Response content: application/json: - schema: *88 + schema: *90 examples: - default: *89 + default: *91 '304': *35 '403': *27 '404': *6 @@ -13145,8 +13202,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: - - *38 - - *90 + - *39 + - *92 requestBody: required: true content: @@ -13216,7 +13273,7 @@ paths: - enabled - disabled - not_set - code_scanning_default_setup_options: *91 + code_scanning_default_setup_options: *93 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -13297,13 +13354,13 @@ paths: description: Response content: application/json: - schema: *88 + schema: *90 examples: - default: *89 + default: *91 '304': *35 '403': *27 '404': *6 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -13326,15 +13383,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: - - *38 - - *90 + - *39 + - *92 responses: '204': &114 description: A header with no content is returned. '400': *14 '403': *27 '404': *6 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -13358,8 +13415,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: - - *38 - - *90 + - *39 + - *92 requestBody: required: true content: @@ -13383,10 +13440,10 @@ paths: value: scope: all responses: - '202': *93 + '202': *37 '403': *27 '404': *6 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -13410,8 +13467,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: - - *38 - - *90 + - *39 + - *92 requestBody: required: true content: @@ -13451,7 +13508,7 @@ paths: - none - private_and_internal - public - configuration: *88 + configuration: *90 examples: default: value: @@ -13510,8 +13567,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: - - *38 - - *90 + - *39 + - *92 - 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)." @@ -13520,8 +13577,8 @@ paths: schema: type: integer default: 30 - - *82 - - *83 + - *84 + - *85 - name: status description: |- A comma-separated list of statuses. If specified, only repositories with these attachment statuses will be returned. @@ -13557,7 +13614,7 @@ paths: - failed - updating - removed_by_enterprise - repository: *94 + repository: *95 examples: default: summary: Example of code security configuration repositories @@ -13657,7 +13714,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: - - *38 + - *39 responses: '200': description: Response @@ -13764,7 +13821,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: - - *38 + - *39 requestBody: required: false content: @@ -13850,7 +13907,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/license#list-enterprise-consumed-licenses parameters: - - *38 + - *39 - *17 - *19 responses: @@ -13989,7 +14046,7 @@ paths: visual_studio_subscription_email: '' total_user_accounts: 1 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -14022,7 +14079,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: - - *38 + - *39 - *19 - name: per_page description: The number of results per page (max 100). For more information, @@ -14059,7 +14116,7 @@ paths: organization: anyOf: - type: 'null' - - *56 + - *57 assigning_team: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. @@ -14394,8 +14451,8 @@ paths: type: User site_admin: false headers: - Link: *37 - '500': *95 + Link: *38 + '500': *83 '401': *23 '403': *27 '404': *6 @@ -14425,7 +14482,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: - - *38 + - *39 - 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`). @@ -14871,7 +14928,7 @@ paths: custom_model_training_date: '2024-02-01' total_pr_summaries_created: 10 total_engaged_users: 4 - '500': *95 + '500': *83 '403': *27 '404': *6 '422': &132 @@ -14903,7 +14960,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - - *38 + - *39 - &242 name: state in: query @@ -14989,9 +15046,9 @@ paths: - updated - epss_percentage default: created + - *86 - *84 - - *82 - - *83 + - *85 - &250 name: first description: |- @@ -15336,7 +15393,7 @@ paths: ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - repository: *94 + repository: *95 required: - number - state @@ -15699,7 +15756,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/license#get-a-license-sync-status parameters: - - *38 + - *39 responses: '200': description: License Sync Status Response @@ -15763,7 +15820,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: - - *38 + - *39 - *17 - *19 responses: @@ -15845,7 +15902,7 @@ paths: - 6789ABDCEF12345 created_on: '2023-04-26T15:23:37Z' headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -15862,7 +15919,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: - - *38 + - *39 requestBody: required: true content: @@ -15932,7 +15989,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: - - *38 + - *39 - &109 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. @@ -15949,7 +16006,7 @@ paths: examples: default: *108 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -15966,7 +16023,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: - - *38 + - *39 - *109 requestBody: required: true @@ -16025,7 +16082,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: - - *38 + - *39 - *109 responses: '204': @@ -16048,7 +16105,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: - - *38 + - *39 - &343 name: network_settings_id description: Unique identifier of the hosted compute network settings. @@ -16108,7 +16165,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: *37 + Link: *38 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -16127,7 +16184,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: - - *38 + - *39 responses: '200': description: Response @@ -16257,7 +16314,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: - - *38 + - *39 requestBody: required: true content: @@ -16322,7 +16379,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: - - *38 + - *39 - &163 name: org description: The organization name. The name is not case sensitive. @@ -16376,7 +16433,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: - - *38 + - *39 - *112 responses: '200': @@ -16406,7 +16463,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: - - *38 + - *39 - *112 requestBody: required: true @@ -16508,7 +16565,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: - - *38 + - *39 - *112 responses: '204': *114 @@ -16530,7 +16587,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/rules#create-an-enterprise-repository-ruleset parameters: - - *38 + - *39 requestBody: description: Request body required: true @@ -17641,7 +17698,7 @@ paths: created_at: '2024-08-15T08:43:03Z' updated_at: '2024-09-23T16:29:47Z' '404': *6 - '500': *95 + '500': *83 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -17662,7 +17719,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/rules#get-an-enterprise-repository-ruleset parameters: - - *38 + - *39 - name: ruleset_id description: The ID of the ruleset. in: path @@ -17678,7 +17735,7 @@ paths: examples: default: *125 '404': *6 - '500': *95 + '500': *83 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -17694,7 +17751,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/rules#update-an-enterprise-repository-ruleset parameters: - - *38 + - *39 - name: ruleset_id description: The ID of the ruleset. in: path @@ -17757,7 +17814,7 @@ paths: examples: default: *125 '404': *6 - '500': *95 + '500': *83 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -17773,7 +17830,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/rules#delete-an-enterprise-repository-ruleset parameters: - - *38 + - *39 - name: ruleset_id description: The ID of the ruleset. in: path @@ -17784,7 +17841,7 @@ paths: '204': description: Response '404': *6 - '500': *95 + '500': *83 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -17801,7 +17858,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/rules#get-enterprise-ruleset-history parameters: - - *38 + - *39 - *17 - *19 - name: ruleset_id @@ -17859,7 +17916,7 @@ paths: type: User updated_at: '2024-08-23T16:29:47Z' '404': *6 - '500': *95 + '500': *83 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -17876,7 +17933,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/rules#get-enterprise-ruleset-version parameters: - - *38 + - *39 - name: ruleset_id description: The ID of the ruleset. in: path @@ -17929,7 +17986,7 @@ paths: rules: - type: repository_delete '404': *6 - '500': *95 + '500': *83 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -17948,7 +18005,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: - - *38 + - *39 - &323 name: state in: query @@ -17991,10 +18048,10 @@ paths: - created - updated default: created - - *84 + - *86 - *17 - - *82 - - *83 + - *84 + - *85 - &327 name: validity in: query @@ -18086,7 +18143,7 @@ paths: secret: type: string description: The secret that was detected. - repository: *94 + repository: *95 push_protection_bypassed: type: - boolean @@ -18390,7 +18447,7 @@ paths: publicly_leaked: false multi_repo: false headers: - Link: *37 + Link: *38 '404': *6 '503': *128 x-github: @@ -18417,7 +18474,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: - - *38 + - *39 responses: '200': description: Response @@ -18523,7 +18580,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: - - *38 + - *39 - &335 name: advanced_security_product in: query @@ -18645,7 +18702,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: - - *38 + - *39 responses: '200': description: Response when getting cost centers @@ -18694,7 +18751,7 @@ paths: name: Monalisa '400': *14 '403': *27 - '500': *95 + '500': *83 '503': *128 x-github: githubCloudOnly: true @@ -18715,7 +18772,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: - - *38 + - *39 - &129 name: cost_center_id description: The ID corresponding to the cost center. @@ -18757,8 +18814,8 @@ paths: message: Resources successfully added to the cost center. '400': *14 '403': *27 - '409': *92 - '500': *95 + '409': *94 + '500': *83 '503': *128 x-github: githubCloudOnly: true @@ -18778,7 +18835,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: - - *38 + - *39 - *129 requestBody: required: true @@ -18815,7 +18872,7 @@ paths: message: Resources successfully removed from the cost center. '400': *14 '403': *27 - '500': *95 + '500': *83 '503': *128 x-github: githubCloudOnly: true @@ -18841,7 +18898,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: - - *38 + - *39 responses: '200': description: Response @@ -18894,7 +18951,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: - - *38 + - *39 responses: '200': description: Response @@ -18942,7 +18999,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: - - *38 + - *39 - &164 name: year description: If specified, only return results for a single year. The value @@ -19060,7 +19117,7 @@ paths: repositoryName: github/example '400': *14 '403': *27 - '500': *95 + '500': *83 '503': *128 x-github: githubCloudOnly: true @@ -19094,7 +19151,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: - - *38 + - *39 - name: team_slug description: The slug of the enterprise team name. in: path @@ -19135,7 +19192,7 @@ paths: items: *130 examples: default: *131 - '500': *95 + '500': *83 '403': *27 '404': *6 '422': *132 @@ -19163,7 +19220,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: - - *38 + - *39 - name: security_product in: path description: The security feature to enable or disable. @@ -19630,7 +19687,7 @@ paths: - node_id - name - description - repository: *61 + repository: *62 performed_via_github_app: anyOf: - type: 'null' @@ -20200,7 +20257,7 @@ paths: site_admin: false truncated: false headers: - Link: *37 + Link: *38 '304': *35 '403': *27 x-github: @@ -20789,7 +20846,7 @@ paths: examples: default: *139 headers: - Link: *37 + Link: *38 '422': *15 '304': *35 '403': *27 @@ -20823,7 +20880,7 @@ paths: examples: default: *139 headers: - Link: *37 + Link: *38 '401': *23 '304': *35 '403': *27 @@ -21254,7 +21311,7 @@ paths: updated_at: '2011-04-18T23:23:56Z' author_association: COLLABORATOR headers: - Link: *37 + Link: *38 '304': *35 '404': *6 '403': *27 @@ -21633,7 +21690,7 @@ paths: type: User site_admin: false headers: - Link: *37 + Link: *38 '404': *6 '304': *35 '403': *27 @@ -21984,7 +22041,7 @@ paths: type: integer repositories: type: array - items: *61 + items: *62 repository_selection: type: string examples: @@ -22108,7 +22165,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *37 + Link: *38 '403': *27 '304': *35 '401': *23 @@ -22210,7 +22267,7 @@ paths: - updated - comments default: created - - *84 + - *86 - *137 - name: collab in: query @@ -22488,7 +22545,7 @@ paths: watchers: 1 author_association: COLLABORATOR headers: - Link: *37 + Link: *38 '422': *15 '304': *35 '404': *6 @@ -23166,7 +23223,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *37 + Link: *38 '404': *6 '401': *23 x-github: @@ -23278,7 +23335,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *37 + Link: *38 '404': *6 '422': *15 '401': *23 @@ -23345,7 +23402,7 @@ paths: examples: default: *154 headers: - Link: *37 + Link: *38 '401': *23 x-github: githubCloudOnly: false @@ -23391,7 +23448,7 @@ paths: examples: default: *157 headers: - Link: *37 + Link: *38 '401': *23 x-github: githubCloudOnly: false @@ -24388,7 +24445,7 @@ paths: url: https://api.github.com/notifications/threads/1 subscription_url: https://api.github.com/notifications/threads/1/subscription headers: - Link: *37 + Link: *38 '304': *35 '403': *27 '401': *23 @@ -24857,7 +24914,7 @@ paths: application/json: schema: type: array - items: *56 + items: *57 examples: default: &717 value: @@ -25034,7 +25091,7 @@ paths: default: *169 '400': *14 '403': *27 - '500': *95 + '500': *83 '503': *128 x-github: githubCloudOnly: false @@ -25765,7 +25822,7 @@ paths: oneOf: - *172 - *173 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25790,7 +25847,7 @@ paths: parameters: - *163 responses: - '202': *93 + '202': *37 '404': *6 '403': *27 x-github: @@ -25823,7 +25880,7 @@ paths: examples: default: *175 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25900,7 +25957,7 @@ paths: active_caches_size_in_bytes: 1022142 active_caches_count: 2 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25938,11 +25995,11 @@ paths: type: integer runners: type: array - items: *39 + items: *40 examples: default: *176 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26027,9 +26084,9 @@ paths: description: Response content: application/json: - schema: *39 + schema: *40 examples: - default: *43 + default: *44 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -26063,9 +26120,9 @@ paths: type: integer images: type: array - items: *40 + items: *41 examples: - default: *41 + default: *42 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26099,9 +26156,9 @@ paths: type: integer images: type: array - items: *40 + items: *41 examples: - default: *41 + default: *42 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26160,7 +26217,7 @@ paths: type: integer machine_specs: type: array - items: *42 + items: *43 examples: default: *179 x-github: @@ -26225,17 +26282,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization parameters: - *163 - - *44 + - *45 responses: '200': description: Response content: application/json: - schema: *39 + schema: *40 examples: - default: *43 + default: *44 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26254,7 +26311,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-organization parameters: - *163 - - *44 + - *45 requestBody: required: true content: @@ -26292,9 +26349,9 @@ paths: description: Response content: application/json: - schema: *39 + schema: *40 examples: - default: *43 + default: *44 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -26311,15 +26368,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization parameters: - *163 - - *44 + - *45 responses: '202': description: Response content: application/json: - schema: *39 + schema: *40 examples: - default: *43 + default: *44 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -26446,7 +26503,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: *46 + allowed_actions: *47 selected_actions_url: *182 required: - enabled_repositories @@ -26488,7 +26545,7 @@ paths: type: object properties: enabled_repositories: *183 - allowed_actions: *46 + allowed_actions: *47 required: - enabled_repositories examples: @@ -26533,7 +26590,7 @@ paths: type: number repositories: type: array - items: *61 + items: *62 examples: default: &711 value: @@ -26778,9 +26835,9 @@ paths: description: Response content: application/json: - schema: *48 + schema: *49 examples: - default: *49 + default: *50 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -26811,9 +26868,9 @@ paths: required: false content: application/json: - schema: *48 + schema: *49 examples: - selected_actions: *49 + selected_actions: *50 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -26843,7 +26900,7 @@ paths: application/json: schema: *185 examples: - default: *52 + default: *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26877,7 +26934,7 @@ paths: application/json: schema: *186 examples: - default: *52 + default: *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27150,7 +27207,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: - *163 - - *55 + - *56 responses: '200': description: Response @@ -27193,7 +27250,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: - *163 - - *55 + - *56 requestBody: required: true content: @@ -27271,7 +27328,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: - *163 - - *55 + - *56 responses: '204': description: Response @@ -27295,7 +27352,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: - *163 - - *55 + - *56 - *17 - *19 responses: @@ -27313,11 +27370,11 @@ paths: type: number runners: type: array - items: *39 + items: *40 examples: default: *176 headers: - Link: *37 + Link: *38 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -27338,7 +27395,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: - *163 - - *55 + - *56 - *19 - *17 responses: @@ -27611,7 +27668,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: - *163 - - *55 + - *56 requestBody: required: true content: @@ -27656,7 +27713,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: - *163 - - *55 + - *56 - *184 responses: '204': @@ -27680,7 +27737,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: - *163 - - *55 + - *56 - *184 responses: '204': @@ -27705,7 +27762,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: - *163 - - *55 + - *56 - *17 - *19 responses: @@ -27723,11 +27780,11 @@ paths: type: number runners: type: array - items: *59 + items: *60 examples: - default: *60 + default: *61 headers: - Link: *37 + Link: *38 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -27747,7 +27804,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: - *163 - - *55 + - *56 requestBody: required: true content: @@ -27792,8 +27849,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: - *163 - - *55 - - *58 + - *56 + - *59 responses: '204': description: Response @@ -27816,8 +27873,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: - *163 - - *55 - - *58 + - *56 + - *59 responses: '204': description: Response @@ -27865,11 +27922,11 @@ paths: type: integer runners: type: array - items: *59 + items: *60 examples: - default: *60 + default: *61 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27969,7 +28026,7 @@ paths: '201': *192 '404': *6 '422': *7 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28003,7 +28060,7 @@ paths: description: Response content: application/json: - schema: *62 + schema: *63 examples: default: *193 x-github: @@ -28039,7 +28096,7 @@ paths: description: Response content: application/json: - schema: *62 + schema: *63 examples: default: *194 x-github: @@ -28064,13 +28121,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization parameters: - *163 - - *58 + - *59 responses: '200': description: Response content: application/json: - schema: *59 + schema: *60 examples: default: *195 x-github: @@ -28094,7 +28151,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization parameters: - *163 - - *58 + - *59 responses: '204': description: Response @@ -28120,9 +28177,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: - *163 - - *58 + - *59 responses: - '200': *64 + '200': *65 '404': *6 x-github: githubCloudOnly: false @@ -28145,7 +28202,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: - *163 - - *58 + - *59 requestBody: required: true content: @@ -28169,7 +28226,7 @@ paths: - gpu - accelerated responses: - '200': *64 + '200': *65 '404': *6 '422': *7 x-github: @@ -28194,7 +28251,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: - *163 - - *58 + - *59 requestBody: required: true content: @@ -28219,7 +28276,7 @@ paths: - gpu - accelerated responses: - '200': *64 + '200': *65 '404': *6 '422': *7 x-github: @@ -28244,7 +28301,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: - *163 - - *58 + - *59 responses: '200': *196 '404': *6 @@ -28274,10 +28331,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: - *163 - - *58 + - *59 - *197 responses: - '200': *64 + '200': *65 '404': *6 '422': *7 x-github: @@ -28372,7 +28429,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/secrets/SUPER_SECRET/repositories headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28942,7 +28999,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/variables/ADMIN_EMAIL/repositories headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29339,9 +29396,9 @@ paths: description: Response content: application/json: - schema: *69 + schema: *70 examples: - default: *68 + default: *69 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -29362,7 +29419,7 @@ paths: application/json: schema: *204 examples: - default: *68 + default: *69 parameters: - *163 responses: @@ -29370,9 +29427,9 @@ paths: description: Response content: application/json: - schema: *69 + schema: *70 examples: - default: *68 + default: *69 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -29414,8 +29471,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-attestations parameters: - *17 - - *82 - - *83 + - *84 + - *85 - *163 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 @@ -29778,7 +29835,7 @@ paths: examples: default: *217 '404': *6 - '500': *95 + '500': *83 "/orgs/{org}/bypass-requests/secret-scanning": get: summary: List bypass requests for secret scanning for an org @@ -30012,7 +30069,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': *95 + '500': *83 "/orgs/{org}/campaigns": get: summary: List campaigns for an organization @@ -30032,7 +30089,7 @@ paths: - *163 - *19 - *17 - - *84 + - *86 - name: state description: If specified, only campaigns with this state will be returned. in: query @@ -30209,7 +30266,7 @@ paths: closed_at: state: open headers: - Link: *37 + Link: *38 '404': *6 '503': *128 x-github: @@ -30576,11 +30633,11 @@ paths: - *163 - *224 - *225 - - *82 - - *83 + - *84 + - *85 - *19 - *17 - - *84 + - *86 - name: state description: If specified, only code scanning alerts with this state will be returned. @@ -30624,7 +30681,7 @@ paths: examples: default: *228 headers: - Link: *37 + Link: *38 '404': *6 '503': *128 x-github: @@ -30667,8 +30724,8 @@ paths: schema: type: integer default: 30 - - *82 - - *83 + - *84 + - *85 responses: '200': description: Response @@ -30676,7 +30733,7 @@ paths: application/json: schema: type: array - items: *88 + items: *90 examples: default: value: @@ -30836,7 +30893,7 @@ paths: - disabled - not_set default: disabled - code_scanning_default_setup_options: *91 + code_scanning_default_setup_options: *93 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -30961,7 +31018,7 @@ paths: description: Successfully created code security configuration content: application/json: - schema: *88 + schema: *90 examples: default: *229 x-github: @@ -31046,7 +31103,7 @@ paths: '400': *14 '403': *27 '404': *6 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31069,13 +31126,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-a-code-security-configuration parameters: - *163 - - *90 + - *92 responses: '200': description: Response content: application/json: - schema: *88 + schema: *90 examples: default: *229 '304': *35 @@ -31102,7 +31159,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#update-a-code-security-configuration parameters: - *163 - - *90 + - *92 requestBody: required: true content: @@ -31172,7 +31229,7 @@ paths: - enabled - disabled - not_set - code_scanning_default_setup_options: *91 + code_scanning_default_setup_options: *93 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -31283,7 +31340,7 @@ paths: description: Response when a configuration is updated content: application/json: - schema: *88 + schema: *90 examples: default: value: @@ -31341,13 +31398,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#delete-a-code-security-configuration parameters: - *163 - - *90 + - *92 responses: '204': *114 '400': *14 '403': *27 '404': *6 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31372,7 +31429,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - *163 - - *90 + - *92 requestBody: required: true content: @@ -31411,7 +31468,7 @@ paths: - 32 - 91 responses: - '202': *93 + '202': *37 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31436,7 +31493,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: - *163 - - *90 + - *92 requestBody: required: true content: @@ -31476,7 +31533,7 @@ paths: - none - private_and_internal - public - configuration: *88 + configuration: *90 examples: default: value: @@ -31506,7 +31563,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration parameters: - *163 - - *90 + - *92 - 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)." @@ -31515,8 +31572,8 @@ paths: schema: type: integer default: 30 - - *82 - - *83 + - *84 + - *85 - name: status description: |- A comma-separated list of statuses. If specified, only repositories with these attachment statuses will be returned. @@ -32312,7 +32369,7 @@ paths: stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-f8adfad99a/stop recent_folders: [] '304': *35 - '500': *95 + '500': *83 '401': *23 '403': *27 '404': *6 @@ -32378,7 +32435,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *95 + '500': *83 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -32433,7 +32490,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *95 + '500': *83 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -32487,7 +32544,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *95 + '500': *83 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -32580,7 +32637,7 @@ paths: updated_at: '2020-01-11T11:59:22Z' visibility: all headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -32679,7 +32736,7 @@ paths: updated_at: '2020-01-10T14:59:22Z' visibility: all headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -33084,7 +33141,7 @@ paths: cli: enabled public_code_suggestions: block plan_type: business - '500': *95 + '500': *83 '401': *23 '403': *27 '404': *6 @@ -33143,8 +33200,8 @@ paths: examples: default: *236 headers: - Link: *37 - '500': *95 + Link: *38 + '500': *83 '401': *23 '403': *27 '404': *6 @@ -33219,7 +33276,7 @@ paths: default: value: seats_created: 5 - '500': *95 + '500': *83 '401': *23 '403': *27 '404': *6 @@ -33297,7 +33354,7 @@ paths: default: value: seats_cancelled: 5 - '500': *95 + '500': *83 '401': *23 '403': *27 '404': *6 @@ -33376,7 +33433,7 @@ paths: default: value: seats_created: 5 - '500': *95 + '500': *83 '401': *23 '403': *27 '404': *6 @@ -33454,7 +33511,7 @@ paths: default: value: seats_cancelled: 5 - '500': *95 + '500': *83 '401': *23 '403': *27 '404': *6 @@ -33528,7 +33585,7 @@ paths: items: *130 examples: default: *131 - '500': *95 + '500': *83 '403': *27 '404': *6 '422': *132 @@ -34235,9 +34292,9 @@ paths: - *247 - *248 - *249 + - *86 - *84 - - *82 - - *83 + - *85 - *250 - *251 - *17 @@ -34346,7 +34403,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/dependabot/secrets/SUPER_SECRET/repositories headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34940,7 +34997,7 @@ paths: html_url: https://github.com/octo-org/smile/security/secret-scanning/19 '404': *6 '403': *27 - '500': *95 + '500': *83 "/orgs/{org}/docker/conflicts": get: summary: Get list of conflicting packages during Docker migration for organization @@ -35534,7 +35591,7 @@ paths: invitation_teams_url: https://api.github.com/organizations/2/invitations/1/teams invitation_source: member headers: - Link: *37 + Link: *38 '404': *6 x-github: githubCloudOnly: false @@ -35723,7 +35780,7 @@ paths: created_at: '2011-09-06T17:26:27Z' type: Organization headers: - Link: *37 + Link: *38 '404': *6 x-github: githubCloudOnly: false @@ -36152,7 +36209,7 @@ paths: - *257 - *16 responses: - '202': *93 + '202': *37 '400': *14 '422': *15 x-github: @@ -36238,7 +36295,7 @@ paths: type: string - *19 - *17 - - *84 + - *86 - name: sort description: The property to sort the results by. in: query @@ -36326,7 +36383,7 @@ paths: - *264 - *19 - *17 - - *84 + - *86 - &273 name: sort description: The property to sort the results by. @@ -36647,7 +36704,7 @@ paths: - *264 - *19 - *17 - - *84 + - *86 - *273 - name: actor_name_substring in: query @@ -36871,7 +36928,7 @@ paths: suspended_at: suspended_by: headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37075,7 +37132,7 @@ paths: examples: default: *278 headers: - Link: *37 + Link: *38 '404': *6 x-github: githubCloudOnly: false @@ -37270,7 +37327,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos parent: headers: - Link: *37 + Link: *38 '404': *6 x-github: githubCloudOnly: false @@ -37584,7 +37641,7 @@ paths: - updated - comments default: created - - *84 + - *86 - *137 - *17 - *19 @@ -37599,7 +37656,7 @@ paths: examples: default: *284 headers: - Link: *37 + Link: *38 '404': *6 x-github: githubCloudOnly: false @@ -37659,7 +37716,7 @@ paths: examples: default: *285 headers: - Link: *37 + Link: *38 '422': *15 x-github: githubCloudOnly: false @@ -37757,7 +37814,7 @@ paths: examples: default: *287 '304': *35 - '500': *95 + '500': *83 '401': *23 '403': *27 '404': *6 @@ -37790,9 +37847,9 @@ paths: schema: type: string responses: - '202': *93 + '202': *37 '304': *35 - '500': *95 + '500': *83 '401': *23 '403': *27 '404': *6 @@ -37967,7 +38024,7 @@ paths: recent_folders: [] template: '304': *35 - '500': *95 + '500': *83 '401': *23 '403': *27 '404': *6 @@ -38048,7 +38105,7 @@ paths: members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos parent: - '500': *95 + '500': *83 '401': *23 '403': *27 '404': *6 @@ -38113,7 +38170,7 @@ paths: format: uri examples: - https://api.github.com/orgs/octocat - organization: *56 + organization: *57 user: anyOf: - type: 'null' @@ -38343,7 +38400,7 @@ paths: type: array description: The repositories included in the migration. Only returned for export migrations. - items: *61 + items: *62 url: type: string format: uri @@ -38542,7 +38599,7 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -39214,7 +39271,7 @@ paths: secret_scanning_validity_checks: status: disabled headers: - Link: *37 + Link: *38 '404': *6 x-github: githubCloudOnly: false @@ -39550,7 +39607,7 @@ paths: updated_at: '2022-07-04T22:19:11Z' '422': *15 '404': *6 - '409': *92 + '409': *94 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -39882,7 +39939,7 @@ paths: created_at: '2022-07-04T22:19:11Z' updated_at: '2022-07-04T22:19:11Z' '422': *15 - '409': *92 + '409': *94 '404': *6 x-github: githubCloudOnly: true @@ -40029,7 +40086,7 @@ paths: examples: default: *296 headers: - Link: *37 + Link: *38 '404': description: Response if the organization or role does not exist. '422': @@ -40205,7 +40262,7 @@ paths: examples: default: *285 headers: - Link: *37 + Link: *38 '404': description: Response if the organization or role does not exist. '422': @@ -40256,7 +40313,7 @@ paths: examples: default: *285 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40896,7 +40953,7 @@ paths: enum: - created_at default: created_at - - *84 + - *86 - &305 name: owner description: A list of owner usernames to use to filter the results. @@ -40960,7 +41017,7 @@ paths: examples: - token_id[]=1,token_id[]=2 responses: - '500': *95 + '500': *83 '422': *15 '404': *6 '403': *27 @@ -41095,7 +41152,7 @@ paths: token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41157,11 +41214,11 @@ paths: action: deny reason: Access is too broad. responses: - '500': *95 + '500': *83 '422': *15 '404': *6 '403': *27 - '202': *93 + '202': *37 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41219,7 +41276,7 @@ paths: action: deny reason: This request is denied because the access is too broad. responses: - '500': *95 + '500': *83 '422': *15 '404': *6 '403': *27 @@ -41255,7 +41312,7 @@ paths: - *17 - *19 responses: - '500': *95 + '500': *83 '404': *6 '403': *27 '200': @@ -41268,7 +41325,7 @@ paths: examples: default: *303 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41293,7 +41350,7 @@ paths: - *17 - *19 - *304 - - *84 + - *86 - *305 - *306 - *307 @@ -41301,7 +41358,7 @@ paths: - *309 - *310 responses: - '500': *95 + '500': *83 '422': *15 '404': *6 '403': *27 @@ -41430,7 +41487,7 @@ paths: token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41485,9 +41542,9 @@ paths: - 1296269 - 1296280 responses: - '500': *95 + '500': *83 '404': *6 - '202': *93 + '202': *37 '403': *27 '422': *15 x-github: @@ -41538,7 +41595,7 @@ paths: value: action: revoke responses: - '500': *95 + '500': *83 '404': *6 '204': *114 '403': *27 @@ -41572,7 +41629,7 @@ paths: - *17 - *19 responses: - '500': *95 + '500': *83 '404': *6 '403': *27 '200': @@ -41585,7 +41642,7 @@ paths: examples: default: *303 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41680,7 +41737,7 @@ paths: updated_at: '2020-01-10T14:59:22Z' visibility: selected headers: - Link: *37 + Link: *38 '400': *14 '404': *6 x-github: @@ -41904,7 +41961,7 @@ paths: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 headers: - Link: *37 + Link: *38 '404': *6 x-github: githubCloudOnly: false @@ -42215,7 +42272,7 @@ paths: organization_permission: write private: true headers: - Link: *37 + Link: *38 '422': *7 x-github: githubCloudOnly: false @@ -42616,7 +42673,7 @@ paths: - property_name: team value: octocat headers: - Link: *37 + Link: *38 '403': *27 '404': *6 x-github: @@ -42719,7 +42776,7 @@ paths: examples: default: *285 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42859,7 +42916,7 @@ paths: examples: default: *303 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43407,7 +43464,7 @@ paths: template_repository: anyOf: - type: 'null' - - *61 + - *62 temp_clone_token: type: - string @@ -43512,8 +43569,8 @@ paths: anyOf: - type: 'null' - *4 - parent: *61 - source: *61 + parent: *62 + source: *62 forks: type: integer master_branch: @@ -44243,7 +44300,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *95 + '500': *83 post: summary: Create an organization repository ruleset description: Create a repository ruleset for an organization. @@ -44369,7 +44426,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *95 + '500': *83 "/orgs/{org}/rulesets/rule-suites": get: summary: List organization rule suites @@ -44503,7 +44560,7 @@ paths: result: pass evaluation_result: fail '404': *6 - '500': *95 + '500': *83 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44681,7 +44738,7 @@ paths: result: fail rule_type: commit_message_pattern '404': *6 - '500': *95 + '500': *83 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44723,7 +44780,7 @@ paths: examples: default: *320 '404': *6 - '500': *95 + '500': *83 put: summary: Update an organization repository ruleset description: Update a ruleset for an organization. @@ -44813,7 +44870,7 @@ paths: examples: default: *320 '404': *6 - '500': *95 + '500': *83 delete: summary: Delete an organization repository ruleset description: Delete a ruleset for an organization. @@ -44840,7 +44897,7 @@ paths: '204': description: Response '404': *6 - '500': *95 + '500': *83 "/orgs/{org}/rulesets/{ruleset_id}/history": get: summary: Get organization ruleset history @@ -44872,7 +44929,7 @@ paths: examples: default: *321 '404': *6 - '500': *95 + '500': *83 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44947,7 +45004,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *95 + '500': *83 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44974,7 +45031,7 @@ paths: - *324 - *325 - *326 - - *84 + - *86 - *19 - *17 - &641 @@ -45011,7 +45068,7 @@ paths: examples: default: *331 headers: - Link: *37 + Link: *38 '404': *6 '503': *128 x-github: @@ -45036,7 +45093,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories-for-an-organization parameters: - *163 - - *84 + - *86 - name: sort description: The property to sort the results by. in: query @@ -45048,8 +45105,8 @@ paths: - updated - published default: created - - *82 - - *83 + - *84 + - *85 - 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)." @@ -45366,7 +45423,7 @@ paths: description: A temporary private fork of the advisory's repository for collaborating on a fix. allOf: - - *94 + - *95 type: - 'null' required: @@ -46011,7 +46068,7 @@ paths: examples: default: *342 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46105,7 +46162,7 @@ paths: examples: default: *108 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46220,7 +46277,7 @@ paths: examples: default: *345 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46389,7 +46446,7 @@ paths: items: *130 examples: default: *131 - '500': *95 + '500': *83 '403': *27 '404': *6 '422': *132 @@ -46424,7 +46481,7 @@ paths: examples: default: *296 headers: - Link: *37 + Link: *38 '403': *27 x-github: githubCloudOnly: false @@ -47123,7 +47180,7 @@ paths: parameters: - *163 - *294 - - *84 + - *86 - *17 - *19 - name: pinned @@ -47300,7 +47357,7 @@ paths: eyes: 1 rocket: 1 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47599,7 +47656,7 @@ paths: - *163 - *294 - *350 - - *84 + - *86 - *17 - *19 responses: @@ -47733,7 +47790,7 @@ paths: eyes: 1 rocket: 1 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48107,7 +48164,7 @@ paths: content: heart created_at: '2016-05-20T20:09:31Z' headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48291,7 +48348,7 @@ paths: examples: default: *356 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48521,7 +48578,7 @@ paths: examples: default: *278 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48567,7 +48624,7 @@ paths: examples: default: *285 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48878,7 +48935,7 @@ paths: write: true admin: false headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49092,7 +49149,7 @@ paths: examples: default: *303 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49994,7 +50051,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos html_url: https://github.com/orgs/rails/teams/core headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50689,7 +50746,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: *37 + Link: *38 '304': *35 '403': *27 '401': *23 @@ -51111,7 +51168,7 @@ paths: examples: default: *285 headers: - Link: *37 + Link: *38 '404': *6 '422': *15 '304': *35 @@ -51320,7 +51377,7 @@ paths: created_at: '2016-09-05T14:18:44Z' updated_at: '2016-09-05T14:22:28Z' headers: - Link: *37 + Link: *38 '304': *35 '403': *27 '401': *23 @@ -52592,7 +52649,7 @@ paths: head_branch: main head_sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52796,7 +52853,7 @@ paths: - last_accessed_at - size_in_bytes default: last_accessed_at - - *84 + - *86 responses: '200': description: Response @@ -52864,7 +52921,7 @@ paths: created_at: '2019-01-24T22:45:36.000Z' size_in_bytes: 1024 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53557,7 +53614,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53645,7 +53702,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53678,7 +53735,7 @@ paths: enabled: &390 type: boolean description: Whether GitHub Actions is enabled on the repository. - allowed_actions: *46 + allowed_actions: *47 selected_actions_url: *182 required: - enabled @@ -53721,7 +53778,7 @@ paths: type: object properties: enabled: *390 - allowed_actions: *46 + allowed_actions: *47 required: - enabled examples: @@ -53840,9 +53897,9 @@ paths: description: Response content: application/json: - schema: *48 + schema: *49 examples: - default: *49 + default: *50 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -53874,9 +53931,9 @@ paths: required: false content: application/json: - schema: *48 + schema: *49 examples: - selected_actions: *49 + selected_actions: *50 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -53907,7 +53964,7 @@ paths: application/json: schema: *185 examples: - default: *52 + default: *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53942,7 +53999,7 @@ paths: application/json: schema: *186 examples: - default: *52 + default: *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53988,11 +54045,11 @@ paths: type: integer runners: type: array - items: *59 + items: *60 examples: - default: *60 + default: *61 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54094,7 +54151,7 @@ paths: '201': *192 '404': *6 '422': *7 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54129,7 +54186,7 @@ paths: description: Response content: application/json: - schema: *62 + schema: *63 examples: default: *193 x-github: @@ -54166,7 +54223,7 @@ paths: description: Response content: application/json: - schema: *62 + schema: *63 examples: default: *194 x-github: @@ -54192,13 +54249,13 @@ paths: parameters: - *365 - *366 - - *58 + - *59 responses: '200': description: Response content: application/json: - schema: *59 + schema: *60 examples: default: *195 x-github: @@ -54223,7 +54280,7 @@ paths: parameters: - *365 - *366 - - *58 + - *59 responses: '204': description: Response @@ -54250,9 +54307,9 @@ paths: parameters: - *365 - *366 - - *58 + - *59 responses: - '200': *64 + '200': *65 '404': *6 x-github: githubCloudOnly: false @@ -54276,7 +54333,7 @@ paths: parameters: - *365 - *366 - - *58 + - *59 requestBody: required: true content: @@ -54300,7 +54357,7 @@ paths: - gpu - accelerated responses: - '200': *64 + '200': *65 '404': *6 '422': *7 x-github: @@ -54326,7 +54383,7 @@ paths: parameters: - *365 - *366 - - *58 + - *59 requestBody: required: true content: @@ -54351,7 +54408,7 @@ paths: - gpu - accelerated responses: - '200': *64 + '200': *65 '404': *6 '422': *7 x-github: @@ -54377,7 +54434,7 @@ paths: parameters: - *365 - *366 - - *58 + - *59 responses: '200': *196 '404': *6 @@ -54408,10 +54465,10 @@ paths: parameters: - *365 - *366 - - *58 + - *59 - *197 responses: - '200': *64 + '200': *65 '404': *6 '422': *7 x-github: @@ -55111,7 +55168,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: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55606,7 +55663,7 @@ paths: examples: default: *397 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55781,7 +55838,7 @@ paths: workflow_name: CI head_branch: main headers: - Link: *37 + Link: *38 '404': *6 x-github: githubCloudOnly: false @@ -55848,7 +55905,7 @@ paths: examples: default: value: - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55952,7 +56009,7 @@ paths: examples: default: value: - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56011,7 +56068,7 @@ paths: examples: default: *401 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56070,7 +56127,7 @@ paths: '204': description: Response '403': *27 - '500': *95 + '500': *83 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56735,7 +56792,7 @@ paths: examples: default: *403 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56934,7 +56991,7 @@ paths: examples: default: *407 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57229,7 +57286,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: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57443,7 +57500,7 @@ paths: examples: default: *417 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57539,10 +57596,10 @@ paths: parameters: - *365 - *366 - - *84 + - *86 - *17 - - *82 - - *83 + - *84 + - *85 - name: ref description: |- The Git reference for the activities you want to list. @@ -57687,7 +57744,7 @@ paths: type: User site_admin: false headers: - Link: *37 + Link: *38 '422': *7 x-github: githubCloudOnly: false @@ -57721,7 +57778,7 @@ paths: examples: default: *285 headers: - Link: *37 + Link: *38 '404': *6 x-github: githubCloudOnly: false @@ -57897,8 +57954,8 @@ paths: - *365 - *366 - *17 - - *82 - - *83 + - *84 + - *85 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -58751,7 +58808,7 @@ paths: - linter protection_url: https://api.github.com/repos/octocat/hello-world/branches/master/protection headers: - Link: *37 + Link: *38 '404': *6 x-github: githubCloudOnly: false @@ -61713,7 +61770,7 @@ paths: examples: default: *217 '404': *6 - '500': *95 + '500': *83 "/repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}": get: summary: Get a repository push bypass request @@ -61784,7 +61841,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': *95 + '500': *83 "/repos/{owner}/{repo}/bypass-requests/secret-scanning": get: summary: List bypass requests for secret scanning for a repository @@ -61825,7 +61882,7 @@ paths: default: *436 '404': *6 '403': *27 - '500': *95 + '500': *83 "/repos/{owner}/{repo}/bypass-requests/secret-scanning/{bypass_request_number}": get: summary: Get a bypass request for secret scanning @@ -61897,7 +61954,7 @@ paths: html_url: https://github.com/octo-org/smile/exemptions/1 '404': *6 '403': *27 - '500': *95 + '500': *83 patch: summary: Review a bypass request for secret scanning description: |- @@ -61968,7 +62025,7 @@ paths: '404': *6 '403': *27 '422': *15 - '500': *95 + '500': *83 "/repos/{owner}/{repo}/bypass-responses/secret-scanning/{bypass_response_id}": delete: summary: Dismiss a response on a bypass request for secret scanning @@ -62003,7 +62060,7 @@ paths: '404': *6 '403': *27 '422': *15 - '500': *95 + '500': *83 "/repos/{owner}/{repo}/check-runs": post: summary: Create a check run @@ -63198,7 +63255,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: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64207,7 +64264,7 @@ paths: url: https://api.github.com/repos/github/hello-world name: hello-world headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64283,9 +64340,9 @@ paths: required: false schema: type: integer + - *86 - *84 - - *82 - - *83 + - *85 - name: sort description: The property by which to sort the results. in: query @@ -64324,7 +64381,7 @@ paths: url: *101 html_url: *102 instances_url: *447 - state: *87 + state: *89 fixed_at: *106 dismissed_by: anyOf: @@ -64507,7 +64564,7 @@ paths: url: *101 html_url: *102 instances_url: *447 - state: *87 + state: *89 fixed_at: *106 dismissed_by: anyOf: @@ -65145,7 +65202,7 @@ paths: description: An identifier for the upload. examples: - 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 - - *84 + - *86 - name: sort description: The property by which to sort the results. in: query @@ -65886,7 +65943,7 @@ paths: id: type: integer description: The ID of the variant analysis. - controller_repo: *94 + controller_repo: *95 actor: *4 query_language: *467 query_pack_url: @@ -66320,7 +66377,7 @@ paths: schema: type: object properties: - repository: *94 + repository: *95 analysis_status: *472 artifact_size_in_bytes: type: integer @@ -66905,7 +66962,7 @@ paths: - failed - updating - removed_by_enterprise - configuration: *88 + configuration: *90 examples: default: value: @@ -67384,7 +67441,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': *95 + '500': *83 '401': *23 '403': *27 '404': *6 @@ -67551,7 +67608,7 @@ paths: - path: ".devcontainer.json" display_name: Default project configuration total_count: 3 - '500': *95 + '500': *83 '400': *14 '401': *23 '403': *27 @@ -67632,7 +67689,7 @@ paths: memory_in_bytes: 34359738368 cpus: 8 '304': *35 - '500': *95 + '500': *83 '401': *23 '403': *27 '404': *6 @@ -67855,7 +67912,7 @@ paths: examples: default: *476 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68226,7 +68283,7 @@ paths: admin: false role_name: write headers: - Link: *37 + Link: *38 '404': *6 x-github: githubCloudOnly: false @@ -68754,7 +68811,7 @@ paths: updated_at: '2011-04-14T16:00:49Z' author_association: COLLABORATOR headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68976,7 +69033,7 @@ paths: examples: default: *356 headers: - Link: *37 + Link: *38 '404': *6 x-github: githubCloudOnly: false @@ -69241,11 +69298,11 @@ paths: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e headers: - Link: *37 - '500': *95 + Link: *38 + '500': *83 '400': *14 '404': *6 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69314,7 +69371,7 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc protected: false '422': *15 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69355,7 +69412,7 @@ paths: examples: default: *485 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69643,7 +69700,7 @@ paths: type: string ref: type: string - repo: *61 + repo: *62 sha: type: string user: @@ -69663,7 +69720,7 @@ paths: type: string ref: type: string - repo: *61 + repo: *62 sha: type: string user: @@ -70249,8 +70306,8 @@ paths: auto_merge: draft: false headers: - Link: *37 - '409': *92 + Link: *38 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70414,9 +70471,9 @@ paths: ..... '422': *15 '404': *6 - '500': *95 + '500': *83 '503': *128 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70483,7 +70540,7 @@ paths: examples: default: *492 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70709,7 +70766,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: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71030,7 +71087,7 @@ paths: type: User site_admin: false headers: - Link: *37 + Link: *38 '301': *379 x-github: githubCloudOnly: false @@ -71578,7 +71635,7 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" '404': *6 - '500': *95 + '500': *83 '503': *128 x-github: githubCloudOnly: false @@ -72677,7 +72734,7 @@ paths: verified_at: '422': *15 '404': *6 - '409': *92 + '409': *94 '503': *128 x-github: githubCloudOnly: false @@ -72800,7 +72857,7 @@ paths: site_admin: false contributions: 32 headers: - Link: *37 + Link: *38 '204': description: Response if repository is empty '403': *27 @@ -72839,7 +72896,7 @@ paths: - *247 - *248 - *249 - - *84 + - *86 - name: page description: "**Closing down notice**. Page number of the results to fetch. Use cursor-based pagination with `before` or `after` instead." @@ -72856,8 +72913,8 @@ paths: schema: type: integer default: 30 - - *82 - - *83 + - *84 + - *85 - *250 - *251 responses: @@ -73461,7 +73518,7 @@ paths: '400': *14 '403': *27 '404': *6 - '409': *92 + '409': *94 '422': *7 x-github: githubCloudOnly: false @@ -73535,7 +73592,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73849,7 +73906,7 @@ paths: advisory_summary: Ruby OpenID advisory_url: https://github.com/advisories/GHSA-fqfj-cmh6-hj49 headers: - Link: *37 + Link: *38 '404': *6 '403': description: Response for a private repository when GitHub Advanced Security @@ -74111,7 +74168,7 @@ paths: spdxElementId: SPDXRef-DOCUMENT relatedSpdxElement: SPDXRef-Repository headers: - Link: *37 + Link: *38 '404': *6 '403': *27 x-github: @@ -74450,7 +74507,7 @@ paths: examples: default: *508 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74929,7 +74986,7 @@ paths: environment_url: https://test-branch.lab.acme.com log_url: https://example.com/deployment/42/output headers: - Link: *37 + Link: *38 '404': *6 x-github: githubCloudOnly: false @@ -75146,7 +75203,7 @@ paths: default: *514 '404': *6 '403': *27 - '500': *95 + '500': *83 "/repos/{owner}/{repo}/dismissal-requests/secret-scanning/{alert_number}": get: summary: Get an alert dismissal request for secret scanning @@ -75218,7 +75275,7 @@ paths: html_url: https://github.com/octo-org/smile/security/secret-scanning/17 '404': *6 '403': *27 - '500': *95 + '500': *83 patch: summary: Review an alert dismissal request for secret scanning description: |- @@ -75290,7 +75347,7 @@ paths: '404': *6 '403': *27 '422': *15 - '500': *95 + '500': *83 "/repos/{owner}/{repo}/dispatches": post: summary: Create a repository dispatch event @@ -76491,7 +76548,7 @@ paths: examples: default: *403 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76691,7 +76748,7 @@ paths: examples: default: *407 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77082,7 +77139,7 @@ paths: url: https://api.github.com/licenses/mit node_id: MDc6TGljZW5zZW1pdA== headers: - Link: *37 + Link: *38 '400': *14 x-github: githubCloudOnly: false @@ -77215,7 +77272,7 @@ paths: schema: type: string '404': *6 - '409': *92 + '409': *94 '403': *27 '422': description: Validation failed @@ -77302,7 +77359,7 @@ paths: '404': *6 '422': *15 '403': *27 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77637,7 +77694,7 @@ paths: type: string '422': *15 '404': *6 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77726,7 +77783,7 @@ paths: payload: verified_at: '404': *6 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77824,8 +77881,8 @@ paths: sha: 612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac url: https://api.github.com/repos/octocat/Hello-World/git/commits/612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac headers: - Link: *37 - '409': *92 + Link: *38 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77866,7 +77923,7 @@ paths: sha: aa218f56b14c9653891f9e74264a383fa43fefbd url: https://api.github.com/repos/octocat/Hello-World/git/commits/aa218f56b14c9653891f9e74264a383fa43fefbd '404': *6 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77924,7 +77981,7 @@ paths: schema: type: string '422': *15 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77978,7 +78035,7 @@ paths: examples: default: *534 '422': *15 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78003,7 +78060,7 @@ paths: '422': description: Validation failed, an attempt was made to delete the default branch, or the endpoint has been spammed. - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78212,7 +78269,7 @@ paths: schema: type: string '422': *15 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78274,7 +78331,7 @@ paths: examples: default: *537 '404': *6 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78450,7 +78507,7 @@ paths: '422': *15 '404': *6 '403': *27 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78538,7 +78595,7 @@ paths: truncated: false '422': *15 '404': *6 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78688,7 +78745,7 @@ paths: status: unused message: headers: - Link: *37 + Link: *38 '404': *6 x-github: githubCloudOnly: false @@ -79080,7 +79137,7 @@ paths: - *257 - *16 responses: - '202': *93 + '202': *37 '400': *14 '422': *15 x-github: @@ -80153,7 +80210,7 @@ paths: html_url: https://github.com/octocat/Hello-World/invitations node_id: MDQ6VXNlcjE= headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80426,7 +80483,7 @@ paths: - updated - comments default: created - - *84 + - *86 - *137 - *17 - *19 @@ -80586,7 +80643,7 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *37 + Link: *38 '301': *379 '422': *15 '404': *6 @@ -80948,7 +81005,7 @@ paths: issue_url: https://api.github.com/repos/octocat/Hello-World/issues/1347 author_association: COLLABORATOR headers: - Link: *37 + Link: *38 '422': *15 '404': *6 x-github: @@ -81137,7 +81194,7 @@ paths: examples: default: *356 headers: - Link: *37 + Link: *38 '404': *6 x-github: githubCloudOnly: false @@ -81576,7 +81633,7 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *37 + Link: *38 '422': *15 x-github: githubCloudOnly: false @@ -82179,7 +82236,7 @@ paths: examples: default: *554 headers: - Link: *37 + Link: *38 '404': *6 '410': *376 x-github: @@ -83057,7 +83114,7 @@ paths: name: label color: red headers: - Link: *37 + Link: *38 '410': *376 x-github: githubCloudOnly: false @@ -83159,7 +83216,7 @@ paths: color: a2eeef default: false headers: - Link: *37 + Link: *38 '301': *379 '404': *6 '410': *376 @@ -83526,7 +83583,7 @@ paths: examples: default: *356 headers: - Link: *37 + Link: *38 '404': *6 '410': *376 x-github: @@ -83718,7 +83775,7 @@ paths: examples: default: *557 headers: - Link: *37 + Link: *38 '404': *6 '410': *376 x-github: @@ -84727,7 +84784,7 @@ paths: type: User site_admin: true headers: - Link: *37 + Link: *38 '404': *6 '410': *376 x-github: @@ -84808,7 +84865,7 @@ paths: last_used: '2022-01-10T15:53:42Z' enabled: true headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84968,7 +85025,7 @@ paths: examples: default: *556 headers: - Link: *37 + Link: *38 '404': *6 x-github: githubCloudOnly: false @@ -85222,7 +85279,7 @@ paths: - *365 - *366 responses: - '202': *93 + '202': *37 '403': description: |- We will return a 403 with one of the following messages: @@ -85633,7 +85690,7 @@ paths: closed_at: '2013-02-12T13:22:01Z' due_on: '2012-10-09T23:39:01Z' headers: - Link: *37 + Link: *38 '404': *6 x-github: githubCloudOnly: false @@ -85882,7 +85939,7 @@ paths: examples: default: *556 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85918,7 +85975,7 @@ paths: examples: default: *581 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -86251,7 +86308,7 @@ paths: examples: default: *583 '422': *15 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86360,7 +86417,7 @@ paths: description: Response '422': *15 '400': *14 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86388,7 +86445,7 @@ paths: description: Response '422': *15 '404': *6 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86492,7 +86549,7 @@ paths: created_at: '2014-02-10T19:00:49Z' updated_at: '2014-02-10T19:00:51Z' headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87286,7 +87343,7 @@ paths: created_at: '2011-04-10T20:09:31Z' updated_at: '2014-03-03T18:58:10Z' headers: - Link: *37 + Link: *38 '401': *23 '403': *27 '404': *6 @@ -87537,7 +87594,7 @@ paths: examples: default: *588 headers: - Link: *37 + Link: *38 '304': *35 '422': *15 x-github: @@ -87827,7 +87884,7 @@ paths: type: string ref: type: string - repo: *61 + repo: *62 sha: type: string user: *4 @@ -87844,7 +87901,7 @@ paths: type: string ref: type: string - repo: *61 + repo: *62 sha: type: string user: *4 @@ -88588,7 +88645,7 @@ paths: original_line: 2 side: RIGHT headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88795,7 +88852,7 @@ paths: examples: default: *356 headers: - Link: *37 + Link: *38 '404': *6 x-github: githubCloudOnly: false @@ -88950,7 +89007,7 @@ paths: content: application/json: schema: *3 - '500': *95 + '500': *83 '503': *128 x-github: githubCloudOnly: false @@ -89175,7 +89232,7 @@ paths: examples: default: *595 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89529,7 +89586,7 @@ paths: examples: default: *596 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89585,9 +89642,9 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" headers: - Link: *37 + Link: *38 '422': *15 - '500': *95 + '500': *83 '503': *128 x-github: githubCloudOnly: false @@ -89805,7 +89862,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos parent: headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91074,7 +91131,7 @@ paths: commit_id: ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091 author_association: COLLABORATOR headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91691,7 +91748,7 @@ paths: pull_request: href: https://api.github.com/repos/octocat/Hello-World/pulls/1 headers: - Link: *37 + Link: *38 '404': *6 x-github: githubCloudOnly: false @@ -92289,7 +92346,7 @@ paths: type: User site_admin: false headers: - Link: *37 + Link: *38 '404': *6 x-github: githubCloudOnly: false @@ -92978,7 +93035,7 @@ paths: type: User site_admin: false headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93135,7 +93192,7 @@ paths: examples: default: *356 headers: - Link: *37 + Link: *38 '404': *6 x-github: githubCloudOnly: false @@ -93431,7 +93488,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *95 + '500': *83 post: summary: Create a repository ruleset description: Create a ruleset for a repository. @@ -93543,7 +93600,7 @@ paths: created_at: '2023-07-15T08:43:03Z' updated_at: '2023-08-23T16:29:47Z' '404': *6 - '500': *95 + '500': *83 "/repos/{owner}/{repo}/rulesets/rule-suites": get: summary: List repository rule suites @@ -93574,7 +93631,7 @@ paths: examples: default: *636 '404': *6 - '500': *95 + '500': *83 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93605,7 +93662,7 @@ paths: examples: default: *639 '404': *6 - '500': *95 + '500': *83 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93656,7 +93713,7 @@ paths: examples: default: *640 '404': *6 - '500': *95 + '500': *83 put: summary: Update a repository ruleset description: Update a ruleset for a repository. @@ -93739,7 +93796,7 @@ paths: examples: default: *640 '404': *6 - '500': *95 + '500': *83 delete: summary: Delete a repository ruleset description: Delete a ruleset for a repository. @@ -93767,7 +93824,7 @@ paths: '204': description: Response '404': *6 - '500': *95 + '500': *83 "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history": get: summary: Get repository ruleset history @@ -93800,7 +93857,7 @@ paths: examples: default: *321 '404': *6 - '500': *95 + '500': *83 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93869,7 +93926,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *95 + '500': *83 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93897,7 +93954,7 @@ paths: - *324 - *325 - *326 - - *84 + - *86 - *19 - *17 - *641 @@ -94679,7 +94736,7 @@ paths: details: pull_request_review_comment_url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 headers: - Link: *37 + Link: *38 '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found @@ -94906,7 +94963,7 @@ paths: parameters: - *365 - *366 - - *84 + - *86 - name: sort description: The property to sort the results by. in: query @@ -94918,8 +94975,8 @@ paths: - updated - published default: created - - *82 - - *83 + - *84 + - *85 - 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)." @@ -95893,7 +95950,7 @@ paths: - *366 - *651 responses: - '202': *93 + '202': *37 '400': *14 '403': *27 '404': *6 @@ -96029,7 +96086,7 @@ paths: type: User site_admin: false headers: - Link: *37 + Link: *38 '422': *15 x-github: githubCloudOnly: false @@ -96073,7 +96130,7 @@ paths: - - 1302998400 - 1124 - -435 - '202': *93 + '202': *37 '204': *114 '422': description: Repository contains more than 10,000 commits @@ -96145,7 +96202,7 @@ paths: - 0 total: 89 week: 1336280400 - '202': *93 + '202': *37 '204': *114 x-github: githubCloudOnly: false @@ -96245,7 +96302,7 @@ paths: a: 6898 d: 77 c: 10 - '202': *93 + '202': *37 '204': *114 x-github: githubCloudOnly: false @@ -96593,7 +96650,7 @@ paths: examples: default: *285 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96826,7 +96883,7 @@ paths: tarball_url: https://github.com/octocat/Hello-World/tarball/v0.1 node_id: MDQ6VXNlcjE= headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97060,7 +97117,7 @@ paths: examples: default: *296 headers: - Link: *37 + Link: *38 '404': *6 x-github: githubCloudOnly: false @@ -98184,7 +98241,7 @@ paths: format: int32 examples: - 1 - - *38 + - *39 responses: '200': description: Success, either groups were found or not found @@ -98407,7 +98464,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#provision-a-scim-enterprise-group parameters: - - *38 + - *39 requestBody: required: true content: @@ -98526,7 +98583,7 @@ paths: examples: - 7fce0092-d52e-4f76-b727-3955bd72c939 - *668 - - *38 + - *39 responses: '200': description: Success, a group was found @@ -98560,7 +98617,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-group parameters: - *670 - - *38 + - *39 requestBody: required: true content: @@ -98626,7 +98683,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-group parameters: - *670 - - *38 + - *39 requestBody: required: true content: @@ -98718,7 +98775,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-group-from-an-enterprise parameters: - *670 - - *38 + - *39 responses: '204': description: Group was deleted, no content @@ -98763,7 +98820,7 @@ paths: value: externalId eq 'E012345' - *673 - *674 - - *38 + - *39 responses: '200': description: Success, either users were found or not found @@ -99009,7 +99066,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#provision-a-scim-enterprise-user parameters: - - *38 + - *39 requestBody: required: true content: @@ -99214,7 +99271,7 @@ paths: required: true schema: type: string - - *38 + - *39 responses: '200': description: Success, a user was found @@ -99251,7 +99308,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-user parameters: - *679 - - *38 + - *39 requestBody: required: true content: @@ -99309,7 +99366,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-user parameters: - *679 - - *38 + - *39 requestBody: required: true content: @@ -99386,7 +99443,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-user-from-an-enterprise parameters: - *679 - - *38 + - *39 responses: '204': description: User was deleted, no content @@ -100962,7 +101019,7 @@ paths: author_association: *134 draft: type: boolean - repository: *61 + repository: *62 body_html: type: string body_text: @@ -102385,7 +102442,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - *689 - - *84 + - *86 - *17 - *19 responses: @@ -102399,7 +102456,7 @@ paths: examples: default: *690 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102606,7 +102663,7 @@ paths: parameters: - *689 - *350 - - *84 + - *86 - *17 - *19 responses: @@ -102620,7 +102677,7 @@ paths: examples: default: *692 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102848,7 +102905,7 @@ paths: examples: default: *356 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102968,7 +103025,7 @@ paths: examples: default: *356 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103068,7 +103125,7 @@ paths: examples: default: *278 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103117,7 +103174,7 @@ paths: examples: default: *285 headers: - Link: *37 + Link: *38 '404': *6 x-github: githubCloudOnly: false @@ -103404,7 +103461,7 @@ paths: examples: default: *696 headers: - Link: *37 + Link: *38 '404': *6 x-github: githubCloudOnly: false @@ -103571,7 +103628,7 @@ paths: examples: default: *303 headers: - Link: *37 + Link: *38 '404': *6 x-github: githubCloudOnly: false @@ -103982,7 +104039,7 @@ paths: examples: response-if-child-teams-exist: *699 headers: - Link: *37 + Link: *38 '404': *6 '403': *27 '422': *15 @@ -104630,7 +104687,7 @@ paths: examples: default: *287 '304': *35 - '500': *95 + '500': *83 '401': *23 '403': *27 '404': *6 @@ -104865,7 +104922,7 @@ paths: examples: default: *476 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105091,7 +105148,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *95 + '500': *83 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105144,7 +105201,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *95 + '500': *83 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105178,7 +105235,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *95 + '500': *83 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105211,7 +105268,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *95 + '500': *83 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105241,7 +105298,7 @@ paths: examples: default: *474 '304': *35 - '500': *95 + '500': *83 '401': *23 '403': *27 '404': *6 @@ -105321,9 +105378,9 @@ paths: parameters: - *288 responses: - '202': *93 + '202': *37 '304': *35 - '500': *95 + '500': *83 '401': *23 '403': *27 '404': *6 @@ -105415,7 +105472,7 @@ paths: sha: fd95a81ca01e48ede9f39c799ecbcef817b8a3b2 id: latest export_url: https://api.github.com/user/codespaces/:name/exports/latest - '500': *95 + '500': *83 '401': *23 '403': *27 '404': *6 @@ -105495,7 +105552,7 @@ paths: examples: default: *706 '304': *35 - '500': *95 + '500': *83 '401': *23 '403': *27 '404': *6 @@ -106389,7 +106446,7 @@ paths: examples: default: *474 '304': *35 - '500': *95 + '500': *83 '400': *14 '401': *23 '402': @@ -106399,7 +106456,7 @@ paths: schema: *3 '403': *27 '404': *6 - '409': *92 + '409': *94 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -106428,7 +106485,7 @@ paths: schema: *286 examples: default: *474 - '500': *95 + '500': *83 '401': *23 '403': *27 '404': *6 @@ -106639,7 +106696,7 @@ paths: primary: true visibility: public headers: - Link: *37 + Link: *38 '304': *35 '404': *6 '403': *27 @@ -106823,7 +106880,7 @@ paths: examples: default: *285 headers: - Link: *37 + Link: *38 '304': *35 '403': *27 '401': *23 @@ -106856,7 +106913,7 @@ paths: examples: default: *285 headers: - Link: *37 + Link: *38 '304': *35 '403': *27 '401': *23 @@ -107144,7 +107201,7 @@ paths: revoked: false raw_key: string headers: - Link: *37 + Link: *38 '304': *35 '404': *6 '403': *27 @@ -107436,7 +107493,7 @@ paths: suspended_at: suspended_by: headers: - Link: *37 + Link: *38 '304': *35 '403': *27 '401': *23 @@ -107482,11 +107539,11 @@ paths: type: string repositories: type: array - items: *61 + items: *62 examples: default: *711 headers: - Link: *37 + Link: *38 '404': *6 '403': *27 '304': *35 @@ -107702,7 +107759,7 @@ paths: - updated - comments default: created - - *84 + - *86 - *137 - *17 - *19 @@ -107717,7 +107774,7 @@ paths: examples: default: *284 headers: - Link: *37 + Link: *38 '404': *6 '304': *35 x-github: @@ -107795,7 +107852,7 @@ paths: verified: false read_only: false headers: - Link: *37 + Link: *38 '304': *35 '404': *6 '403': *27 @@ -108057,7 +108114,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *37 + Link: *38 '304': *35 '401': *23 '404': *6 @@ -108090,7 +108147,7 @@ paths: examples: default: *715 headers: - Link: *37 + Link: *38 '304': *35 '401': *23 x-github: @@ -108205,7 +108262,7 @@ paths: type: User site_admin: false headers: - Link: *37 + Link: *38 '304': *35 '403': *27 '401': *23 @@ -108540,7 +108597,7 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *37 + Link: *38 '304': *35 '403': *27 '401': *23 @@ -109130,7 +109187,7 @@ paths: examples: default: *303 headers: - Link: *37 + Link: *38 '404': *6 x-github: githubCloudOnly: false @@ -109163,11 +109220,11 @@ paths: application/json: schema: type: array - items: *56 + items: *57 examples: default: *717 headers: - Link: *37 + Link: *38 '304': *35 '403': *27 '401': *23 @@ -109708,7 +109765,7 @@ paths: examples: default: *721 headers: - Link: *37 + Link: *38 '304': *35 '404': *6 '403': *27 @@ -109817,7 +109874,7 @@ paths: application/json: schema: type: array - items: *61 + items: *62 examples: default: &728 summary: Default response @@ -109940,7 +109997,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *37 + Link: *38 '422': *15 '304': *35 '403': *27 @@ -110181,7 +110238,7 @@ paths: examples: default: *722 headers: - Link: *37 + Link: *38 '304': *35 '404': *6 '403': *27 @@ -110207,7 +110264,7 @@ paths: '204': description: Response '403': *27 - '409': *92 + '409': *94 '404': *6 '304': *35 x-github: @@ -110229,7 +110286,7 @@ paths: responses: '204': description: Response - '409': *92 + '409': *94 '304': *35 '404': *6 '403': *27 @@ -110280,7 +110337,7 @@ paths: - provider: twitter url: https://twitter.com/github headers: - Link: *37 + Link: *38 '304': *35 '404': *6 '403': *27 @@ -110461,7 +110518,7 @@ paths: title: ssh-rsa AAAAB3NzaC1yc2EAAB created_at: '2020-07-11T21:31:57Z' headers: - Link: *37 + Link: *38 '304': *35 '404': *6 '403': *27 @@ -110627,7 +110684,7 @@ paths: - created - updated default: created - - *84 + - *86 - *17 - *19 responses: @@ -110637,7 +110694,7 @@ paths: application/json: schema: type: array - items: *61 + items: *62 examples: default-response: *728 application/vnd.github.v3.star+json: @@ -110651,7 +110708,7 @@ paths: starred_at: type: string format: date-time - repo: *61 + repo: *62 required: - starred_at - repo @@ -110779,7 +110836,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *37 + Link: *38 '304': *35 '403': *27 '401': *23 @@ -110891,7 +110948,7 @@ paths: examples: default: *303 headers: - Link: *37 + Link: *38 '304': *35 '403': *27 '401': *23 @@ -110977,7 +111034,7 @@ paths: updated_at: '2017-08-17T12:37:15Z' type: Organization headers: - Link: *37 + Link: *38 '304': *35 '404': *6 '403': *27 @@ -111187,8 +111244,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#list-attestations parameters: - *17 - - *82 - - *83 + - *84 + - *85 - *211 - name: subject_digest description: Subject Digest @@ -111565,7 +111622,7 @@ paths: examples: default: *285 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111596,7 +111653,7 @@ paths: examples: default: *285 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111655,7 +111712,7 @@ paths: examples: default: *139 headers: - Link: *37 + Link: *38 '422': *15 x-github: githubCloudOnly: false @@ -111688,7 +111745,7 @@ paths: examples: default: *732 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111836,7 +111893,7 @@ paths: - id: 1 key: ssh-rsa AAA... headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111866,11 +111923,11 @@ paths: application/json: schema: type: array - items: *56 + items: *57 examples: default: *717 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -112275,7 +112332,7 @@ paths: created_at: '2011-04-10T20:09:31Z' updated_at: '2014-03-03T18:58:10Z' headers: - Link: *37 + Link: *38 '422': *15 x-github: githubCloudOnly: false @@ -112524,7 +112581,7 @@ paths: examples: default: *303 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -112646,7 +112703,7 @@ paths: examples: default: *724 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -112678,7 +112735,7 @@ paths: examples: default: *734 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -112702,7 +112759,7 @@ paths: parameters: - *211 - *735 - - *84 + - *86 - *17 - *19 responses: @@ -112715,11 +112772,11 @@ paths: - type: array items: *736 - type: array - items: *61 + items: *62 examples: default-response: *728 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -112750,7 +112807,7 @@ paths: examples: default: *303 headers: - Link: *37 + Link: *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -230760,7 +230817,7 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *147 - parent_issue_repo: *61 + parent_issue_repo: *62 sub_issue_id: description: The ID of the sub-issue. type: number @@ -230852,7 +230909,7 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *147 - parent_issue_repo: *61 + parent_issue_repo: *62 sub_issue_id: description: The ID of the sub-issue. type: number @@ -230944,7 +231001,7 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *147 - sub_issue_repo: *61 + sub_issue_repo: *62 parent_issue_id: description: The ID of the parent issue. type: number @@ -231036,7 +231093,7 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *147 - sub_issue_repo: *61 + sub_issue_repo: *62 parent_issue_id: description: The ID of the parent issue. type: number diff --git a/descriptions-next/ghec/ghec.2022-11-28.json b/descriptions-next/ghec/ghec.2022-11-28.json index ab84cbb92f..2ce59a9ce5 100644 --- a/descriptions-next/ghec/ghec.2022-11-28.json +++ b/descriptions-next/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": [ @@ -2060,6 +2064,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", @@ -327924,6 +327993,16 @@ } } }, + "internal_error": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + } + }, "actions_runner_jitconfig": { "description": "Response", "content": { @@ -328022,16 +328101,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-next/ghec/ghec.2022-11-28.yaml b/descriptions-next/ghec/ghec.2022-11-28.yaml index 6633ceb23a..213b7040a7 100644 --- a/descriptions-next/ghec/ghec.2022-11-28.yaml +++ b/descriptions-next/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: @@ -1415,6 +1417,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 @@ -245181,6 +245241,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: @@ -245243,12 +245309,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-next/ghec/ghec.json b/descriptions-next/ghec/ghec.json index ab84cbb92f..2ce59a9ce5 100644 --- a/descriptions-next/ghec/ghec.json +++ b/descriptions-next/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": [ @@ -2060,6 +2064,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", @@ -327924,6 +327993,16 @@ } } }, + "internal_error": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + } + }, "actions_runner_jitconfig": { "description": "Response", "content": { @@ -328022,16 +328101,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-next/ghec/ghec.yaml b/descriptions-next/ghec/ghec.yaml index 6633ceb23a..213b7040a7 100644 --- a/descriptions-next/ghec/ghec.yaml +++ b/descriptions-next/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: @@ -1415,6 +1417,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 @@ -245181,6 +245241,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: @@ -245243,12 +245309,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: