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 a8fdf85a0a..a5f387ea78 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 @@ -19666,7 +19666,7 @@ "/orgs/{org}/private-registries": { "get": { "summary": "List private registries for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nLists all private registry configurations available at the organization-level without revealing their encrypted\nvalues.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "\nLists all private registry configurations available at the organization-level without revealing their encrypted\nvalues.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "private-registries" ], @@ -19738,7 +19738,7 @@ }, "post": { "summary": "Create a private registry for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nCreates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "\nCreates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "private-registries" ], @@ -19872,7 +19872,7 @@ "/orgs/{org}/private-registries/public-key": { "get": { "summary": "Get private registries public key for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets the org public key, which is needed to encrypt private registry secrets. You need to encrypt a secret before you can create or update secrets.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "\nGets the org public key, which is needed to encrypt private registry secrets. You need to encrypt a secret before you can create or update secrets.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "private-registries" ], @@ -19942,7 +19942,7 @@ "/orgs/{org}/private-registries/{secret_name}": { "get": { "summary": "Get a private registry for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGet the configuration of a single private registry defined for an organization, omitting its encrypted value.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "\nGet the configuration of a single private registry defined for an organization, omitting its encrypted value.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "private-registries" ], @@ -19988,7 +19988,7 @@ }, "patch": { "summary": "Update a private registry for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nUpdates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "\nUpdates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "private-registries" ], @@ -20085,7 +20085,7 @@ }, "delete": { "summary": "Delete a private registry for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nDelete a private registry configuration at the organization-level.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "\nDelete a private registry configuration at the organization-level.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "private-registries" ], @@ -35703,7 +35703,7 @@ "/repos/{owner}/{repo}/check-runs/{check_run_id}/rerequest": { "post": { "summary": "Rerequest a check run", - "description": "Triggers GitHub to rerequest an existing check run, without pushing new code to a repository. This endpoint will trigger the [`check_run` webhook](https://docs.github.com/webhooks/event-payloads/#check_run) event with the action `rerequested`. When a check run is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.\n\nFor more information about how to re-run GitHub Actions jobs, see \"[Re-run a job from a workflow run](https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run)\".\n\nOAuth apps and personal access tokens (classic) cannot use this endpoint.", + "description": "Triggers GitHub to rerequest an existing check run, without pushing new code to a repository. This endpoint will trigger the [`check_run` webhook](https://docs.github.com/webhooks/event-payloads/#check_run) event with the action `rerequested`. When a check run is `rerequested`, the `status` of the check suite it belongs to is reset to `queued` and the `conclusion` is cleared. The check run itself is not updated. GitHub apps recieving the [`check_run` webhook](https://docs.github.com/webhooks/event-payloads/#check_run) with the `rerequested` action should then decide if the check run should be reset or updated and call the [update `check_run` endpoint](https://docs.github.com/rest/checks/runs#update-a-check-run) to update the check_run if desired.\n\nFor more information about how to re-run GitHub Actions jobs, see \"[Re-run a job from a workflow run](https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run)\".\n\nOAuth apps and personal access tokens (classic) cannot use this endpoint.", "tags": [ "checks" ], @@ -278107,6 +278107,7 @@ "cookie": "https://github.githubassets.com/images/icons/emoji/unicode/1f36a.png?v8", "cool": "https://github.githubassets.com/images/icons/emoji/unicode/1f192.png?v8", "cop": "https://github.githubassets.com/images/icons/emoji/unicode/1f46e.png?v8", + "copilot": "https://github.githubassets.com/images/icons/emoji/copilot.png?v8", "copyright": "https://github.githubassets.com/images/icons/emoji/unicode/00a9.png?v8", "corn": "https://github.githubassets.com/images/icons/emoji/unicode/1f33d.png?v8", "costa_rica": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e8-1f1f7.png?v8", @@ -308383,7 +308384,7 @@ "secret-scanning-alert-secret-type": { "name": "secret_type", "in": "query", - "description": "A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token name(s) in the parameter. See \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)\" for a complete list of secret types.", + "description": "A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token name(s) in the parameter. See \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)\" for a complete list of secret types.", "required": false, "schema": { "type": "string" 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 d81627f57b..ea59dee60d 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 @@ -14251,9 +14251,7 @@ paths: "/orgs/{org}/private-registries": get: summary: List private registries for an organization - description: |- - > [!NOTE] - > This endpoint is in public preview and is subject to change. + description: |2- Lists all private registry configurations available at the organization-level without revealing their encrypted values. @@ -14303,9 +14301,7 @@ paths: subcategory: organization-configurations post: summary: Create a private registry for an organization - description: |- - > [!NOTE] - > This endpoint is in public preview and is subject to change. + description: |2- Creates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api)." @@ -14419,9 +14415,7 @@ paths: "/orgs/{org}/private-registries/public-key": get: summary: Get private registries public key for an organization - description: |- - > [!NOTE] - > This endpoint is in public preview and is subject to change. + description: |2- Gets the org public key, which is needed to encrypt private registry secrets. You need to encrypt a secret before you can create or update secrets. @@ -14471,9 +14465,7 @@ paths: "/orgs/{org}/private-registries/{secret_name}": get: summary: Get a private registry for an organization - description: |- - > [!NOTE] - > This endpoint is in public preview and is subject to change. + description: |2- Get the configuration of a single private registry defined for an organization, omitting its encrypted value. @@ -14506,9 +14498,7 @@ paths: subcategory: organization-configurations patch: summary: Update a private registry for an organization - description: |- - > [!NOTE] - > This endpoint is in public preview and is subject to change. + description: |2- Updates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api)." @@ -14589,9 +14579,7 @@ paths: subcategory: organization-configurations delete: summary: Delete a private registry for an organization - description: |- - > [!NOTE] - > This endpoint is in public preview and is subject to change. + description: |2- Delete a private registry configuration at the organization-level. @@ -25923,7 +25911,7 @@ paths: post: summary: Rerequest a check run description: |- - Triggers GitHub to rerequest an existing check run, without pushing new code to a repository. This endpoint will trigger the [`check_run` webhook](https://docs.github.com/webhooks/event-payloads/#check_run) event with the action `rerequested`. When a check run is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared. + Triggers GitHub to rerequest an existing check run, without pushing new code to a repository. This endpoint will trigger the [`check_run` webhook](https://docs.github.com/webhooks/event-payloads/#check_run) event with the action `rerequested`. When a check run is `rerequested`, the `status` of the check suite it belongs to is reset to `queued` and the `conclusion` is cleared. The check run itself is not updated. GitHub apps recieving the [`check_run` webhook](https://docs.github.com/webhooks/event-payloads/#check_run) with the `rerequested` action should then decide if the check run should be reset or updated and call the [update `check_run` endpoint](https://docs.github.com/rest/checks/runs#update-a-check-run) to update the check_run if desired. For more information about how to re-run GitHub Actions jobs, see "[Re-run a job from a workflow run](https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run)". @@ -204582,6 +204570,7 @@ components: cookie: https://github.githubassets.com/images/icons/emoji/unicode/1f36a.png?v8 cool: https://github.githubassets.com/images/icons/emoji/unicode/1f192.png?v8 cop: https://github.githubassets.com/images/icons/emoji/unicode/1f46e.png?v8 + copilot: https://github.githubassets.com/images/icons/emoji/copilot.png?v8 copyright: https://github.githubassets.com/images/icons/emoji/unicode/00a9.png?v8 corn: https://github.githubassets.com/images/icons/emoji/unicode/1f33d.png?v8 costa_rica: https://github.githubassets.com/images/icons/emoji/unicode/1f1e8-1f1f7.png?v8 @@ -230906,7 +230895,7 @@ components: in: query description: A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token name(s) - in the parameter. See "[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)" + in the parameter. See "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)" for a complete list of secret types. required: false schema: diff --git a/descriptions-next/api.github.com/api.github.com.json b/descriptions-next/api.github.com/api.github.com.json index a8fdf85a0a..a5f387ea78 100644 --- a/descriptions-next/api.github.com/api.github.com.json +++ b/descriptions-next/api.github.com/api.github.com.json @@ -19666,7 +19666,7 @@ "/orgs/{org}/private-registries": { "get": { "summary": "List private registries for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nLists all private registry configurations available at the organization-level without revealing their encrypted\nvalues.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "\nLists all private registry configurations available at the organization-level without revealing their encrypted\nvalues.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "private-registries" ], @@ -19738,7 +19738,7 @@ }, "post": { "summary": "Create a private registry for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nCreates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "\nCreates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "private-registries" ], @@ -19872,7 +19872,7 @@ "/orgs/{org}/private-registries/public-key": { "get": { "summary": "Get private registries public key for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets the org public key, which is needed to encrypt private registry secrets. You need to encrypt a secret before you can create or update secrets.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "\nGets the org public key, which is needed to encrypt private registry secrets. You need to encrypt a secret before you can create or update secrets.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "private-registries" ], @@ -19942,7 +19942,7 @@ "/orgs/{org}/private-registries/{secret_name}": { "get": { "summary": "Get a private registry for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGet the configuration of a single private registry defined for an organization, omitting its encrypted value.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "\nGet the configuration of a single private registry defined for an organization, omitting its encrypted value.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "private-registries" ], @@ -19988,7 +19988,7 @@ }, "patch": { "summary": "Update a private registry for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nUpdates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "\nUpdates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "private-registries" ], @@ -20085,7 +20085,7 @@ }, "delete": { "summary": "Delete a private registry for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nDelete a private registry configuration at the organization-level.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "\nDelete a private registry configuration at the organization-level.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "private-registries" ], @@ -35703,7 +35703,7 @@ "/repos/{owner}/{repo}/check-runs/{check_run_id}/rerequest": { "post": { "summary": "Rerequest a check run", - "description": "Triggers GitHub to rerequest an existing check run, without pushing new code to a repository. This endpoint will trigger the [`check_run` webhook](https://docs.github.com/webhooks/event-payloads/#check_run) event with the action `rerequested`. When a check run is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.\n\nFor more information about how to re-run GitHub Actions jobs, see \"[Re-run a job from a workflow run](https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run)\".\n\nOAuth apps and personal access tokens (classic) cannot use this endpoint.", + "description": "Triggers GitHub to rerequest an existing check run, without pushing new code to a repository. This endpoint will trigger the [`check_run` webhook](https://docs.github.com/webhooks/event-payloads/#check_run) event with the action `rerequested`. When a check run is `rerequested`, the `status` of the check suite it belongs to is reset to `queued` and the `conclusion` is cleared. The check run itself is not updated. GitHub apps recieving the [`check_run` webhook](https://docs.github.com/webhooks/event-payloads/#check_run) with the `rerequested` action should then decide if the check run should be reset or updated and call the [update `check_run` endpoint](https://docs.github.com/rest/checks/runs#update-a-check-run) to update the check_run if desired.\n\nFor more information about how to re-run GitHub Actions jobs, see \"[Re-run a job from a workflow run](https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run)\".\n\nOAuth apps and personal access tokens (classic) cannot use this endpoint.", "tags": [ "checks" ], @@ -278107,6 +278107,7 @@ "cookie": "https://github.githubassets.com/images/icons/emoji/unicode/1f36a.png?v8", "cool": "https://github.githubassets.com/images/icons/emoji/unicode/1f192.png?v8", "cop": "https://github.githubassets.com/images/icons/emoji/unicode/1f46e.png?v8", + "copilot": "https://github.githubassets.com/images/icons/emoji/copilot.png?v8", "copyright": "https://github.githubassets.com/images/icons/emoji/unicode/00a9.png?v8", "corn": "https://github.githubassets.com/images/icons/emoji/unicode/1f33d.png?v8", "costa_rica": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e8-1f1f7.png?v8", @@ -308383,7 +308384,7 @@ "secret-scanning-alert-secret-type": { "name": "secret_type", "in": "query", - "description": "A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token name(s) in the parameter. See \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)\" for a complete list of secret types.", + "description": "A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token name(s) in the parameter. See \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)\" for a complete list of secret types.", "required": false, "schema": { "type": "string" diff --git a/descriptions-next/api.github.com/api.github.com.yaml b/descriptions-next/api.github.com/api.github.com.yaml index d81627f57b..ea59dee60d 100644 --- a/descriptions-next/api.github.com/api.github.com.yaml +++ b/descriptions-next/api.github.com/api.github.com.yaml @@ -14251,9 +14251,7 @@ paths: "/orgs/{org}/private-registries": get: summary: List private registries for an organization - description: |- - > [!NOTE] - > This endpoint is in public preview and is subject to change. + description: |2- Lists all private registry configurations available at the organization-level without revealing their encrypted values. @@ -14303,9 +14301,7 @@ paths: subcategory: organization-configurations post: summary: Create a private registry for an organization - description: |- - > [!NOTE] - > This endpoint is in public preview and is subject to change. + description: |2- Creates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api)." @@ -14419,9 +14415,7 @@ paths: "/orgs/{org}/private-registries/public-key": get: summary: Get private registries public key for an organization - description: |- - > [!NOTE] - > This endpoint is in public preview and is subject to change. + description: |2- Gets the org public key, which is needed to encrypt private registry secrets. You need to encrypt a secret before you can create or update secrets. @@ -14471,9 +14465,7 @@ paths: "/orgs/{org}/private-registries/{secret_name}": get: summary: Get a private registry for an organization - description: |- - > [!NOTE] - > This endpoint is in public preview and is subject to change. + description: |2- Get the configuration of a single private registry defined for an organization, omitting its encrypted value. @@ -14506,9 +14498,7 @@ paths: subcategory: organization-configurations patch: summary: Update a private registry for an organization - description: |- - > [!NOTE] - > This endpoint is in public preview and is subject to change. + description: |2- Updates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api)." @@ -14589,9 +14579,7 @@ paths: subcategory: organization-configurations delete: summary: Delete a private registry for an organization - description: |- - > [!NOTE] - > This endpoint is in public preview and is subject to change. + description: |2- Delete a private registry configuration at the organization-level. @@ -25923,7 +25911,7 @@ paths: post: summary: Rerequest a check run description: |- - Triggers GitHub to rerequest an existing check run, without pushing new code to a repository. This endpoint will trigger the [`check_run` webhook](https://docs.github.com/webhooks/event-payloads/#check_run) event with the action `rerequested`. When a check run is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared. + Triggers GitHub to rerequest an existing check run, without pushing new code to a repository. This endpoint will trigger the [`check_run` webhook](https://docs.github.com/webhooks/event-payloads/#check_run) event with the action `rerequested`. When a check run is `rerequested`, the `status` of the check suite it belongs to is reset to `queued` and the `conclusion` is cleared. The check run itself is not updated. GitHub apps recieving the [`check_run` webhook](https://docs.github.com/webhooks/event-payloads/#check_run) with the `rerequested` action should then decide if the check run should be reset or updated and call the [update `check_run` endpoint](https://docs.github.com/rest/checks/runs#update-a-check-run) to update the check_run if desired. For more information about how to re-run GitHub Actions jobs, see "[Re-run a job from a workflow run](https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run)". @@ -204582,6 +204570,7 @@ components: cookie: https://github.githubassets.com/images/icons/emoji/unicode/1f36a.png?v8 cool: https://github.githubassets.com/images/icons/emoji/unicode/1f192.png?v8 cop: https://github.githubassets.com/images/icons/emoji/unicode/1f46e.png?v8 + copilot: https://github.githubassets.com/images/icons/emoji/copilot.png?v8 copyright: https://github.githubassets.com/images/icons/emoji/unicode/00a9.png?v8 corn: https://github.githubassets.com/images/icons/emoji/unicode/1f33d.png?v8 costa_rica: https://github.githubassets.com/images/icons/emoji/unicode/1f1e8-1f1f7.png?v8 @@ -230906,7 +230895,7 @@ components: in: query description: A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token name(s) - in the parameter. See "[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)" + in the parameter. See "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)" for a complete list of secret types. required: false schema: 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 de105b078d..a2fa445b27 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 @@ -16576,6 +16576,7 @@ "cookie": "https://github.githubassets.com/images/icons/emoji/unicode/1f36a.png?v8", "cool": "https://github.githubassets.com/images/icons/emoji/unicode/1f192.png?v8", "cop": "https://github.githubassets.com/images/icons/emoji/unicode/1f46e.png?v8", + "copilot": "https://github.githubassets.com/images/icons/emoji/copilot.png?v8", "copyright": "https://github.githubassets.com/images/icons/emoji/unicode/00a9.png?v8", "corn": "https://github.githubassets.com/images/icons/emoji/unicode/1f33d.png?v8", "costa_rica": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e8-1f1f7.png?v8", @@ -24230,7 +24231,7 @@ { "name": "secret_type", "in": "query", - "description": "A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token name(s) in the parameter. See \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)\" for a complete list of secret types.", + "description": "A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token name(s) in the parameter. See \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)\" for a complete list of secret types.", "required": false, "schema": { "type": "string" @@ -135475,7 +135476,7 @@ "/orgs/{org}/private-registries": { "get": { "summary": "List private registries for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nLists all private registry configurations available at the organization-level without revealing their encrypted\nvalues.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "\nLists all private registry configurations available at the organization-level without revealing their encrypted\nvalues.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "private-registries" ], @@ -135720,7 +135721,7 @@ }, "post": { "summary": "Create a private registry for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nCreates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "\nCreates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "private-registries" ], @@ -136029,7 +136030,7 @@ "/orgs/{org}/private-registries/public-key": { "get": { "summary": "Get private registries public key for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets the org public key, which is needed to encrypt private registry secrets. You need to encrypt a secret before you can create or update secrets.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "\nGets the org public key, which is needed to encrypt private registry secrets. You need to encrypt a secret before you can create or update secrets.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "private-registries" ], @@ -136134,7 +136135,7 @@ "/orgs/{org}/private-registries/{secret_name}": { "get": { "summary": "Get a private registry for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGet the configuration of a single private registry defined for an organization, omitting its encrypted value.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "\nGet the configuration of a single private registry defined for an organization, omitting its encrypted value.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "private-registries" ], @@ -136274,7 +136275,7 @@ }, "patch": { "summary": "Update a private registry for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nUpdates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "\nUpdates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "private-registries" ], @@ -136478,7 +136479,7 @@ }, "delete": { "summary": "Delete a private registry for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nDelete a private registry configuration at the organization-level.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "\nDelete a private registry configuration at the organization-level.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "private-registries" ], @@ -154822,7 +154823,7 @@ { "name": "secret_type", "in": "query", - "description": "A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token name(s) in the parameter. See \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)\" for a complete list of secret types.", + "description": "A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token name(s) in the parameter. See \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)\" for a complete list of secret types.", "required": false, "schema": { "type": "string" @@ -249321,7 +249322,7 @@ "/repos/{owner}/{repo}/check-runs/{check_run_id}/rerequest": { "post": { "summary": "Rerequest a check run", - "description": "Triggers GitHub to rerequest an existing check run, without pushing new code to a repository. This endpoint will trigger the [`check_run` webhook](https://docs.github.com/webhooks/event-payloads/#check_run) event with the action `rerequested`. When a check run is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.\n\nFor more information about how to re-run GitHub Actions jobs, see \"[Re-run a job from a workflow run](https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run)\".\n\nOAuth apps and personal access tokens (classic) cannot use this endpoint.", + "description": "Triggers GitHub to rerequest an existing check run, without pushing new code to a repository. This endpoint will trigger the [`check_run` webhook](https://docs.github.com/webhooks/event-payloads/#check_run) event with the action `rerequested`. When a check run is `rerequested`, the `status` of the check suite it belongs to is reset to `queued` and the `conclusion` is cleared. The check run itself is not updated. GitHub apps recieving the [`check_run` webhook](https://docs.github.com/webhooks/event-payloads/#check_run) with the `rerequested` action should then decide if the check run should be reset or updated and call the [update `check_run` endpoint](https://docs.github.com/rest/checks/runs#update-a-check-run) to update the check_run if desired.\n\nFor more information about how to re-run GitHub Actions jobs, see \"[Re-run a job from a workflow run](https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run)\".\n\nOAuth apps and personal access tokens (classic) cannot use this endpoint.", "tags": [ "checks" ], @@ -493869,7 +493870,7 @@ { "name": "secret_type", "in": "query", - "description": "A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token name(s) in the parameter. See \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)\" for a complete list of secret types.", + "description": "A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token name(s) in the parameter. See \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)\" for a complete list of secret types.", "required": false, "schema": { "type": "string" 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 13e0ee2c2c..d179052fc0 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 @@ -5739,6 +5739,7 @@ paths: cookie: https://github.githubassets.com/images/icons/emoji/unicode/1f36a.png?v8 cool: https://github.githubassets.com/images/icons/emoji/unicode/1f192.png?v8 cop: https://github.githubassets.com/images/icons/emoji/unicode/1f46e.png?v8 + copilot: https://github.githubassets.com/images/icons/emoji/copilot.png?v8 copyright: https://github.githubassets.com/images/icons/emoji/unicode/00a9.png?v8 corn: https://github.githubassets.com/images/icons/emoji/unicode/1f33d.png?v8 costa_rica: https://github.githubassets.com/images/icons/emoji/unicode/1f1e8-1f1f7.png?v8 @@ -9620,7 +9621,7 @@ paths: in: query description: A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token - name(s) in the parameter. See "[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)" + name(s) in the parameter. See "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)" for a complete list of secret types. required: false schema: @@ -32491,9 +32492,7 @@ paths: "/orgs/{org}/private-registries": get: summary: List private registries for an organization - description: |- - > [!NOTE] - > This endpoint is in public preview and is subject to change. + description: |2- Lists all private registry configurations available at the organization-level without revealing their encrypted values. @@ -32589,9 +32588,7 @@ paths: subcategory: organization-configurations post: summary: Create a private registry for an organization - description: |- - > [!NOTE] - > This endpoint is in public preview and is subject to change. + description: |2- Creates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api)." @@ -32765,9 +32762,7 @@ paths: "/orgs/{org}/private-registries/public-key": get: summary: Get private registries public key for an organization - description: |- - > [!NOTE] - > This endpoint is in public preview and is subject to change. + description: |2- Gets the org public key, which is needed to encrypt private registry secrets. You need to encrypt a secret before you can create or update secrets. @@ -32817,9 +32812,7 @@ paths: "/orgs/{org}/private-registries/{secret_name}": get: summary: Get a private registry for an organization - description: |- - > [!NOTE] - > This endpoint is in public preview and is subject to change. + description: |2- Get the configuration of a single private registry defined for an organization, omitting its encrypted value. @@ -32849,9 +32842,7 @@ paths: subcategory: organization-configurations patch: summary: Update a private registry for an organization - description: |- - > [!NOTE] - > This endpoint is in public preview and is subject to change. + description: |2- Updates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api)." @@ -32930,9 +32921,7 @@ paths: subcategory: organization-configurations delete: summary: Delete a private registry for an organization - description: |- - > [!NOTE] - > This endpoint is in public preview and is subject to change. + description: |2- Delete a private registry configuration at the organization-level. @@ -54812,7 +54801,7 @@ paths: post: summary: Rerequest a check run description: |- - Triggers GitHub to rerequest an existing check run, without pushing new code to a repository. This endpoint will trigger the [`check_run` webhook](https://docs.github.com/webhooks/event-payloads/#check_run) event with the action `rerequested`. When a check run is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared. + Triggers GitHub to rerequest an existing check run, without pushing new code to a repository. This endpoint will trigger the [`check_run` webhook](https://docs.github.com/webhooks/event-payloads/#check_run) event with the action `rerequested`. When a check run is `rerequested`, the `status` of the check suite it belongs to is reset to `queued` and the `conclusion` is cleared. The check run itself is not updated. GitHub apps recieving the [`check_run` webhook](https://docs.github.com/webhooks/event-payloads/#check_run) with the `rerequested` action should then decide if the check run should be reset or updated and call the [update `check_run` endpoint](https://docs.github.com/rest/checks/runs#update-a-check-run) to update the check_run if desired. For more information about how to re-run GitHub Actions jobs, see "[Re-run a job from a workflow run](https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run)". 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 de105b078d..a2fa445b27 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 @@ -16576,6 +16576,7 @@ "cookie": "https://github.githubassets.com/images/icons/emoji/unicode/1f36a.png?v8", "cool": "https://github.githubassets.com/images/icons/emoji/unicode/1f192.png?v8", "cop": "https://github.githubassets.com/images/icons/emoji/unicode/1f46e.png?v8", + "copilot": "https://github.githubassets.com/images/icons/emoji/copilot.png?v8", "copyright": "https://github.githubassets.com/images/icons/emoji/unicode/00a9.png?v8", "corn": "https://github.githubassets.com/images/icons/emoji/unicode/1f33d.png?v8", "costa_rica": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e8-1f1f7.png?v8", @@ -24230,7 +24231,7 @@ { "name": "secret_type", "in": "query", - "description": "A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token name(s) in the parameter. See \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)\" for a complete list of secret types.", + "description": "A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token name(s) in the parameter. See \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)\" for a complete list of secret types.", "required": false, "schema": { "type": "string" @@ -135475,7 +135476,7 @@ "/orgs/{org}/private-registries": { "get": { "summary": "List private registries for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nLists all private registry configurations available at the organization-level without revealing their encrypted\nvalues.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "\nLists all private registry configurations available at the organization-level without revealing their encrypted\nvalues.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "private-registries" ], @@ -135720,7 +135721,7 @@ }, "post": { "summary": "Create a private registry for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nCreates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "\nCreates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "private-registries" ], @@ -136029,7 +136030,7 @@ "/orgs/{org}/private-registries/public-key": { "get": { "summary": "Get private registries public key for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets the org public key, which is needed to encrypt private registry secrets. You need to encrypt a secret before you can create or update secrets.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "\nGets the org public key, which is needed to encrypt private registry secrets. You need to encrypt a secret before you can create or update secrets.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "private-registries" ], @@ -136134,7 +136135,7 @@ "/orgs/{org}/private-registries/{secret_name}": { "get": { "summary": "Get a private registry for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGet the configuration of a single private registry defined for an organization, omitting its encrypted value.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "\nGet the configuration of a single private registry defined for an organization, omitting its encrypted value.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "private-registries" ], @@ -136274,7 +136275,7 @@ }, "patch": { "summary": "Update a private registry for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nUpdates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "\nUpdates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "private-registries" ], @@ -136478,7 +136479,7 @@ }, "delete": { "summary": "Delete a private registry for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nDelete a private registry configuration at the organization-level.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "\nDelete a private registry configuration at the organization-level.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "private-registries" ], @@ -154822,7 +154823,7 @@ { "name": "secret_type", "in": "query", - "description": "A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token name(s) in the parameter. See \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)\" for a complete list of secret types.", + "description": "A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token name(s) in the parameter. See \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)\" for a complete list of secret types.", "required": false, "schema": { "type": "string" @@ -249321,7 +249322,7 @@ "/repos/{owner}/{repo}/check-runs/{check_run_id}/rerequest": { "post": { "summary": "Rerequest a check run", - "description": "Triggers GitHub to rerequest an existing check run, without pushing new code to a repository. This endpoint will trigger the [`check_run` webhook](https://docs.github.com/webhooks/event-payloads/#check_run) event with the action `rerequested`. When a check run is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.\n\nFor more information about how to re-run GitHub Actions jobs, see \"[Re-run a job from a workflow run](https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run)\".\n\nOAuth apps and personal access tokens (classic) cannot use this endpoint.", + "description": "Triggers GitHub to rerequest an existing check run, without pushing new code to a repository. This endpoint will trigger the [`check_run` webhook](https://docs.github.com/webhooks/event-payloads/#check_run) event with the action `rerequested`. When a check run is `rerequested`, the `status` of the check suite it belongs to is reset to `queued` and the `conclusion` is cleared. The check run itself is not updated. GitHub apps recieving the [`check_run` webhook](https://docs.github.com/webhooks/event-payloads/#check_run) with the `rerequested` action should then decide if the check run should be reset or updated and call the [update `check_run` endpoint](https://docs.github.com/rest/checks/runs#update-a-check-run) to update the check_run if desired.\n\nFor more information about how to re-run GitHub Actions jobs, see \"[Re-run a job from a workflow run](https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run)\".\n\nOAuth apps and personal access tokens (classic) cannot use this endpoint.", "tags": [ "checks" ], @@ -493869,7 +493870,7 @@ { "name": "secret_type", "in": "query", - "description": "A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token name(s) in the parameter. See \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)\" for a complete list of secret types.", + "description": "A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token name(s) in the parameter. See \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)\" for a complete list of secret types.", "required": false, "schema": { "type": "string" 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 13e0ee2c2c..d179052fc0 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 @@ -5739,6 +5739,7 @@ paths: cookie: https://github.githubassets.com/images/icons/emoji/unicode/1f36a.png?v8 cool: https://github.githubassets.com/images/icons/emoji/unicode/1f192.png?v8 cop: https://github.githubassets.com/images/icons/emoji/unicode/1f46e.png?v8 + copilot: https://github.githubassets.com/images/icons/emoji/copilot.png?v8 copyright: https://github.githubassets.com/images/icons/emoji/unicode/00a9.png?v8 corn: https://github.githubassets.com/images/icons/emoji/unicode/1f33d.png?v8 costa_rica: https://github.githubassets.com/images/icons/emoji/unicode/1f1e8-1f1f7.png?v8 @@ -9620,7 +9621,7 @@ paths: in: query description: A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token - name(s) in the parameter. See "[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)" + name(s) in the parameter. See "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)" for a complete list of secret types. required: false schema: @@ -32491,9 +32492,7 @@ paths: "/orgs/{org}/private-registries": get: summary: List private registries for an organization - description: |- - > [!NOTE] - > This endpoint is in public preview and is subject to change. + description: |2- Lists all private registry configurations available at the organization-level without revealing their encrypted values. @@ -32589,9 +32588,7 @@ paths: subcategory: organization-configurations post: summary: Create a private registry for an organization - description: |- - > [!NOTE] - > This endpoint is in public preview and is subject to change. + description: |2- Creates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api)." @@ -32765,9 +32762,7 @@ paths: "/orgs/{org}/private-registries/public-key": get: summary: Get private registries public key for an organization - description: |- - > [!NOTE] - > This endpoint is in public preview and is subject to change. + description: |2- Gets the org public key, which is needed to encrypt private registry secrets. You need to encrypt a secret before you can create or update secrets. @@ -32817,9 +32812,7 @@ paths: "/orgs/{org}/private-registries/{secret_name}": get: summary: Get a private registry for an organization - description: |- - > [!NOTE] - > This endpoint is in public preview and is subject to change. + description: |2- Get the configuration of a single private registry defined for an organization, omitting its encrypted value. @@ -32849,9 +32842,7 @@ paths: subcategory: organization-configurations patch: summary: Update a private registry for an organization - description: |- - > [!NOTE] - > This endpoint is in public preview and is subject to change. + description: |2- Updates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api)." @@ -32930,9 +32921,7 @@ paths: subcategory: organization-configurations delete: summary: Delete a private registry for an organization - description: |- - > [!NOTE] - > This endpoint is in public preview and is subject to change. + description: |2- Delete a private registry configuration at the organization-level. @@ -54812,7 +54801,7 @@ paths: post: summary: Rerequest a check run description: |- - Triggers GitHub to rerequest an existing check run, without pushing new code to a repository. This endpoint will trigger the [`check_run` webhook](https://docs.github.com/webhooks/event-payloads/#check_run) event with the action `rerequested`. When a check run is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared. + Triggers GitHub to rerequest an existing check run, without pushing new code to a repository. This endpoint will trigger the [`check_run` webhook](https://docs.github.com/webhooks/event-payloads/#check_run) event with the action `rerequested`. When a check run is `rerequested`, the `status` of the check suite it belongs to is reset to `queued` and the `conclusion` is cleared. The check run itself is not updated. GitHub apps recieving the [`check_run` webhook](https://docs.github.com/webhooks/event-payloads/#check_run) with the `rerequested` action should then decide if the check run should be reset or updated and call the [update `check_run` endpoint](https://docs.github.com/rest/checks/runs#update-a-check-run) to update the check_run if desired. For more information about how to re-run GitHub Actions jobs, see "[Re-run a job from a workflow run](https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run)". 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 06254462c1..03b611c6bd 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -16592,6 +16592,7 @@ "cookie": "https://github.githubassets.com/images/icons/emoji/unicode/1f36a.png?v8", "cool": "https://github.githubassets.com/images/icons/emoji/unicode/1f192.png?v8", "cop": "https://github.githubassets.com/images/icons/emoji/unicode/1f46e.png?v8", + "copilot": "https://github.githubassets.com/images/icons/emoji/copilot.png?v8", "copyright": "https://github.githubassets.com/images/icons/emoji/unicode/00a9.png?v8", "corn": "https://github.githubassets.com/images/icons/emoji/unicode/1f33d.png?v8", "costa_rica": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e8-1f1f7.png?v8", @@ -48856,7 +48857,7 @@ { "name": "secret_type", "in": "query", - "description": "A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token name(s) in the parameter. See \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest//enterprise-cloud@latest/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)\" for a complete list of secret types.", + "description": "A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token name(s) in the parameter. See \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)\" for a complete list of secret types.", "required": false, "schema": { "type": "string" @@ -51103,7 +51104,7 @@ "/enterprises/{enterprise}/settings/billing/cost-centers/{cost_center_id}/resource": { "post": { "summary": "Add users to a cost center", - "description": "Adds users, orgs, or repos to a cost center.\n\nThe usage for the users will be charged to the cost center's budget. The authenticated user must be an enterprise admin in order to use this endpoint.", + "description": "Adds users to a cost center.\n\nThe usage for the users will be charged to the cost center's budget. The authenticated user must be an enterprise admin in order to use this endpoint.", "tags": [ "billing" ], @@ -51145,20 +51146,6 @@ "items": { "type": "string" } - }, - "organizations": { - "description": "The organizations to add to the cost center.", - "type": "array", - "items": { - "type": "string" - } - }, - "repositories": { - "description": "The repositories to add to the cost center.", - "type": "array", - "items": { - "type": "string" - } } }, "minProperties": 1 @@ -51419,9 +51406,7 @@ } } }, - "required": [ - "users" - ] + "minProperties": 1 }, "examples": { "default": { @@ -127230,6 +127215,477 @@ } } }, + "/orgs/{org}/dismissal-requests/secret-scanning": { + "get": { + "summary": "List alert dismissal requests for secret scanning for an org", + "description": "Lists requests to dismiss secret scanning alerts in an org.\n\nDelegated alert dismissal must be enabled on repositories in the org and the user must be an org admin, security manager,\nor have the \"Review and manage secret scanning alert dismissal requests\" permission to access this endpoint.", + "tags": [ + "secret-scanning" + ], + "operationId": "secret-scanning/list-org-dismissal-requests", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/alert-dismissal-requests#list-alert-dismissal-requests-for-secret-scanning-for-an-org" + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "secret-scanning", + "subcategory": "alert-dismissal-requests" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repository_name", + "description": "The name of the repository to filter on.", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "reviewer", + "description": "Filter bypass requests by the handle of the GitHub user who reviewed the bypass request.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "requester", + "description": "Filter bypass requests by the handle of the GitHub user who requested the bypass.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "time_period", + "description": "The time period to filter by.\n\nFor example, `day` will filter for rule suites that occurred in the past 24 hours, and `week` will filter for insights that occurred in the past 7 days (168 hours).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "hour", + "day", + "week", + "month" + ], + "default": "day" + } + }, + { + "name": "request_status", + "description": "The status of the dismissal request to filter on. When specified, only requests with this status will be returned.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "completed", + "cancelled", + "approved", + "expired", + "denied", + "open", + "all" + ], + "default": "all" + } + }, + { + "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).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "The page number of the results to fetch. 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).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + } + ], + "responses": { + "200": { + "description": "A list of the alert dismissal requests.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Secret scanning alert dismissal request", + "description": "A dismissal request made by a user asking to close a secret scanning alert in this repository.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the dismissal request." + }, + "number": { + "type": "integer", + "description": "The number uniquely identifying the dismissal request within its repository." + }, + "repository": { + "type": "object", + "description": "The repository the dismissal request is for.", + "properties": { + "id": { + "type": "integer", + "description": "The ID of the repository the dismissal request is for." + }, + "name": { + "type": "string", + "description": "The name of the repository the dismissal request is for." + }, + "full_name": { + "type": "string", + "description": "The full name of the repository the dismissal request is for." + } + } + }, + "organization": { + "type": "object", + "description": "The organization associated with the repository the dismissal request is for.", + "properties": { + "id": { + "type": "integer", + "description": "The ID of the organization." + }, + "name": { + "type": "string", + "description": "The name of the organization." + } + } + }, + "requester": { + "type": "object", + "description": "The user who requested the dismissal.", + "properties": { + "actor_id": { + "type": "integer", + "description": "The ID of the GitHub user who requested the dismissal." + }, + "actor_name": { + "type": "string", + "description": "The name of the GitHub user who requested the dismissal." + } + } + }, + "request_type": { + "type": "string", + "description": "The type of request." + }, + "data": { + "type": [ + "array", + "null" + ], + "description": "Data describing the secret alert that is being requested to be dismissed.", + "items": { + "type": "object", + "properties": { + "secret_type": { + "type": "string", + "description": "The type of secret that secret scanning detected." + }, + "alert_number": { + "type": "string", + "description": "The number of the secret scanning alert that was detected." + } + } + } + }, + "resource_identifier": { + "type": "string", + "description": "The number of the secret scanning alert that was detected.", + "examples": [ + 1234 + ] + }, + "status": { + "type": "string", + "description": "The status of the dismissal request.", + "enum": [ + "pending", + "denied", + "approved", + "cancelled", + "expired" + ] + }, + "requester_comment": { + "type": [ + "string", + "null" + ], + "description": "The comment the requester provided when creating the dismissal request." + }, + "expires_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the dismissal request will expire." + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the dismissal request was created." + }, + "responses": { + "type": [ + "array", + "null" + ], + "description": "The responses to the dismissal request.", + "items": { + "title": "Bypass response", + "description": "A response made by a delegated bypasser to a bypass request.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "The ID of the response to the bypass request." + }, + "reviewer": { + "type": "object", + "description": "The user who reviewed the bypass request.", + "properties": { + "actor_id": { + "type": "integer", + "description": "The ID of the GitHub user who reviewed the bypass request." + }, + "actor_name": { + "type": "string", + "description": "The name of the GitHub user who reviewed the bypass request." + } + } + }, + "status": { + "type": "string", + "description": "The response status to the bypass request until dismissed.", + "enum": [ + "approved", + "denied", + "dismissed" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the response to the bypass request was created." + } + } + } + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octo-org/smile/dismissal-requests/secret-scanning/1" + ] + }, + "html_url": { + "type": "string", + "description": "The URL to view the dismissal request in a browser.", + "format": "uri", + "examples": [ + "https://github.com/octo-org/smile/security/secret-scanning/17" + ] + } + } + } + }, + "examples": { + "default": { + "value": [ + { + "id": 21, + "number": 42, + "repository": { + "id": 1, + "name": "smile", + "full_name": "octo-org/smile" + }, + "organization": { + "id": 1, + "name": "octo-org" + }, + "requester": { + "actor_id": 12, + "actor_name": "monalisa" + }, + "request_type": "secret_scanning_closure", + "data": [ + { + "secret_type": "adafruit_io_key", + "alert_number": 17 + } + ], + "resource_identifier": 17, + "status": "denied", + "requester_comment": "Test token used in the readme as an example", + "expires_at": "2024-07-08T08:43:03Z", + "created_at": "2024-07-01T08:43:03Z", + "responses": [ + { + "id": 42, + "reviewer": { + "actor_id": 4, + "actor_name": "octocat" + }, + "status": "denied", + "created_at": "2024-07-02T08:43:04Z" + } + ], + "url": "https://api.github.com/repos/octo-org/smile/dismissal-requests/secret-scanning/21", + "html_url": "https://github.com/octo-org/smile/security/secret-scanning/17" + }, + { + "id": 22, + "number": 43, + "repository": { + "id": 1, + "name": "smile", + "full_name": "octo-org/smile" + }, + "organization": { + "id": 1, + "name": "octo-org" + }, + "requester": { + "actor_id": 12, + "actor_name": "monalisa" + }, + "request_type": "secret_scanning_closure", + "data": [ + { + "secret_type": "adafruit_io_key", + "alert_number": 19 + } + ], + "resource_identifier": 19, + "status": "denied", + "requester_comment": "Test token used in the readme as an example", + "expires_at": "2024-07-08T08:43:03Z", + "created_at": "2024-07-01T08:43:03Z", + "responses": [ + { + "id": 46, + "reviewer": { + "actor_id": 4, + "actor_name": "octocat" + }, + "status": "approved", + "created_at": "2024-07-02T08:43:04Z" + } + ], + "url": "https://api.github.com/repos/octo-org/smile/dismissal-requests/secret-scanning/22", + "html_url": "https://github.com/octo-org/smile/security/secret-scanning/19" + } + ] + } + } + } + } + }, + "404": { + "description": "Resource not found", + "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" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "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" + } + } + } + } + } + }, + "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" + } + } + } + } + } + } + } + } + }, "/orgs/{org}/docker/conflicts": { "get": { "summary": "Get list of conflicting packages during Docker migration for organization", @@ -169351,7 +169807,7 @@ "/orgs/{org}/private-registries": { "get": { "summary": "List private registries for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nLists all private registry configurations available at the organization-level without revealing their encrypted\nvalues.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "\nLists all private registry configurations available at the organization-level without revealing their encrypted\nvalues.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "private-registries" ], @@ -169596,7 +170052,7 @@ }, "post": { "summary": "Create a private registry for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nCreates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/enterprise-cloud@latest//rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "\nCreates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/enterprise-cloud@latest//rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "private-registries" ], @@ -169905,7 +170361,7 @@ "/orgs/{org}/private-registries/public-key": { "get": { "summary": "Get private registries public key for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets the org public key, which is needed to encrypt private registry secrets. You need to encrypt a secret before you can create or update secrets.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "\nGets the org public key, which is needed to encrypt private registry secrets. You need to encrypt a secret before you can create or update secrets.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "private-registries" ], @@ -170010,7 +170466,7 @@ "/orgs/{org}/private-registries/{secret_name}": { "get": { "summary": "Get a private registry for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGet the configuration of a single private registry defined for an organization, omitting its encrypted value.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "\nGet the configuration of a single private registry defined for an organization, omitting its encrypted value.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "private-registries" ], @@ -170150,7 +170606,7 @@ }, "patch": { "summary": "Update a private registry for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nUpdates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/enterprise-cloud@latest//rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "\nUpdates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/enterprise-cloud@latest//rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "private-registries" ], @@ -170354,7 +170810,7 @@ }, "delete": { "summary": "Delete a private registry for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nDelete a private registry configuration at the organization-level.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "\nDelete a private registry configuration at the organization-level.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "private-registries" ], @@ -188806,7 +189262,7 @@ { "name": "secret_type", "in": "query", - "description": "A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token name(s) in the parameter. See \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest//enterprise-cloud@latest/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)\" for a complete list of secret types.", + "description": "A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token name(s) in the parameter. See \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)\" for a complete list of secret types.", "required": false, "schema": { "type": "string" @@ -286724,7 +287180,7 @@ "/repos/{owner}/{repo}/check-runs/{check_run_id}/rerequest": { "post": { "summary": "Rerequest a check run", - "description": "Triggers GitHub to rerequest an existing check run, without pushing new code to a repository. This endpoint will trigger the [`check_run` webhook](https://docs.github.com/enterprise-cloud@latest//webhooks/event-payloads/#check_run) event with the action `rerequested`. When a check run is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.\n\nFor more information about how to re-run GitHub Actions jobs, see \"[Re-run a job from a workflow run](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run)\".\n\nOAuth apps and personal access tokens (classic) cannot use this endpoint.", + "description": "Triggers GitHub to rerequest an existing check run, without pushing new code to a repository. This endpoint will trigger the [`check_run` webhook](https://docs.github.com/enterprise-cloud@latest//webhooks/event-payloads/#check_run) event with the action `rerequested`. When a check run is `rerequested`, the `status` of the check suite it belongs to is reset to `queued` and the `conclusion` is cleared. The check run itself is not updated. GitHub apps recieving the [`check_run` webhook](https://docs.github.com/enterprise-cloud@latest//webhooks/event-payloads/#check_run) with the `rerequested` action should then decide if the check run should be reset or updated and call the [update `check_run` endpoint](https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run) to update the check_run if desired.\n\nFor more information about how to re-run GitHub Actions jobs, see \"[Re-run a job from a workflow run](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run)\".\n\nOAuth apps and personal access tokens (classic) cannot use this endpoint.", "tags": [ "checks" ], @@ -349034,6 +349490,1102 @@ } } }, + "/repos/{owner}/{repo}/dismissal-requests/secret-scanning": { + "get": { + "summary": "List alert dismissal requests for secret scanning for a repository", + "description": "Lists requests to dismiss secret scanning alerts in a repository.\n\nDelegated alert dismissal must be enabled on the repository and the user must be an org admin, security manager,\nor have the \"Review and manage secret scanning alert dismissal requests\" permission to access this endpoint.", + "tags": [ + "secret-scanning" + ], + "operationId": "secret-scanning/list-repo-dismissal-requests", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/alert-dismissal-requests#list-alert-dismissal-requests-for-secret-scanning-for-a-repository" + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "secret-scanning", + "subcategory": "alert-dismissal-requests" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "reviewer", + "description": "Filter bypass requests by the handle of the GitHub user who reviewed the bypass request.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "requester", + "description": "Filter bypass requests by the handle of the GitHub user who requested the bypass.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "time_period", + "description": "The time period to filter by.\n\nFor example, `day` will filter for rule suites that occurred in the past 24 hours, and `week` will filter for insights that occurred in the past 7 days (168 hours).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "hour", + "day", + "week", + "month" + ], + "default": "day" + } + }, + { + "name": "request_status", + "description": "The status of the dismissal request to filter on. When specified, only requests with this status will be returned.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "completed", + "cancelled", + "approved", + "expired", + "denied", + "open", + "all" + ], + "default": "all" + } + }, + { + "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).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "The page number of the results to fetch. 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).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + } + ], + "responses": { + "200": { + "description": "A list of the alert dismissal requests.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Secret scanning alert dismissal request", + "description": "A dismissal request made by a user asking to close a secret scanning alert in this repository.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the dismissal request." + }, + "number": { + "type": "integer", + "description": "The number uniquely identifying the dismissal request within its repository." + }, + "repository": { + "type": "object", + "description": "The repository the dismissal request is for.", + "properties": { + "id": { + "type": "integer", + "description": "The ID of the repository the dismissal request is for." + }, + "name": { + "type": "string", + "description": "The name of the repository the dismissal request is for." + }, + "full_name": { + "type": "string", + "description": "The full name of the repository the dismissal request is for." + } + } + }, + "organization": { + "type": "object", + "description": "The organization associated with the repository the dismissal request is for.", + "properties": { + "id": { + "type": "integer", + "description": "The ID of the organization." + }, + "name": { + "type": "string", + "description": "The name of the organization." + } + } + }, + "requester": { + "type": "object", + "description": "The user who requested the dismissal.", + "properties": { + "actor_id": { + "type": "integer", + "description": "The ID of the GitHub user who requested the dismissal." + }, + "actor_name": { + "type": "string", + "description": "The name of the GitHub user who requested the dismissal." + } + } + }, + "request_type": { + "type": "string", + "description": "The type of request." + }, + "data": { + "type": [ + "array", + "null" + ], + "description": "Data describing the secret alert that is being requested to be dismissed.", + "items": { + "type": "object", + "properties": { + "secret_type": { + "type": "string", + "description": "The type of secret that secret scanning detected." + }, + "alert_number": { + "type": "string", + "description": "The number of the secret scanning alert that was detected." + } + } + } + }, + "resource_identifier": { + "type": "string", + "description": "The number of the secret scanning alert that was detected.", + "examples": [ + 1234 + ] + }, + "status": { + "type": "string", + "description": "The status of the dismissal request.", + "enum": [ + "pending", + "denied", + "approved", + "cancelled", + "expired" + ] + }, + "requester_comment": { + "type": [ + "string", + "null" + ], + "description": "The comment the requester provided when creating the dismissal request." + }, + "expires_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the dismissal request will expire." + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the dismissal request was created." + }, + "responses": { + "type": [ + "array", + "null" + ], + "description": "The responses to the dismissal request.", + "items": { + "title": "Bypass response", + "description": "A response made by a delegated bypasser to a bypass request.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "The ID of the response to the bypass request." + }, + "reviewer": { + "type": "object", + "description": "The user who reviewed the bypass request.", + "properties": { + "actor_id": { + "type": "integer", + "description": "The ID of the GitHub user who reviewed the bypass request." + }, + "actor_name": { + "type": "string", + "description": "The name of the GitHub user who reviewed the bypass request." + } + } + }, + "status": { + "type": "string", + "description": "The response status to the bypass request until dismissed.", + "enum": [ + "approved", + "denied", + "dismissed" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the response to the bypass request was created." + } + } + } + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octo-org/smile/dismissal-requests/secret-scanning/1" + ] + }, + "html_url": { + "type": "string", + "description": "The URL to view the dismissal request in a browser.", + "format": "uri", + "examples": [ + "https://github.com/octo-org/smile/security/secret-scanning/17" + ] + } + } + } + }, + "examples": { + "default": { + "value": [ + { + "id": 21, + "number": 42, + "repository": { + "id": 1, + "name": "smile", + "full_name": "octo-org/smile" + }, + "organization": { + "id": 1, + "name": "octo-org" + }, + "requester": { + "actor_id": 12, + "actor_name": "monalisa" + }, + "request_type": "secret_scanning_closure", + "data": [ + { + "secret_type": "adafruit_io_key", + "alert_number": 17 + } + ], + "resource_identifier": 17, + "status": "denied", + "requester_comment": "Test token used in the readme as an example", + "expires_at": "2024-07-08T08:43:03Z", + "created_at": "2024-07-01T08:43:03Z", + "responses": [ + { + "id": 42, + "reviewer": { + "actor_id": 4, + "actor_name": "octocat" + }, + "status": "denied", + "created_at": "2024-07-02T08:43:04Z" + } + ], + "url": "https://api.github.com/repos/octo-org/smile/dismissal-requests/secret-scanning/21", + "html_url": "https://github.com/octo-org/smile/security/secret-scanning/17" + }, + { + "id": 22, + "number": 43, + "repository": { + "id": 1, + "name": "smile", + "full_name": "octo-org/smile" + }, + "organization": { + "id": 1, + "name": "octo-org" + }, + "requester": { + "actor_id": 12, + "actor_name": "monalisa" + }, + "request_type": "secret_scanning_closure", + "data": [ + { + "secret_type": "adafruit_io_key", + "alert_number": 19 + } + ], + "resource_identifier": 19, + "status": "denied", + "requester_comment": "Test token used in the readme as an example", + "expires_at": "2024-07-08T08:43:03Z", + "created_at": "2024-07-01T08:43:03Z", + "responses": [ + { + "id": 46, + "reviewer": { + "actor_id": 4, + "actor_name": "octocat" + }, + "status": "approved", + "created_at": "2024-07-02T08:43:04Z" + } + ], + "url": "https://api.github.com/repos/octo-org/smile/dismissal-requests/secret-scanning/22", + "html_url": "https://github.com/octo-org/smile/security/secret-scanning/19" + } + ] + } + } + } + } + }, + "404": { + "description": "Resource not found", + "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" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "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" + } + } + } + } + } + }, + "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" + } + } + } + } + } + } + } + } + }, + "/repos/{owner}/{repo}/dismissal-requests/secret-scanning/{alert_number}": { + "get": { + "summary": "Get an alert dismissal request for secret scanning", + "description": "Gets a specific request to dismiss a secret scanning alert in a repository.\n\nDelegated alert dismissal must be enabled on the repository and the user must be an org admin, security manager,\nor have the \"Review and manage secret scanning alert dismissal requests\" permission to access this endpoint.\nPersonal access tokens (classic) need the `security_events` scope to use this endpoint.", + "tags": [ + "secret-scanning" + ], + "operationId": "secret-scanning/get-dismissal-request", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/alert-dismissal-requests#get-an-alert-dismissal-request-for-secret-scanning" + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "secret-scanning", + "subcategory": "alert-dismissal-requests" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "alert_number", + "in": "path", + "required": true, + "description": "The number that identifies the secret scanning alert in a repository.", + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "A single dismissal request.", + "content": { + "application/json": { + "schema": { + "title": "Secret scanning alert dismissal request", + "description": "A dismissal request made by a user asking to close a secret scanning alert in this repository.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the dismissal request." + }, + "number": { + "type": "integer", + "description": "The number uniquely identifying the dismissal request within its repository." + }, + "repository": { + "type": "object", + "description": "The repository the dismissal request is for.", + "properties": { + "id": { + "type": "integer", + "description": "The ID of the repository the dismissal request is for." + }, + "name": { + "type": "string", + "description": "The name of the repository the dismissal request is for." + }, + "full_name": { + "type": "string", + "description": "The full name of the repository the dismissal request is for." + } + } + }, + "organization": { + "type": "object", + "description": "The organization associated with the repository the dismissal request is for.", + "properties": { + "id": { + "type": "integer", + "description": "The ID of the organization." + }, + "name": { + "type": "string", + "description": "The name of the organization." + } + } + }, + "requester": { + "type": "object", + "description": "The user who requested the dismissal.", + "properties": { + "actor_id": { + "type": "integer", + "description": "The ID of the GitHub user who requested the dismissal." + }, + "actor_name": { + "type": "string", + "description": "The name of the GitHub user who requested the dismissal." + } + } + }, + "request_type": { + "type": "string", + "description": "The type of request." + }, + "data": { + "type": [ + "array", + "null" + ], + "description": "Data describing the secret alert that is being requested to be dismissed.", + "items": { + "type": "object", + "properties": { + "secret_type": { + "type": "string", + "description": "The type of secret that secret scanning detected." + }, + "alert_number": { + "type": "string", + "description": "The number of the secret scanning alert that was detected." + } + } + } + }, + "resource_identifier": { + "type": "string", + "description": "The number of the secret scanning alert that was detected.", + "examples": [ + 1234 + ] + }, + "status": { + "type": "string", + "description": "The status of the dismissal request.", + "enum": [ + "pending", + "denied", + "approved", + "cancelled", + "expired" + ] + }, + "requester_comment": { + "type": [ + "string", + "null" + ], + "description": "The comment the requester provided when creating the dismissal request." + }, + "expires_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the dismissal request will expire." + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the dismissal request was created." + }, + "responses": { + "type": [ + "array", + "null" + ], + "description": "The responses to the dismissal request.", + "items": { + "title": "Bypass response", + "description": "A response made by a delegated bypasser to a bypass request.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "The ID of the response to the bypass request." + }, + "reviewer": { + "type": "object", + "description": "The user who reviewed the bypass request.", + "properties": { + "actor_id": { + "type": "integer", + "description": "The ID of the GitHub user who reviewed the bypass request." + }, + "actor_name": { + "type": "string", + "description": "The name of the GitHub user who reviewed the bypass request." + } + } + }, + "status": { + "type": "string", + "description": "The response status to the bypass request until dismissed.", + "enum": [ + "approved", + "denied", + "dismissed" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the response to the bypass request was created." + } + } + } + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octo-org/smile/dismissal-requests/secret-scanning/1" + ] + }, + "html_url": { + "type": "string", + "description": "The URL to view the dismissal request in a browser.", + "format": "uri", + "examples": [ + "https://github.com/octo-org/smile/security/secret-scanning/17" + ] + } + } + }, + "examples": { + "default": { + "value": { + "id": 21, + "number": 42, + "repository": { + "id": 1, + "name": "smile", + "full_name": "octo-org/smile" + }, + "organization": { + "id": 1, + "name": "octo-org" + }, + "requester": { + "actor_id": 12, + "actor_name": "monalisa" + }, + "request_type": "secret_scanning_closure", + "data": [ + { + "secret_type": "adafruit_io_key", + "alert_number": 17 + } + ], + "resource_identifier": 17, + "status": "denied", + "requester_comment": "Test token used in the readme as an example", + "expires_at": "2024-07-08T08:43:03Z", + "created_at": "2024-07-01T08:43:03Z", + "responses": [ + { + "id": 42, + "reviewer": { + "actor_id": 4, + "actor_name": "octocat" + }, + "status": "denied", + "created_at": "2024-07-02T08:43:04Z" + } + ], + "url": "https://api.github.com/repos/octo-org/smile/dismissal-requests/secret-scanning/21", + "html_url": "https://github.com/octo-org/smile/security/secret-scanning/17" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "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" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "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" + } + } + } + } + } + }, + "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" + } + } + } + } + } + } + } + }, + "patch": { + "summary": "Review an alert dismissal request for secret scanning", + "description": "Approve or deny a request to dismiss a secret scanning alert in a repository.\n\nDelegated alert dismissal must be enabled on the repository and the user must be an org admin, security manager,\nor have the \"Review and manage secret scanning alert dismissal requests\" permission to access this endpoint.\nPersonal access tokens (classic) need the `security_events` scope to use this endpoint.", + "tags": [ + "secret-scanning" + ], + "operationId": "secret-scanning/review-dismissal-request", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/alert-dismissal-requests#review-an-alert-dismissal-request-for-secret-scanning" + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "secret-scanning", + "subcategory": "alert-dismissal-requests" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "alert_number", + "in": "path", + "required": true, + "description": "The number that identifies the secret scanning alert in a repository.", + "schema": { + "type": "integer" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "status": { + "type": "string", + "description": "The review action to perform on the dismissal request.", + "enum": [ + "approve", + "deny" + ] + }, + "message": { + "type": "string", + "description": "A message to include with the review. Has a maximum character length of 2048." + } + }, + "required": [ + "status", + "message" + ] + }, + "examples": { + "default": { + "value": { + "status": "deny", + "message": "This secret has not been revoked." + } + } + } + } + } + }, + "responses": { + "200": { + "description": "The review of the dismissal request.", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "dismissal_review_id": { + "type": "integer", + "description": "ID of the dismissal review." + } + } + }, + "examples": { + "default": { + "value": { + "dismissal_review_id": 1 + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "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" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "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" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + }, + "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" + } + } + } + } + } + } + } + } + }, "/repos/{owner}/{repo}/dispatches": { "post": { "summary": "Create a repository dispatch event", @@ -531589,7 +533141,7 @@ { "name": "secret_type", "in": "query", - "description": "A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token name(s) in the parameter. See \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest//enterprise-cloud@latest/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)\" for a complete list of secret types.", + "description": "A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token name(s) in the parameter. See \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)\" for a complete list of secret types.", "required": false, "schema": { "type": "string" 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 e664c7d12f..95a78bcf9c 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -1073,7 +1073,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &647 + - &650 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1813,7 +1813,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &657 + schema: &660 title: Scim Error description: Scim Error type: object @@ -5747,6 +5747,7 @@ paths: cookie: https://github.githubassets.com/images/icons/emoji/unicode/1f36a.png?v8 cool: https://github.githubassets.com/images/icons/emoji/unicode/1f192.png?v8 cop: https://github.githubassets.com/images/icons/emoji/unicode/1f46e.png?v8 + copilot: https://github.githubassets.com/images/icons/emoji/copilot.png?v8 copyright: https://github.githubassets.com/images/icons/emoji/unicode/00a9.png?v8 corn: https://github.githubassets.com/images/icons/emoji/unicode/1f33d.png?v8 costa_rica: https://github.githubassets.com/images/icons/emoji/unicode/1f1e8-1f1f7.png?v8 @@ -16773,7 +16774,7 @@ paths: type: object description: A repository rule. oneOf: - - &605 + - &608 title: creation description: Only allow users with bypass permission to create matching refs. @@ -16785,7 +16786,7 @@ paths: type: string enum: - creation - - &606 + - &609 title: update description: Only allow users with bypass permission to update matching refs. @@ -16806,7 +16807,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &608 + - &611 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -16818,7 +16819,7 @@ paths: type: string enum: - deletion - - &609 + - &612 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -16830,7 +16831,7 @@ paths: type: string enum: - required_linear_history - - &610 + - &613 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -16906,7 +16907,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &611 + - &614 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches @@ -16930,7 +16931,7 @@ paths: type: string required: - required_deployment_environments - - &612 + - &615 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -16942,7 +16943,7 @@ paths: type: string enum: - required_signatures - - &613 + - &616 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. @@ -17002,7 +17003,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &614 + - &617 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed @@ -17049,7 +17050,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &615 + - &618 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -17061,7 +17062,7 @@ paths: type: string enum: - non_fast_forward - - &616 + - &619 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -17097,7 +17098,7 @@ paths: required: - operator - pattern - - &617 + - &620 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -17133,7 +17134,7 @@ paths: required: - operator - pattern - - &618 + - &621 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -17169,7 +17170,7 @@ paths: required: - operator - pattern - - &619 + - &622 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -17205,7 +17206,7 @@ paths: required: - operator - pattern - - &620 + - &623 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -17241,7 +17242,7 @@ paths: required: - operator - pattern - - &621 + - &624 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit graph. @@ -17265,7 +17266,7 @@ paths: type: string required: - restricted_file_paths - - &622 + - &625 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit @@ -17289,7 +17290,7 @@ paths: maximum: 256 required: - max_file_path_length - - &623 + - &626 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -17312,7 +17313,7 @@ paths: type: string required: - restricted_file_extensions - - &624 + - &627 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph. @@ -17336,7 +17337,7 @@ paths: maximum: 100 required: - max_file_size - - &625 + - &628 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -17385,7 +17386,7 @@ paths: - repository_id required: - workflows - - &626 + - &629 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, code scanning @@ -17950,7 +17951,7 @@ paths: in: query description: A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token - name(s) in the parameter. See "[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest//enterprise-cloud@latest/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)" + name(s) in the parameter. See "[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)" for a complete list of secret types. required: false schema: @@ -18030,14 +18031,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &639 + state: &642 description: Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`. type: string enum: - open - resolved - resolution: &640 + resolution: &643 type: - string - 'null' @@ -18688,7 +18689,7 @@ paths: post: summary: Add users to a cost center description: |- - Adds users, orgs, or repos to a cost center. + Adds users to a cost center. The usage for the users will be charged to the cost center's budget. The authenticated user must be an enterprise admin in order to use this endpoint. tags: @@ -18718,16 +18719,6 @@ paths: type: array items: type: string - organizations: - description: The organizations to add to the cost center. - type: array - items: - type: string - repositories: - description: The repositories to add to the cost center. - type: array - items: - type: string minProperties: 1 examples: default: @@ -18786,8 +18777,7 @@ paths: type: array items: type: string - required: - - users + minProperties: 1 examples: default: value: @@ -19716,7 +19706,7 @@ paths: - author_association - created_at - updated_at - comment: &545 + comment: &548 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -20291,7 +20281,7 @@ paths: url: type: string format: uri - user: &696 + user: &699 title: Public User description: Public User type: object @@ -23748,7 +23738,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &574 + - &577 name: all description: If `true`, show notifications marked as read. in: query @@ -23756,7 +23746,7 @@ paths: schema: type: boolean default: false - - &575 + - &578 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -23766,7 +23756,7 @@ paths: type: boolean default: false - *137 - - &576 + - &579 name: before description: 'Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: @@ -24300,7 +24290,7 @@ paths: - url - subscription_url examples: - default: &577 + default: &580 value: - id: '1' repository: @@ -24853,7 +24843,7 @@ paths: type: array items: *56 examples: - default: &713 + default: &716 value: - login: github id: 1 @@ -26529,7 +26519,7 @@ paths: type: array items: *61 examples: - default: &707 + default: &710 value: total_count: 1 repositories: @@ -27352,7 +27342,7 @@ paths: type: array items: *189 examples: - default: &699 + default: &702 value: total_count: 1 repositories: @@ -34690,6 +34680,240 @@ paths: enabledForGitHubApps: true category: dependabot subcategory: secrets + "/orgs/{org}/dismissal-requests/secret-scanning": + get: + summary: List alert dismissal requests for secret scanning for an org + description: |- + Lists requests to dismiss secret scanning alerts in an org. + + Delegated alert dismissal must be enabled on repositories in the org and the user must be an org admin, security manager, + or have the "Review and manage secret scanning alert dismissal requests" permission to access this endpoint. + tags: + - secret-scanning + operationId: secret-scanning/list-org-dismissal-requests + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/alert-dismissal-requests#list-alert-dismissal-requests-for-secret-scanning-for-an-org + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: secret-scanning + subcategory: alert-dismissal-requests + parameters: + - *163 + - *218 + - *212 + - *213 + - *214 + - &511 + name: request_status + description: The status of the dismissal request to filter on. When specified, + only requests with this status will be returned. + in: query + required: false + schema: + type: string + enum: + - completed + - cancelled + - approved + - expired + - denied + - open + - all + default: all + - *17 + - *19 + responses: + '200': + description: A list of the alert dismissal requests. + content: + application/json: + schema: + type: array + items: &512 + title: Secret scanning alert dismissal request + description: A dismissal request made by a user asking to close + a secret scanning alert in this repository. + type: object + properties: + id: + type: integer + description: The unique identifier of the dismissal request. + number: + type: integer + description: The number uniquely identifying the dismissal request + within its repository. + repository: + type: object + description: The repository the dismissal request is for. + properties: + id: + type: integer + description: The ID of the repository the dismissal request + is for. + name: + type: string + description: The name of the repository the dismissal request + is for. + full_name: + type: string + description: The full name of the repository the dismissal + request is for. + organization: + type: object + description: The organization associated with the repository + the dismissal request is for. + properties: + id: + type: integer + description: The ID of the organization. + name: + type: string + description: The name of the organization. + requester: + type: object + description: The user who requested the dismissal. + properties: + actor_id: + type: integer + description: The ID of the GitHub user who requested the + dismissal. + actor_name: + type: string + description: The name of the GitHub user who requested the + dismissal. + request_type: + type: string + description: The type of request. + data: + type: + - array + - 'null' + description: Data describing the secret alert that is being + requested to be dismissed. + items: + type: object + properties: + secret_type: + type: string + description: The type of secret that secret scanning detected. + alert_number: + type: string + description: The number of the secret scanning alert that + was detected. + resource_identifier: + type: string + description: The number of the secret scanning alert that was + detected. + examples: + - 1234 + status: + type: string + description: The status of the dismissal request. + enum: + - pending + - denied + - approved + - cancelled + - expired + requester_comment: + type: + - string + - 'null' + description: The comment the requester provided when creating + the dismissal request. + expires_at: + type: string + format: date-time + description: The date and time the dismissal request will expire. + created_at: + type: string + format: date-time + description: The date and time the dismissal request was created. + responses: + type: + - array + - 'null' + description: The responses to the dismissal request. + items: *219 + url: + type: string + format: uri + examples: + - https://api.github.com/repos/octo-org/smile/dismissal-requests/secret-scanning/1 + html_url: + type: string + description: The URL to view the dismissal request in a browser. + format: uri + examples: + - https://github.com/octo-org/smile/security/secret-scanning/17 + examples: + default: &513 + value: + - id: 21 + number: 42 + repository: + id: 1 + name: smile + full_name: octo-org/smile + organization: + id: 1 + name: octo-org + requester: + actor_id: 12 + actor_name: monalisa + request_type: secret_scanning_closure + data: + - secret_type: adafruit_io_key + alert_number: 17 + resource_identifier: 17 + status: denied + requester_comment: Test token used in the readme as an example + expires_at: '2024-07-08T08:43:03Z' + created_at: '2024-07-01T08:43:03Z' + responses: + - id: 42 + reviewer: + actor_id: 4 + actor_name: octocat + status: denied + created_at: '2024-07-02T08:43:04Z' + url: https://api.github.com/repos/octo-org/smile/dismissal-requests/secret-scanning/21 + html_url: https://github.com/octo-org/smile/security/secret-scanning/17 + - id: 22 + number: 43 + repository: + id: 1 + name: smile + full_name: octo-org/smile + organization: + id: 1 + name: octo-org + requester: + actor_id: 12 + actor_name: monalisa + request_type: secret_scanning_closure + data: + - secret_type: adafruit_io_key + alert_number: 19 + resource_identifier: 19 + status: denied + requester_comment: Test token used in the readme as an example + expires_at: '2024-07-08T08:43:03Z' + created_at: '2024-07-01T08:43:03Z' + responses: + - id: 46 + reviewer: + actor_id: 4 + actor_name: octocat + status: approved + created_at: '2024-07-02T08:43:04Z' + url: https://api.github.com/repos/octo-org/smile/dismissal-requests/secret-scanning/22 + html_url: https://github.com/octo-org/smile/security/secret-scanning/19 + '404': *6 + '403': *27 + '500': *95 "/orgs/{org}/docker/conflicts": get: summary: Get list of conflicting packages during Docker migration for organization @@ -36481,7 +36705,7 @@ paths: application/json: schema: *20 examples: - default: &541 + default: &544 value: id: 1 account: @@ -36709,7 +36933,7 @@ paths: required: true content: application/json: - schema: &542 + schema: &545 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration @@ -38810,7 +39034,7 @@ paths: parameters: - *163 - *291 - - &712 + - &715 name: repo_name description: repo_name parameter in: path @@ -40140,7 +40364,7 @@ paths: - nuget - container - *163 - - &714 + - &717 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -40181,7 +40405,7 @@ paths: default: *297 '403': *27 '401': *23 - '400': &716 + '400': &719 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -41338,9 +41562,7 @@ paths: "/orgs/{org}/private-registries": get: summary: List private registries for an organization - description: |- - > [!NOTE] - > This endpoint is in public preview and is subject to change. + description: |2- Lists all private registry configurations available at the organization-level without revealing their encrypted values. @@ -41436,9 +41658,7 @@ paths: subcategory: organization-configurations post: summary: Create a private registry for an organization - description: |- - > [!NOTE] - > This endpoint is in public preview and is subject to change. + description: |2- Creates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/enterprise-cloud@latest//rest/guides/encrypting-secrets-for-the-rest-api)." @@ -41612,9 +41832,7 @@ paths: "/orgs/{org}/private-registries/public-key": get: summary: Get private registries public key for an organization - description: |- - > [!NOTE] - > This endpoint is in public preview and is subject to change. + description: |2- Gets the org public key, which is needed to encrypt private registry secrets. You need to encrypt a secret before you can create or update secrets. @@ -41664,9 +41882,7 @@ paths: "/orgs/{org}/private-registries/{secret_name}": get: summary: Get a private registry for an organization - description: |- - > [!NOTE] - > This endpoint is in public preview and is subject to change. + description: |2- Get the configuration of a single private registry defined for an organization, omitting its encrypted value. @@ -41696,9 +41912,7 @@ paths: subcategory: organization-configurations patch: summary: Update a private registry for an organization - description: |- - > [!NOTE] - > This endpoint is in public preview and is subject to change. + description: |2- Updates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/enterprise-cloud@latest//rest/guides/encrypting-secrets-for-the-rest-api)." @@ -41777,9 +41991,7 @@ paths: subcategory: organization-configurations delete: summary: Delete a private registry for an organization - description: |- - > [!NOTE] - > This endpoint is in public preview and is subject to change. + description: |2- Delete a private registry configuration at the organization-level. @@ -43949,7 +44161,7 @@ paths: - *163 - *17 - *19 - - &627 + - &630 name: targets description: | A comma-separated list of rule targets to filter by. @@ -44140,7 +44352,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - *163 - - &628 + - &631 name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit @@ -44152,14 +44364,14 @@ paths: x-multi-segment: true - *218 - *214 - - &629 + - &632 name: actor_name description: The handle for the GitHub user account to filter on. When specified, only rule evaluations triggered by this actor will be returned. in: query schema: type: string - - &630 + - &633 name: rule_suite_result description: The rule results to filter on. When specified, only suites with this result will be returned. @@ -44179,7 +44391,7 @@ paths: description: Response content: application/json: - schema: &631 + schema: &634 title: Rule Suites description: Response type: array @@ -44235,7 +44447,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &632 + default: &635 value: - id: 21 actor_id: 12 @@ -44279,7 +44491,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *163 - - &633 + - &636 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -44295,7 +44507,7 @@ paths: description: Response content: application/json: - schema: &634 + schema: &637 title: Rule Suite description: Response type: object @@ -44402,7 +44614,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &635 + default: &638 value: id: 21 actor_id: 12 @@ -44733,7 +44945,7 @@ paths: - *84 - *19 - *17 - - &637 + - &640 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 events before this cursor. To @@ -44743,7 +44955,7 @@ paths: required: false schema: type: string - - &638 + - &641 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 events after this cursor. To @@ -44835,7 +45047,7 @@ paths: application/json: schema: type: array - items: &645 + items: &648 description: A repository security advisory. type: object properties: @@ -45154,7 +45366,7 @@ paths: - private_fork additionalProperties: false examples: - default: &646 + default: &649 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -47006,7 +47218,7 @@ paths: - updated_at - url examples: - default: &686 + default: &689 value: - author: login: octocat @@ -47254,7 +47466,7 @@ paths: application/json: schema: *347 examples: - default: &687 + default: &690 value: author: login: octocat @@ -47445,7 +47657,7 @@ paths: - updated_at - url examples: - default: &688 + default: &691 value: - author: login: octocat @@ -47671,7 +47883,7 @@ paths: application/json: schema: *350 examples: - default: &689 + default: &692 value: author: login: octocat @@ -48387,7 +48599,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &690 + response-if-user-is-a-team-maintainer: &693 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -48452,7 +48664,7 @@ paths: application/json: schema: *361 examples: - response-if-users-membership-with-team-is-now-pending: &691 + response-if-users-membership-with-team-is-now-pending: &694 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -48594,7 +48806,7 @@ paths: - updated_at - permissions examples: - default: &692 + default: &695 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -48673,7 +48885,7 @@ paths: application/json: schema: *362 examples: - default: &693 + default: &696 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -48884,7 +49096,7 @@ paths: description: Alternative response with repository permissions content: application/json: - schema: &694 + schema: &697 title: Team Repository description: A team's access to a repository. type: object @@ -49722,7 +49934,7 @@ paths: type: array items: *220 examples: - response-if-child-teams-exist: &695 + response-if-child-teams-exist: &698 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -55919,7 +56131,7 @@ paths: items: type: object properties: - type: &511 + type: &514 type: string description: The type of reviewer. enum: @@ -56555,7 +56767,7 @@ paths: application/json: schema: *401 examples: - default: &524 + default: &527 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -56774,7 +56986,7 @@ paths: application/json: schema: *405 examples: - default: &525 + default: &528 value: name: USERNAME value: octocat @@ -58632,7 +58844,7 @@ paths: required: - sha - url - verification: &531 + verification: &534 title: Verification type: object properties: @@ -62195,7 +62407,7 @@ paths: check. type: array items: *436 - deployment: &745 + deployment: &748 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -62964,7 +63176,7 @@ paths: post: summary: Rerequest a check run description: |- - Triggers GitHub to rerequest an existing check run, without pushing new code to a repository. This endpoint will trigger the [`check_run` webhook](https://docs.github.com/enterprise-cloud@latest//webhooks/event-payloads/#check_run) event with the action `rerequested`. When a check run is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared. + Triggers GitHub to rerequest an existing check run, without pushing new code to a repository. This endpoint will trigger the [`check_run` webhook](https://docs.github.com/enterprise-cloud@latest//webhooks/event-payloads/#check_run) event with the action `rerequested`. When a check run is `rerequested`, the `status` of the check suite it belongs to is reset to `queued` and the `conclusion` is cleared. The check run itself is not updated. GitHub apps recieving the [`check_run` webhook](https://docs.github.com/enterprise-cloud@latest//webhooks/event-payloads/#check_run) with the `rerequested` action should then decide if the check run should be reset or updated and call the [update `check_run` endpoint](https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run) to update the check_run if desired. For more information about how to re-run GitHub Actions jobs, see "[Re-run a job from a workflow run](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run)". @@ -67373,7 +67585,7 @@ paths: type: array items: *474 examples: - default: &702 + default: &705 value: total_count: 2 machines: @@ -68081,7 +68293,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &544 + schema: &547 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -68929,7 +69141,7 @@ paths: type: array items: *482 examples: - default: &592 + default: &595 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -69218,7 +69430,7 @@ paths: application/json: schema: type: array - items: &583 + items: &586 title: Pull Request Simple description: Pull Request Simple type: object @@ -69463,7 +69675,7 @@ paths: - review_comment - self author_association: *134 - auto_merge: &585 + auto_merge: &588 title: Auto merge description: The status of auto merging a pull request. type: @@ -69528,7 +69740,7 @@ paths: - author_association - auto_merge examples: - default: &584 + default: &587 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -70086,7 +70298,7 @@ paths: application/json: schema: *482 examples: - default: &571 + default: &574 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -70708,7 +70920,7 @@ paths: application/json: schema: type: array - items: &650 + items: &653 title: Status description: The status of a commit. type: object @@ -71670,7 +71882,7 @@ paths: - size - type - url - - &597 + - &600 title: Content File description: Content File type: object @@ -72286,7 +72498,7 @@ paths: schema: oneOf: - *3 - - &526 + - &529 description: Repository rule violation was detected type: object properties: @@ -72307,7 +72519,7 @@ paths: items: type: object properties: - placeholder_id: &642 + placeholder_id: &645 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -74863,6 +75075,190 @@ paths: enabledForGitHubApps: true category: deployments subcategory: statuses + "/repos/{owner}/{repo}/dismissal-requests/secret-scanning": + get: + summary: List alert dismissal requests for secret scanning for a repository + description: |- + Lists requests to dismiss secret scanning alerts in a repository. + + Delegated alert dismissal must be enabled on the repository and the user must be an org admin, security manager, + or have the "Review and manage secret scanning alert dismissal requests" permission to access this endpoint. + tags: + - secret-scanning + operationId: secret-scanning/list-repo-dismissal-requests + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/alert-dismissal-requests#list-alert-dismissal-requests-for-secret-scanning-for-a-repository + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: secret-scanning + subcategory: alert-dismissal-requests + parameters: + - *364 + - *365 + - *212 + - *213 + - *214 + - *511 + - *17 + - *19 + responses: + '200': + description: A list of the alert dismissal requests. + content: + application/json: + schema: + type: array + items: *512 + examples: + default: *513 + '404': *6 + '403': *27 + '500': *95 + "/repos/{owner}/{repo}/dismissal-requests/secret-scanning/{alert_number}": + get: + summary: Get an alert dismissal request for secret scanning + description: |- + Gets a specific request to dismiss a secret scanning alert in a repository. + + Delegated alert dismissal must be enabled on the repository and the user must be an org admin, security manager, + or have the "Review and manage secret scanning alert dismissal requests" permission to access this endpoint. + Personal access tokens (classic) need the `security_events` scope to use this endpoint. + tags: + - secret-scanning + operationId: secret-scanning/get-dismissal-request + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/alert-dismissal-requests#get-an-alert-dismissal-request-for-secret-scanning + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: secret-scanning + subcategory: alert-dismissal-requests + parameters: + - *364 + - *365 + - name: alert_number + in: path + required: true + description: The number that identifies the secret scanning alert in a repository. + schema: + type: integer + responses: + '200': + description: A single dismissal request. + content: + application/json: + schema: *512 + examples: + default: + value: + id: 21 + number: 42 + repository: + id: 1 + name: smile + full_name: octo-org/smile + organization: + id: 1 + name: octo-org + requester: + actor_id: 12 + actor_name: monalisa + request_type: secret_scanning_closure + data: + - secret_type: adafruit_io_key + alert_number: 17 + resource_identifier: 17 + status: denied + requester_comment: Test token used in the readme as an example + expires_at: '2024-07-08T08:43:03Z' + created_at: '2024-07-01T08:43:03Z' + responses: + - id: 42 + reviewer: + actor_id: 4 + actor_name: octocat + status: denied + created_at: '2024-07-02T08:43:04Z' + url: https://api.github.com/repos/octo-org/smile/dismissal-requests/secret-scanning/21 + html_url: https://github.com/octo-org/smile/security/secret-scanning/17 + '404': *6 + '403': *27 + '500': *95 + patch: + summary: Review an alert dismissal request for secret scanning + description: |- + Approve or deny a request to dismiss a secret scanning alert in a repository. + + Delegated alert dismissal must be enabled on the repository and the user must be an org admin, security manager, + or have the "Review and manage secret scanning alert dismissal requests" permission to access this endpoint. + Personal access tokens (classic) need the `security_events` scope to use this endpoint. + tags: + - secret-scanning + operationId: secret-scanning/review-dismissal-request + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/alert-dismissal-requests#review-an-alert-dismissal-request-for-secret-scanning + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: secret-scanning + subcategory: alert-dismissal-requests + parameters: + - *364 + - *365 + - name: alert_number + in: path + required: true + description: The number that identifies the secret scanning alert in a repository. + schema: + type: integer + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + status: + type: string + description: The review action to perform on the dismissal request. + enum: + - approve + - deny + message: + type: string + description: A message to include with the review. Has a maximum + character length of 2048. + required: + - status + - message + examples: + default: + value: + status: deny + message: This secret has not been revoked. + responses: + '200': + description: The review of the dismissal request. + content: + application/json: + schema: + type: object + properties: + dismissal_review_id: + type: integer + description: ID of the dismissal review. + examples: + default: + value: + dismissal_review_id: 1 + '404': *6 + '403': *27 + '422': *15 + '500': *95 "/repos/{owner}/{repo}/dispatches": post: summary: Create a repository dispatch event @@ -74958,7 +75354,7 @@ paths: - 5 environments: type: array - items: &512 + items: &515 title: Environment description: Details of a deployment environment type: object @@ -75020,7 +75416,7 @@ paths: type: string examples: - wait_timer - wait_timer: &514 + wait_timer: &517 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -75062,7 +75458,7 @@ paths: items: type: object properties: - type: *511 + type: *514 reviewer: anyOf: - *4 @@ -75089,7 +75485,7 @@ paths: - id - node_id - type - deployment_branch_policy: &515 + deployment_branch_policy: &518 type: - object - 'null' @@ -75208,7 +75604,7 @@ paths: parameters: - *364 - *365 - - &513 + - &516 name: environment_name in: path required: true @@ -75221,9 +75617,9 @@ paths: description: Response content: application/json: - schema: *512 + schema: *515 examples: - default: &516 + default: &519 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -75309,7 +75705,7 @@ paths: parameters: - *364 - *365 - - *513 + - *516 requestBody: required: false content: @@ -75319,7 +75715,7 @@ paths: - object - 'null' properties: - wait_timer: *514 + wait_timer: *517 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -75338,14 +75734,14 @@ paths: items: type: object properties: - type: *511 + type: *514 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *515 + deployment_branch_policy: *518 additionalProperties: false examples: default: @@ -75365,9 +75761,9 @@ paths: description: Response content: application/json: - schema: *512 + schema: *515 examples: - default: *516 + default: *519 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -75393,7 +75789,7 @@ paths: parameters: - *364 - *365 - - *513 + - *516 responses: '204': description: Default response @@ -75420,7 +75816,7 @@ paths: parameters: - *364 - *365 - - *513 + - *516 - *17 - *19 responses: @@ -75439,7 +75835,7 @@ paths: - 2 branch_policies: type: array - items: &517 + items: &520 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -75502,7 +75898,7 @@ paths: parameters: - *364 - *365 - - *513 + - *516 requestBody: required: true content: @@ -75550,9 +75946,9 @@ paths: description: Response content: application/json: - schema: *517 + schema: *520 examples: - example-wildcard: &518 + example-wildcard: &521 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -75596,8 +75992,8 @@ paths: parameters: - *364 - *365 - - *513 - - &519 + - *516 + - &522 name: branch_policy_id in: path required: true @@ -75609,9 +76005,9 @@ paths: description: Response content: application/json: - schema: *517 + schema: *520 examples: - default: *518 + default: *521 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75632,8 +76028,8 @@ paths: parameters: - *364 - *365 - - *513 - - *519 + - *516 + - *522 requestBody: required: true content: @@ -75662,9 +76058,9 @@ paths: description: Response content: application/json: - schema: *517 + schema: *520 examples: - default: *518 + default: *521 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75685,8 +76081,8 @@ paths: parameters: - *364 - *365 - - *513 - - *519 + - *516 + - *522 responses: '204': description: Response @@ -75711,7 +76107,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *513 + - *516 - *365 - *364 responses: @@ -75730,7 +76126,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &520 + items: &523 title: Deployment protection rule description: Deployment protection rule type: object @@ -75752,7 +76148,7 @@ paths: for the environment. examples: - true - app: &521 + app: &524 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -75855,7 +76251,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *513 + - *516 - *365 - *364 requestBody: @@ -75878,9 +76274,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *520 + schema: *523 examples: - default: &522 + default: &525 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -75915,7 +76311,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *513 + - *516 - *365 - *364 - *19 @@ -75937,7 +76333,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *521 + items: *524 examples: default: value: @@ -75974,8 +76370,8 @@ paths: parameters: - *364 - *365 - - *513 - - &523 + - *516 + - &526 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -75987,9 +76383,9 @@ paths: description: Response content: application/json: - schema: *520 + schema: *523 examples: - default: *522 + default: *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76010,10 +76406,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *513 + - *516 - *365 - *364 - - *523 + - *526 responses: '204': description: Response @@ -76041,7 +76437,7 @@ paths: parameters: - *364 - *365 - - *513 + - *516 - *17 - *19 responses: @@ -76088,7 +76484,7 @@ paths: parameters: - *364 - *365 - - *513 + - *516 responses: '200': description: Response @@ -76120,7 +76516,7 @@ paths: parameters: - *364 - *365 - - *513 + - *516 - *199 responses: '200': @@ -76129,7 +76525,7 @@ paths: application/json: schema: *401 examples: - default: *524 + default: *527 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76153,7 +76549,7 @@ paths: parameters: - *364 - *365 - - *513 + - *516 - *199 requestBody: required: true @@ -76213,7 +76609,7 @@ paths: parameters: - *364 - *365 - - *513 + - *516 - *199 responses: '204': @@ -76241,7 +76637,7 @@ paths: parameters: - *364 - *365 - - *513 + - *516 - *388 - *19 responses: @@ -76286,7 +76682,7 @@ paths: parameters: - *364 - *365 - - *513 + - *516 requestBody: required: true content: @@ -76340,7 +76736,7 @@ paths: parameters: - *364 - *365 - - *513 + - *516 - *202 responses: '200': @@ -76349,7 +76745,7 @@ paths: application/json: schema: *405 examples: - default: *525 + default: *528 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76373,7 +76769,7 @@ paths: - *364 - *365 - *202 - - *513 + - *516 requestBody: required: true content: @@ -76418,7 +76814,7 @@ paths: - *364 - *365 - *202 - - *513 + - *516 responses: '204': description: Response @@ -76796,7 +77192,7 @@ paths: schema: oneOf: - *172 - - *526 + - *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77032,7 +77428,7 @@ paths: description: Response content: application/json: - schema: &527 + schema: &530 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -77267,7 +77663,7 @@ paths: description: Response content: application/json: - schema: *527 + schema: *530 examples: default: value: @@ -77325,7 +77721,7 @@ paths: parameters: - *364 - *365 - - &528 + - &531 name: ref description: The Git reference. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" in the Git documentation. @@ -77342,7 +77738,7 @@ paths: application/json: schema: type: array - items: &529 + items: &532 title: Git Reference description: Git references within a repository type: object @@ -77420,15 +77816,15 @@ paths: parameters: - *364 - *365 - - *528 + - *531 responses: '200': description: Response content: application/json: - schema: *529 + schema: *532 examples: - default: &530 + default: &533 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -77487,9 +77883,9 @@ paths: description: Response content: application/json: - schema: *529 + schema: *532 examples: - default: *530 + default: *533 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -77517,7 +77913,7 @@ paths: parameters: - *364 - *365 - - *528 + - *531 requestBody: required: true content: @@ -77546,9 +77942,9 @@ paths: description: Response content: application/json: - schema: *529 + schema: *532 examples: - default: *530 + default: *533 '422': *15 '409': *92 x-github: @@ -77568,7 +77964,7 @@ paths: parameters: - *364 - *365 - - *528 + - *531 responses: '204': description: Response @@ -77691,7 +78087,7 @@ paths: description: Response content: application/json: - schema: &532 + schema: &535 title: Git Tag description: Metadata for a Git tag type: object @@ -77747,7 +78143,7 @@ paths: - sha - type - url - verification: *531 + verification: *534 required: - sha - url @@ -77757,7 +78153,7 @@ paths: - tag - message examples: - default: &533 + default: &536 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -77842,9 +78238,9 @@ paths: description: Response content: application/json: - schema: *532 + schema: *535 examples: - default: *533 + default: *536 '404': *6 '409': *92 x-github: @@ -77943,7 +78339,7 @@ paths: description: Response content: application/json: - schema: &534 + schema: &537 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -78069,7 +78465,7 @@ paths: description: Response content: application/json: - schema: *534 + schema: *537 examples: default-response: summary: Default response @@ -78139,7 +78535,7 @@ paths: application/json: schema: type: array - items: &535 + items: &538 title: Webhook description: Webhooks for repositories. type: object @@ -78202,7 +78598,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &776 + last_response: &779 title: Hook Response type: object properties: @@ -78333,9 +78729,9 @@ paths: description: Response content: application/json: - schema: *535 + schema: *538 examples: - default: &536 + default: &539 value: type: Repository id: 12345678 @@ -78391,9 +78787,9 @@ paths: description: Response content: application/json: - schema: *535 + schema: *538 examples: - default: *536 + default: *539 '404': *6 x-github: githubCloudOnly: false @@ -78460,9 +78856,9 @@ paths: description: Response content: application/json: - schema: *535 + schema: *538 examples: - default: *536 + default: *539 '422': *15 '404': *6 x-github: @@ -78766,7 +79162,7 @@ paths: description: Response content: application/json: - schema: &537 + schema: &540 title: Import description: A repository import from an external source. type: object @@ -78873,7 +79269,7 @@ paths: - html_url - authors_url examples: - default: &540 + default: &543 value: vcs: subversion use_lfs: true @@ -78889,7 +79285,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *6 - '503': &538 + '503': &541 description: Unavailable due to service under maintenance. content: application/json: @@ -78967,7 +79363,7 @@ paths: description: Response content: application/json: - schema: *537 + schema: *540 examples: default: value: @@ -78992,7 +79388,7 @@ paths: type: string '422': *15 '404': *6 - '503': *538 + '503': *541 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79073,7 +79469,7 @@ paths: description: Response content: application/json: - schema: *537 + schema: *540 examples: example-1: summary: Example 1 @@ -79121,7 +79517,7 @@ paths: html_url: https://import.github.com/octocat/socm/import authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm - '503': *538 + '503': *541 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79149,7 +79545,7 @@ paths: responses: '204': description: Response - '503': *538 + '503': *541 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79177,7 +79573,7 @@ paths: parameters: - *364 - *365 - - &725 + - &728 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -79191,7 +79587,7 @@ paths: application/json: schema: type: array - items: &539 + items: &542 title: Porter Author description: Porter Author type: object @@ -79245,7 +79641,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *6 - '503': *538 + '503': *541 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79301,7 +79697,7 @@ paths: description: Response content: application/json: - schema: *539 + schema: *542 examples: default: value: @@ -79314,7 +79710,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *538 + '503': *541 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79380,7 +79776,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *538 + '503': *541 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79436,11 +79832,11 @@ paths: description: Response content: application/json: - schema: *537 + schema: *540 examples: - default: *540 + default: *543 '422': *15 - '503': *538 + '503': *541 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79472,7 +79868,7 @@ paths: application/json: schema: *20 examples: - default: *541 + default: *544 '301': *378 '404': *6 x-github: @@ -79507,7 +79903,7 @@ paths: properties: {} additionalProperties: false examples: - default: &543 + default: &546 value: limit: collaborators_only origin: repository @@ -79538,7 +79934,7 @@ paths: required: true content: application/json: - schema: *542 + schema: *545 examples: default: summary: Example request body @@ -79552,7 +79948,7 @@ paths: application/json: schema: *274 examples: - default: *543 + default: *546 '409': description: Response x-github: @@ -79609,9 +80005,9 @@ paths: application/json: schema: type: array - items: *544 + items: *547 examples: - default: &718 + default: &721 value: - id: 1 repository: @@ -79773,7 +80169,7 @@ paths: description: Response content: application/json: - schema: *544 + schema: *547 examples: default: value: @@ -80011,7 +80407,7 @@ paths: type: array items: *147 examples: - default: &553 + default: &556 value: - id: 1 node_id: MDU6SXNzdWUx @@ -80281,7 +80677,7 @@ paths: application/json: schema: *147 examples: - default: &548 + default: &551 value: id: 1 node_id: MDU6SXNzdWUx @@ -80487,9 +80883,9 @@ paths: application/json: schema: type: array - items: *545 + items: *548 examples: - default: &550 + default: &553 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -80555,9 +80951,9 @@ paths: description: Response content: application/json: - schema: *545 + schema: *548 examples: - default: &546 + default: &549 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -80635,9 +81031,9 @@ paths: description: Response content: application/json: - schema: *545 + schema: *548 examples: - default: *546 + default: *549 '422': *15 x-github: githubCloudOnly: false @@ -80827,7 +81223,7 @@ paths: application/json: schema: type: array - items: &547 + items: &550 title: Issue Event description: Issue Event type: object @@ -81178,7 +81574,7 @@ paths: description: Response content: application/json: - schema: *547 + schema: *550 examples: default: value: @@ -81407,7 +81803,7 @@ paths: parameters: - *364 - *365 - - &549 + - &552 name: issue_number description: The number that identifies the issue. in: path @@ -81421,7 +81817,7 @@ paths: application/json: schema: *147 examples: - default: *548 + default: *551 '301': *378 '404': *6 '410': *375 @@ -81451,7 +81847,7 @@ paths: parameters: - *364 - *365 - - *549 + - *552 requestBody: required: false content: @@ -81571,7 +81967,7 @@ paths: application/json: schema: *147 examples: - default: *548 + default: *551 '422': *15 '503': *128 '403': *27 @@ -81597,7 +81993,7 @@ paths: parameters: - *364 - *365 - - *549 + - *552 requestBody: required: false content: @@ -81625,7 +82021,7 @@ paths: application/json: schema: *147 examples: - default: *548 + default: *551 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81643,7 +82039,7 @@ paths: parameters: - *364 - *365 - - *549 + - *552 requestBody: content: application/json: @@ -81670,7 +82066,7 @@ paths: application/json: schema: *147 examples: - default: *548 + default: *551 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81694,7 +82090,7 @@ paths: parameters: - *364 - *365 - - *549 + - *552 - name: assignee in: path required: true @@ -81736,7 +82132,7 @@ paths: parameters: - *364 - *365 - - *549 + - *552 - *137 - *17 - *19 @@ -81747,9 +82143,9 @@ paths: application/json: schema: type: array - items: *545 + items: *548 examples: - default: *550 + default: *553 headers: Link: *37 '404': *6 @@ -81784,7 +82180,7 @@ paths: parameters: - *364 - *365 - - *549 + - *552 requestBody: required: true content: @@ -81806,9 +82202,9 @@ paths: description: Response content: application/json: - schema: *545 + schema: *548 examples: - default: *546 + default: *549 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 @@ -81837,7 +82233,7 @@ paths: parameters: - *364 - *365 - - *549 + - *552 - *17 - *19 responses: @@ -81851,7 +82247,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &554 + - &557 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -81900,7 +82296,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &555 + - &558 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -82028,7 +82424,7 @@ paths: - performed_via_github_app - assignee - assigner - - &556 + - &559 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -82074,7 +82470,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &557 + - &560 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -82120,7 +82516,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &558 + - &561 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -82169,7 +82565,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &559 + - &562 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -82211,7 +82607,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &560 + - &563 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -82253,7 +82649,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &561 + - &564 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -82309,7 +82705,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &562 + - &565 title: Locked Issue Event description: Locked Issue Event type: object @@ -82354,7 +82750,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &563 + - &566 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -82415,7 +82811,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &564 + - &567 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -82476,7 +82872,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &565 + - &568 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -82537,7 +82933,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &566 + - &569 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -82649,7 +83045,7 @@ paths: parameters: - *364 - *365 - - *549 + - *552 - *17 - *19 responses: @@ -82659,7 +83055,7 @@ paths: application/json: schema: type: array - items: &551 + items: &554 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -82714,7 +83110,7 @@ paths: - color - default examples: - default: &552 + default: &555 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -82753,7 +83149,7 @@ paths: parameters: - *364 - *365 - - *549 + - *552 requestBody: required: false content: @@ -82812,9 +83208,9 @@ paths: application/json: schema: type: array - items: *551 + items: *554 examples: - default: *552 + default: *555 '301': *378 '404': *6 '410': *375 @@ -82836,7 +83232,7 @@ paths: parameters: - *364 - *365 - - *549 + - *552 requestBody: required: false content: @@ -82896,9 +83292,9 @@ paths: application/json: schema: type: array - items: *551 + items: *554 examples: - default: *552 + default: *555 '301': *378 '404': *6 '410': *375 @@ -82920,7 +83316,7 @@ paths: parameters: - *364 - *365 - - *549 + - *552 responses: '204': description: Response @@ -82947,7 +83343,7 @@ paths: parameters: - *364 - *365 - - *549 + - *552 - name: name in: path required: true @@ -82960,7 +83356,7 @@ paths: application/json: schema: type: array - items: *551 + items: *554 examples: default: value: @@ -82995,7 +83391,7 @@ paths: parameters: - *364 - *365 - - *549 + - *552 requestBody: required: false content: @@ -83044,7 +83440,7 @@ paths: parameters: - *364 - *365 - - *549 + - *552 responses: '204': description: Response @@ -83068,7 +83464,7 @@ paths: parameters: - *364 - *365 - - *549 + - *552 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -83120,7 +83516,7 @@ paths: parameters: - *364 - *365 - - *549 + - *552 requestBody: required: true content: @@ -83185,7 +83581,7 @@ paths: parameters: - *364 - *365 - - *549 + - *552 - *356 responses: '204': @@ -83217,7 +83613,7 @@ paths: parameters: - *364 - *365 - - *549 + - *552 requestBody: required: true content: @@ -83241,7 +83637,7 @@ paths: application/json: schema: *147 examples: - default: *548 + default: *551 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -83276,7 +83672,7 @@ paths: parameters: - *364 - *365 - - *549 + - *552 - *17 - *19 responses: @@ -83288,7 +83684,7 @@ paths: type: array items: *147 examples: - default: *553 + default: *556 headers: Link: *37 '404': *6 @@ -83322,7 +83718,7 @@ paths: parameters: - *364 - *365 - - *549 + - *552 requestBody: required: true content: @@ -83351,7 +83747,7 @@ paths: application/json: schema: *147 examples: - default: *548 + default: *551 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 @@ -83380,7 +83776,7 @@ paths: parameters: - *364 - *365 - - *549 + - *552 requestBody: required: true content: @@ -83413,7 +83809,7 @@ paths: application/json: schema: *147 examples: - default: *548 + default: *551 '403': *27 '404': *6 '422': *7 @@ -83437,7 +83833,7 @@ paths: parameters: - *364 - *365 - - *549 + - *552 - *17 - *19 responses: @@ -83452,9 +83848,6 @@ paths: description: Timeline Event type: object anyOf: - - *554 - - *555 - - *556 - *557 - *558 - *559 @@ -83465,6 +83858,9 @@ paths: - *564 - *565 - *566 + - *567 + - *568 + - *569 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -83788,7 +84184,7 @@ paths: type: string comments: type: array - items: &586 + items: &589 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -84329,7 +84725,7 @@ paths: application/json: schema: type: array - items: &567 + items: &570 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -84433,9 +84829,9 @@ paths: description: Response content: application/json: - schema: *567 + schema: *570 examples: - default: &568 + default: &571 value: id: 1 key: ssh-rsa AAA... @@ -84471,7 +84867,7 @@ paths: parameters: - *364 - *365 - - &569 + - &572 name: key_id description: The unique identifier of the key. in: path @@ -84483,9 +84879,9 @@ paths: description: Response content: application/json: - schema: *567 + schema: *570 examples: - default: *568 + default: *571 '404': *6 x-github: githubCloudOnly: false @@ -84505,7 +84901,7 @@ paths: parameters: - *364 - *365 - - *569 + - *572 responses: '204': description: Response @@ -84536,9 +84932,9 @@ paths: application/json: schema: type: array - items: *551 + items: *554 examples: - default: *552 + default: *555 headers: Link: *37 '404': *6 @@ -84596,9 +84992,9 @@ paths: description: Response content: application/json: - schema: *551 + schema: *554 examples: - default: &570 + default: &573 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -84642,9 +85038,9 @@ paths: description: Response content: application/json: - schema: *551 + schema: *554 examples: - default: *570 + default: *573 '404': *6 x-github: githubCloudOnly: false @@ -84701,7 +85097,7 @@ paths: description: Response content: application/json: - schema: *551 + schema: *554 examples: default: value: @@ -85099,7 +85495,7 @@ paths: application/json: schema: *482 examples: - default: *571 + default: *574 '204': description: Response when already merged '404': @@ -85265,7 +85661,7 @@ paths: application/json: schema: *486 examples: - default: &572 + default: &575 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -85326,7 +85722,7 @@ paths: parameters: - *364 - *365 - - &573 + - &576 name: milestone_number description: The number that identifies the milestone. in: path @@ -85340,7 +85736,7 @@ paths: application/json: schema: *486 examples: - default: *572 + default: *575 '404': *6 x-github: githubCloudOnly: false @@ -85359,7 +85755,7 @@ paths: parameters: - *364 - *365 - - *573 + - *576 requestBody: required: false content: @@ -85399,7 +85795,7 @@ paths: application/json: schema: *486 examples: - default: *572 + default: *575 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85417,7 +85813,7 @@ paths: parameters: - *364 - *365 - - *573 + - *576 responses: '204': description: Response @@ -85440,7 +85836,7 @@ paths: parameters: - *364 - *365 - - *573 + - *576 - *17 - *19 responses: @@ -85450,9 +85846,9 @@ paths: application/json: schema: type: array - items: *551 + items: *554 examples: - default: *552 + default: *555 headers: Link: *37 x-github: @@ -85473,10 +85869,10 @@ paths: parameters: - *364 - *365 - - *574 - - *575 + - *577 + - *578 - *137 - - *576 + - *579 - *17 - *19 responses: @@ -85488,7 +85884,7 @@ paths: type: array items: *159 examples: - default: *577 + default: *580 headers: Link: *37 x-github: @@ -85578,7 +85974,7 @@ paths: description: Response content: application/json: - schema: &578 + schema: &581 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -85722,7 +86118,7 @@ paths: - custom_404 - public examples: - default: &579 + default: &582 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -85819,9 +86215,9 @@ paths: description: Response content: application/json: - schema: *578 + schema: *581 examples: - default: *579 + default: *582 '422': *15 '409': *92 x-github: @@ -85991,7 +86387,7 @@ paths: application/json: schema: type: array - items: &580 + items: &583 title: Page Build description: Page Build type: object @@ -86138,9 +86534,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *583 examples: - default: &581 + default: &584 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -86200,9 +86596,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *583 examples: - default: *581 + default: *584 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86333,7 +86729,7 @@ paths: parameters: - *364 - *365 - - &582 + - &585 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -86393,7 +86789,7 @@ paths: parameters: - *364 - *365 - - *582 + - *585 responses: '204': *114 '404': *6 @@ -87105,9 +87501,9 @@ paths: application/json: schema: type: array - items: *583 + items: *586 examples: - default: *584 + default: *587 headers: Link: *37 '304': *35 @@ -87207,7 +87603,7 @@ paths: description: Response content: application/json: - schema: &588 + schema: &591 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -87447,7 +87843,7 @@ paths: - review_comment - self author_association: *134 - auto_merge: *585 + auto_merge: *588 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -87549,7 +87945,7 @@ paths: - merged_by - review_comments examples: - default: &589 + default: &592 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -88106,9 +88502,9 @@ paths: application/json: schema: type: array - items: *586 + items: *589 examples: - default: &591 + default: &594 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -88193,9 +88589,9 @@ paths: description: Response content: application/json: - schema: *586 + schema: *589 examples: - default: &587 + default: &590 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -88294,9 +88690,9 @@ paths: description: Response content: application/json: - schema: *586 + schema: *589 examples: - default: *587 + default: *590 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88499,7 +88895,7 @@ paths: parameters: - *364 - *365 - - &590 + - &593 name: pull_number description: The number that identifies the pull request. in: path @@ -88512,9 +88908,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *588 + schema: *591 examples: - default: *589 + default: *592 '304': *35 '404': *6 '406': @@ -88551,7 +88947,7 @@ paths: parameters: - *364 - *365 - - *590 + - *593 requestBody: required: false content: @@ -88593,9 +88989,9 @@ paths: description: Response content: application/json: - schema: *588 + schema: *591 examples: - default: *589 + default: *592 '422': *15 '403': *27 x-github: @@ -88619,7 +89015,7 @@ paths: parameters: - *364 - *365 - - *590 + - *593 requestBody: required: true content: @@ -88722,7 +89118,7 @@ paths: parameters: - *364 - *365 - - *590 + - *593 - *156 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -88743,9 +89139,9 @@ paths: application/json: schema: type: array - items: *586 + items: *589 examples: - default: *591 + default: *594 headers: Link: *37 x-github: @@ -88780,7 +89176,7 @@ paths: parameters: - *364 - *365 - - *590 + - *593 requestBody: required: true content: @@ -88886,7 +89282,7 @@ paths: description: Response content: application/json: - schema: *586 + schema: *589 examples: example-for-a-multi-line-comment: value: @@ -88976,7 +89372,7 @@ paths: parameters: - *364 - *365 - - *590 + - *593 - *146 requestBody: required: true @@ -88999,7 +89395,7 @@ paths: description: Response content: application/json: - schema: *586 + schema: *589 examples: default: value: @@ -89087,7 +89483,7 @@ paths: parameters: - *364 - *365 - - *590 + - *593 - *17 - *19 responses: @@ -89099,7 +89495,7 @@ paths: type: array items: *482 examples: - default: *592 + default: *595 headers: Link: *37 x-github: @@ -89131,7 +89527,7 @@ paths: parameters: - *364 - *365 - - *590 + - *593 - *17 - *19 responses: @@ -89181,7 +89577,7 @@ paths: parameters: - *364 - *365 - - *590 + - *593 responses: '204': description: Response if pull request has been merged @@ -89206,7 +89602,7 @@ paths: parameters: - *364 - *365 - - *590 + - *593 requestBody: required: false content: @@ -89320,7 +89716,7 @@ paths: parameters: - *364 - *365 - - *590 + - *593 responses: '200': description: Response @@ -89397,7 +89793,7 @@ paths: parameters: - *364 - *365 - - *590 + - *593 requestBody: required: false content: @@ -89434,7 +89830,7 @@ paths: description: Response content: application/json: - schema: *583 + schema: *586 examples: default: value: @@ -89972,7 +90368,7 @@ paths: parameters: - *364 - *365 - - *590 + - *593 requestBody: required: true content: @@ -90006,7 +90402,7 @@ paths: description: Response content: application/json: - schema: *583 + schema: *586 examples: default: value: @@ -90513,7 +90909,7 @@ paths: parameters: - *364 - *365 - - *590 + - *593 - *17 - *19 responses: @@ -90523,7 +90919,7 @@ paths: application/json: schema: type: array - items: &593 + items: &596 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -90681,7 +91077,7 @@ paths: parameters: - *364 - *365 - - *590 + - *593 requestBody: required: false content: @@ -90771,9 +91167,9 @@ paths: description: Response content: application/json: - schema: *593 + schema: *596 examples: - default: &595 + default: &598 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -90838,8 +91234,8 @@ paths: parameters: - *364 - *365 - - *590 - - &594 + - *593 + - &597 name: review_id description: The unique identifier of the review. in: path @@ -90851,9 +91247,9 @@ paths: description: Response content: application/json: - schema: *593 + schema: *596 examples: - default: &596 + default: &599 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -90914,8 +91310,8 @@ paths: parameters: - *364 - *365 - - *590 - - *594 + - *593 + - *597 requestBody: required: true content: @@ -90938,7 +91334,7 @@ paths: description: Response content: application/json: - schema: *593 + schema: *596 examples: default: value: @@ -91002,16 +91398,16 @@ paths: parameters: - *364 - *365 - - *590 - - *594 + - *593 + - *597 responses: '200': description: Response content: application/json: - schema: *593 + schema: *596 examples: - default: *595 + default: *598 '422': *7 '404': *6 x-github: @@ -91040,8 +91436,8 @@ paths: parameters: - *364 - *365 - - *590 - - *594 + - *593 + - *597 - *17 - *19 responses: @@ -91294,8 +91690,8 @@ paths: parameters: - *364 - *365 - - *590 - - *594 + - *593 + - *597 requestBody: required: true content: @@ -91324,7 +91720,7 @@ paths: description: Response content: application/json: - schema: *593 + schema: *596 examples: default: value: @@ -91389,8 +91785,8 @@ paths: parameters: - *364 - *365 - - *590 - - *594 + - *593 + - *597 requestBody: required: true content: @@ -91425,9 +91821,9 @@ paths: description: Response content: application/json: - schema: *593 + schema: *596 examples: - default: *596 + default: *599 '404': *6 '422': *7 '403': *27 @@ -91451,7 +91847,7 @@ paths: parameters: - *364 - *365 - - *590 + - *593 requestBody: required: false content: @@ -91529,9 +91925,9 @@ paths: description: Response content: application/json: - schema: *597 + schema: *600 examples: - default: &598 + default: &601 value: type: file encoding: base64 @@ -91594,9 +91990,9 @@ paths: description: Response content: application/json: - schema: *597 + schema: *600 examples: - default: *598 + default: *601 '404': *6 '422': *15 x-github: @@ -91629,7 +92025,7 @@ paths: application/json: schema: type: array - items: &599 + items: &602 title: Release description: A release. type: object @@ -91701,7 +92097,7 @@ paths: author: *4 assets: type: array - items: &600 + items: &603 title: Release Asset description: Data related to a release. type: object @@ -91958,9 +92354,9 @@ paths: description: Response content: application/json: - schema: *599 + schema: *602 examples: - default: &603 + default: &606 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -92065,7 +92461,7 @@ paths: parameters: - *364 - *365 - - &601 + - &604 name: asset_id description: The unique identifier of the asset. in: path @@ -92077,9 +92473,9 @@ paths: description: Response content: application/json: - schema: *600 + schema: *603 examples: - default: &602 + default: &605 value: url: https://api.github.com/repos/octocat/Hello-World/releases/assets/1 browser_download_url: https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip @@ -92131,7 +92527,7 @@ paths: parameters: - *364 - *365 - - *601 + - *604 requestBody: required: false content: @@ -92160,9 +92556,9 @@ paths: description: Response content: application/json: - schema: *600 + schema: *603 examples: - default: *602 + default: *605 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92180,7 +92576,7 @@ paths: parameters: - *364 - *365 - - *601 + - *604 responses: '204': description: Response @@ -92298,9 +92694,9 @@ paths: description: Response content: application/json: - schema: *599 + schema: *602 examples: - default: *603 + default: *606 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92331,9 +92727,9 @@ paths: description: Response content: application/json: - schema: *599 + schema: *602 examples: - default: *603 + default: *606 '404': *6 x-github: githubCloudOnly: false @@ -92357,7 +92753,7 @@ paths: parameters: - *364 - *365 - - &604 + - &607 name: release_id description: The unique identifier of the release. in: path @@ -92371,9 +92767,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *599 + schema: *602 examples: - default: *603 + default: *606 '401': description: Unauthorized x-github: @@ -92393,7 +92789,7 @@ paths: parameters: - *364 - *365 - - *604 + - *607 requestBody: required: false content: @@ -92457,9 +92853,9 @@ paths: description: Response content: application/json: - schema: *599 + schema: *602 examples: - default: *603 + default: *606 '404': description: Not Found if the discussion category name is invalid content: @@ -92482,7 +92878,7 @@ paths: parameters: - *364 - *365 - - *604 + - *607 responses: '204': description: Response @@ -92504,7 +92900,7 @@ paths: parameters: - *364 - *365 - - *604 + - *607 - *17 - *19 responses: @@ -92514,7 +92910,7 @@ paths: application/json: schema: type: array - items: *600 + items: *603 examples: default: value: @@ -92597,7 +92993,7 @@ paths: parameters: - *364 - *365 - - *604 + - *607 - name: name in: query required: true @@ -92623,7 +93019,7 @@ paths: description: Response for successful upload content: application/json: - schema: *600 + schema: *603 examples: response-for-successful-upload: value: @@ -92679,7 +93075,7 @@ paths: parameters: - *364 - *365 - - *604 + - *607 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -92728,7 +93124,7 @@ paths: parameters: - *364 - *365 - - *604 + - *607 requestBody: required: true content: @@ -92791,7 +93187,7 @@ paths: parameters: - *364 - *365 - - *604 + - *607 - *356 responses: '204': @@ -92834,8 +93230,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *605 - - &607 + - *608 + - &610 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -92854,66 +93250,66 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *606 - - *607 - - allOf: - - *608 - - *607 - allOf: - *609 - - *607 - - allOf: - *610 - - *607 - allOf: - *611 - - *607 + - *610 - allOf: - *612 - - *607 + - *610 - allOf: - *613 - - *607 + - *610 - allOf: - *614 - - *607 + - *610 - allOf: - *615 - - *607 + - *610 - allOf: - *616 - - *607 + - *610 - allOf: - *617 - - *607 + - *610 - allOf: - *618 - - *607 + - *610 - allOf: - *619 - - *607 + - *610 - allOf: - *620 - - *607 + - *610 - allOf: - *621 - - *607 + - *610 - allOf: - *622 - - *607 + - *610 - allOf: - *623 - - *607 + - *610 - allOf: - *624 - - *607 + - *610 - allOf: - *625 - - *607 + - *610 - allOf: - *626 - - *607 + - *610 + - allOf: + - *627 + - *610 + - allOf: + - *628 + - *610 + - allOf: + - *629 + - *610 examples: default: value: @@ -92964,7 +93360,7 @@ paths: schema: type: boolean default: true - - *627 + - *630 responses: '200': description: Response @@ -93082,7 +93478,7 @@ paths: application/json: schema: *124 examples: - default: &636 + default: &639 value: id: 42 name: super cool ruleset @@ -93131,10 +93527,10 @@ paths: parameters: - *364 - *365 - - *628 + - *631 - *214 - - *629 - - *630 + - *632 + - *633 - *17 - *19 responses: @@ -93142,9 +93538,9 @@ paths: description: Response content: application/json: - schema: *631 + schema: *634 examples: - default: *632 + default: *635 '404': *6 '500': *95 x-github: @@ -93167,15 +93563,15 @@ paths: parameters: - *364 - *365 - - *633 + - *636 responses: '200': description: Response content: application/json: - schema: *634 + schema: *637 examples: - default: *635 + default: *638 '404': *6 '500': *95 x-github: @@ -93226,7 +93622,7 @@ paths: application/json: schema: *124 examples: - default: *636 + default: *639 '404': *6 '500': *95 put: @@ -93309,7 +93705,7 @@ paths: application/json: schema: *124 examples: - default: *636 + default: *639 '404': *6 '500': *95 delete: @@ -93472,8 +93868,8 @@ paths: - *84 - *19 - *17 - - *637 - - *638 + - *640 + - *641 - *326 - *327 - *328 @@ -93484,7 +93880,7 @@ paths: application/json: schema: type: array - items: &641 + items: &644 type: object properties: number: *96 @@ -93500,8 +93896,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *639 - resolution: *640 + state: *642 + resolution: *643 resolved_at: type: - string @@ -93728,7 +94124,7 @@ paths: description: Response content: application/json: - schema: *641 + schema: *644 examples: default: value: @@ -93790,8 +94186,8 @@ paths: schema: type: object properties: - state: *639 - resolution: *640 + state: *642 + resolution: *643 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -93810,7 +94206,7 @@ paths: description: Response content: application/json: - schema: *641 + schema: *644 examples: default: value: @@ -93898,7 +94294,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &797 + items: &800 type: object properties: type: @@ -94286,14 +94682,14 @@ paths: schema: type: object properties: - reason: &643 + reason: &646 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *642 + placeholder_id: *645 required: - reason - placeholder_id @@ -94310,7 +94706,7 @@ paths: schema: type: object properties: - reason: *643 + reason: *646 expire_at: type: - string @@ -94370,7 +94766,7 @@ paths: properties: incremental_scans: type: array - items: &644 + items: &647 description: Information on a single scan performed by secret scanning on the repository type: object @@ -94398,15 +94794,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *644 + items: *647 backfill_scans: type: array - items: *644 + items: *647 custom_pattern_backfill_scans: type: array items: allOf: - - *644 + - *647 - type: object properties: pattern_name: @@ -94521,9 +94917,9 @@ paths: application/json: schema: type: array - items: *645 + items: *648 examples: - default: *646 + default: *649 '400': *14 '404': *6 x-github: @@ -94717,9 +95113,9 @@ paths: description: Response content: application/json: - schema: *645 + schema: *648 examples: - default: &648 + default: &651 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -95066,7 +95462,7 @@ paths: description: Response content: application/json: - schema: *645 + schema: *648 examples: default: value: @@ -95215,15 +95611,15 @@ paths: parameters: - *364 - *365 - - *647 + - *650 responses: '200': description: Response content: application/json: - schema: *645 + schema: *648 examples: - default: *648 + default: *651 '403': *27 '404': *6 x-github: @@ -95249,7 +95645,7 @@ paths: parameters: - *364 - *365 - - *647 + - *650 requestBody: required: true content: @@ -95420,10 +95816,10 @@ paths: description: Response content: application/json: - schema: *645 + schema: *648 examples: - default: *648 - add_credit: *648 + default: *651 + add_credit: *651 '403': *27 '404': *6 '422': @@ -95463,7 +95859,7 @@ paths: parameters: - *364 - *365 - - *647 + - *650 responses: '202': *93 '400': *14 @@ -95492,7 +95888,7 @@ paths: parameters: - *364 - *365 - - *647 + - *650 responses: '202': description: Response @@ -95633,7 +96029,7 @@ paths: application/json: schema: type: array - items: &649 + items: &652 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -96006,7 +96402,7 @@ paths: application/json: schema: type: array - items: *649 + items: *652 examples: default: value: @@ -96096,7 +96492,7 @@ paths: description: Response content: application/json: - schema: *650 + schema: *653 examples: default: value: @@ -96190,7 +96586,7 @@ paths: description: if you subscribe to the repository content: application/json: - schema: &651 + schema: &654 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -96290,7 +96686,7 @@ paths: description: Response content: application/json: - schema: *651 + schema: *654 examples: default: value: @@ -96430,7 +96826,7 @@ paths: application/json: schema: type: array - items: &652 + items: &655 title: Tag protection description: Tag protection type: object @@ -96511,7 +96907,7 @@ paths: description: Response content: application/json: - schema: *652 + schema: *655 examples: default: value: @@ -96659,7 +97055,7 @@ paths: description: Response content: application/json: - schema: &653 + schema: &656 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -96671,7 +97067,7 @@ paths: required: - names examples: - default: &654 + default: &657 value: names: - octocat @@ -96726,9 +97122,9 @@ paths: description: Response content: application/json: - schema: *653 + schema: *656 examples: - default: *654 + default: *657 '404': *6 '422': *7 x-github: @@ -96751,7 +97147,7 @@ paths: parameters: - *364 - *365 - - &655 + - &658 name: per description: The time frame to display results for. in: query @@ -96782,7 +97178,7 @@ paths: - 128 clones: type: array - items: &656 + items: &659 title: Traffic type: object properties: @@ -97030,7 +97426,7 @@ paths: parameters: - *364 - *365 - - *655 + - *658 responses: '200': description: Response @@ -97051,7 +97447,7 @@ paths: - 3782 views: type: array - items: *656 + items: *659 required: - uniques - count @@ -97723,7 +98119,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &664 + - &667 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -97733,7 +98129,7 @@ paths: type: string examples: - members - - &669 + - &672 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -97745,7 +98141,7 @@ paths: format: int32 examples: - 1 - - &670 + - &673 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -97789,7 +98185,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &658 + items: &661 allOf: - type: object required: @@ -97871,7 +98267,7 @@ paths: - value: 0db508eb-91e2-46e4-809c-30dcbda0c685 "$+ref": https://api.github.localhost/scim/v2/Users/0db508eb-91e2-46e4-809c-30dcbda0c685 displayName: User 2 - meta: &671 + meta: &674 type: object description: The metadata associated with the creation/updates to the user. @@ -97936,31 +98332,31 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &659 + '400': &662 description: Bad request content: application/json: - schema: *657 + schema: *660 application/scim+json: - schema: *657 - '401': &660 + schema: *660 + '401': &663 description: Authorization failure - '403': &661 + '403': &664 description: Permission denied - '429': &662 + '429': &665 description: Too many requests content: application/json: - schema: *657 + schema: *660 application/scim+json: - schema: *657 - '500': &663 + schema: *660 + '500': &666 description: Internal server error content: application/json: - schema: *657 + schema: *660 application/scim+json: - schema: *657 + schema: *660 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97984,7 +98380,7 @@ paths: required: true content: application/json: - schema: &667 + schema: &670 type: object required: - schemas @@ -98044,9 +98440,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *658 + schema: *661 examples: - group: &665 + group: &668 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -98065,13 +98461,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 - '400': *659 - '401': *660 - '403': *661 - '409': &668 + '400': *662 + '401': *663 + '403': *664 + '409': &671 description: Duplicate record detected - '429': *662 - '500': *663 + '429': *665 + '500': *666 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98088,7 +98484,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-group parameters: - - &666 + - &669 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -98097,22 +98493,22 @@ paths: type: string examples: - 7fce0092-d52e-4f76-b727-3955bd72c939 - - *664 + - *667 - *38 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *658 + schema: *661 examples: - default: *665 - '400': *659 - '401': *660 - '403': *661 + default: *668 + '400': *662 + '401': *663 + '403': *664 '404': *6 - '429': *662 - '500': *663 + '429': *665 + '500': *666 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98131,13 +98527,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-group parameters: - - *666 + - *669 - *38 requestBody: required: true content: application/json: - schema: *667 + schema: *670 examples: group: summary: Group @@ -98163,17 +98559,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *658 + schema: *661 examples: - group: *665 - groupWithMembers: *665 - '400': *659 - '401': *660 - '403': *661 + group: *668 + groupWithMembers: *668 + '400': *662 + '401': *663 + '403': *664 '404': *6 - '409': *668 - '429': *662 - '500': *663 + '409': *671 + '429': *665 + '500': *666 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98197,13 +98593,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-group parameters: - - *666 + - *669 - *38 requestBody: required: true content: application/json: - schema: &678 + schema: &681 type: object required: - Operations @@ -98263,17 +98659,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *658 + schema: *661 examples: - updateGroup: *665 - addMembers: *665 - '400': *659 - '401': *660 - '403': *661 + updateGroup: *668 + addMembers: *668 + '400': *662 + '401': *663 + '403': *664 '404': *6 - '409': *668 - '429': *662 - '500': *663 + '409': *671 + '429': *665 + '500': *666 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98289,17 +98685,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-group-from-an-enterprise parameters: - - *666 + - *669 - *38 responses: '204': description: Group was deleted, no content - '400': *659 - '401': *660 - '403': *661 + '400': *662 + '401': *663 + '403': *664 '404': *6 - '429': *662 - '500': *663 + '429': *665 + '500': *666 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98333,8 +98729,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *669 - - *670 + - *672 + - *673 - *38 responses: '200': @@ -98368,7 +98764,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &673 + items: &676 allOf: - type: object required: @@ -98460,7 +98856,7 @@ paths: address. examples: - true - roles: &672 + roles: &675 type: array description: The roles assigned to the user. items: @@ -98519,7 +98915,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *671 + meta: *674 startIndex: type: integer description: A starting index for the returned page @@ -98558,11 +98954,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *659 - '401': *660 - '403': *661 - '429': *662 - '500': *663 + '400': *662 + '401': *663 + '403': *664 + '429': *665 + '500': *666 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98586,7 +98982,7 @@ paths: required: true content: application/json: - schema: &676 + schema: &679 type: object required: - schemas @@ -98679,9 +99075,9 @@ paths: description: Whether this email address is the primary address. examples: - true - roles: *672 + roles: *675 examples: - user: &677 + user: &680 summary: User value: schemas: @@ -98728,9 +99124,9 @@ paths: description: User has been created content: application/scim+json: - schema: *673 + schema: *676 examples: - user: &674 + user: &677 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -98756,13 +99152,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Users/7fce0092-d52e-4f76-b727-3955bd72c939 - enterpriseOwner: *674 - '400': *659 - '401': *660 - '403': *661 - '409': *668 - '429': *662 - '500': *663 + enterpriseOwner: *677 + '400': *662 + '401': *663 + '403': *664 + '409': *671 + '429': *665 + '500': *666 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98779,7 +99175,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-user parameters: - - &675 + - &678 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -98792,15 +99188,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *673 + schema: *676 examples: - default: *674 - '400': *659 - '401': *660 - '403': *661 + default: *677 + '400': *662 + '401': *663 + '403': *664 '404': *6 - '429': *662 - '500': *663 + '429': *665 + '500': *666 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98822,30 +99218,30 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-user parameters: - - *675 + - *678 - *38 requestBody: required: true content: application/json: - schema: *676 + schema: *679 examples: - user: *677 + user: *680 responses: '200': description: User was updated content: application/scim+json: - schema: *673 + schema: *676 examples: - user: *674 - '400': *659 - '401': *660 - '403': *661 + user: *677 + '400': *662 + '401': *663 + '403': *664 '404': *6 - '409': *668 - '429': *662 - '500': *663 + '409': *671 + '429': *665 + '500': *666 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98880,13 +99276,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-user parameters: - - *675 + - *678 - *38 requestBody: required: true content: application/json: - schema: *678 + schema: *681 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -98926,18 +99322,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *673 - examples: - userMultiValuedProperties: *674 - userSingleValuedProperties: *674 - disableUser: *674 - '400': *659 - '401': *660 - '403': *661 + schema: *676 + examples: + userMultiValuedProperties: *677 + userSingleValuedProperties: *677 + disableUser: *677 + '400': *662 + '401': *663 + '403': *664 '404': *6 - '409': *668 - '429': *662 - '500': *663 + '409': *671 + '429': *665 + '500': *666 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98957,17 +99353,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-user-from-an-enterprise parameters: - - *675 + - *678 - *38 responses: '204': description: User was deleted, no content - '400': *659 - '401': *660 - '403': *661 + '400': *662 + '401': *663 + '403': *664 '404': *6 - '429': *662 - '500': *663 + '429': *665 + '500': *666 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -99058,7 +99454,7 @@ paths: - 1 Resources: type: array - items: &679 + items: &682 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -99305,22 +99701,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *35 - '404': &680 + '404': &683 description: Resource not found content: application/json: - schema: *657 + schema: *660 application/scim+json: - schema: *657 - '403': &681 + schema: *660 + '403': &684 description: Forbidden content: application/json: - schema: *657 + schema: *660 application/scim+json: - schema: *657 - '400': *659 - '429': *662 + schema: *660 + '400': *662 + '429': *665 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -99346,9 +99742,9 @@ paths: description: Response content: application/scim+json: - schema: *679 + schema: *682 examples: - default: &682 + default: &685 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -99371,17 +99767,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *35 - '404': *680 - '403': *681 - '500': *663 + '404': *683 + '403': *684 + '500': *666 '409': description: Conflict content: application/json: - schema: *657 + schema: *660 application/scim+json: - schema: *657 - '400': *659 + schema: *660 + '400': *662 requestBody: required: true content: @@ -99481,17 +99877,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *163 - - *675 + - *678 responses: '200': description: Response content: application/scim+json: - schema: *679 + schema: *682 examples: - default: *682 - '404': *680 - '403': *681 + default: *685 + '404': *683 + '403': *684 '304': *35 x-github: githubCloudOnly: true @@ -99515,18 +99911,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *163 - - *675 + - *678 responses: '200': description: Response content: application/scim+json: - schema: *679 + schema: *682 examples: - default: *682 + default: *685 '304': *35 - '404': *680 - '403': *681 + '404': *683 + '403': *684 requestBody: required: true content: @@ -99641,19 +100037,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *163 - - *675 + - *678 responses: '200': description: Response content: application/scim+json: - schema: *679 + schema: *682 examples: - default: *682 + default: *685 '304': *35 - '404': *680 - '403': *681 - '400': *659 + '404': *683 + '403': *684 + '400': *662 '429': description: Response content: @@ -99749,12 +100145,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *163 - - *675 + - *678 responses: '204': description: Response - '404': *680 - '403': *681 + '404': *683 + '403': *684 '304': *35 x-github: githubCloudOnly: true @@ -99888,7 +100284,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &683 + text_matches: &686 title: Search Result Text Matches type: array items: @@ -100052,7 +100448,7 @@ paths: enum: - author-date - committer-date - - &684 + - &687 name: order description: Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter @@ -100140,7 +100536,7 @@ paths: url: type: string format: uri - verification: *531 + verification: *534 required: - author - committer @@ -100172,7 +100568,7 @@ paths: type: number node_id: type: string - text_matches: *683 + text_matches: *686 required: - sha - node_id @@ -100355,7 +100751,7 @@ paths: - interactions - created - updated - - *684 + - *687 - *17 - *19 - name: advanced_search @@ -100493,7 +100889,7 @@ paths: - string - 'null' format: date-time - text_matches: *683 + text_matches: *686 pull_request: type: object properties: @@ -100719,7 +101115,7 @@ paths: enum: - created - updated - - *684 + - *687 - *17 - *19 responses: @@ -100764,7 +101160,7 @@ paths: - 'null' score: type: number - text_matches: *683 + text_matches: *686 required: - id - node_id @@ -100850,7 +101246,7 @@ paths: - forks - help-wanted-issues - updated - - *684 + - *687 - *17 - *19 responses: @@ -101087,7 +101483,7 @@ paths: - admin - pull - push - text_matches: *683 + text_matches: *686 temp_clone_token: type: string allow_merge_commit: @@ -101396,7 +101792,7 @@ paths: - string - 'null' format: uri - text_matches: *683 + text_matches: *686 related: type: - array @@ -101591,7 +101987,7 @@ paths: - followers - repositories - joined - - *684 + - *687 - *17 - *19 responses: @@ -101701,7 +102097,7 @@ paths: type: - boolean - 'null' - text_matches: *683 + text_matches: *686 blog: type: - string @@ -101783,7 +102179,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &685 + - &688 name: team_id description: The unique identifier of the team. in: path @@ -101824,7 +102220,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *685 + - *688 requestBody: required: true content: @@ -101925,7 +102321,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *685 + - *688 responses: '204': description: Response @@ -101956,7 +102352,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *685 + - *688 - *84 - *17 - *19 @@ -101969,7 +102365,7 @@ paths: type: array items: *347 examples: - default: *686 + default: *689 headers: Link: *37 x-github: @@ -101998,7 +102394,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *685 + - *688 requestBody: required: true content: @@ -102061,7 +102457,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *685 + - *688 - *349 responses: '200': @@ -102095,7 +102491,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *685 + - *688 - *349 requestBody: required: false @@ -102121,7 +102517,7 @@ paths: application/json: schema: *347 examples: - default: *687 + default: *690 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102146,7 +102542,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *685 + - *688 - *349 responses: '204': @@ -102176,7 +102572,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *685 + - *688 - *349 - *84 - *17 @@ -102190,7 +102586,7 @@ paths: type: array items: *350 examples: - default: *688 + default: *691 headers: Link: *37 x-github: @@ -102219,7 +102615,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *685 + - *688 - *349 requestBody: required: true @@ -102271,7 +102667,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *685 + - *688 - *349 - *352 responses: @@ -102306,7 +102702,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *685 + - *688 - *349 - *352 requestBody: @@ -102332,7 +102728,7 @@ paths: application/json: schema: *350 examples: - default: *689 + default: *692 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102357,7 +102753,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *685 + - *688 - *349 - *352 responses: @@ -102388,7 +102784,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *685 + - *688 - *349 - *352 - name: content @@ -102447,7 +102843,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *685 + - *688 - *349 - *352 requestBody: @@ -102509,7 +102905,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *685 + - *688 - *349 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -102567,7 +102963,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *685 + - *688 - *349 requestBody: required: true @@ -102626,7 +103022,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *685 + - *688 - *17 - *19 responses: @@ -102664,7 +103060,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *685 + - *688 - name: role description: Filters members returned by their role in the team. in: query @@ -102715,7 +103111,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *685 + - *688 - *211 responses: '204': @@ -102752,7 +103148,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *685 + - *688 - *211 responses: '204': @@ -102792,7 +103188,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *685 + - *688 - *211 responses: '204': @@ -102829,7 +103225,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *685 + - *688 - *211 responses: '200': @@ -102838,7 +103234,7 @@ paths: application/json: schema: *361 examples: - response-if-user-is-a-team-maintainer: *690 + response-if-user-is-a-team-maintainer: *693 '404': *6 x-github: githubCloudOnly: false @@ -102871,7 +103267,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *685 + - *688 - *211 requestBody: required: false @@ -102899,7 +103295,7 @@ paths: application/json: schema: *361 examples: - response-if-users-membership-with-team-is-now-pending: *691 + response-if-users-membership-with-team-is-now-pending: *694 '403': description: Forbidden if team synchronization is set up '422': @@ -102933,7 +103329,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *685 + - *688 - *211 responses: '204': @@ -102962,7 +103358,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *685 + - *688 - *17 - *19 responses: @@ -102974,7 +103370,7 @@ paths: type: array items: *362 examples: - default: *692 + default: *695 headers: Link: *37 '404': *6 @@ -103000,7 +103396,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *685 + - *688 - *363 responses: '200': @@ -103009,7 +103405,7 @@ paths: application/json: schema: *362 examples: - default: *693 + default: *696 '404': description: Not Found if project is not managed by this team x-github: @@ -103033,7 +103429,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *685 + - *688 - *363 requestBody: required: false @@ -103101,7 +103497,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *685 + - *688 - *363 responses: '204': @@ -103129,7 +103525,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *685 + - *688 - *17 - *19 responses: @@ -103171,7 +103567,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *685 + - *688 - *364 - *365 responses: @@ -103179,7 +103575,7 @@ paths: description: Alternative response with extra repository information content: application/json: - schema: *694 + schema: *697 examples: alternative-response-with-extra-repository-information: value: @@ -103330,7 +103726,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *685 + - *688 - *364 - *365 requestBody: @@ -103382,7 +103778,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *685 + - *688 - *364 - *365 responses: @@ -103413,7 +103809,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team-legacy parameters: - - *685 + - *688 responses: '200': description: Response @@ -103448,7 +103844,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections-legacy parameters: - - *685 + - *688 requestBody: required: true content: @@ -103540,7 +103936,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *685 + - *688 - *17 - *19 responses: @@ -103552,7 +103948,7 @@ paths: type: array items: *220 examples: - response-if-child-teams-exist: *695 + response-if-child-teams-exist: *698 headers: Link: *37 '404': *6 @@ -103585,7 +103981,7 @@ paths: application/json: schema: oneOf: - - &697 + - &700 title: Private User description: Private User type: object @@ -103835,7 +104231,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *696 + - *699 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -103995,7 +104391,7 @@ paths: description: Response content: application/json: - schema: *697 + schema: *700 examples: default: value: @@ -104393,7 +104789,7 @@ paths: type: integer secrets: type: array - items: &698 + items: &701 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -104513,7 +104909,7 @@ paths: description: Response content: application/json: - schema: *698 + schema: *701 examples: default: value: @@ -104659,7 +105055,7 @@ paths: type: array items: *189 examples: - default: *699 + default: *702 '401': *23 '403': *27 '404': *6 @@ -104926,7 +105322,7 @@ paths: description: Response content: application/json: - schema: &700 + schema: &703 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -104979,7 +105375,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &701 + default: &704 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -105024,9 +105420,9 @@ paths: description: Response content: application/json: - schema: *700 + schema: *703 examples: - default: *701 + default: *704 '404': *6 x-github: githubCloudOnly: false @@ -105065,7 +105461,7 @@ paths: type: array items: *474 examples: - default: *702 + default: *705 '304': *35 '500': *95 '401': *23 @@ -106031,7 +106427,7 @@ paths: type: array items: *296 examples: - default: &715 + default: &718 value: - id: 197 name: hello_docker @@ -106132,7 +106528,7 @@ paths: application/json: schema: type: array - items: &703 + items: &706 title: Email description: Email type: object @@ -106202,9 +106598,9 @@ paths: application/json: schema: type: array - items: *703 + items: *706 examples: - default: &717 + default: &720 value: - email: octocat@github.com verified: true @@ -106281,7 +106677,7 @@ paths: application/json: schema: type: array - items: *703 + items: *706 examples: default: value: @@ -106539,7 +106935,7 @@ paths: application/json: schema: type: array - items: &704 + items: &707 title: GPG Key description: A unique encryption key type: object @@ -106684,7 +107080,7 @@ paths: - subkeys - revoked examples: - default: &728 + default: &731 value: - id: 3 name: Octocat's GPG Key @@ -106769,9 +107165,9 @@ paths: description: Response content: application/json: - schema: *704 + schema: *707 examples: - default: &705 + default: &708 value: id: 3 name: Octocat's GPG Key @@ -106828,7 +107224,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &706 + - &709 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -106840,9 +107236,9 @@ paths: description: Response content: application/json: - schema: *704 + schema: *707 examples: - default: *705 + default: *708 '404': *6 '304': *35 '403': *27 @@ -106865,7 +107261,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *706 + - *709 responses: '204': description: Response @@ -107056,7 +107452,7 @@ paths: type: array items: *61 examples: - default: *707 + default: *710 headers: Link: *37 '404': *6 @@ -107170,7 +107566,7 @@ paths: required: true content: application/json: - schema: *542 + schema: *545 examples: default: value: @@ -107320,7 +107716,7 @@ paths: application/json: schema: type: array - items: &708 + items: &711 title: Key description: Key type: object @@ -107418,9 +107814,9 @@ paths: description: Response content: application/json: - schema: *708 + schema: *711 examples: - default: &709 + default: &712 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -107453,15 +107849,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *569 + - *572 responses: '200': description: Response content: application/json: - schema: *708 + schema: *711 examples: - default: *709 + default: *712 '404': *6 '304': *35 '403': *27 @@ -107484,7 +107880,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *569 + - *572 responses: '204': description: Response @@ -107517,7 +107913,7 @@ paths: application/json: schema: type: array - items: &710 + items: &713 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -107596,7 +107992,7 @@ paths: - account - plan examples: - default: &711 + default: &714 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -107658,9 +108054,9 @@ paths: application/json: schema: type: array - items: *710 + items: *713 examples: - default: *711 + default: *714 headers: Link: *37 '304': *35 @@ -108664,7 +109060,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - *291 - - *712 + - *715 responses: '204': description: Response @@ -108737,7 +109133,7 @@ paths: type: array items: *56 examples: - default: *713 + default: *716 headers: Link: *37 '304': *35 @@ -108779,7 +109175,7 @@ paths: - docker - nuget - container - - *714 + - *717 - *19 - *17 responses: @@ -108791,8 +109187,8 @@ paths: type: array items: *296 examples: - default: *715 - '400': *716 + default: *718 + '400': *719 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108821,7 +109217,7 @@ paths: application/json: schema: *296 examples: - default: &729 + default: &732 value: id: 40201 name: octo-name @@ -109276,9 +109672,9 @@ paths: application/json: schema: type: array - items: *703 + items: *706 examples: - default: *717 + default: *720 headers: Link: *37 '304': *35 @@ -109391,7 +109787,7 @@ paths: type: array items: *61 examples: - default: &724 + default: &727 summary: Default response value: - id: 1296269 @@ -109749,9 +110145,9 @@ paths: application/json: schema: type: array - items: *544 + items: *547 examples: - default: *718 + default: *721 headers: Link: *37 '304': *35 @@ -109830,7 +110226,7 @@ paths: application/json: schema: type: array - items: &719 + items: &722 title: Social account description: Social media account type: object @@ -109847,7 +110243,7 @@ paths: - provider - url examples: - default: &720 + default: &723 value: - provider: twitter url: https://twitter.com/github @@ -109910,9 +110306,9 @@ paths: application/json: schema: type: array - items: *719 + items: *722 examples: - default: *720 + default: *723 '422': *15 '304': *35 '404': *6 @@ -110000,7 +110396,7 @@ paths: application/json: schema: type: array - items: &721 + items: &724 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -110020,7 +110416,7 @@ paths: - title - created_at examples: - default: &730 + default: &733 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -110087,9 +110483,9 @@ paths: description: Response content: application/json: - schema: *721 + schema: *724 examples: - default: &722 + default: &725 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -110120,7 +110516,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &723 + - &726 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -110132,9 +110528,9 @@ paths: description: Response content: application/json: - schema: *721 + schema: *724 examples: - default: *722 + default: *725 '404': *6 '304': *35 '403': *27 @@ -110157,7 +110553,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *723 + - *726 responses: '204': description: Response @@ -110186,7 +110582,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &731 + - &734 name: sort description: The property to sort the results by. `created` means when the repository was starred. `updated` means when the repository was last pushed @@ -110211,11 +110607,11 @@ paths: type: array items: *61 examples: - default-response: *724 + default-response: *727 application/vnd.github.v3.star+json: schema: type: array - items: &732 + items: &735 title: Starred Repository description: Starred Repository type: object @@ -110584,10 +110980,10 @@ paths: application/json: schema: oneOf: - - *697 - - *696 + - *700 + - *699 examples: - default-response: &726 + default-response: &729 summary: Default response value: login: octocat @@ -110622,7 +111018,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &727 + response-with-git-hub-plan-information: &730 summary: Response with GitHub plan information value: login: octocat @@ -110682,7 +111078,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *725 + - *728 - *17 responses: '200': @@ -110731,11 +111127,11 @@ paths: application/json: schema: oneOf: - - *697 - - *696 + - *700 + - *699 examples: - default-response: *726 - response-with-git-hub-plan-information: *727 + default-response: *729 + response-with-git-hub-plan-information: *730 '404': *6 x-github: githubCloudOnly: false @@ -110852,7 +111248,7 @@ paths: type: array items: *296 examples: - default: *715 + default: *718 '403': *27 '401': *23 x-github: @@ -111256,9 +111652,9 @@ paths: application/json: schema: type: array - items: *704 + items: *707 examples: - default: *728 + default: *731 headers: Link: *37 x-github: @@ -111362,7 +111758,7 @@ paths: application/json: schema: *20 examples: - default: *541 + default: *544 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111440,7 +111836,7 @@ paths: type: array items: *56 examples: - default: *713 + default: *716 headers: Link: *37 x-github: @@ -111479,7 +111875,7 @@ paths: - docker - nuget - container - - *714 + - *717 - *211 - *19 - *17 @@ -111492,10 +111888,10 @@ paths: type: array items: *296 examples: - default: *715 + default: *718 '403': *27 '401': *23 - '400': *716 + '400': *719 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111525,7 +111921,7 @@ paths: application/json: schema: *296 examples: - default: *729 + default: *732 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -112214,9 +112610,9 @@ paths: application/json: schema: type: array - items: *719 + items: *722 examples: - default: *720 + default: *723 headers: Link: *37 x-github: @@ -112246,9 +112642,9 @@ paths: application/json: schema: type: array - items: *721 + items: *724 examples: - default: *730 + default: *733 headers: Link: *37 x-github: @@ -112273,7 +112669,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - *211 - - *731 + - *734 - *84 - *17 - *19 @@ -112285,11 +112681,11 @@ paths: schema: anyOf: - type: array - items: *732 + items: *735 - type: array items: *61 examples: - default-response: *724 + default-response: *727 headers: Link: *37 x-github: @@ -112449,7 +112845,7 @@ webhooks: type: string enum: - disabled - enterprise: &733 + enterprise: &736 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -112518,7 +112914,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &734 + installation: &737 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -112539,7 +112935,7 @@ webhooks: required: - id - node_id - organization: &735 + organization: &738 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -112612,7 +113008,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &736 + repository: &739 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -113525,10 +113921,10 @@ webhooks: type: string enum: - enabled - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -113604,11 +114000,11 @@ webhooks: type: string enum: - created - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 - rule: &737 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 + rule: &740 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/enterprise-cloud@latest//github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -113831,11 +114227,11 @@ webhooks: type: string enum: - deleted - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 - rule: *737 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 + rule: *740 sender: *4 required: - action @@ -114023,11 +114419,11 @@ webhooks: - everyone required: - from - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 - rule: *737 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 + rule: *740 sender: *4 required: - action @@ -114098,7 +114494,7 @@ webhooks: required: true content: application/json: - schema: &740 + schema: &743 title: Exemption request cancellation event type: object properties: @@ -114106,11 +114502,11 @@ webhooks: type: string enum: - cancelled - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 - exemption_request: &738 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 + exemption_request: &741 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -114340,7 +114736,7 @@ webhooks: - array - 'null' description: The responses to the exemption request. - items: &739 + items: &742 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -114450,7 +114846,7 @@ webhooks: required: true content: application/json: - schema: &741 + schema: &744 title: Exemption request completed event type: object properties: @@ -114458,11 +114854,11 @@ webhooks: type: string enum: - completed - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 - exemption_request: *738 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 + exemption_request: *741 sender: *4 required: - action @@ -114532,7 +114928,7 @@ webhooks: required: true content: application/json: - schema: &742 + schema: &745 title: Exemption request created event type: object properties: @@ -114540,11 +114936,11 @@ webhooks: type: string enum: - created - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 - exemption_request: *738 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 + exemption_request: *741 sender: *4 required: - action @@ -114614,7 +115010,7 @@ webhooks: required: true content: application/json: - schema: &743 + schema: &746 title: Exemption response dismissed event type: object properties: @@ -114622,12 +115018,12 @@ webhooks: type: string enum: - response_dismissed - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 - exemption_request: *738 - exemption_response: *739 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 + exemption_request: *741 + exemption_response: *742 sender: *4 required: - action @@ -114699,7 +115095,7 @@ webhooks: required: true content: application/json: - schema: &744 + schema: &747 title: Exemption response submitted event type: object properties: @@ -114707,12 +115103,12 @@ webhooks: type: string enum: - response_submitted - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 - exemption_request: *738 - exemption_response: *739 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 + exemption_request: *741 + exemption_response: *742 sender: *4 required: - action @@ -114785,7 +115181,7 @@ webhooks: required: true content: application/json: - schema: *740 + schema: *743 responses: '200': description: Return a 200 status to indicate that the data was received @@ -114852,7 +115248,7 @@ webhooks: required: true content: application/json: - schema: *741 + schema: *744 responses: '200': description: Return a 200 status to indicate that the data was received @@ -114919,7 +115315,7 @@ webhooks: required: true content: application/json: - schema: *742 + schema: *745 responses: '200': description: Return a 200 status to indicate that the data was received @@ -114986,7 +115382,7 @@ webhooks: required: true content: application/json: - schema: *743 + schema: *746 responses: '200': description: Return a 200 status to indicate that the data was received @@ -115054,7 +115450,7 @@ webhooks: required: true content: application/json: - schema: *744 + schema: *747 responses: '200': description: Return a 200 status to indicate that the data was received @@ -115132,7 +115528,7 @@ webhooks: type: string enum: - completed - check_run: &746 + check_run: &749 title: CheckRun description: A check performed on the code of a given code change type: object @@ -115245,7 +115641,7 @@ webhooks: - examples: - neutral - deployment: *745 + deployment: *748 details_url: type: string examples: @@ -115343,9 +115739,9 @@ webhooks: - output - app - pull_requests - installation: *734 - organization: *735 - repository: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - check_run @@ -115738,10 +116134,10 @@ webhooks: type: string enum: - created - check_run: *746 - installation: *734 - organization: *735 - repository: *736 + check_run: *749 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - check_run @@ -116137,10 +116533,10 @@ webhooks: type: string enum: - requested_action - check_run: *746 - installation: *734 - organization: *735 - repository: *736 + check_run: *749 + installation: *737 + organization: *738 + repository: *739 requested_action: description: The action requested by the user. type: object @@ -116545,10 +116941,10 @@ webhooks: type: string enum: - rerequested - check_run: *746 - installation: *734 - organization: *735 - repository: *736 + check_run: *749 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - check_run @@ -117540,10 +117936,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -118228,10 +118624,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -118910,10 +119306,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -119231,20 +119627,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &747 + commit_oid: &750 description: The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - enterprise: *733 - installation: *734 - organization: *735 - ref: &748 + enterprise: *736 + installation: *737 + organization: *738 + ref: &751 description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - repository: *736 + repository: *739 sender: *4 required: - action @@ -119649,12 +120045,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *747 - enterprise: *733 - installation: *734 - organization: *735 - ref: *748 - repository: *736 + commit_oid: *750 + enterprise: *736 + installation: *737 + organization: *738 + ref: *751 + repository: *739 sender: *4 required: - action @@ -119934,12 +120330,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *747 - enterprise: *733 - installation: *734 - organization: *735 - ref: *748 - repository: *736 + commit_oid: *750 + enterprise: *736 + installation: *737 + organization: *738 + ref: *751 + repository: *739 sender: *4 required: - action @@ -120282,12 +120678,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *747 - enterprise: *733 - installation: *734 - organization: *735 - ref: *748 - repository: *736 + commit_oid: *750 + enterprise: *736 + installation: *737 + organization: *738 + ref: *751 + repository: *739 sender: *4 required: - action @@ -120567,9 +120963,9 @@ webhooks: type: - string - 'null' - enterprise: *733 - installation: *734 - organization: *735 + enterprise: *736 + installation: *737 + organization: *738 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -120577,7 +120973,7 @@ webhooks: type: - string - 'null' - repository: *736 + repository: *739 sender: *4 required: - action @@ -120820,12 +121216,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *747 - enterprise: *733 - installation: *734 - organization: *735 - ref: *748 - repository: *736 + commit_oid: *750 + enterprise: *736 + installation: *737 + organization: *738 + ref: *751 + repository: *739 sender: *4 required: - action @@ -121087,10 +121483,10 @@ webhooks: - updated_at - author_association - body - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -121171,18 +121567,18 @@ webhooks: type: - string - 'null' - enterprise: *733 - installation: *734 + enterprise: *736 + installation: *737 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *735 - pusher_type: &749 + organization: *738 + pusher_type: &752 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &750 + ref: &753 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -121192,7 +121588,7 @@ webhooks: enum: - tag - branch - repository: *736 + repository: *739 sender: *4 required: - ref @@ -121275,9 +121671,9 @@ webhooks: enum: - created definition: *110 - enterprise: *733 - installation: *734 - organization: *735 + enterprise: *736 + installation: *737 + organization: *738 sender: *4 required: - action @@ -121362,9 +121758,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *733 - installation: *734 - organization: *735 + enterprise: *736 + installation: *737 + organization: *738 sender: *4 required: - action @@ -121442,9 +121838,9 @@ webhooks: enum: - promote_to_enterprise definition: *110 - enterprise: *733 - installation: *734 - organization: *735 + enterprise: *736 + installation: *737 + organization: *738 sender: *4 required: - action @@ -121522,9 +121918,9 @@ webhooks: enum: - updated definition: *110 - enterprise: *733 - installation: *734 - organization: *735 + enterprise: *736 + installation: *737 + organization: *738 sender: *4 required: - action @@ -121601,10 +121997,10 @@ webhooks: type: string enum: - updated - enterprise: *733 - installation: *734 - repository: *736 - organization: *735 + enterprise: *736 + installation: *737 + repository: *739 + organization: *738 sender: *4 new_property_values: type: array @@ -121689,18 +122085,18 @@ webhooks: title: delete event type: object properties: - enterprise: *733 - installation: *734 - organization: *735 - pusher_type: *749 - ref: *750 + enterprise: *736 + installation: *737 + organization: *738 + pusher_type: *752 + ref: *753 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *736 + repository: *739 sender: *4 required: - ref @@ -121785,10 +122181,10 @@ webhooks: enum: - auto_dismissed alert: *500 - installation: *734 - organization: *735 - enterprise: *733 - repository: *736 + installation: *737 + organization: *738 + enterprise: *736 + repository: *739 sender: *4 required: - action @@ -121873,10 +122269,10 @@ webhooks: enum: - auto_reopened alert: *500 - installation: *734 - organization: *735 - enterprise: *733 - repository: *736 + installation: *737 + organization: *738 + enterprise: *736 + repository: *739 sender: *4 required: - action @@ -121961,10 +122357,10 @@ webhooks: enum: - created alert: *500 - installation: *734 - organization: *735 - enterprise: *733 - repository: *736 + installation: *737 + organization: *738 + enterprise: *736 + repository: *739 sender: *4 required: - action @@ -122047,10 +122443,10 @@ webhooks: enum: - dismissed alert: *500 - installation: *734 - organization: *735 - enterprise: *733 - repository: *736 + installation: *737 + organization: *738 + enterprise: *736 + repository: *739 sender: *4 required: - action @@ -122133,10 +122529,10 @@ webhooks: enum: - fixed alert: *500 - installation: *734 - organization: *735 - enterprise: *733 - repository: *736 + installation: *737 + organization: *738 + enterprise: *736 + repository: *739 sender: *4 required: - action @@ -122220,10 +122616,10 @@ webhooks: enum: - reintroduced alert: *500 - installation: *734 - organization: *735 - enterprise: *733 - repository: *736 + installation: *737 + organization: *738 + enterprise: *736 + repository: *739 sender: *4 required: - action @@ -122306,10 +122702,10 @@ webhooks: enum: - reopened alert: *500 - installation: *734 - organization: *735 - enterprise: *733 - repository: *736 + installation: *737 + organization: *738 + enterprise: *736 + repository: *739 sender: *4 required: - action @@ -122386,9 +122782,9 @@ webhooks: type: string enum: - created - enterprise: *733 - installation: *734 - key: &751 + enterprise: *736 + installation: *737 + key: &754 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -122426,8 +122822,8 @@ webhooks: - verified - created_at - read_only - organization: *735 - repository: *736 + organization: *738 + repository: *739 sender: *4 required: - action @@ -122504,11 +122900,11 @@ webhooks: type: string enum: - deleted - enterprise: *733 - installation: *734 - key: *751 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + key: *754 + organization: *738 + repository: *739 sender: *4 required: - action @@ -123080,12 +123476,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 - workflow: &755 + workflow: &758 title: Workflow type: - object @@ -123826,10 +124222,10 @@ webhooks: deployment: *506 pull_requests: type: array - items: *588 - repository: *736 - organization: *735 - installation: *734 + items: *591 + repository: *739 + organization: *738 + installation: *737 sender: *4 responses: '200': @@ -123900,7 +124296,7 @@ webhooks: type: string enum: - approved - approver: &752 + approver: &755 type: object properties: avatar_url: @@ -123943,11 +124339,11 @@ webhooks: type: string comment: type: string - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 - reviewers: &753 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 + reviewers: &756 type: array items: type: object @@ -124028,7 +124424,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &754 + workflow_job_run: &757 type: object properties: conclusion: @@ -124774,18 +125170,18 @@ webhooks: type: string enum: - rejected - approver: *752 + approver: *755 comment: type: string - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 - reviewers: *753 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 + reviewers: *756 sender: *4 since: type: string - workflow_job_run: *754 + workflow_job_run: *757 workflow_job_runs: type: array items: @@ -125502,13 +125898,13 @@ webhooks: type: string enum: - requested - enterprise: *733 + enterprise: *736 environment: type: string - installation: *734 - organization: *735 - repository: *736 - requestor: &760 + installation: *737 + organization: *738 + repository: *739 + requestor: &763 title: User type: - object @@ -127451,12 +127847,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 - workflow: *755 + workflow: *758 workflow_run: title: Deployment Workflow Run type: @@ -128147,7 +128543,7 @@ webhooks: type: string enum: - answered - answer: &758 + answer: &761 type: object properties: author_association: @@ -128307,7 +128703,7 @@ webhooks: - created_at - updated_at - body - discussion: &756 + discussion: &759 title: Discussion description: A Discussion in a repository. type: object @@ -128603,7 +128999,7 @@ webhooks: - id labels: type: array - items: *551 + items: *554 required: - repository_url - category @@ -128625,10 +129021,10 @@ webhooks: - author_association - active_lock_reason - body - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -128755,11 +129151,11 @@ webhooks: - from required: - category - discussion: *756 - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + discussion: *759 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -128842,11 +129238,11 @@ webhooks: type: string enum: - closed - discussion: *756 - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + discussion: *759 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -128928,7 +129324,7 @@ webhooks: type: string enum: - created - comment: &757 + comment: &760 type: object properties: author_association: @@ -129088,11 +129484,11 @@ webhooks: - updated_at - body - reactions - discussion: *756 - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + discussion: *759 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -129175,12 +129571,12 @@ webhooks: type: string enum: - deleted - comment: *757 - discussion: *756 - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + comment: *760 + discussion: *759 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -129275,12 +129671,12 @@ webhooks: - from required: - body - comment: *757 - discussion: *756 - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + comment: *760 + discussion: *759 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -129364,11 +129760,11 @@ webhooks: type: string enum: - created - discussion: *756 - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + discussion: *759 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -129450,11 +129846,11 @@ webhooks: type: string enum: - deleted - discussion: *756 - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + discussion: *759 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -129554,11 +129950,11 @@ webhooks: type: string required: - from - discussion: *756 - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + discussion: *759 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -129640,10 +130036,10 @@ webhooks: type: string enum: - labeled - discussion: *756 - enterprise: *733 - installation: *734 - label: &759 + discussion: *759 + enterprise: *736 + installation: *737 + label: &762 title: Label type: object properties: @@ -129676,8 +130072,8 @@ webhooks: - color - default - description - organization: *735 - repository: *736 + organization: *738 + repository: *739 sender: *4 required: - action @@ -129760,11 +130156,11 @@ webhooks: type: string enum: - locked - discussion: *756 - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + discussion: *759 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -129846,11 +130242,11 @@ webhooks: type: string enum: - pinned - discussion: *756 - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + discussion: *759 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -129932,11 +130328,11 @@ webhooks: type: string enum: - reopened - discussion: *756 - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + discussion: *759 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -130021,16 +130417,16 @@ webhooks: changes: type: object properties: - new_discussion: *756 - new_repository: *736 + new_discussion: *759 + new_repository: *739 required: - new_discussion - new_repository - discussion: *756 - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + discussion: *759 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -130113,10 +130509,10 @@ webhooks: type: string enum: - unanswered - discussion: *756 - old_answer: *758 - organization: *735 - repository: *736 + discussion: *759 + old_answer: *761 + organization: *738 + repository: *739 sender: *4 required: - action @@ -130198,12 +130594,12 @@ webhooks: type: string enum: - unlabeled - discussion: *756 - enterprise: *733 - installation: *734 - label: *759 - organization: *735 - repository: *736 + discussion: *759 + enterprise: *736 + installation: *737 + label: *762 + organization: *738 + repository: *739 sender: *4 required: - action @@ -130286,11 +130682,11 @@ webhooks: type: string enum: - unlocked - discussion: *756 - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + discussion: *759 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -130372,11 +130768,11 @@ webhooks: type: string enum: - unpinned - discussion: *756 - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + discussion: *759 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -130448,7 +130844,7 @@ webhooks: required: true content: application/json: - schema: *742 + schema: *745 responses: '200': description: Return a 200 status to indicate that the data was received @@ -130514,7 +130910,7 @@ webhooks: required: true content: application/json: - schema: *744 + schema: *747 responses: '200': description: Return a 200 status to indicate that the data was received @@ -130580,7 +130976,7 @@ webhooks: required: true content: application/json: - schema: *740 + schema: *743 responses: '200': description: Return a 200 status to indicate that the data was received @@ -130646,7 +131042,7 @@ webhooks: required: true content: application/json: - schema: *741 + schema: *744 responses: '200': description: Return a 200 status to indicate that the data was received @@ -130712,7 +131108,7 @@ webhooks: required: true content: application/json: - schema: *742 + schema: *745 responses: '200': description: Return a 200 status to indicate that the data was received @@ -130778,7 +131174,7 @@ webhooks: required: true content: application/json: - schema: *743 + schema: *746 responses: '200': description: Return a 200 status to indicate that the data was received @@ -130844,7 +131240,7 @@ webhooks: required: true content: application/json: - schema: *744 + schema: *747 responses: '200': description: Return a 200 status to indicate that the data was received @@ -130911,7 +131307,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *733 + enterprise: *736 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -131589,9 +131985,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *734 - organization: *735 - repository: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - forkee @@ -131737,9 +132133,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *733 - installation: *734 - organization: *735 + enterprise: *736 + installation: *737 + organization: *738 pages: description: The pages that were updated. type: array @@ -131777,7 +132173,7 @@ webhooks: - action - sha - html_url - repository: *736 + repository: *739 sender: *4 required: - pages @@ -131853,10 +132249,10 @@ webhooks: type: string enum: - created - enterprise: *733 + enterprise: *736 installation: *20 - organization: *735 - repositories: &761 + organization: *738 + repositories: &764 description: An array of repository objects that the installation can access. type: array @@ -131882,8 +132278,8 @@ webhooks: - name - full_name - private - repository: *736 - requester: *760 + repository: *739 + requester: *763 sender: *4 required: - action @@ -131958,11 +132354,11 @@ webhooks: type: string enum: - deleted - enterprise: *733 + enterprise: *736 installation: *20 - organization: *735 - repositories: *761 - repository: *736 + organization: *738 + repositories: *764 + repository: *739 requester: type: - 'null' @@ -132039,11 +132435,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *733 + enterprise: *736 installation: *20 - organization: *735 - repositories: *761 - repository: *736 + organization: *738 + repositories: *764 + repository: *739 requester: type: - 'null' @@ -132120,10 +132516,10 @@ webhooks: type: string enum: - added - enterprise: *733 + enterprise: *736 installation: *20 - organization: *735 - repositories_added: &762 + organization: *738 + repositories_added: &765 description: An array of repository objects, which were added to the installation. type: array @@ -132169,15 +132565,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *736 - repository_selection: &763 + repository: *739 + repository_selection: &766 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *760 + requester: *763 sender: *4 required: - action @@ -132256,10 +132652,10 @@ webhooks: type: string enum: - removed - enterprise: *733 + enterprise: *736 installation: *20 - organization: *735 - repositories_added: *762 + organization: *738 + repositories_added: *765 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -132286,9 +132682,9 @@ webhooks: - name - full_name - private - repository: *736 - repository_selection: *763 - requester: *760 + repository: *739 + repository_selection: *766 + requester: *763 sender: *4 required: - action @@ -132367,11 +132763,11 @@ webhooks: type: string enum: - suspend - enterprise: *733 + enterprise: *736 installation: *20 - organization: *735 - repositories: *761 - repository: *736 + organization: *738 + repositories: *764 + repository: *739 requester: type: - 'null' @@ -132554,10 +132950,10 @@ webhooks: type: string required: - from - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 target_type: type: string @@ -132636,11 +133032,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *733 + enterprise: *736 installation: *20 - organization: *735 - repositories: *761 - repository: *736 + organization: *738 + repositories: *764 + repository: *739 requester: type: - 'null' @@ -132888,8 +133284,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *733 - installation: *734 + enterprise: *736 + installation: *737 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -134080,8 +134476,8 @@ webhooks: - state - locked - assignee - organization: *735 - repository: *736 + organization: *738 + repository: *739 sender: *4 required: - action @@ -134161,7 +134557,7 @@ webhooks: type: string enum: - deleted - comment: &764 + comment: &767 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -134328,8 +134724,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *733 - installation: *734 + enterprise: *736 + installation: *737 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -135518,8 +135914,8 @@ webhooks: - state - locked - assignee - organization: *735 - repository: *736 + organization: *738 + repository: *739 sender: *4 required: - action @@ -135599,7 +135995,7 @@ webhooks: type: string enum: - edited - changes: &789 + changes: &792 description: The changes to the comment. type: object properties: @@ -135611,9 +136007,9 @@ webhooks: type: string required: - from - comment: *764 - enterprise: *733 - installation: *734 + comment: *767 + enterprise: *736 + installation: *737 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -136803,8 +137199,8 @@ webhooks: - state - locked - assignee - organization: *735 - repository: *736 + organization: *738 + repository: *739 sender: *4 required: - action @@ -136886,10 +137282,10 @@ webhooks: type: string enum: - assigned - assignee: *760 - enterprise: *733 - installation: *734 - issue: &767 + assignee: *763 + enterprise: *736 + installation: *737 + issue: &770 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -137834,8 +138230,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *735 - repository: *736 + organization: *738 + repository: *739 sender: *4 required: - action @@ -137915,8 +138311,8 @@ webhooks: type: string enum: - closed - enterprise: *733 - installation: *734 + enterprise: *736 + installation: *737 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -139009,8 +139405,8 @@ webhooks: required: - state - closed_at - organization: *735 - repository: *736 + organization: *738 + repository: *739 sender: *4 required: - action @@ -139089,8 +139485,8 @@ webhooks: type: string enum: - deleted - enterprise: *733 - installation: *734 + enterprise: *736 + installation: *737 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -140028,8 +140424,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *735 - repository: *736 + organization: *738 + repository: *739 sender: *4 required: - action @@ -140108,8 +140504,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *733 - installation: *734 + enterprise: *736 + installation: *737 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -141051,7 +141447,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &765 + milestone: &768 title: Milestone description: A collection of related issues and pull requests. type: object @@ -141194,8 +141590,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *735 - repository: *736 + organization: *738 + repository: *739 sender: *4 required: - action @@ -141294,8 +141690,8 @@ webhooks: type: string required: - from - enterprise: *733 - installation: *734 + enterprise: *736 + installation: *737 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -142240,9 +142636,9 @@ webhooks: - active_lock_reason - body - reactions - label: *759 - organization: *735 - repository: *736 + label: *762 + organization: *738 + repository: *739 sender: *4 required: - action @@ -142322,8 +142718,8 @@ webhooks: type: string enum: - labeled - enterprise: *733 - installation: *734 + enterprise: *736 + installation: *737 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -143267,9 +143663,9 @@ webhooks: - active_lock_reason - body - reactions - label: *759 - organization: *735 - repository: *736 + label: *762 + organization: *738 + repository: *739 sender: *4 required: - action @@ -143349,8 +143745,8 @@ webhooks: type: string enum: - locked - enterprise: *733 - installation: *734 + enterprise: *736 + installation: *737 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -144296,8 +144692,8 @@ webhooks: format: uri user_view_type: type: string - organization: *735 - repository: *736 + organization: *738 + repository: *739 sender: *4 required: - action @@ -144376,8 +144772,8 @@ webhooks: type: string enum: - milestoned - enterprise: *733 - installation: *734 + enterprise: *736 + installation: *737 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -145317,9 +145713,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *765 - organization: *735 - repository: *736 + milestone: *768 + organization: *738 + repository: *739 sender: *4 required: - action @@ -146819,8 +147215,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *733 - installation: *734 + enterprise: *736 + installation: *737 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -147764,8 +148160,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *735 - repository: *736 + organization: *738 + repository: *739 sender: *4 required: - action @@ -147845,9 +148241,9 @@ webhooks: type: string enum: - pinned - enterprise: *733 - installation: *734 - issue: &766 + enterprise: *736 + installation: *737 + issue: &769 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -148785,8 +149181,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *735 - repository: *736 + organization: *738 + repository: *739 sender: *4 required: - action @@ -148865,8 +149261,8 @@ webhooks: type: string enum: - reopened - enterprise: *733 - installation: *734 + enterprise: *736 + installation: *737 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -149811,8 +150207,8 @@ webhooks: user_view_type: type: string type: *279 - organization: *735 - repository: *736 + organization: *738 + repository: *739 sender: *4 required: - action @@ -151313,11 +151709,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *733 - installation: *734 - issue: *766 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + issue: *769 + organization: *738 + repository: *739 sender: *4 required: - action @@ -151397,12 +151793,12 @@ webhooks: type: string enum: - typed - enterprise: *733 - installation: *734 - issue: *767 + enterprise: *736 + installation: *737 + issue: *770 type: *279 - organization: *735 - repository: *736 + organization: *738 + repository: *739 sender: *4 required: - action @@ -151483,7 +151879,7 @@ webhooks: type: string enum: - unassigned - assignee: &792 + assignee: &795 title: User type: - object @@ -151555,11 +151951,11 @@ webhooks: required: - login - id - enterprise: *733 - installation: *734 - issue: *767 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + issue: *770 + organization: *738 + repository: *739 sender: *4 required: - action @@ -151638,12 +152034,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *733 - installation: *734 - issue: *767 - label: *759 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + issue: *770 + label: *762 + organization: *738 + repository: *739 sender: *4 required: - action @@ -151723,8 +152119,8 @@ webhooks: type: string enum: - unlocked - enterprise: *733 - installation: *734 + enterprise: *736 + installation: *737 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -152668,8 +153064,8 @@ webhooks: format: uri user_view_type: type: string - organization: *735 - repository: *736 + organization: *738 + repository: *739 sender: *4 required: - action @@ -152749,11 +153145,11 @@ webhooks: type: string enum: - unpinned - enterprise: *733 - installation: *734 - issue: *766 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + issue: *769 + organization: *738 + repository: *739 sender: *4 required: - action @@ -152832,12 +153228,12 @@ webhooks: type: string enum: - untyped - enterprise: *733 - installation: *734 - issue: *767 + enterprise: *736 + installation: *737 + issue: *770 type: *279 - organization: *735 - repository: *736 + organization: *738 + repository: *739 sender: *4 required: - action @@ -152917,11 +153313,11 @@ webhooks: type: string enum: - created - enterprise: *733 - installation: *734 - label: *759 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + label: *762 + organization: *738 + repository: *739 sender: *4 required: - action @@ -152999,11 +153395,11 @@ webhooks: type: string enum: - deleted - enterprise: *733 - installation: *734 - label: *759 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + label: *762 + organization: *738 + repository: *739 sender: *4 required: - action @@ -153113,11 +153509,11 @@ webhooks: type: string required: - from - enterprise: *733 - installation: *734 - label: *759 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + label: *762 + organization: *738 + repository: *739 sender: *4 required: - action @@ -153199,9 +153595,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *733 - installation: *734 - marketplace_purchase: &768 + enterprise: *736 + installation: *737 + marketplace_purchase: &771 title: Marketplace Purchase type: object required: @@ -153289,8 +153685,8 @@ webhooks: type: integer unit_count: type: integer - organization: *735 - previous_marketplace_purchase: &769 + organization: *738 + previous_marketplace_purchase: &772 title: Marketplace Purchase type: object properties: @@ -153374,7 +153770,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *736 + repository: *739 sender: *4 required: - action @@ -153454,10 +153850,10 @@ webhooks: - changed effective_date: type: string - enterprise: *733 - installation: *734 - marketplace_purchase: *768 - organization: *735 + enterprise: *736 + installation: *737 + marketplace_purchase: *771 + organization: *738 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -153545,7 +153941,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *736 + repository: *739 sender: *4 required: - action @@ -153627,10 +154023,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *733 - installation: *734 - marketplace_purchase: *768 - organization: *735 + enterprise: *736 + installation: *737 + marketplace_purchase: *771 + organization: *738 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -153716,7 +154112,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *736 + repository: *739 sender: *4 required: - action @@ -153797,8 +154193,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *733 - installation: *734 + enterprise: *736 + installation: *737 marketplace_purchase: title: Marketplace Purchase type: object @@ -153884,9 +154280,9 @@ webhooks: type: integer unit_count: type: integer - organization: *735 - previous_marketplace_purchase: *769 - repository: *736 + organization: *738 + previous_marketplace_purchase: *772 + repository: *739 sender: *4 required: - action @@ -153966,12 +154362,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *733 - installation: *734 - marketplace_purchase: *768 - organization: *735 - previous_marketplace_purchase: *769 - repository: *736 + enterprise: *736 + installation: *737 + marketplace_purchase: *771 + organization: *738 + previous_marketplace_purchase: *772 + repository: *739 sender: *4 required: - action @@ -154073,11 +154469,11 @@ webhooks: type: string required: - to - enterprise: *733 - installation: *734 - member: *760 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + member: *763 + organization: *738 + repository: *739 sender: *4 required: - action @@ -154179,11 +154575,11 @@ webhooks: type: - string - 'null' - enterprise: *733 - installation: *734 - member: *760 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + member: *763 + organization: *738 + repository: *739 sender: *4 required: - action @@ -154262,11 +154658,11 @@ webhooks: type: string enum: - removed - enterprise: *733 - installation: *734 - member: *760 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + member: *763 + organization: *738 + repository: *739 sender: *4 required: - action @@ -154344,11 +154740,11 @@ webhooks: type: string enum: - added - enterprise: *733 - installation: *734 - member: *760 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + member: *763 + organization: *738 + repository: *739 scope: description: The scope of the membership. Currently, can only be `team`. @@ -154426,7 +154822,7 @@ webhooks: required: - login - id - team: &770 + team: &773 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -154619,11 +155015,11 @@ webhooks: type: string enum: - removed - enterprise: *733 - installation: *734 - member: *760 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + member: *763 + organization: *738 + repository: *739 scope: description: The scope of the membership. Currently, can only be `team`. @@ -154702,7 +155098,7 @@ webhooks: required: - login - id - team: *770 + team: *773 required: - action - scope @@ -154784,8 +155180,8 @@ webhooks: type: string enum: - checks_requested - installation: *734 - merge_group: &771 + installation: *737 + merge_group: &774 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -154811,8 +155207,8 @@ webhooks: - base_sha - base_ref - head_commit - organization: *735 - repository: *736 + organization: *738 + repository: *739 sender: *4 required: - action @@ -154898,10 +155294,10 @@ webhooks: - merged - invalidated - dequeued - installation: *734 - merge_group: *771 - organization: *735 - repository: *736 + installation: *737 + merge_group: *774 + organization: *738 + repository: *739 sender: *4 required: - action @@ -154974,7 +155370,7 @@ webhooks: type: string enum: - deleted - enterprise: *733 + enterprise: *736 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -155082,12 +155478,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *734 - organization: *735 + installation: *737 + organization: *738 repository: anyOf: - type: 'null' - - *736 + - *739 sender: *4 required: - action @@ -155167,11 +155563,11 @@ webhooks: type: string enum: - closed - enterprise: *733 - installation: *734 - milestone: *765 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + milestone: *768 + organization: *738 + repository: *739 sender: *4 required: - action @@ -155250,9 +155646,9 @@ webhooks: type: string enum: - created - enterprise: *733 - installation: *734 - milestone: &772 + enterprise: *736 + installation: *737 + milestone: &775 title: Milestone description: A collection of related issues and pull requests. type: object @@ -155394,8 +155790,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *735 - repository: *736 + organization: *738 + repository: *739 sender: *4 required: - action @@ -155474,11 +155870,11 @@ webhooks: type: string enum: - deleted - enterprise: *733 - installation: *734 - milestone: *765 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + milestone: *768 + organization: *738 + repository: *739 sender: *4 required: - action @@ -155588,11 +155984,11 @@ webhooks: type: string required: - from - enterprise: *733 - installation: *734 - milestone: *765 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + milestone: *768 + organization: *738 + repository: *739 sender: *4 required: - action @@ -155672,11 +156068,11 @@ webhooks: type: string enum: - opened - enterprise: *733 - installation: *734 - milestone: *772 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + milestone: *775 + organization: *738 + repository: *739 sender: *4 required: - action @@ -155755,11 +156151,11 @@ webhooks: type: string enum: - blocked - blocked_user: *760 - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + blocked_user: *763 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -155838,11 +156234,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *760 - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + blocked_user: *763 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -155921,9 +156317,9 @@ webhooks: type: string enum: - deleted - enterprise: *733 - installation: *734 - membership: &773 + enterprise: *736 + installation: *737 + membership: &776 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -156017,8 +156413,8 @@ webhooks: - role - organization_url - user - organization: *735 - repository: *736 + organization: *738 + repository: *739 sender: *4 required: - action @@ -156096,11 +156492,11 @@ webhooks: type: string enum: - member_added - enterprise: *733 - installation: *734 - membership: *773 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + membership: *776 + organization: *738 + repository: *739 sender: *4 required: - action @@ -156179,8 +156575,8 @@ webhooks: type: string enum: - member_invited - enterprise: *733 - installation: *734 + enterprise: *736 + installation: *737 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -156302,10 +156698,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *735 - repository: *736 + organization: *738 + repository: *739 sender: *4 - user: *760 + user: *763 required: - action - invitation @@ -156383,11 +156779,11 @@ webhooks: type: string enum: - member_removed - enterprise: *733 - installation: *734 - membership: *773 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + membership: *776 + organization: *738 + repository: *739 sender: *4 required: - action @@ -156474,11 +156870,11 @@ webhooks: properties: from: type: string - enterprise: *733 - installation: *734 - membership: *773 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + membership: *776 + organization: *738 + repository: *739 sender: *4 required: - action @@ -156554,9 +156950,9 @@ webhooks: type: string enum: - published - enterprise: *733 - installation: *734 - organization: *735 + enterprise: *736 + installation: *737 + organization: *738 package: description: Information about the package. type: object @@ -157079,7 +157475,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &774 + items: &777 title: Ruby Gems metadata type: object properties: @@ -157176,7 +157572,7 @@ webhooks: - owner - package_version - registry - repository: *736 + repository: *739 sender: *4 required: - action @@ -157252,9 +157648,9 @@ webhooks: type: string enum: - updated - enterprise: *733 - installation: *734 - organization: *735 + enterprise: *736 + installation: *737 + organization: *738 package: description: Information about the package. type: object @@ -157616,7 +158012,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *774 + items: *777 source_url: type: string format: uri @@ -157687,7 +158083,7 @@ webhooks: - owner - package_version - registry - repository: *736 + repository: *739 sender: *4 required: - action @@ -157868,12 +158264,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *733 + enterprise: *736 id: type: integer - installation: *734 - organization: *735 - repository: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - id @@ -157950,7 +158346,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &775 + personal_access_token_request: &778 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -158100,10 +158496,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *733 - organization: *735 + enterprise: *736 + organization: *738 sender: *4 - installation: *734 + installation: *737 required: - action - personal_access_token_request @@ -158180,11 +158576,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *775 - enterprise: *733 - organization: *735 + personal_access_token_request: *778 + enterprise: *736 + organization: *738 sender: *4 - installation: *734 + installation: *737 required: - action - personal_access_token_request @@ -158260,11 +158656,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *775 - enterprise: *733 - organization: *735 + personal_access_token_request: *778 + enterprise: *736 + organization: *738 sender: *4 - installation: *734 + installation: *737 required: - action - personal_access_token_request @@ -158339,11 +158735,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *775 - organization: *735 - enterprise: *733 + personal_access_token_request: *778 + organization: *738 + enterprise: *736 sender: *4 - installation: *734 + installation: *737 required: - action - personal_access_token_request @@ -158448,7 +158844,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *776 + last_response: *779 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -158480,8 +158876,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *735 - repository: *736 + organization: *738 + repository: *739 sender: *4 zen: description: Random string of GitHub zen. @@ -158726,10 +159122,10 @@ webhooks: - from required: - note - enterprise: *733 - installation: *734 - organization: *735 - project_card: &777 + enterprise: *736 + installation: *737 + organization: *738 + project_card: &780 title: Project Card type: object properties: @@ -158852,7 +159248,7 @@ webhooks: - creator - created_at - updated_at - repository: *736 + repository: *739 sender: *4 required: - action @@ -158933,11 +159329,11 @@ webhooks: type: string enum: - created - enterprise: *733 - installation: *734 - organization: *735 - project_card: *777 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + project_card: *780 + repository: *739 sender: *4 required: - action @@ -159017,9 +159413,9 @@ webhooks: type: string enum: - deleted - enterprise: *733 - installation: *734 - organization: *735 + enterprise: *736 + installation: *737 + organization: *738 project_card: title: Project Card type: object @@ -159149,7 +159545,7 @@ webhooks: repository: anyOf: - type: 'null' - - *736 + - *739 sender: *4 required: - action @@ -159243,11 +159639,11 @@ webhooks: - from required: - note - enterprise: *733 - installation: *734 - organization: *735 - project_card: *777 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + project_card: *780 + repository: *739 sender: *4 required: - action @@ -159341,9 +159737,9 @@ webhooks: - from required: - column_id - enterprise: *733 - installation: *734 - organization: *735 + enterprise: *736 + installation: *737 + organization: *738 project_card: allOf: - title: Project Card @@ -159540,7 +159936,7 @@ webhooks: type: string required: - after_id - repository: *736 + repository: *739 sender: *4 required: - action @@ -159620,10 +160016,10 @@ webhooks: type: string enum: - closed - enterprise: *733 - installation: *734 - organization: *735 - project: &779 + enterprise: *736 + installation: *737 + organization: *738 + project: &782 title: Project type: object properties: @@ -159750,7 +160146,7 @@ webhooks: - creator - created_at - updated_at - repository: *736 + repository: *739 sender: *4 required: - action @@ -159830,10 +160226,10 @@ webhooks: type: string enum: - created - enterprise: *733 - installation: *734 - organization: *735 - project_column: &778 + enterprise: *736 + installation: *737 + organization: *738 + project_column: &781 title: Project Column type: object properties: @@ -159873,7 +160269,7 @@ webhooks: - name - created_at - updated_at - repository: *736 + repository: *739 sender: *4 required: - action @@ -159952,14 +160348,14 @@ webhooks: type: string enum: - deleted - enterprise: *733 - installation: *734 - organization: *735 - project_column: *778 + enterprise: *736 + installation: *737 + organization: *738 + project_column: *781 repository: anyOf: - type: 'null' - - *736 + - *739 sender: *4 required: - action @@ -160048,11 +160444,11 @@ webhooks: type: string required: - from - enterprise: *733 - installation: *734 - organization: *735 - project_column: *778 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + project_column: *781 + repository: *739 sender: *4 required: - action @@ -160132,11 +160528,11 @@ webhooks: type: string enum: - moved - enterprise: *733 - installation: *734 - organization: *735 - project_column: *778 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + project_column: *781 + repository: *739 sender: *4 required: - action @@ -160216,11 +160612,11 @@ webhooks: type: string enum: - created - enterprise: *733 - installation: *734 - organization: *735 - project: *779 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + project: *782 + repository: *739 sender: *4 required: - action @@ -160300,14 +160696,14 @@ webhooks: type: string enum: - deleted - enterprise: *733 - installation: *734 - organization: *735 - project: *779 + enterprise: *736 + installation: *737 + organization: *738 + project: *782 repository: anyOf: - type: 'null' - - *736 + - *739 sender: *4 required: - action @@ -160408,11 +160804,11 @@ webhooks: type: string required: - from - enterprise: *733 - installation: *734 - organization: *735 - project: *779 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + project: *782 + repository: *739 sender: *4 required: - action @@ -160491,11 +160887,11 @@ webhooks: type: string enum: - reopened - enterprise: *733 - installation: *734 - organization: *735 - project: *779 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + project: *782 + repository: *739 sender: *4 required: - action @@ -160576,9 +160972,9 @@ webhooks: type: string enum: - closed - installation: *734 - organization: *735 - projects_v2: &780 + installation: *737 + organization: *738 + projects_v2: &783 title: Projects v2 Project description: A projects v2 project type: object @@ -160726,9 +161122,9 @@ webhooks: type: string enum: - created - installation: *734 - organization: *735 - projects_v2: *780 + installation: *737 + organization: *738 + projects_v2: *783 sender: *4 required: - action @@ -160809,9 +161205,9 @@ webhooks: type: string enum: - deleted - installation: *734 - organization: *735 - projects_v2: *780 + installation: *737 + organization: *738 + projects_v2: *783 sender: *4 required: - action @@ -160932,9 +161328,9 @@ webhooks: type: string to: type: string - installation: *734 - organization: *735 - projects_v2: *780 + installation: *737 + organization: *738 + projects_v2: *783 sender: *4 required: - action @@ -161017,7 +161413,7 @@ webhooks: type: string enum: - archived - changes: &784 + changes: &787 type: object properties: archived_at: @@ -161033,9 +161429,9 @@ webhooks: - string - 'null' format: date-time - installation: *734 - organization: *735 - projects_v2_item: &781 + installation: *737 + organization: *738 + projects_v2_item: &784 title: Projects v2 Item description: An item belonging to a project type: object @@ -161174,9 +161570,9 @@ webhooks: - 'null' to: type: string - installation: *734 - organization: *735 - projects_v2_item: *781 + installation: *737 + organization: *738 + projects_v2_item: *784 sender: *4 required: - action @@ -161258,9 +161654,9 @@ webhooks: type: string enum: - created - installation: *734 - organization: *735 - projects_v2_item: *781 + installation: *737 + organization: *738 + projects_v2_item: *784 sender: *4 required: - action @@ -161341,9 +161737,9 @@ webhooks: type: string enum: - deleted - installation: *734 - organization: *735 - projects_v2_item: *781 + installation: *737 + organization: *738 + projects_v2_item: *784 sender: *4 required: - action @@ -161448,7 +161844,7 @@ webhooks: oneOf: - type: string - type: integer - - &782 + - &785 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -161468,7 +161864,7 @@ webhooks: required: - id - name - - &783 + - &786 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -161497,8 +161893,8 @@ webhooks: oneOf: - type: string - type: integer - - *782 - - *783 + - *785 + - *786 type: - 'null' - string @@ -161521,9 +161917,9 @@ webhooks: - 'null' required: - body - installation: *734 - organization: *735 - projects_v2_item: *781 + installation: *737 + organization: *738 + projects_v2_item: *784 sender: *4 required: - action @@ -161620,9 +162016,9 @@ webhooks: type: - string - 'null' - installation: *734 - organization: *735 - projects_v2_item: *781 + installation: *737 + organization: *738 + projects_v2_item: *784 sender: *4 required: - action @@ -161705,10 +162101,10 @@ webhooks: type: string enum: - restored - changes: *784 - installation: *734 - organization: *735 - projects_v2_item: *781 + changes: *787 + installation: *737 + organization: *738 + projects_v2_item: *784 sender: *4 required: - action @@ -161790,9 +162186,9 @@ webhooks: type: string enum: - reopened - installation: *734 - organization: *735 - projects_v2: *780 + installation: *737 + organization: *738 + projects_v2: *783 sender: *4 required: - action @@ -161873,9 +162269,9 @@ webhooks: type: string enum: - created - installation: *734 - organization: *735 - projects_v2_status_update: &785 + installation: *737 + organization: *738 + projects_v2_status_update: &788 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -162010,9 +162406,9 @@ webhooks: type: string enum: - deleted - installation: *734 - organization: *735 - projects_v2_status_update: *785 + installation: *737 + organization: *738 + projects_v2_status_update: *788 sender: *4 required: - action @@ -162158,9 +162554,9 @@ webhooks: - string - 'null' format: date - installation: *734 - organization: *735 - projects_v2_status_update: *785 + installation: *737 + organization: *738 + projects_v2_status_update: *788 sender: *4 required: - action @@ -162231,10 +162627,10 @@ webhooks: title: public event type: object properties: - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - repository @@ -162311,13 +162707,13 @@ webhooks: type: string enum: - assigned - assignee: *760 - enterprise: *733 - installation: *734 - number: &786 + assignee: *763 + enterprise: *736 + installation: *737 + number: &789 description: The pull request number. type: integer - organization: *735 + organization: *738 pull_request: title: Pull Request type: object @@ -164666,7 +165062,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *736 + repository: *739 sender: *4 required: - action @@ -164748,11 +165144,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *733 - installation: *734 + enterprise: *736 + installation: *737 number: type: integer - organization: *735 + organization: *738 pull_request: title: Pull Request type: object @@ -167094,7 +167490,7 @@ webhooks: - draft reason: type: string - repository: *736 + repository: *739 sender: *4 required: - action @@ -167176,11 +167572,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *733 - installation: *734 + enterprise: *736 + installation: *737 number: type: integer - organization: *735 + organization: *738 pull_request: title: Pull Request type: object @@ -169522,7 +169918,7 @@ webhooks: - draft reason: type: string - repository: *736 + repository: *739 sender: *4 required: - action @@ -169604,13 +170000,13 @@ webhooks: type: string enum: - closed - enterprise: *733 - installation: *734 - number: *786 - organization: *735 - pull_request: &787 + enterprise: *736 + installation: *737 + number: *789 + organization: *738 + pull_request: &790 allOf: - - *588 + - *591 - type: object properties: allow_auto_merge: @@ -169672,7 +170068,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *736 + repository: *739 sender: *4 required: - action @@ -169753,12 +170149,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *733 - installation: *734 - number: *786 - organization: *735 - pull_request: *787 - repository: *736 + enterprise: *736 + installation: *737 + number: *789 + organization: *738 + pull_request: *790 + repository: *739 sender: *4 required: - action @@ -169838,11 +170234,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *733 + enterprise: *736 milestone: *486 - number: *786 - organization: *735 - pull_request: &788 + number: *789 + organization: *738 + pull_request: &791 title: Pull Request type: object properties: @@ -172169,7 +172565,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *736 + repository: *739 sender: *4 required: - action @@ -172248,11 +172644,11 @@ webhooks: type: string enum: - dequeued - enterprise: *733 - installation: *734 + enterprise: *736 + installation: *737 number: type: integer - organization: *735 + organization: *738 pull_request: title: Pull Request type: object @@ -174598,7 +174994,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *736 + repository: *739 sender: *4 required: - action @@ -174722,12 +175118,12 @@ webhooks: type: string required: - from - enterprise: *733 - installation: *734 - number: *786 - organization: *735 - pull_request: *787 - repository: *736 + enterprise: *736 + installation: *737 + number: *789 + organization: *738 + pull_request: *790 + repository: *739 sender: *4 required: - action @@ -174807,11 +175203,11 @@ webhooks: type: string enum: - enqueued - enterprise: *733 - installation: *734 + enterprise: *736 + installation: *737 number: type: integer - organization: *735 + organization: *738 pull_request: title: Pull Request type: object @@ -177142,7 +177538,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *736 + repository: *739 sender: *4 required: - action @@ -177222,11 +177618,11 @@ webhooks: type: string enum: - labeled - enterprise: *733 - installation: *734 - label: *759 - number: *786 - organization: *735 + enterprise: *736 + installation: *737 + label: *762 + number: *789 + organization: *738 pull_request: title: Pull Request type: object @@ -179574,7 +179970,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *736 + repository: *739 sender: *4 required: - action @@ -179655,10 +180051,10 @@ webhooks: type: string enum: - locked - enterprise: *733 - installation: *734 - number: *786 - organization: *735 + enterprise: *736 + installation: *737 + number: *789 + organization: *738 pull_request: title: Pull Request type: object @@ -182004,7 +182400,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *736 + repository: *739 sender: *4 required: - action @@ -182084,12 +182480,12 @@ webhooks: type: string enum: - milestoned - enterprise: *733 + enterprise: *736 milestone: *486 - number: *786 - organization: *735 - pull_request: *788 - repository: *736 + number: *789 + organization: *738 + pull_request: *791 + repository: *739 sender: *4 required: - action @@ -182168,12 +182564,12 @@ webhooks: type: string enum: - opened - enterprise: *733 - installation: *734 - number: *786 - organization: *735 - pull_request: *787 - repository: *736 + enterprise: *736 + installation: *737 + number: *789 + organization: *738 + pull_request: *790 + repository: *739 sender: *4 required: - action @@ -182254,12 +182650,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *733 - installation: *734 - number: *786 - organization: *735 - pull_request: *787 - repository: *736 + enterprise: *736 + installation: *737 + number: *789 + organization: *738 + pull_request: *790 + repository: *739 sender: *4 required: - action @@ -182339,12 +182735,12 @@ webhooks: type: string enum: - reopened - enterprise: *733 - installation: *734 - number: *786 - organization: *735 - pull_request: *787 - repository: *736 + enterprise: *736 + installation: *737 + number: *789 + organization: *738 + pull_request: *790 + repository: *739 sender: *4 required: - action @@ -182719,9 +183115,9 @@ webhooks: - start_side - side - reactions - enterprise: *733 - installation: *734 - organization: *735 + enterprise: *736 + installation: *737 + organization: *738 pull_request: type: object properties: @@ -184951,7 +185347,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *736 + repository: *739 sender: *4 required: - action @@ -185031,7 +185427,7 @@ webhooks: type: string enum: - deleted - comment: &790 + comment: &793 title: Pull Request Review Comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -185324,9 +185720,9 @@ webhooks: - start_side - side - reactions - enterprise: *733 - installation: *734 - organization: *735 + enterprise: *736 + installation: *737 + organization: *738 pull_request: type: object properties: @@ -187544,7 +187940,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *736 + repository: *739 sender: *4 required: - action @@ -187624,11 +188020,11 @@ webhooks: type: string enum: - edited - changes: *789 - comment: *790 - enterprise: *733 - installation: *734 - organization: *735 + changes: *792 + comment: *793 + enterprise: *736 + installation: *737 + organization: *738 pull_request: type: object properties: @@ -189849,7 +190245,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *736 + repository: *739 sender: *4 required: - action @@ -189930,9 +190326,9 @@ webhooks: type: string enum: - dismissed - enterprise: *733 - installation: *734 - organization: *735 + enterprise: *736 + installation: *737 + organization: *738 pull_request: title: Simple Pull Request type: object @@ -192165,7 +192561,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *736 + repository: *739 review: description: The review that was affected. type: object @@ -192411,9 +192807,9 @@ webhooks: type: string required: - from - enterprise: *733 - installation: *734 - organization: *735 + enterprise: *736 + installation: *737 + organization: *738 pull_request: title: Simple Pull Request type: object @@ -194527,8 +194923,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *736 - review: &791 + repository: *739 + review: &794 description: The review that was affected. type: object properties: @@ -194761,12 +195157,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *733 - installation: *734 + enterprise: *736 + installation: *737 number: description: The pull request number. type: integer - organization: *735 + organization: *738 pull_request: title: Pull Request type: object @@ -197113,7 +197509,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *736 + repository: *739 requested_reviewer: title: User type: @@ -197199,12 +197595,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *733 - installation: *734 + enterprise: *736 + installation: *737 number: description: The pull request number. type: integer - organization: *735 + organization: *738 pull_request: title: Pull Request type: object @@ -199558,7 +199954,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *736 + repository: *739 requested_team: title: Team description: Groups of organization members that gives permissions @@ -199753,12 +200149,12 @@ webhooks: type: string enum: - review_requested - enterprise: *733 - installation: *734 + enterprise: *736 + installation: *737 number: description: The pull request number. type: integer - organization: *735 + organization: *738 pull_request: title: Pull Request type: object @@ -202107,7 +202503,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *736 + repository: *739 requested_reviewer: title: User type: @@ -202194,12 +202590,12 @@ webhooks: type: string enum: - review_requested - enterprise: *733 - installation: *734 + enterprise: *736 + installation: *737 number: description: The pull request number. type: integer - organization: *735 + organization: *738 pull_request: title: Pull Request type: object @@ -204539,7 +204935,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *736 + repository: *739 requested_team: title: Team description: Groups of organization members that gives permissions @@ -204723,9 +205119,9 @@ webhooks: type: string enum: - submitted - enterprise: *733 - installation: *734 - organization: *735 + enterprise: *736 + installation: *737 + organization: *738 pull_request: title: Simple Pull Request type: object @@ -206961,8 +207357,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *736 - review: *791 + repository: *739 + review: *794 sender: *4 required: - action @@ -207042,9 +207438,9 @@ webhooks: type: string enum: - resolved - enterprise: *733 - installation: *734 - organization: *735 + enterprise: *736 + installation: *737 + organization: *738 pull_request: title: Simple Pull Request type: object @@ -209175,7 +209571,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *736 + repository: *739 sender: *4 thread: type: object @@ -209567,9 +209963,9 @@ webhooks: type: string enum: - unresolved - enterprise: *733 - installation: *734 - organization: *735 + enterprise: *736 + installation: *737 + organization: *738 pull_request: title: Simple Pull Request type: object @@ -211683,7 +212079,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *736 + repository: *739 sender: *4 thread: type: object @@ -212077,10 +212473,10 @@ webhooks: type: string before: type: string - enterprise: *733 - installation: *734 - number: *786 - organization: *735 + enterprise: *736 + installation: *737 + number: *789 + organization: *738 pull_request: title: Pull Request type: object @@ -214415,7 +214811,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *736 + repository: *739 sender: *4 required: - action @@ -214497,11 +214893,11 @@ webhooks: type: string enum: - unassigned - assignee: *792 - enterprise: *733 - installation: *734 - number: *786 - organization: *735 + assignee: *795 + enterprise: *736 + installation: *737 + number: *789 + organization: *738 pull_request: title: Pull Request type: object @@ -216851,7 +217247,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *736 + repository: *739 sender: *4 required: - action @@ -216930,11 +217326,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *733 - installation: *734 - label: *759 - number: *786 - organization: *735 + enterprise: *736 + installation: *737 + label: *762 + number: *789 + organization: *738 pull_request: title: Pull Request type: object @@ -219273,7 +219669,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *736 + repository: *739 sender: *4 required: - action @@ -219354,10 +219750,10 @@ webhooks: type: string enum: - unlocked - enterprise: *733 - installation: *734 - number: *786 - organization: *735 + enterprise: *736 + installation: *737 + number: *789 + organization: *738 pull_request: title: Pull Request type: object @@ -221686,7 +222082,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *736 + repository: *739 sender: *4 required: - action @@ -221889,7 +222285,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *733 + enterprise: *736 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -221984,8 +222380,8 @@ webhooks: - url - author - committer - installation: *734 - organization: *735 + installation: *737 + organization: *738 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -222573,9 +222969,9 @@ webhooks: type: string enum: - published - enterprise: *733 - installation: *734 - organization: *735 + enterprise: *736 + installation: *737 + organization: *738 registry_package: type: object properties: @@ -223052,7 +223448,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *774 + items: *777 summary: type: string tag_name: @@ -223108,7 +223504,7 @@ webhooks: - owner - package_version - registry - repository: *736 + repository: *739 sender: *4 required: - action @@ -223186,9 +223582,9 @@ webhooks: type: string enum: - updated - enterprise: *733 - installation: *734 - organization: *735 + enterprise: *736 + installation: *737 + organization: *738 registry_package: type: object properties: @@ -223500,7 +223896,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *774 + items: *777 summary: type: string tag_name: @@ -223550,7 +223946,7 @@ webhooks: - owner - package_version - registry - repository: *736 + repository: *739 sender: *4 required: - action @@ -223627,10 +224023,10 @@ webhooks: type: string enum: - created - enterprise: *733 - installation: *734 - organization: *735 - release: &793 + enterprise: *736 + installation: *737 + organization: *738 + release: &796 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -223946,7 +224342,7 @@ webhooks: - tarball_url - zipball_url - body - repository: *736 + repository: *739 sender: *4 required: - action @@ -224023,11 +224419,11 @@ webhooks: type: string enum: - deleted - enterprise: *733 - installation: *734 - organization: *735 - release: *793 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + release: *796 + repository: *739 sender: *4 required: - action @@ -224144,11 +224540,11 @@ webhooks: type: boolean required: - to - enterprise: *733 - installation: *734 - organization: *735 - release: *793 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + release: *796 + repository: *739 sender: *4 required: - action @@ -224226,9 +224622,9 @@ webhooks: type: string enum: - prereleased - enterprise: *733 - installation: *734 - organization: *735 + enterprise: *736 + installation: *737 + organization: *738 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -224549,7 +224945,7 @@ webhooks: - string - 'null' format: uri - repository: *736 + repository: *739 sender: *4 required: - action @@ -224625,10 +225021,10 @@ webhooks: type: string enum: - published - enterprise: *733 - installation: *734 - organization: *735 - release: &794 + enterprise: *736 + installation: *737 + organization: *738 + release: &797 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -224946,7 +225342,7 @@ webhooks: - string - 'null' format: uri - repository: *736 + repository: *739 sender: *4 required: - action @@ -225022,11 +225418,11 @@ webhooks: type: string enum: - released - enterprise: *733 - installation: *734 - organization: *735 - release: *793 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + release: *796 + repository: *739 sender: *4 required: - action @@ -225102,11 +225498,11 @@ webhooks: type: string enum: - unpublished - enterprise: *733 - installation: *734 - organization: *735 - release: *794 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + release: *797 + repository: *739 sender: *4 required: - action @@ -225182,11 +225578,11 @@ webhooks: type: string enum: - published - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 - repository_advisory: *645 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 + repository_advisory: *648 sender: *4 required: - action @@ -225262,11 +225658,11 @@ webhooks: type: string enum: - reported - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 - repository_advisory: *645 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 + repository_advisory: *648 sender: *4 required: - action @@ -225342,10 +225738,10 @@ webhooks: type: string enum: - archived - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -225422,10 +225818,10 @@ webhooks: type: string enum: - created - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -225503,10 +225899,10 @@ webhooks: type: string enum: - deleted - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -225591,10 +225987,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -225709,10 +226105,10 @@ webhooks: - 'null' items: type: string - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -225784,10 +226180,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 status: type: string @@ -225868,10 +226264,10 @@ webhooks: type: string enum: - privatized - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -225948,10 +226344,10 @@ webhooks: type: string enum: - publicized - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -226045,10 +226441,10 @@ webhooks: - name required: - repository - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -226128,10 +226524,10 @@ webhooks: type: string enum: - created - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 repository_ruleset: *124 sender: *4 required: @@ -226210,10 +226606,10 @@ webhooks: type: string enum: - deleted - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 repository_ruleset: *124 sender: *4 required: @@ -226292,10 +226688,10 @@ webhooks: type: string enum: - edited - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 repository_ruleset: *124 changes: type: object @@ -226603,10 +226999,10 @@ webhooks: - from required: - owner - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -226684,10 +227080,10 @@ webhooks: type: string enum: - unarchived - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -226765,7 +227161,7 @@ webhooks: type: string enum: - create - alert: &795 + alert: &798 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -226889,10 +227285,10 @@ webhooks: type: string enum: - open - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -227102,10 +227498,10 @@ webhooks: type: string enum: - dismissed - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -227183,11 +227579,11 @@ webhooks: type: string enum: - reopen - alert: *795 - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + alert: *798 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -227389,10 +227785,10 @@ webhooks: enum: - fixed - open - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -227470,7 +227866,7 @@ webhooks: type: string enum: - created - alert: &796 + alert: &799 type: object properties: number: *96 @@ -227580,10 +227976,10 @@ webhooks: - 'null' description: Whether the detected secret was found in multiple repositories in the same organization or business. - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -227664,11 +228060,11 @@ webhooks: type: string enum: - created - alert: *796 - installation: *734 - location: *797 - organization: *735 - repository: *736 + alert: *799 + installation: *737 + location: *800 + organization: *738 + repository: *739 sender: *4 required: - location @@ -227906,11 +228302,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *796 - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + alert: *799 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -227988,11 +228384,11 @@ webhooks: type: string enum: - reopened - alert: *796 - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + alert: *799 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -228070,11 +228466,11 @@ webhooks: type: string enum: - resolved - alert: *796 - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + alert: *799 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -228152,11 +228548,11 @@ webhooks: type: string enum: - validated - alert: *796 - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + alert: *799 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -228286,10 +228682,10 @@ webhooks: - organization - enterprise - - repository: *736 - enterprise: *733 - installation: *734 - organization: *735 + repository: *739 + enterprise: *736 + installation: *737 + organization: *738 sender: *4 required: - action @@ -228367,11 +228763,11 @@ webhooks: type: string enum: - published - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 - security_advisory: &798 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 + security_advisory: &801 description: The details of the security advisory, including summary, description, and severity. type: object @@ -228557,11 +228953,11 @@ webhooks: type: string enum: - updated - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 - security_advisory: *798 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 + security_advisory: *801 sender: *4 required: - action @@ -228634,10 +229030,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -228824,9 +229220,9 @@ webhooks: type: object properties: security_and_analysis: *315 - enterprise: *733 - installation: *734 - organization: *735 + enterprise: *736 + installation: *737 + organization: *738 repository: *377 sender: *4 required: @@ -228905,12 +229301,12 @@ webhooks: type: string enum: - cancelled - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 - sponsorship: &799 + sponsorship: &802 type: object properties: created_at: @@ -229215,12 +229611,12 @@ webhooks: type: string enum: - created - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 - sponsorship: *799 + sponsorship: *802 required: - action - sponsorship @@ -229308,12 +229704,12 @@ webhooks: type: string required: - from - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 - sponsorship: *799 + sponsorship: *802 required: - action - changes @@ -229390,17 +229786,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &800 + effective_date: &803 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 - sponsorship: *799 + sponsorship: *802 required: - action - sponsorship @@ -229474,7 +229870,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &801 + changes: &804 type: object properties: tier: @@ -229518,13 +229914,13 @@ webhooks: - from required: - tier - effective_date: *800 - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + effective_date: *803 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 - sponsorship: *799 + sponsorship: *802 required: - action - changes @@ -229601,13 +229997,13 @@ webhooks: type: string enum: - tier_changed - changes: *801 - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + changes: *804 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 - sponsorship: *799 + sponsorship: *802 required: - action - changes @@ -229681,10 +230077,10 @@ webhooks: type: string enum: - created - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -229768,10 +230164,10 @@ webhooks: type: string enum: - deleted - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -230205,15 +230601,15 @@ webhooks: type: - string - 'null' - enterprise: *733 + enterprise: *736 id: description: The unique identifier of the status. type: integer - installation: *734 + installation: *737 name: type: string - organization: *735 - repository: *736 + organization: *738 + repository: *739 sender: *4 sha: description: The Commit SHA. @@ -230329,9 +230725,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *147 - installation: *734 - organization: *735 - repository: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -230421,9 +230817,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *147 - installation: *734 - organization: *735 - repository: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -230513,9 +230909,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *147 - installation: *734 - organization: *735 - repository: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -230605,9 +231001,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *147 - installation: *734 - organization: *735 - repository: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -230684,12 +231080,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 - team: &802 + team: &805 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -230882,9 +231278,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *733 - installation: *734 - organization: *735 + enterprise: *736 + installation: *737 + organization: *738 repository: title: Repository description: A git repository @@ -231354,7 +231750,7 @@ webhooks: - topics - visibility sender: *4 - team: *802 + team: *805 required: - action - team @@ -231430,9 +231826,9 @@ webhooks: type: string enum: - created - enterprise: *733 - installation: *734 - organization: *735 + enterprise: *736 + installation: *737 + organization: *738 repository: title: Repository description: A git repository @@ -231902,7 +232298,7 @@ webhooks: - topics - visibility sender: *4 - team: *802 + team: *805 required: - action - team @@ -231979,9 +232375,9 @@ webhooks: type: string enum: - deleted - enterprise: *733 - installation: *734 - organization: *735 + enterprise: *736 + installation: *737 + organization: *738 repository: title: Repository description: A git repository @@ -232451,7 +232847,7 @@ webhooks: - topics - visibility sender: *4 - team: *802 + team: *805 required: - action - team @@ -232595,9 +232991,9 @@ webhooks: - from required: - permissions - enterprise: *733 - installation: *734 - organization: *735 + enterprise: *736 + installation: *737 + organization: *738 repository: title: Repository description: A git repository @@ -233067,7 +233463,7 @@ webhooks: - topics - visibility sender: *4 - team: *802 + team: *805 required: - action - changes @@ -233145,9 +233541,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *733 - installation: *734 - organization: *735 + enterprise: *736 + installation: *737 + organization: *738 repository: title: Repository description: A git repository @@ -233617,7 +234013,7 @@ webhooks: - topics - visibility sender: *4 - team: *802 + team: *805 required: - action - team @@ -233693,10 +234089,10 @@ webhooks: type: string enum: - started - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -233769,17 +234165,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *733 + enterprise: *736 inputs: type: - object - 'null' additionalProperties: true - installation: *734 - organization: *735 + installation: *737 + organization: *738 ref: type: string - repository: *736 + repository: *739 sender: *4 workflow: type: string @@ -233861,10 +234257,10 @@ webhooks: type: string enum: - completed - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 workflow_job: allOf: @@ -234199,10 +234595,10 @@ webhooks: type: string enum: - in_progress - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 workflow_job: allOf: @@ -234563,10 +234959,10 @@ webhooks: type: string enum: - queued - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 workflow_job: type: object @@ -234791,10 +235187,10 @@ webhooks: type: string enum: - waiting - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 workflow_job: type: object @@ -235021,12 +235417,12 @@ webhooks: type: string enum: - completed - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 - workflow: *755 + workflow: *758 workflow_run: title: Workflow Run type: object @@ -236045,12 +236441,12 @@ webhooks: type: string enum: - in_progress - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 - workflow: *755 + workflow: *758 workflow_run: title: Workflow Run type: object @@ -237054,12 +237450,12 @@ webhooks: type: string enum: - requested - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 - workflow: *755 + workflow: *758 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghec/dereferenced/ghec.deref.json b/descriptions-next/ghec/dereferenced/ghec.deref.json index 06254462c1..03b611c6bd 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.deref.json @@ -16592,6 +16592,7 @@ "cookie": "https://github.githubassets.com/images/icons/emoji/unicode/1f36a.png?v8", "cool": "https://github.githubassets.com/images/icons/emoji/unicode/1f192.png?v8", "cop": "https://github.githubassets.com/images/icons/emoji/unicode/1f46e.png?v8", + "copilot": "https://github.githubassets.com/images/icons/emoji/copilot.png?v8", "copyright": "https://github.githubassets.com/images/icons/emoji/unicode/00a9.png?v8", "corn": "https://github.githubassets.com/images/icons/emoji/unicode/1f33d.png?v8", "costa_rica": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e8-1f1f7.png?v8", @@ -48856,7 +48857,7 @@ { "name": "secret_type", "in": "query", - "description": "A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token name(s) in the parameter. See \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest//enterprise-cloud@latest/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)\" for a complete list of secret types.", + "description": "A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token name(s) in the parameter. See \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)\" for a complete list of secret types.", "required": false, "schema": { "type": "string" @@ -51103,7 +51104,7 @@ "/enterprises/{enterprise}/settings/billing/cost-centers/{cost_center_id}/resource": { "post": { "summary": "Add users to a cost center", - "description": "Adds users, orgs, or repos to a cost center.\n\nThe usage for the users will be charged to the cost center's budget. The authenticated user must be an enterprise admin in order to use this endpoint.", + "description": "Adds users to a cost center.\n\nThe usage for the users will be charged to the cost center's budget. The authenticated user must be an enterprise admin in order to use this endpoint.", "tags": [ "billing" ], @@ -51145,20 +51146,6 @@ "items": { "type": "string" } - }, - "organizations": { - "description": "The organizations to add to the cost center.", - "type": "array", - "items": { - "type": "string" - } - }, - "repositories": { - "description": "The repositories to add to the cost center.", - "type": "array", - "items": { - "type": "string" - } } }, "minProperties": 1 @@ -51419,9 +51406,7 @@ } } }, - "required": [ - "users" - ] + "minProperties": 1 }, "examples": { "default": { @@ -127230,6 +127215,477 @@ } } }, + "/orgs/{org}/dismissal-requests/secret-scanning": { + "get": { + "summary": "List alert dismissal requests for secret scanning for an org", + "description": "Lists requests to dismiss secret scanning alerts in an org.\n\nDelegated alert dismissal must be enabled on repositories in the org and the user must be an org admin, security manager,\nor have the \"Review and manage secret scanning alert dismissal requests\" permission to access this endpoint.", + "tags": [ + "secret-scanning" + ], + "operationId": "secret-scanning/list-org-dismissal-requests", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/alert-dismissal-requests#list-alert-dismissal-requests-for-secret-scanning-for-an-org" + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "secret-scanning", + "subcategory": "alert-dismissal-requests" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repository_name", + "description": "The name of the repository to filter on.", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "reviewer", + "description": "Filter bypass requests by the handle of the GitHub user who reviewed the bypass request.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "requester", + "description": "Filter bypass requests by the handle of the GitHub user who requested the bypass.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "time_period", + "description": "The time period to filter by.\n\nFor example, `day` will filter for rule suites that occurred in the past 24 hours, and `week` will filter for insights that occurred in the past 7 days (168 hours).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "hour", + "day", + "week", + "month" + ], + "default": "day" + } + }, + { + "name": "request_status", + "description": "The status of the dismissal request to filter on. When specified, only requests with this status will be returned.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "completed", + "cancelled", + "approved", + "expired", + "denied", + "open", + "all" + ], + "default": "all" + } + }, + { + "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).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "The page number of the results to fetch. 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).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + } + ], + "responses": { + "200": { + "description": "A list of the alert dismissal requests.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Secret scanning alert dismissal request", + "description": "A dismissal request made by a user asking to close a secret scanning alert in this repository.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the dismissal request." + }, + "number": { + "type": "integer", + "description": "The number uniquely identifying the dismissal request within its repository." + }, + "repository": { + "type": "object", + "description": "The repository the dismissal request is for.", + "properties": { + "id": { + "type": "integer", + "description": "The ID of the repository the dismissal request is for." + }, + "name": { + "type": "string", + "description": "The name of the repository the dismissal request is for." + }, + "full_name": { + "type": "string", + "description": "The full name of the repository the dismissal request is for." + } + } + }, + "organization": { + "type": "object", + "description": "The organization associated with the repository the dismissal request is for.", + "properties": { + "id": { + "type": "integer", + "description": "The ID of the organization." + }, + "name": { + "type": "string", + "description": "The name of the organization." + } + } + }, + "requester": { + "type": "object", + "description": "The user who requested the dismissal.", + "properties": { + "actor_id": { + "type": "integer", + "description": "The ID of the GitHub user who requested the dismissal." + }, + "actor_name": { + "type": "string", + "description": "The name of the GitHub user who requested the dismissal." + } + } + }, + "request_type": { + "type": "string", + "description": "The type of request." + }, + "data": { + "type": [ + "array", + "null" + ], + "description": "Data describing the secret alert that is being requested to be dismissed.", + "items": { + "type": "object", + "properties": { + "secret_type": { + "type": "string", + "description": "The type of secret that secret scanning detected." + }, + "alert_number": { + "type": "string", + "description": "The number of the secret scanning alert that was detected." + } + } + } + }, + "resource_identifier": { + "type": "string", + "description": "The number of the secret scanning alert that was detected.", + "examples": [ + 1234 + ] + }, + "status": { + "type": "string", + "description": "The status of the dismissal request.", + "enum": [ + "pending", + "denied", + "approved", + "cancelled", + "expired" + ] + }, + "requester_comment": { + "type": [ + "string", + "null" + ], + "description": "The comment the requester provided when creating the dismissal request." + }, + "expires_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the dismissal request will expire." + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the dismissal request was created." + }, + "responses": { + "type": [ + "array", + "null" + ], + "description": "The responses to the dismissal request.", + "items": { + "title": "Bypass response", + "description": "A response made by a delegated bypasser to a bypass request.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "The ID of the response to the bypass request." + }, + "reviewer": { + "type": "object", + "description": "The user who reviewed the bypass request.", + "properties": { + "actor_id": { + "type": "integer", + "description": "The ID of the GitHub user who reviewed the bypass request." + }, + "actor_name": { + "type": "string", + "description": "The name of the GitHub user who reviewed the bypass request." + } + } + }, + "status": { + "type": "string", + "description": "The response status to the bypass request until dismissed.", + "enum": [ + "approved", + "denied", + "dismissed" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the response to the bypass request was created." + } + } + } + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octo-org/smile/dismissal-requests/secret-scanning/1" + ] + }, + "html_url": { + "type": "string", + "description": "The URL to view the dismissal request in a browser.", + "format": "uri", + "examples": [ + "https://github.com/octo-org/smile/security/secret-scanning/17" + ] + } + } + } + }, + "examples": { + "default": { + "value": [ + { + "id": 21, + "number": 42, + "repository": { + "id": 1, + "name": "smile", + "full_name": "octo-org/smile" + }, + "organization": { + "id": 1, + "name": "octo-org" + }, + "requester": { + "actor_id": 12, + "actor_name": "monalisa" + }, + "request_type": "secret_scanning_closure", + "data": [ + { + "secret_type": "adafruit_io_key", + "alert_number": 17 + } + ], + "resource_identifier": 17, + "status": "denied", + "requester_comment": "Test token used in the readme as an example", + "expires_at": "2024-07-08T08:43:03Z", + "created_at": "2024-07-01T08:43:03Z", + "responses": [ + { + "id": 42, + "reviewer": { + "actor_id": 4, + "actor_name": "octocat" + }, + "status": "denied", + "created_at": "2024-07-02T08:43:04Z" + } + ], + "url": "https://api.github.com/repos/octo-org/smile/dismissal-requests/secret-scanning/21", + "html_url": "https://github.com/octo-org/smile/security/secret-scanning/17" + }, + { + "id": 22, + "number": 43, + "repository": { + "id": 1, + "name": "smile", + "full_name": "octo-org/smile" + }, + "organization": { + "id": 1, + "name": "octo-org" + }, + "requester": { + "actor_id": 12, + "actor_name": "monalisa" + }, + "request_type": "secret_scanning_closure", + "data": [ + { + "secret_type": "adafruit_io_key", + "alert_number": 19 + } + ], + "resource_identifier": 19, + "status": "denied", + "requester_comment": "Test token used in the readme as an example", + "expires_at": "2024-07-08T08:43:03Z", + "created_at": "2024-07-01T08:43:03Z", + "responses": [ + { + "id": 46, + "reviewer": { + "actor_id": 4, + "actor_name": "octocat" + }, + "status": "approved", + "created_at": "2024-07-02T08:43:04Z" + } + ], + "url": "https://api.github.com/repos/octo-org/smile/dismissal-requests/secret-scanning/22", + "html_url": "https://github.com/octo-org/smile/security/secret-scanning/19" + } + ] + } + } + } + } + }, + "404": { + "description": "Resource not found", + "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" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "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" + } + } + } + } + } + }, + "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" + } + } + } + } + } + } + } + } + }, "/orgs/{org}/docker/conflicts": { "get": { "summary": "Get list of conflicting packages during Docker migration for organization", @@ -169351,7 +169807,7 @@ "/orgs/{org}/private-registries": { "get": { "summary": "List private registries for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nLists all private registry configurations available at the organization-level without revealing their encrypted\nvalues.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "\nLists all private registry configurations available at the organization-level without revealing their encrypted\nvalues.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "private-registries" ], @@ -169596,7 +170052,7 @@ }, "post": { "summary": "Create a private registry for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nCreates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/enterprise-cloud@latest//rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "\nCreates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/enterprise-cloud@latest//rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "private-registries" ], @@ -169905,7 +170361,7 @@ "/orgs/{org}/private-registries/public-key": { "get": { "summary": "Get private registries public key for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets the org public key, which is needed to encrypt private registry secrets. You need to encrypt a secret before you can create or update secrets.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "\nGets the org public key, which is needed to encrypt private registry secrets. You need to encrypt a secret before you can create or update secrets.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "private-registries" ], @@ -170010,7 +170466,7 @@ "/orgs/{org}/private-registries/{secret_name}": { "get": { "summary": "Get a private registry for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGet the configuration of a single private registry defined for an organization, omitting its encrypted value.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "\nGet the configuration of a single private registry defined for an organization, omitting its encrypted value.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "private-registries" ], @@ -170150,7 +170606,7 @@ }, "patch": { "summary": "Update a private registry for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nUpdates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/enterprise-cloud@latest//rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "\nUpdates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/enterprise-cloud@latest//rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "private-registries" ], @@ -170354,7 +170810,7 @@ }, "delete": { "summary": "Delete a private registry for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nDelete a private registry configuration at the organization-level.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "\nDelete a private registry configuration at the organization-level.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "private-registries" ], @@ -188806,7 +189262,7 @@ { "name": "secret_type", "in": "query", - "description": "A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token name(s) in the parameter. See \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest//enterprise-cloud@latest/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)\" for a complete list of secret types.", + "description": "A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token name(s) in the parameter. See \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)\" for a complete list of secret types.", "required": false, "schema": { "type": "string" @@ -286724,7 +287180,7 @@ "/repos/{owner}/{repo}/check-runs/{check_run_id}/rerequest": { "post": { "summary": "Rerequest a check run", - "description": "Triggers GitHub to rerequest an existing check run, without pushing new code to a repository. This endpoint will trigger the [`check_run` webhook](https://docs.github.com/enterprise-cloud@latest//webhooks/event-payloads/#check_run) event with the action `rerequested`. When a check run is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.\n\nFor more information about how to re-run GitHub Actions jobs, see \"[Re-run a job from a workflow run](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run)\".\n\nOAuth apps and personal access tokens (classic) cannot use this endpoint.", + "description": "Triggers GitHub to rerequest an existing check run, without pushing new code to a repository. This endpoint will trigger the [`check_run` webhook](https://docs.github.com/enterprise-cloud@latest//webhooks/event-payloads/#check_run) event with the action `rerequested`. When a check run is `rerequested`, the `status` of the check suite it belongs to is reset to `queued` and the `conclusion` is cleared. The check run itself is not updated. GitHub apps recieving the [`check_run` webhook](https://docs.github.com/enterprise-cloud@latest//webhooks/event-payloads/#check_run) with the `rerequested` action should then decide if the check run should be reset or updated and call the [update `check_run` endpoint](https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run) to update the check_run if desired.\n\nFor more information about how to re-run GitHub Actions jobs, see \"[Re-run a job from a workflow run](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run)\".\n\nOAuth apps and personal access tokens (classic) cannot use this endpoint.", "tags": [ "checks" ], @@ -349034,6 +349490,1102 @@ } } }, + "/repos/{owner}/{repo}/dismissal-requests/secret-scanning": { + "get": { + "summary": "List alert dismissal requests for secret scanning for a repository", + "description": "Lists requests to dismiss secret scanning alerts in a repository.\n\nDelegated alert dismissal must be enabled on the repository and the user must be an org admin, security manager,\nor have the \"Review and manage secret scanning alert dismissal requests\" permission to access this endpoint.", + "tags": [ + "secret-scanning" + ], + "operationId": "secret-scanning/list-repo-dismissal-requests", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/alert-dismissal-requests#list-alert-dismissal-requests-for-secret-scanning-for-a-repository" + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "secret-scanning", + "subcategory": "alert-dismissal-requests" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "reviewer", + "description": "Filter bypass requests by the handle of the GitHub user who reviewed the bypass request.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "requester", + "description": "Filter bypass requests by the handle of the GitHub user who requested the bypass.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "time_period", + "description": "The time period to filter by.\n\nFor example, `day` will filter for rule suites that occurred in the past 24 hours, and `week` will filter for insights that occurred in the past 7 days (168 hours).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "hour", + "day", + "week", + "month" + ], + "default": "day" + } + }, + { + "name": "request_status", + "description": "The status of the dismissal request to filter on. When specified, only requests with this status will be returned.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "completed", + "cancelled", + "approved", + "expired", + "denied", + "open", + "all" + ], + "default": "all" + } + }, + { + "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).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "The page number of the results to fetch. 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).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + } + ], + "responses": { + "200": { + "description": "A list of the alert dismissal requests.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Secret scanning alert dismissal request", + "description": "A dismissal request made by a user asking to close a secret scanning alert in this repository.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the dismissal request." + }, + "number": { + "type": "integer", + "description": "The number uniquely identifying the dismissal request within its repository." + }, + "repository": { + "type": "object", + "description": "The repository the dismissal request is for.", + "properties": { + "id": { + "type": "integer", + "description": "The ID of the repository the dismissal request is for." + }, + "name": { + "type": "string", + "description": "The name of the repository the dismissal request is for." + }, + "full_name": { + "type": "string", + "description": "The full name of the repository the dismissal request is for." + } + } + }, + "organization": { + "type": "object", + "description": "The organization associated with the repository the dismissal request is for.", + "properties": { + "id": { + "type": "integer", + "description": "The ID of the organization." + }, + "name": { + "type": "string", + "description": "The name of the organization." + } + } + }, + "requester": { + "type": "object", + "description": "The user who requested the dismissal.", + "properties": { + "actor_id": { + "type": "integer", + "description": "The ID of the GitHub user who requested the dismissal." + }, + "actor_name": { + "type": "string", + "description": "The name of the GitHub user who requested the dismissal." + } + } + }, + "request_type": { + "type": "string", + "description": "The type of request." + }, + "data": { + "type": [ + "array", + "null" + ], + "description": "Data describing the secret alert that is being requested to be dismissed.", + "items": { + "type": "object", + "properties": { + "secret_type": { + "type": "string", + "description": "The type of secret that secret scanning detected." + }, + "alert_number": { + "type": "string", + "description": "The number of the secret scanning alert that was detected." + } + } + } + }, + "resource_identifier": { + "type": "string", + "description": "The number of the secret scanning alert that was detected.", + "examples": [ + 1234 + ] + }, + "status": { + "type": "string", + "description": "The status of the dismissal request.", + "enum": [ + "pending", + "denied", + "approved", + "cancelled", + "expired" + ] + }, + "requester_comment": { + "type": [ + "string", + "null" + ], + "description": "The comment the requester provided when creating the dismissal request." + }, + "expires_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the dismissal request will expire." + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the dismissal request was created." + }, + "responses": { + "type": [ + "array", + "null" + ], + "description": "The responses to the dismissal request.", + "items": { + "title": "Bypass response", + "description": "A response made by a delegated bypasser to a bypass request.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "The ID of the response to the bypass request." + }, + "reviewer": { + "type": "object", + "description": "The user who reviewed the bypass request.", + "properties": { + "actor_id": { + "type": "integer", + "description": "The ID of the GitHub user who reviewed the bypass request." + }, + "actor_name": { + "type": "string", + "description": "The name of the GitHub user who reviewed the bypass request." + } + } + }, + "status": { + "type": "string", + "description": "The response status to the bypass request until dismissed.", + "enum": [ + "approved", + "denied", + "dismissed" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the response to the bypass request was created." + } + } + } + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octo-org/smile/dismissal-requests/secret-scanning/1" + ] + }, + "html_url": { + "type": "string", + "description": "The URL to view the dismissal request in a browser.", + "format": "uri", + "examples": [ + "https://github.com/octo-org/smile/security/secret-scanning/17" + ] + } + } + } + }, + "examples": { + "default": { + "value": [ + { + "id": 21, + "number": 42, + "repository": { + "id": 1, + "name": "smile", + "full_name": "octo-org/smile" + }, + "organization": { + "id": 1, + "name": "octo-org" + }, + "requester": { + "actor_id": 12, + "actor_name": "monalisa" + }, + "request_type": "secret_scanning_closure", + "data": [ + { + "secret_type": "adafruit_io_key", + "alert_number": 17 + } + ], + "resource_identifier": 17, + "status": "denied", + "requester_comment": "Test token used in the readme as an example", + "expires_at": "2024-07-08T08:43:03Z", + "created_at": "2024-07-01T08:43:03Z", + "responses": [ + { + "id": 42, + "reviewer": { + "actor_id": 4, + "actor_name": "octocat" + }, + "status": "denied", + "created_at": "2024-07-02T08:43:04Z" + } + ], + "url": "https://api.github.com/repos/octo-org/smile/dismissal-requests/secret-scanning/21", + "html_url": "https://github.com/octo-org/smile/security/secret-scanning/17" + }, + { + "id": 22, + "number": 43, + "repository": { + "id": 1, + "name": "smile", + "full_name": "octo-org/smile" + }, + "organization": { + "id": 1, + "name": "octo-org" + }, + "requester": { + "actor_id": 12, + "actor_name": "monalisa" + }, + "request_type": "secret_scanning_closure", + "data": [ + { + "secret_type": "adafruit_io_key", + "alert_number": 19 + } + ], + "resource_identifier": 19, + "status": "denied", + "requester_comment": "Test token used in the readme as an example", + "expires_at": "2024-07-08T08:43:03Z", + "created_at": "2024-07-01T08:43:03Z", + "responses": [ + { + "id": 46, + "reviewer": { + "actor_id": 4, + "actor_name": "octocat" + }, + "status": "approved", + "created_at": "2024-07-02T08:43:04Z" + } + ], + "url": "https://api.github.com/repos/octo-org/smile/dismissal-requests/secret-scanning/22", + "html_url": "https://github.com/octo-org/smile/security/secret-scanning/19" + } + ] + } + } + } + } + }, + "404": { + "description": "Resource not found", + "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" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "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" + } + } + } + } + } + }, + "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" + } + } + } + } + } + } + } + } + }, + "/repos/{owner}/{repo}/dismissal-requests/secret-scanning/{alert_number}": { + "get": { + "summary": "Get an alert dismissal request for secret scanning", + "description": "Gets a specific request to dismiss a secret scanning alert in a repository.\n\nDelegated alert dismissal must be enabled on the repository and the user must be an org admin, security manager,\nor have the \"Review and manage secret scanning alert dismissal requests\" permission to access this endpoint.\nPersonal access tokens (classic) need the `security_events` scope to use this endpoint.", + "tags": [ + "secret-scanning" + ], + "operationId": "secret-scanning/get-dismissal-request", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/alert-dismissal-requests#get-an-alert-dismissal-request-for-secret-scanning" + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "secret-scanning", + "subcategory": "alert-dismissal-requests" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "alert_number", + "in": "path", + "required": true, + "description": "The number that identifies the secret scanning alert in a repository.", + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "A single dismissal request.", + "content": { + "application/json": { + "schema": { + "title": "Secret scanning alert dismissal request", + "description": "A dismissal request made by a user asking to close a secret scanning alert in this repository.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the dismissal request." + }, + "number": { + "type": "integer", + "description": "The number uniquely identifying the dismissal request within its repository." + }, + "repository": { + "type": "object", + "description": "The repository the dismissal request is for.", + "properties": { + "id": { + "type": "integer", + "description": "The ID of the repository the dismissal request is for." + }, + "name": { + "type": "string", + "description": "The name of the repository the dismissal request is for." + }, + "full_name": { + "type": "string", + "description": "The full name of the repository the dismissal request is for." + } + } + }, + "organization": { + "type": "object", + "description": "The organization associated with the repository the dismissal request is for.", + "properties": { + "id": { + "type": "integer", + "description": "The ID of the organization." + }, + "name": { + "type": "string", + "description": "The name of the organization." + } + } + }, + "requester": { + "type": "object", + "description": "The user who requested the dismissal.", + "properties": { + "actor_id": { + "type": "integer", + "description": "The ID of the GitHub user who requested the dismissal." + }, + "actor_name": { + "type": "string", + "description": "The name of the GitHub user who requested the dismissal." + } + } + }, + "request_type": { + "type": "string", + "description": "The type of request." + }, + "data": { + "type": [ + "array", + "null" + ], + "description": "Data describing the secret alert that is being requested to be dismissed.", + "items": { + "type": "object", + "properties": { + "secret_type": { + "type": "string", + "description": "The type of secret that secret scanning detected." + }, + "alert_number": { + "type": "string", + "description": "The number of the secret scanning alert that was detected." + } + } + } + }, + "resource_identifier": { + "type": "string", + "description": "The number of the secret scanning alert that was detected.", + "examples": [ + 1234 + ] + }, + "status": { + "type": "string", + "description": "The status of the dismissal request.", + "enum": [ + "pending", + "denied", + "approved", + "cancelled", + "expired" + ] + }, + "requester_comment": { + "type": [ + "string", + "null" + ], + "description": "The comment the requester provided when creating the dismissal request." + }, + "expires_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the dismissal request will expire." + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the dismissal request was created." + }, + "responses": { + "type": [ + "array", + "null" + ], + "description": "The responses to the dismissal request.", + "items": { + "title": "Bypass response", + "description": "A response made by a delegated bypasser to a bypass request.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "The ID of the response to the bypass request." + }, + "reviewer": { + "type": "object", + "description": "The user who reviewed the bypass request.", + "properties": { + "actor_id": { + "type": "integer", + "description": "The ID of the GitHub user who reviewed the bypass request." + }, + "actor_name": { + "type": "string", + "description": "The name of the GitHub user who reviewed the bypass request." + } + } + }, + "status": { + "type": "string", + "description": "The response status to the bypass request until dismissed.", + "enum": [ + "approved", + "denied", + "dismissed" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the response to the bypass request was created." + } + } + } + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octo-org/smile/dismissal-requests/secret-scanning/1" + ] + }, + "html_url": { + "type": "string", + "description": "The URL to view the dismissal request in a browser.", + "format": "uri", + "examples": [ + "https://github.com/octo-org/smile/security/secret-scanning/17" + ] + } + } + }, + "examples": { + "default": { + "value": { + "id": 21, + "number": 42, + "repository": { + "id": 1, + "name": "smile", + "full_name": "octo-org/smile" + }, + "organization": { + "id": 1, + "name": "octo-org" + }, + "requester": { + "actor_id": 12, + "actor_name": "monalisa" + }, + "request_type": "secret_scanning_closure", + "data": [ + { + "secret_type": "adafruit_io_key", + "alert_number": 17 + } + ], + "resource_identifier": 17, + "status": "denied", + "requester_comment": "Test token used in the readme as an example", + "expires_at": "2024-07-08T08:43:03Z", + "created_at": "2024-07-01T08:43:03Z", + "responses": [ + { + "id": 42, + "reviewer": { + "actor_id": 4, + "actor_name": "octocat" + }, + "status": "denied", + "created_at": "2024-07-02T08:43:04Z" + } + ], + "url": "https://api.github.com/repos/octo-org/smile/dismissal-requests/secret-scanning/21", + "html_url": "https://github.com/octo-org/smile/security/secret-scanning/17" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "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" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "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" + } + } + } + } + } + }, + "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" + } + } + } + } + } + } + } + }, + "patch": { + "summary": "Review an alert dismissal request for secret scanning", + "description": "Approve or deny a request to dismiss a secret scanning alert in a repository.\n\nDelegated alert dismissal must be enabled on the repository and the user must be an org admin, security manager,\nor have the \"Review and manage secret scanning alert dismissal requests\" permission to access this endpoint.\nPersonal access tokens (classic) need the `security_events` scope to use this endpoint.", + "tags": [ + "secret-scanning" + ], + "operationId": "secret-scanning/review-dismissal-request", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/alert-dismissal-requests#review-an-alert-dismissal-request-for-secret-scanning" + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "secret-scanning", + "subcategory": "alert-dismissal-requests" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "alert_number", + "in": "path", + "required": true, + "description": "The number that identifies the secret scanning alert in a repository.", + "schema": { + "type": "integer" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "status": { + "type": "string", + "description": "The review action to perform on the dismissal request.", + "enum": [ + "approve", + "deny" + ] + }, + "message": { + "type": "string", + "description": "A message to include with the review. Has a maximum character length of 2048." + } + }, + "required": [ + "status", + "message" + ] + }, + "examples": { + "default": { + "value": { + "status": "deny", + "message": "This secret has not been revoked." + } + } + } + } + } + }, + "responses": { + "200": { + "description": "The review of the dismissal request.", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "dismissal_review_id": { + "type": "integer", + "description": "ID of the dismissal review." + } + } + }, + "examples": { + "default": { + "value": { + "dismissal_review_id": 1 + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "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" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "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" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + }, + "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" + } + } + } + } + } + } + } + } + }, "/repos/{owner}/{repo}/dispatches": { "post": { "summary": "Create a repository dispatch event", @@ -531589,7 +533141,7 @@ { "name": "secret_type", "in": "query", - "description": "A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token name(s) in the parameter. See \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest//enterprise-cloud@latest/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)\" for a complete list of secret types.", + "description": "A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token name(s) in the parameter. See \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)\" for a complete list of secret types.", "required": false, "schema": { "type": "string" diff --git a/descriptions-next/ghec/dereferenced/ghec.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.deref.yaml index e664c7d12f..95a78bcf9c 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.deref.yaml @@ -1073,7 +1073,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &647 + - &650 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1813,7 +1813,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &657 + schema: &660 title: Scim Error description: Scim Error type: object @@ -5747,6 +5747,7 @@ paths: cookie: https://github.githubassets.com/images/icons/emoji/unicode/1f36a.png?v8 cool: https://github.githubassets.com/images/icons/emoji/unicode/1f192.png?v8 cop: https://github.githubassets.com/images/icons/emoji/unicode/1f46e.png?v8 + copilot: https://github.githubassets.com/images/icons/emoji/copilot.png?v8 copyright: https://github.githubassets.com/images/icons/emoji/unicode/00a9.png?v8 corn: https://github.githubassets.com/images/icons/emoji/unicode/1f33d.png?v8 costa_rica: https://github.githubassets.com/images/icons/emoji/unicode/1f1e8-1f1f7.png?v8 @@ -16773,7 +16774,7 @@ paths: type: object description: A repository rule. oneOf: - - &605 + - &608 title: creation description: Only allow users with bypass permission to create matching refs. @@ -16785,7 +16786,7 @@ paths: type: string enum: - creation - - &606 + - &609 title: update description: Only allow users with bypass permission to update matching refs. @@ -16806,7 +16807,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &608 + - &611 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -16818,7 +16819,7 @@ paths: type: string enum: - deletion - - &609 + - &612 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -16830,7 +16831,7 @@ paths: type: string enum: - required_linear_history - - &610 + - &613 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -16906,7 +16907,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &611 + - &614 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches @@ -16930,7 +16931,7 @@ paths: type: string required: - required_deployment_environments - - &612 + - &615 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -16942,7 +16943,7 @@ paths: type: string enum: - required_signatures - - &613 + - &616 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. @@ -17002,7 +17003,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &614 + - &617 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed @@ -17049,7 +17050,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &615 + - &618 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -17061,7 +17062,7 @@ paths: type: string enum: - non_fast_forward - - &616 + - &619 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -17097,7 +17098,7 @@ paths: required: - operator - pattern - - &617 + - &620 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -17133,7 +17134,7 @@ paths: required: - operator - pattern - - &618 + - &621 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -17169,7 +17170,7 @@ paths: required: - operator - pattern - - &619 + - &622 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -17205,7 +17206,7 @@ paths: required: - operator - pattern - - &620 + - &623 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -17241,7 +17242,7 @@ paths: required: - operator - pattern - - &621 + - &624 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit graph. @@ -17265,7 +17266,7 @@ paths: type: string required: - restricted_file_paths - - &622 + - &625 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit @@ -17289,7 +17290,7 @@ paths: maximum: 256 required: - max_file_path_length - - &623 + - &626 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -17312,7 +17313,7 @@ paths: type: string required: - restricted_file_extensions - - &624 + - &627 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph. @@ -17336,7 +17337,7 @@ paths: maximum: 100 required: - max_file_size - - &625 + - &628 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -17385,7 +17386,7 @@ paths: - repository_id required: - workflows - - &626 + - &629 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, code scanning @@ -17950,7 +17951,7 @@ paths: in: query description: A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token - name(s) in the parameter. See "[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest//enterprise-cloud@latest/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)" + name(s) in the parameter. See "[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)" for a complete list of secret types. required: false schema: @@ -18030,14 +18031,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &639 + state: &642 description: Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`. type: string enum: - open - resolved - resolution: &640 + resolution: &643 type: - string - 'null' @@ -18688,7 +18689,7 @@ paths: post: summary: Add users to a cost center description: |- - Adds users, orgs, or repos to a cost center. + Adds users to a cost center. The usage for the users will be charged to the cost center's budget. The authenticated user must be an enterprise admin in order to use this endpoint. tags: @@ -18718,16 +18719,6 @@ paths: type: array items: type: string - organizations: - description: The organizations to add to the cost center. - type: array - items: - type: string - repositories: - description: The repositories to add to the cost center. - type: array - items: - type: string minProperties: 1 examples: default: @@ -18786,8 +18777,7 @@ paths: type: array items: type: string - required: - - users + minProperties: 1 examples: default: value: @@ -19716,7 +19706,7 @@ paths: - author_association - created_at - updated_at - comment: &545 + comment: &548 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -20291,7 +20281,7 @@ paths: url: type: string format: uri - user: &696 + user: &699 title: Public User description: Public User type: object @@ -23748,7 +23738,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &574 + - &577 name: all description: If `true`, show notifications marked as read. in: query @@ -23756,7 +23746,7 @@ paths: schema: type: boolean default: false - - &575 + - &578 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -23766,7 +23756,7 @@ paths: type: boolean default: false - *137 - - &576 + - &579 name: before description: 'Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: @@ -24300,7 +24290,7 @@ paths: - url - subscription_url examples: - default: &577 + default: &580 value: - id: '1' repository: @@ -24853,7 +24843,7 @@ paths: type: array items: *56 examples: - default: &713 + default: &716 value: - login: github id: 1 @@ -26529,7 +26519,7 @@ paths: type: array items: *61 examples: - default: &707 + default: &710 value: total_count: 1 repositories: @@ -27352,7 +27342,7 @@ paths: type: array items: *189 examples: - default: &699 + default: &702 value: total_count: 1 repositories: @@ -34690,6 +34680,240 @@ paths: enabledForGitHubApps: true category: dependabot subcategory: secrets + "/orgs/{org}/dismissal-requests/secret-scanning": + get: + summary: List alert dismissal requests for secret scanning for an org + description: |- + Lists requests to dismiss secret scanning alerts in an org. + + Delegated alert dismissal must be enabled on repositories in the org and the user must be an org admin, security manager, + or have the "Review and manage secret scanning alert dismissal requests" permission to access this endpoint. + tags: + - secret-scanning + operationId: secret-scanning/list-org-dismissal-requests + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/alert-dismissal-requests#list-alert-dismissal-requests-for-secret-scanning-for-an-org + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: secret-scanning + subcategory: alert-dismissal-requests + parameters: + - *163 + - *218 + - *212 + - *213 + - *214 + - &511 + name: request_status + description: The status of the dismissal request to filter on. When specified, + only requests with this status will be returned. + in: query + required: false + schema: + type: string + enum: + - completed + - cancelled + - approved + - expired + - denied + - open + - all + default: all + - *17 + - *19 + responses: + '200': + description: A list of the alert dismissal requests. + content: + application/json: + schema: + type: array + items: &512 + title: Secret scanning alert dismissal request + description: A dismissal request made by a user asking to close + a secret scanning alert in this repository. + type: object + properties: + id: + type: integer + description: The unique identifier of the dismissal request. + number: + type: integer + description: The number uniquely identifying the dismissal request + within its repository. + repository: + type: object + description: The repository the dismissal request is for. + properties: + id: + type: integer + description: The ID of the repository the dismissal request + is for. + name: + type: string + description: The name of the repository the dismissal request + is for. + full_name: + type: string + description: The full name of the repository the dismissal + request is for. + organization: + type: object + description: The organization associated with the repository + the dismissal request is for. + properties: + id: + type: integer + description: The ID of the organization. + name: + type: string + description: The name of the organization. + requester: + type: object + description: The user who requested the dismissal. + properties: + actor_id: + type: integer + description: The ID of the GitHub user who requested the + dismissal. + actor_name: + type: string + description: The name of the GitHub user who requested the + dismissal. + request_type: + type: string + description: The type of request. + data: + type: + - array + - 'null' + description: Data describing the secret alert that is being + requested to be dismissed. + items: + type: object + properties: + secret_type: + type: string + description: The type of secret that secret scanning detected. + alert_number: + type: string + description: The number of the secret scanning alert that + was detected. + resource_identifier: + type: string + description: The number of the secret scanning alert that was + detected. + examples: + - 1234 + status: + type: string + description: The status of the dismissal request. + enum: + - pending + - denied + - approved + - cancelled + - expired + requester_comment: + type: + - string + - 'null' + description: The comment the requester provided when creating + the dismissal request. + expires_at: + type: string + format: date-time + description: The date and time the dismissal request will expire. + created_at: + type: string + format: date-time + description: The date and time the dismissal request was created. + responses: + type: + - array + - 'null' + description: The responses to the dismissal request. + items: *219 + url: + type: string + format: uri + examples: + - https://api.github.com/repos/octo-org/smile/dismissal-requests/secret-scanning/1 + html_url: + type: string + description: The URL to view the dismissal request in a browser. + format: uri + examples: + - https://github.com/octo-org/smile/security/secret-scanning/17 + examples: + default: &513 + value: + - id: 21 + number: 42 + repository: + id: 1 + name: smile + full_name: octo-org/smile + organization: + id: 1 + name: octo-org + requester: + actor_id: 12 + actor_name: monalisa + request_type: secret_scanning_closure + data: + - secret_type: adafruit_io_key + alert_number: 17 + resource_identifier: 17 + status: denied + requester_comment: Test token used in the readme as an example + expires_at: '2024-07-08T08:43:03Z' + created_at: '2024-07-01T08:43:03Z' + responses: + - id: 42 + reviewer: + actor_id: 4 + actor_name: octocat + status: denied + created_at: '2024-07-02T08:43:04Z' + url: https://api.github.com/repos/octo-org/smile/dismissal-requests/secret-scanning/21 + html_url: https://github.com/octo-org/smile/security/secret-scanning/17 + - id: 22 + number: 43 + repository: + id: 1 + name: smile + full_name: octo-org/smile + organization: + id: 1 + name: octo-org + requester: + actor_id: 12 + actor_name: monalisa + request_type: secret_scanning_closure + data: + - secret_type: adafruit_io_key + alert_number: 19 + resource_identifier: 19 + status: denied + requester_comment: Test token used in the readme as an example + expires_at: '2024-07-08T08:43:03Z' + created_at: '2024-07-01T08:43:03Z' + responses: + - id: 46 + reviewer: + actor_id: 4 + actor_name: octocat + status: approved + created_at: '2024-07-02T08:43:04Z' + url: https://api.github.com/repos/octo-org/smile/dismissal-requests/secret-scanning/22 + html_url: https://github.com/octo-org/smile/security/secret-scanning/19 + '404': *6 + '403': *27 + '500': *95 "/orgs/{org}/docker/conflicts": get: summary: Get list of conflicting packages during Docker migration for organization @@ -36481,7 +36705,7 @@ paths: application/json: schema: *20 examples: - default: &541 + default: &544 value: id: 1 account: @@ -36709,7 +36933,7 @@ paths: required: true content: application/json: - schema: &542 + schema: &545 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration @@ -38810,7 +39034,7 @@ paths: parameters: - *163 - *291 - - &712 + - &715 name: repo_name description: repo_name parameter in: path @@ -40140,7 +40364,7 @@ paths: - nuget - container - *163 - - &714 + - &717 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -40181,7 +40405,7 @@ paths: default: *297 '403': *27 '401': *23 - '400': &716 + '400': &719 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -41338,9 +41562,7 @@ paths: "/orgs/{org}/private-registries": get: summary: List private registries for an organization - description: |- - > [!NOTE] - > This endpoint is in public preview and is subject to change. + description: |2- Lists all private registry configurations available at the organization-level without revealing their encrypted values. @@ -41436,9 +41658,7 @@ paths: subcategory: organization-configurations post: summary: Create a private registry for an organization - description: |- - > [!NOTE] - > This endpoint is in public preview and is subject to change. + description: |2- Creates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/enterprise-cloud@latest//rest/guides/encrypting-secrets-for-the-rest-api)." @@ -41612,9 +41832,7 @@ paths: "/orgs/{org}/private-registries/public-key": get: summary: Get private registries public key for an organization - description: |- - > [!NOTE] - > This endpoint is in public preview and is subject to change. + description: |2- Gets the org public key, which is needed to encrypt private registry secrets. You need to encrypt a secret before you can create or update secrets. @@ -41664,9 +41882,7 @@ paths: "/orgs/{org}/private-registries/{secret_name}": get: summary: Get a private registry for an organization - description: |- - > [!NOTE] - > This endpoint is in public preview and is subject to change. + description: |2- Get the configuration of a single private registry defined for an organization, omitting its encrypted value. @@ -41696,9 +41912,7 @@ paths: subcategory: organization-configurations patch: summary: Update a private registry for an organization - description: |- - > [!NOTE] - > This endpoint is in public preview and is subject to change. + description: |2- Updates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/enterprise-cloud@latest//rest/guides/encrypting-secrets-for-the-rest-api)." @@ -41777,9 +41991,7 @@ paths: subcategory: organization-configurations delete: summary: Delete a private registry for an organization - description: |- - > [!NOTE] - > This endpoint is in public preview and is subject to change. + description: |2- Delete a private registry configuration at the organization-level. @@ -43949,7 +44161,7 @@ paths: - *163 - *17 - *19 - - &627 + - &630 name: targets description: | A comma-separated list of rule targets to filter by. @@ -44140,7 +44352,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - *163 - - &628 + - &631 name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit @@ -44152,14 +44364,14 @@ paths: x-multi-segment: true - *218 - *214 - - &629 + - &632 name: actor_name description: The handle for the GitHub user account to filter on. When specified, only rule evaluations triggered by this actor will be returned. in: query schema: type: string - - &630 + - &633 name: rule_suite_result description: The rule results to filter on. When specified, only suites with this result will be returned. @@ -44179,7 +44391,7 @@ paths: description: Response content: application/json: - schema: &631 + schema: &634 title: Rule Suites description: Response type: array @@ -44235,7 +44447,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &632 + default: &635 value: - id: 21 actor_id: 12 @@ -44279,7 +44491,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *163 - - &633 + - &636 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -44295,7 +44507,7 @@ paths: description: Response content: application/json: - schema: &634 + schema: &637 title: Rule Suite description: Response type: object @@ -44402,7 +44614,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &635 + default: &638 value: id: 21 actor_id: 12 @@ -44733,7 +44945,7 @@ paths: - *84 - *19 - *17 - - &637 + - &640 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 events before this cursor. To @@ -44743,7 +44955,7 @@ paths: required: false schema: type: string - - &638 + - &641 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 events after this cursor. To @@ -44835,7 +45047,7 @@ paths: application/json: schema: type: array - items: &645 + items: &648 description: A repository security advisory. type: object properties: @@ -45154,7 +45366,7 @@ paths: - private_fork additionalProperties: false examples: - default: &646 + default: &649 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -47006,7 +47218,7 @@ paths: - updated_at - url examples: - default: &686 + default: &689 value: - author: login: octocat @@ -47254,7 +47466,7 @@ paths: application/json: schema: *347 examples: - default: &687 + default: &690 value: author: login: octocat @@ -47445,7 +47657,7 @@ paths: - updated_at - url examples: - default: &688 + default: &691 value: - author: login: octocat @@ -47671,7 +47883,7 @@ paths: application/json: schema: *350 examples: - default: &689 + default: &692 value: author: login: octocat @@ -48387,7 +48599,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &690 + response-if-user-is-a-team-maintainer: &693 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -48452,7 +48664,7 @@ paths: application/json: schema: *361 examples: - response-if-users-membership-with-team-is-now-pending: &691 + response-if-users-membership-with-team-is-now-pending: &694 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -48594,7 +48806,7 @@ paths: - updated_at - permissions examples: - default: &692 + default: &695 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -48673,7 +48885,7 @@ paths: application/json: schema: *362 examples: - default: &693 + default: &696 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -48884,7 +49096,7 @@ paths: description: Alternative response with repository permissions content: application/json: - schema: &694 + schema: &697 title: Team Repository description: A team's access to a repository. type: object @@ -49722,7 +49934,7 @@ paths: type: array items: *220 examples: - response-if-child-teams-exist: &695 + response-if-child-teams-exist: &698 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -55919,7 +56131,7 @@ paths: items: type: object properties: - type: &511 + type: &514 type: string description: The type of reviewer. enum: @@ -56555,7 +56767,7 @@ paths: application/json: schema: *401 examples: - default: &524 + default: &527 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -56774,7 +56986,7 @@ paths: application/json: schema: *405 examples: - default: &525 + default: &528 value: name: USERNAME value: octocat @@ -58632,7 +58844,7 @@ paths: required: - sha - url - verification: &531 + verification: &534 title: Verification type: object properties: @@ -62195,7 +62407,7 @@ paths: check. type: array items: *436 - deployment: &745 + deployment: &748 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -62964,7 +63176,7 @@ paths: post: summary: Rerequest a check run description: |- - Triggers GitHub to rerequest an existing check run, without pushing new code to a repository. This endpoint will trigger the [`check_run` webhook](https://docs.github.com/enterprise-cloud@latest//webhooks/event-payloads/#check_run) event with the action `rerequested`. When a check run is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared. + Triggers GitHub to rerequest an existing check run, without pushing new code to a repository. This endpoint will trigger the [`check_run` webhook](https://docs.github.com/enterprise-cloud@latest//webhooks/event-payloads/#check_run) event with the action `rerequested`. When a check run is `rerequested`, the `status` of the check suite it belongs to is reset to `queued` and the `conclusion` is cleared. The check run itself is not updated. GitHub apps recieving the [`check_run` webhook](https://docs.github.com/enterprise-cloud@latest//webhooks/event-payloads/#check_run) with the `rerequested` action should then decide if the check run should be reset or updated and call the [update `check_run` endpoint](https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run) to update the check_run if desired. For more information about how to re-run GitHub Actions jobs, see "[Re-run a job from a workflow run](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run)". @@ -67373,7 +67585,7 @@ paths: type: array items: *474 examples: - default: &702 + default: &705 value: total_count: 2 machines: @@ -68081,7 +68293,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &544 + schema: &547 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -68929,7 +69141,7 @@ paths: type: array items: *482 examples: - default: &592 + default: &595 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -69218,7 +69430,7 @@ paths: application/json: schema: type: array - items: &583 + items: &586 title: Pull Request Simple description: Pull Request Simple type: object @@ -69463,7 +69675,7 @@ paths: - review_comment - self author_association: *134 - auto_merge: &585 + auto_merge: &588 title: Auto merge description: The status of auto merging a pull request. type: @@ -69528,7 +69740,7 @@ paths: - author_association - auto_merge examples: - default: &584 + default: &587 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -70086,7 +70298,7 @@ paths: application/json: schema: *482 examples: - default: &571 + default: &574 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -70708,7 +70920,7 @@ paths: application/json: schema: type: array - items: &650 + items: &653 title: Status description: The status of a commit. type: object @@ -71670,7 +71882,7 @@ paths: - size - type - url - - &597 + - &600 title: Content File description: Content File type: object @@ -72286,7 +72498,7 @@ paths: schema: oneOf: - *3 - - &526 + - &529 description: Repository rule violation was detected type: object properties: @@ -72307,7 +72519,7 @@ paths: items: type: object properties: - placeholder_id: &642 + placeholder_id: &645 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -74863,6 +75075,190 @@ paths: enabledForGitHubApps: true category: deployments subcategory: statuses + "/repos/{owner}/{repo}/dismissal-requests/secret-scanning": + get: + summary: List alert dismissal requests for secret scanning for a repository + description: |- + Lists requests to dismiss secret scanning alerts in a repository. + + Delegated alert dismissal must be enabled on the repository and the user must be an org admin, security manager, + or have the "Review and manage secret scanning alert dismissal requests" permission to access this endpoint. + tags: + - secret-scanning + operationId: secret-scanning/list-repo-dismissal-requests + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/alert-dismissal-requests#list-alert-dismissal-requests-for-secret-scanning-for-a-repository + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: secret-scanning + subcategory: alert-dismissal-requests + parameters: + - *364 + - *365 + - *212 + - *213 + - *214 + - *511 + - *17 + - *19 + responses: + '200': + description: A list of the alert dismissal requests. + content: + application/json: + schema: + type: array + items: *512 + examples: + default: *513 + '404': *6 + '403': *27 + '500': *95 + "/repos/{owner}/{repo}/dismissal-requests/secret-scanning/{alert_number}": + get: + summary: Get an alert dismissal request for secret scanning + description: |- + Gets a specific request to dismiss a secret scanning alert in a repository. + + Delegated alert dismissal must be enabled on the repository and the user must be an org admin, security manager, + or have the "Review and manage secret scanning alert dismissal requests" permission to access this endpoint. + Personal access tokens (classic) need the `security_events` scope to use this endpoint. + tags: + - secret-scanning + operationId: secret-scanning/get-dismissal-request + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/alert-dismissal-requests#get-an-alert-dismissal-request-for-secret-scanning + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: secret-scanning + subcategory: alert-dismissal-requests + parameters: + - *364 + - *365 + - name: alert_number + in: path + required: true + description: The number that identifies the secret scanning alert in a repository. + schema: + type: integer + responses: + '200': + description: A single dismissal request. + content: + application/json: + schema: *512 + examples: + default: + value: + id: 21 + number: 42 + repository: + id: 1 + name: smile + full_name: octo-org/smile + organization: + id: 1 + name: octo-org + requester: + actor_id: 12 + actor_name: monalisa + request_type: secret_scanning_closure + data: + - secret_type: adafruit_io_key + alert_number: 17 + resource_identifier: 17 + status: denied + requester_comment: Test token used in the readme as an example + expires_at: '2024-07-08T08:43:03Z' + created_at: '2024-07-01T08:43:03Z' + responses: + - id: 42 + reviewer: + actor_id: 4 + actor_name: octocat + status: denied + created_at: '2024-07-02T08:43:04Z' + url: https://api.github.com/repos/octo-org/smile/dismissal-requests/secret-scanning/21 + html_url: https://github.com/octo-org/smile/security/secret-scanning/17 + '404': *6 + '403': *27 + '500': *95 + patch: + summary: Review an alert dismissal request for secret scanning + description: |- + Approve or deny a request to dismiss a secret scanning alert in a repository. + + Delegated alert dismissal must be enabled on the repository and the user must be an org admin, security manager, + or have the "Review and manage secret scanning alert dismissal requests" permission to access this endpoint. + Personal access tokens (classic) need the `security_events` scope to use this endpoint. + tags: + - secret-scanning + operationId: secret-scanning/review-dismissal-request + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/alert-dismissal-requests#review-an-alert-dismissal-request-for-secret-scanning + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: secret-scanning + subcategory: alert-dismissal-requests + parameters: + - *364 + - *365 + - name: alert_number + in: path + required: true + description: The number that identifies the secret scanning alert in a repository. + schema: + type: integer + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + status: + type: string + description: The review action to perform on the dismissal request. + enum: + - approve + - deny + message: + type: string + description: A message to include with the review. Has a maximum + character length of 2048. + required: + - status + - message + examples: + default: + value: + status: deny + message: This secret has not been revoked. + responses: + '200': + description: The review of the dismissal request. + content: + application/json: + schema: + type: object + properties: + dismissal_review_id: + type: integer + description: ID of the dismissal review. + examples: + default: + value: + dismissal_review_id: 1 + '404': *6 + '403': *27 + '422': *15 + '500': *95 "/repos/{owner}/{repo}/dispatches": post: summary: Create a repository dispatch event @@ -74958,7 +75354,7 @@ paths: - 5 environments: type: array - items: &512 + items: &515 title: Environment description: Details of a deployment environment type: object @@ -75020,7 +75416,7 @@ paths: type: string examples: - wait_timer - wait_timer: &514 + wait_timer: &517 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -75062,7 +75458,7 @@ paths: items: type: object properties: - type: *511 + type: *514 reviewer: anyOf: - *4 @@ -75089,7 +75485,7 @@ paths: - id - node_id - type - deployment_branch_policy: &515 + deployment_branch_policy: &518 type: - object - 'null' @@ -75208,7 +75604,7 @@ paths: parameters: - *364 - *365 - - &513 + - &516 name: environment_name in: path required: true @@ -75221,9 +75617,9 @@ paths: description: Response content: application/json: - schema: *512 + schema: *515 examples: - default: &516 + default: &519 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -75309,7 +75705,7 @@ paths: parameters: - *364 - *365 - - *513 + - *516 requestBody: required: false content: @@ -75319,7 +75715,7 @@ paths: - object - 'null' properties: - wait_timer: *514 + wait_timer: *517 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -75338,14 +75734,14 @@ paths: items: type: object properties: - type: *511 + type: *514 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *515 + deployment_branch_policy: *518 additionalProperties: false examples: default: @@ -75365,9 +75761,9 @@ paths: description: Response content: application/json: - schema: *512 + schema: *515 examples: - default: *516 + default: *519 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -75393,7 +75789,7 @@ paths: parameters: - *364 - *365 - - *513 + - *516 responses: '204': description: Default response @@ -75420,7 +75816,7 @@ paths: parameters: - *364 - *365 - - *513 + - *516 - *17 - *19 responses: @@ -75439,7 +75835,7 @@ paths: - 2 branch_policies: type: array - items: &517 + items: &520 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -75502,7 +75898,7 @@ paths: parameters: - *364 - *365 - - *513 + - *516 requestBody: required: true content: @@ -75550,9 +75946,9 @@ paths: description: Response content: application/json: - schema: *517 + schema: *520 examples: - example-wildcard: &518 + example-wildcard: &521 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -75596,8 +75992,8 @@ paths: parameters: - *364 - *365 - - *513 - - &519 + - *516 + - &522 name: branch_policy_id in: path required: true @@ -75609,9 +76005,9 @@ paths: description: Response content: application/json: - schema: *517 + schema: *520 examples: - default: *518 + default: *521 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75632,8 +76028,8 @@ paths: parameters: - *364 - *365 - - *513 - - *519 + - *516 + - *522 requestBody: required: true content: @@ -75662,9 +76058,9 @@ paths: description: Response content: application/json: - schema: *517 + schema: *520 examples: - default: *518 + default: *521 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75685,8 +76081,8 @@ paths: parameters: - *364 - *365 - - *513 - - *519 + - *516 + - *522 responses: '204': description: Response @@ -75711,7 +76107,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *513 + - *516 - *365 - *364 responses: @@ -75730,7 +76126,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &520 + items: &523 title: Deployment protection rule description: Deployment protection rule type: object @@ -75752,7 +76148,7 @@ paths: for the environment. examples: - true - app: &521 + app: &524 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -75855,7 +76251,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *513 + - *516 - *365 - *364 requestBody: @@ -75878,9 +76274,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *520 + schema: *523 examples: - default: &522 + default: &525 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -75915,7 +76311,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *513 + - *516 - *365 - *364 - *19 @@ -75937,7 +76333,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *521 + items: *524 examples: default: value: @@ -75974,8 +76370,8 @@ paths: parameters: - *364 - *365 - - *513 - - &523 + - *516 + - &526 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -75987,9 +76383,9 @@ paths: description: Response content: application/json: - schema: *520 + schema: *523 examples: - default: *522 + default: *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76010,10 +76406,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *513 + - *516 - *365 - *364 - - *523 + - *526 responses: '204': description: Response @@ -76041,7 +76437,7 @@ paths: parameters: - *364 - *365 - - *513 + - *516 - *17 - *19 responses: @@ -76088,7 +76484,7 @@ paths: parameters: - *364 - *365 - - *513 + - *516 responses: '200': description: Response @@ -76120,7 +76516,7 @@ paths: parameters: - *364 - *365 - - *513 + - *516 - *199 responses: '200': @@ -76129,7 +76525,7 @@ paths: application/json: schema: *401 examples: - default: *524 + default: *527 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76153,7 +76549,7 @@ paths: parameters: - *364 - *365 - - *513 + - *516 - *199 requestBody: required: true @@ -76213,7 +76609,7 @@ paths: parameters: - *364 - *365 - - *513 + - *516 - *199 responses: '204': @@ -76241,7 +76637,7 @@ paths: parameters: - *364 - *365 - - *513 + - *516 - *388 - *19 responses: @@ -76286,7 +76682,7 @@ paths: parameters: - *364 - *365 - - *513 + - *516 requestBody: required: true content: @@ -76340,7 +76736,7 @@ paths: parameters: - *364 - *365 - - *513 + - *516 - *202 responses: '200': @@ -76349,7 +76745,7 @@ paths: application/json: schema: *405 examples: - default: *525 + default: *528 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76373,7 +76769,7 @@ paths: - *364 - *365 - *202 - - *513 + - *516 requestBody: required: true content: @@ -76418,7 +76814,7 @@ paths: - *364 - *365 - *202 - - *513 + - *516 responses: '204': description: Response @@ -76796,7 +77192,7 @@ paths: schema: oneOf: - *172 - - *526 + - *529 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77032,7 +77428,7 @@ paths: description: Response content: application/json: - schema: &527 + schema: &530 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -77267,7 +77663,7 @@ paths: description: Response content: application/json: - schema: *527 + schema: *530 examples: default: value: @@ -77325,7 +77721,7 @@ paths: parameters: - *364 - *365 - - &528 + - &531 name: ref description: The Git reference. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" in the Git documentation. @@ -77342,7 +77738,7 @@ paths: application/json: schema: type: array - items: &529 + items: &532 title: Git Reference description: Git references within a repository type: object @@ -77420,15 +77816,15 @@ paths: parameters: - *364 - *365 - - *528 + - *531 responses: '200': description: Response content: application/json: - schema: *529 + schema: *532 examples: - default: &530 + default: &533 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -77487,9 +77883,9 @@ paths: description: Response content: application/json: - schema: *529 + schema: *532 examples: - default: *530 + default: *533 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -77517,7 +77913,7 @@ paths: parameters: - *364 - *365 - - *528 + - *531 requestBody: required: true content: @@ -77546,9 +77942,9 @@ paths: description: Response content: application/json: - schema: *529 + schema: *532 examples: - default: *530 + default: *533 '422': *15 '409': *92 x-github: @@ -77568,7 +77964,7 @@ paths: parameters: - *364 - *365 - - *528 + - *531 responses: '204': description: Response @@ -77691,7 +78087,7 @@ paths: description: Response content: application/json: - schema: &532 + schema: &535 title: Git Tag description: Metadata for a Git tag type: object @@ -77747,7 +78143,7 @@ paths: - sha - type - url - verification: *531 + verification: *534 required: - sha - url @@ -77757,7 +78153,7 @@ paths: - tag - message examples: - default: &533 + default: &536 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -77842,9 +78238,9 @@ paths: description: Response content: application/json: - schema: *532 + schema: *535 examples: - default: *533 + default: *536 '404': *6 '409': *92 x-github: @@ -77943,7 +78339,7 @@ paths: description: Response content: application/json: - schema: &534 + schema: &537 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -78069,7 +78465,7 @@ paths: description: Response content: application/json: - schema: *534 + schema: *537 examples: default-response: summary: Default response @@ -78139,7 +78535,7 @@ paths: application/json: schema: type: array - items: &535 + items: &538 title: Webhook description: Webhooks for repositories. type: object @@ -78202,7 +78598,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &776 + last_response: &779 title: Hook Response type: object properties: @@ -78333,9 +78729,9 @@ paths: description: Response content: application/json: - schema: *535 + schema: *538 examples: - default: &536 + default: &539 value: type: Repository id: 12345678 @@ -78391,9 +78787,9 @@ paths: description: Response content: application/json: - schema: *535 + schema: *538 examples: - default: *536 + default: *539 '404': *6 x-github: githubCloudOnly: false @@ -78460,9 +78856,9 @@ paths: description: Response content: application/json: - schema: *535 + schema: *538 examples: - default: *536 + default: *539 '422': *15 '404': *6 x-github: @@ -78766,7 +79162,7 @@ paths: description: Response content: application/json: - schema: &537 + schema: &540 title: Import description: A repository import from an external source. type: object @@ -78873,7 +79269,7 @@ paths: - html_url - authors_url examples: - default: &540 + default: &543 value: vcs: subversion use_lfs: true @@ -78889,7 +79285,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *6 - '503': &538 + '503': &541 description: Unavailable due to service under maintenance. content: application/json: @@ -78967,7 +79363,7 @@ paths: description: Response content: application/json: - schema: *537 + schema: *540 examples: default: value: @@ -78992,7 +79388,7 @@ paths: type: string '422': *15 '404': *6 - '503': *538 + '503': *541 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79073,7 +79469,7 @@ paths: description: Response content: application/json: - schema: *537 + schema: *540 examples: example-1: summary: Example 1 @@ -79121,7 +79517,7 @@ paths: html_url: https://import.github.com/octocat/socm/import authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm - '503': *538 + '503': *541 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79149,7 +79545,7 @@ paths: responses: '204': description: Response - '503': *538 + '503': *541 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79177,7 +79573,7 @@ paths: parameters: - *364 - *365 - - &725 + - &728 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -79191,7 +79587,7 @@ paths: application/json: schema: type: array - items: &539 + items: &542 title: Porter Author description: Porter Author type: object @@ -79245,7 +79641,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *6 - '503': *538 + '503': *541 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79301,7 +79697,7 @@ paths: description: Response content: application/json: - schema: *539 + schema: *542 examples: default: value: @@ -79314,7 +79710,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *538 + '503': *541 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79380,7 +79776,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *538 + '503': *541 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79436,11 +79832,11 @@ paths: description: Response content: application/json: - schema: *537 + schema: *540 examples: - default: *540 + default: *543 '422': *15 - '503': *538 + '503': *541 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79472,7 +79868,7 @@ paths: application/json: schema: *20 examples: - default: *541 + default: *544 '301': *378 '404': *6 x-github: @@ -79507,7 +79903,7 @@ paths: properties: {} additionalProperties: false examples: - default: &543 + default: &546 value: limit: collaborators_only origin: repository @@ -79538,7 +79934,7 @@ paths: required: true content: application/json: - schema: *542 + schema: *545 examples: default: summary: Example request body @@ -79552,7 +79948,7 @@ paths: application/json: schema: *274 examples: - default: *543 + default: *546 '409': description: Response x-github: @@ -79609,9 +80005,9 @@ paths: application/json: schema: type: array - items: *544 + items: *547 examples: - default: &718 + default: &721 value: - id: 1 repository: @@ -79773,7 +80169,7 @@ paths: description: Response content: application/json: - schema: *544 + schema: *547 examples: default: value: @@ -80011,7 +80407,7 @@ paths: type: array items: *147 examples: - default: &553 + default: &556 value: - id: 1 node_id: MDU6SXNzdWUx @@ -80281,7 +80677,7 @@ paths: application/json: schema: *147 examples: - default: &548 + default: &551 value: id: 1 node_id: MDU6SXNzdWUx @@ -80487,9 +80883,9 @@ paths: application/json: schema: type: array - items: *545 + items: *548 examples: - default: &550 + default: &553 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -80555,9 +80951,9 @@ paths: description: Response content: application/json: - schema: *545 + schema: *548 examples: - default: &546 + default: &549 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -80635,9 +81031,9 @@ paths: description: Response content: application/json: - schema: *545 + schema: *548 examples: - default: *546 + default: *549 '422': *15 x-github: githubCloudOnly: false @@ -80827,7 +81223,7 @@ paths: application/json: schema: type: array - items: &547 + items: &550 title: Issue Event description: Issue Event type: object @@ -81178,7 +81574,7 @@ paths: description: Response content: application/json: - schema: *547 + schema: *550 examples: default: value: @@ -81407,7 +81803,7 @@ paths: parameters: - *364 - *365 - - &549 + - &552 name: issue_number description: The number that identifies the issue. in: path @@ -81421,7 +81817,7 @@ paths: application/json: schema: *147 examples: - default: *548 + default: *551 '301': *378 '404': *6 '410': *375 @@ -81451,7 +81847,7 @@ paths: parameters: - *364 - *365 - - *549 + - *552 requestBody: required: false content: @@ -81571,7 +81967,7 @@ paths: application/json: schema: *147 examples: - default: *548 + default: *551 '422': *15 '503': *128 '403': *27 @@ -81597,7 +81993,7 @@ paths: parameters: - *364 - *365 - - *549 + - *552 requestBody: required: false content: @@ -81625,7 +82021,7 @@ paths: application/json: schema: *147 examples: - default: *548 + default: *551 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81643,7 +82039,7 @@ paths: parameters: - *364 - *365 - - *549 + - *552 requestBody: content: application/json: @@ -81670,7 +82066,7 @@ paths: application/json: schema: *147 examples: - default: *548 + default: *551 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81694,7 +82090,7 @@ paths: parameters: - *364 - *365 - - *549 + - *552 - name: assignee in: path required: true @@ -81736,7 +82132,7 @@ paths: parameters: - *364 - *365 - - *549 + - *552 - *137 - *17 - *19 @@ -81747,9 +82143,9 @@ paths: application/json: schema: type: array - items: *545 + items: *548 examples: - default: *550 + default: *553 headers: Link: *37 '404': *6 @@ -81784,7 +82180,7 @@ paths: parameters: - *364 - *365 - - *549 + - *552 requestBody: required: true content: @@ -81806,9 +82202,9 @@ paths: description: Response content: application/json: - schema: *545 + schema: *548 examples: - default: *546 + default: *549 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 @@ -81837,7 +82233,7 @@ paths: parameters: - *364 - *365 - - *549 + - *552 - *17 - *19 responses: @@ -81851,7 +82247,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &554 + - &557 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -81900,7 +82296,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &555 + - &558 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -82028,7 +82424,7 @@ paths: - performed_via_github_app - assignee - assigner - - &556 + - &559 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -82074,7 +82470,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &557 + - &560 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -82120,7 +82516,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &558 + - &561 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -82169,7 +82565,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &559 + - &562 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -82211,7 +82607,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &560 + - &563 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -82253,7 +82649,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &561 + - &564 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -82309,7 +82705,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &562 + - &565 title: Locked Issue Event description: Locked Issue Event type: object @@ -82354,7 +82750,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &563 + - &566 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -82415,7 +82811,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &564 + - &567 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -82476,7 +82872,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &565 + - &568 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -82537,7 +82933,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &566 + - &569 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -82649,7 +83045,7 @@ paths: parameters: - *364 - *365 - - *549 + - *552 - *17 - *19 responses: @@ -82659,7 +83055,7 @@ paths: application/json: schema: type: array - items: &551 + items: &554 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -82714,7 +83110,7 @@ paths: - color - default examples: - default: &552 + default: &555 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -82753,7 +83149,7 @@ paths: parameters: - *364 - *365 - - *549 + - *552 requestBody: required: false content: @@ -82812,9 +83208,9 @@ paths: application/json: schema: type: array - items: *551 + items: *554 examples: - default: *552 + default: *555 '301': *378 '404': *6 '410': *375 @@ -82836,7 +83232,7 @@ paths: parameters: - *364 - *365 - - *549 + - *552 requestBody: required: false content: @@ -82896,9 +83292,9 @@ paths: application/json: schema: type: array - items: *551 + items: *554 examples: - default: *552 + default: *555 '301': *378 '404': *6 '410': *375 @@ -82920,7 +83316,7 @@ paths: parameters: - *364 - *365 - - *549 + - *552 responses: '204': description: Response @@ -82947,7 +83343,7 @@ paths: parameters: - *364 - *365 - - *549 + - *552 - name: name in: path required: true @@ -82960,7 +83356,7 @@ paths: application/json: schema: type: array - items: *551 + items: *554 examples: default: value: @@ -82995,7 +83391,7 @@ paths: parameters: - *364 - *365 - - *549 + - *552 requestBody: required: false content: @@ -83044,7 +83440,7 @@ paths: parameters: - *364 - *365 - - *549 + - *552 responses: '204': description: Response @@ -83068,7 +83464,7 @@ paths: parameters: - *364 - *365 - - *549 + - *552 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -83120,7 +83516,7 @@ paths: parameters: - *364 - *365 - - *549 + - *552 requestBody: required: true content: @@ -83185,7 +83581,7 @@ paths: parameters: - *364 - *365 - - *549 + - *552 - *356 responses: '204': @@ -83217,7 +83613,7 @@ paths: parameters: - *364 - *365 - - *549 + - *552 requestBody: required: true content: @@ -83241,7 +83637,7 @@ paths: application/json: schema: *147 examples: - default: *548 + default: *551 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -83276,7 +83672,7 @@ paths: parameters: - *364 - *365 - - *549 + - *552 - *17 - *19 responses: @@ -83288,7 +83684,7 @@ paths: type: array items: *147 examples: - default: *553 + default: *556 headers: Link: *37 '404': *6 @@ -83322,7 +83718,7 @@ paths: parameters: - *364 - *365 - - *549 + - *552 requestBody: required: true content: @@ -83351,7 +83747,7 @@ paths: application/json: schema: *147 examples: - default: *548 + default: *551 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 @@ -83380,7 +83776,7 @@ paths: parameters: - *364 - *365 - - *549 + - *552 requestBody: required: true content: @@ -83413,7 +83809,7 @@ paths: application/json: schema: *147 examples: - default: *548 + default: *551 '403': *27 '404': *6 '422': *7 @@ -83437,7 +83833,7 @@ paths: parameters: - *364 - *365 - - *549 + - *552 - *17 - *19 responses: @@ -83452,9 +83848,6 @@ paths: description: Timeline Event type: object anyOf: - - *554 - - *555 - - *556 - *557 - *558 - *559 @@ -83465,6 +83858,9 @@ paths: - *564 - *565 - *566 + - *567 + - *568 + - *569 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -83788,7 +84184,7 @@ paths: type: string comments: type: array - items: &586 + items: &589 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -84329,7 +84725,7 @@ paths: application/json: schema: type: array - items: &567 + items: &570 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -84433,9 +84829,9 @@ paths: description: Response content: application/json: - schema: *567 + schema: *570 examples: - default: &568 + default: &571 value: id: 1 key: ssh-rsa AAA... @@ -84471,7 +84867,7 @@ paths: parameters: - *364 - *365 - - &569 + - &572 name: key_id description: The unique identifier of the key. in: path @@ -84483,9 +84879,9 @@ paths: description: Response content: application/json: - schema: *567 + schema: *570 examples: - default: *568 + default: *571 '404': *6 x-github: githubCloudOnly: false @@ -84505,7 +84901,7 @@ paths: parameters: - *364 - *365 - - *569 + - *572 responses: '204': description: Response @@ -84536,9 +84932,9 @@ paths: application/json: schema: type: array - items: *551 + items: *554 examples: - default: *552 + default: *555 headers: Link: *37 '404': *6 @@ -84596,9 +84992,9 @@ paths: description: Response content: application/json: - schema: *551 + schema: *554 examples: - default: &570 + default: &573 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -84642,9 +85038,9 @@ paths: description: Response content: application/json: - schema: *551 + schema: *554 examples: - default: *570 + default: *573 '404': *6 x-github: githubCloudOnly: false @@ -84701,7 +85097,7 @@ paths: description: Response content: application/json: - schema: *551 + schema: *554 examples: default: value: @@ -85099,7 +85495,7 @@ paths: application/json: schema: *482 examples: - default: *571 + default: *574 '204': description: Response when already merged '404': @@ -85265,7 +85661,7 @@ paths: application/json: schema: *486 examples: - default: &572 + default: &575 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -85326,7 +85722,7 @@ paths: parameters: - *364 - *365 - - &573 + - &576 name: milestone_number description: The number that identifies the milestone. in: path @@ -85340,7 +85736,7 @@ paths: application/json: schema: *486 examples: - default: *572 + default: *575 '404': *6 x-github: githubCloudOnly: false @@ -85359,7 +85755,7 @@ paths: parameters: - *364 - *365 - - *573 + - *576 requestBody: required: false content: @@ -85399,7 +85795,7 @@ paths: application/json: schema: *486 examples: - default: *572 + default: *575 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85417,7 +85813,7 @@ paths: parameters: - *364 - *365 - - *573 + - *576 responses: '204': description: Response @@ -85440,7 +85836,7 @@ paths: parameters: - *364 - *365 - - *573 + - *576 - *17 - *19 responses: @@ -85450,9 +85846,9 @@ paths: application/json: schema: type: array - items: *551 + items: *554 examples: - default: *552 + default: *555 headers: Link: *37 x-github: @@ -85473,10 +85869,10 @@ paths: parameters: - *364 - *365 - - *574 - - *575 + - *577 + - *578 - *137 - - *576 + - *579 - *17 - *19 responses: @@ -85488,7 +85884,7 @@ paths: type: array items: *159 examples: - default: *577 + default: *580 headers: Link: *37 x-github: @@ -85578,7 +85974,7 @@ paths: description: Response content: application/json: - schema: &578 + schema: &581 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -85722,7 +86118,7 @@ paths: - custom_404 - public examples: - default: &579 + default: &582 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -85819,9 +86215,9 @@ paths: description: Response content: application/json: - schema: *578 + schema: *581 examples: - default: *579 + default: *582 '422': *15 '409': *92 x-github: @@ -85991,7 +86387,7 @@ paths: application/json: schema: type: array - items: &580 + items: &583 title: Page Build description: Page Build type: object @@ -86138,9 +86534,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *583 examples: - default: &581 + default: &584 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -86200,9 +86596,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *583 examples: - default: *581 + default: *584 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86333,7 +86729,7 @@ paths: parameters: - *364 - *365 - - &582 + - &585 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -86393,7 +86789,7 @@ paths: parameters: - *364 - *365 - - *582 + - *585 responses: '204': *114 '404': *6 @@ -87105,9 +87501,9 @@ paths: application/json: schema: type: array - items: *583 + items: *586 examples: - default: *584 + default: *587 headers: Link: *37 '304': *35 @@ -87207,7 +87603,7 @@ paths: description: Response content: application/json: - schema: &588 + schema: &591 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -87447,7 +87843,7 @@ paths: - review_comment - self author_association: *134 - auto_merge: *585 + auto_merge: *588 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -87549,7 +87945,7 @@ paths: - merged_by - review_comments examples: - default: &589 + default: &592 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -88106,9 +88502,9 @@ paths: application/json: schema: type: array - items: *586 + items: *589 examples: - default: &591 + default: &594 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -88193,9 +88589,9 @@ paths: description: Response content: application/json: - schema: *586 + schema: *589 examples: - default: &587 + default: &590 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -88294,9 +88690,9 @@ paths: description: Response content: application/json: - schema: *586 + schema: *589 examples: - default: *587 + default: *590 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88499,7 +88895,7 @@ paths: parameters: - *364 - *365 - - &590 + - &593 name: pull_number description: The number that identifies the pull request. in: path @@ -88512,9 +88908,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *588 + schema: *591 examples: - default: *589 + default: *592 '304': *35 '404': *6 '406': @@ -88551,7 +88947,7 @@ paths: parameters: - *364 - *365 - - *590 + - *593 requestBody: required: false content: @@ -88593,9 +88989,9 @@ paths: description: Response content: application/json: - schema: *588 + schema: *591 examples: - default: *589 + default: *592 '422': *15 '403': *27 x-github: @@ -88619,7 +89015,7 @@ paths: parameters: - *364 - *365 - - *590 + - *593 requestBody: required: true content: @@ -88722,7 +89118,7 @@ paths: parameters: - *364 - *365 - - *590 + - *593 - *156 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -88743,9 +89139,9 @@ paths: application/json: schema: type: array - items: *586 + items: *589 examples: - default: *591 + default: *594 headers: Link: *37 x-github: @@ -88780,7 +89176,7 @@ paths: parameters: - *364 - *365 - - *590 + - *593 requestBody: required: true content: @@ -88886,7 +89282,7 @@ paths: description: Response content: application/json: - schema: *586 + schema: *589 examples: example-for-a-multi-line-comment: value: @@ -88976,7 +89372,7 @@ paths: parameters: - *364 - *365 - - *590 + - *593 - *146 requestBody: required: true @@ -88999,7 +89395,7 @@ paths: description: Response content: application/json: - schema: *586 + schema: *589 examples: default: value: @@ -89087,7 +89483,7 @@ paths: parameters: - *364 - *365 - - *590 + - *593 - *17 - *19 responses: @@ -89099,7 +89495,7 @@ paths: type: array items: *482 examples: - default: *592 + default: *595 headers: Link: *37 x-github: @@ -89131,7 +89527,7 @@ paths: parameters: - *364 - *365 - - *590 + - *593 - *17 - *19 responses: @@ -89181,7 +89577,7 @@ paths: parameters: - *364 - *365 - - *590 + - *593 responses: '204': description: Response if pull request has been merged @@ -89206,7 +89602,7 @@ paths: parameters: - *364 - *365 - - *590 + - *593 requestBody: required: false content: @@ -89320,7 +89716,7 @@ paths: parameters: - *364 - *365 - - *590 + - *593 responses: '200': description: Response @@ -89397,7 +89793,7 @@ paths: parameters: - *364 - *365 - - *590 + - *593 requestBody: required: false content: @@ -89434,7 +89830,7 @@ paths: description: Response content: application/json: - schema: *583 + schema: *586 examples: default: value: @@ -89972,7 +90368,7 @@ paths: parameters: - *364 - *365 - - *590 + - *593 requestBody: required: true content: @@ -90006,7 +90402,7 @@ paths: description: Response content: application/json: - schema: *583 + schema: *586 examples: default: value: @@ -90513,7 +90909,7 @@ paths: parameters: - *364 - *365 - - *590 + - *593 - *17 - *19 responses: @@ -90523,7 +90919,7 @@ paths: application/json: schema: type: array - items: &593 + items: &596 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -90681,7 +91077,7 @@ paths: parameters: - *364 - *365 - - *590 + - *593 requestBody: required: false content: @@ -90771,9 +91167,9 @@ paths: description: Response content: application/json: - schema: *593 + schema: *596 examples: - default: &595 + default: &598 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -90838,8 +91234,8 @@ paths: parameters: - *364 - *365 - - *590 - - &594 + - *593 + - &597 name: review_id description: The unique identifier of the review. in: path @@ -90851,9 +91247,9 @@ paths: description: Response content: application/json: - schema: *593 + schema: *596 examples: - default: &596 + default: &599 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -90914,8 +91310,8 @@ paths: parameters: - *364 - *365 - - *590 - - *594 + - *593 + - *597 requestBody: required: true content: @@ -90938,7 +91334,7 @@ paths: description: Response content: application/json: - schema: *593 + schema: *596 examples: default: value: @@ -91002,16 +91398,16 @@ paths: parameters: - *364 - *365 - - *590 - - *594 + - *593 + - *597 responses: '200': description: Response content: application/json: - schema: *593 + schema: *596 examples: - default: *595 + default: *598 '422': *7 '404': *6 x-github: @@ -91040,8 +91436,8 @@ paths: parameters: - *364 - *365 - - *590 - - *594 + - *593 + - *597 - *17 - *19 responses: @@ -91294,8 +91690,8 @@ paths: parameters: - *364 - *365 - - *590 - - *594 + - *593 + - *597 requestBody: required: true content: @@ -91324,7 +91720,7 @@ paths: description: Response content: application/json: - schema: *593 + schema: *596 examples: default: value: @@ -91389,8 +91785,8 @@ paths: parameters: - *364 - *365 - - *590 - - *594 + - *593 + - *597 requestBody: required: true content: @@ -91425,9 +91821,9 @@ paths: description: Response content: application/json: - schema: *593 + schema: *596 examples: - default: *596 + default: *599 '404': *6 '422': *7 '403': *27 @@ -91451,7 +91847,7 @@ paths: parameters: - *364 - *365 - - *590 + - *593 requestBody: required: false content: @@ -91529,9 +91925,9 @@ paths: description: Response content: application/json: - schema: *597 + schema: *600 examples: - default: &598 + default: &601 value: type: file encoding: base64 @@ -91594,9 +91990,9 @@ paths: description: Response content: application/json: - schema: *597 + schema: *600 examples: - default: *598 + default: *601 '404': *6 '422': *15 x-github: @@ -91629,7 +92025,7 @@ paths: application/json: schema: type: array - items: &599 + items: &602 title: Release description: A release. type: object @@ -91701,7 +92097,7 @@ paths: author: *4 assets: type: array - items: &600 + items: &603 title: Release Asset description: Data related to a release. type: object @@ -91958,9 +92354,9 @@ paths: description: Response content: application/json: - schema: *599 + schema: *602 examples: - default: &603 + default: &606 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -92065,7 +92461,7 @@ paths: parameters: - *364 - *365 - - &601 + - &604 name: asset_id description: The unique identifier of the asset. in: path @@ -92077,9 +92473,9 @@ paths: description: Response content: application/json: - schema: *600 + schema: *603 examples: - default: &602 + default: &605 value: url: https://api.github.com/repos/octocat/Hello-World/releases/assets/1 browser_download_url: https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip @@ -92131,7 +92527,7 @@ paths: parameters: - *364 - *365 - - *601 + - *604 requestBody: required: false content: @@ -92160,9 +92556,9 @@ paths: description: Response content: application/json: - schema: *600 + schema: *603 examples: - default: *602 + default: *605 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92180,7 +92576,7 @@ paths: parameters: - *364 - *365 - - *601 + - *604 responses: '204': description: Response @@ -92298,9 +92694,9 @@ paths: description: Response content: application/json: - schema: *599 + schema: *602 examples: - default: *603 + default: *606 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92331,9 +92727,9 @@ paths: description: Response content: application/json: - schema: *599 + schema: *602 examples: - default: *603 + default: *606 '404': *6 x-github: githubCloudOnly: false @@ -92357,7 +92753,7 @@ paths: parameters: - *364 - *365 - - &604 + - &607 name: release_id description: The unique identifier of the release. in: path @@ -92371,9 +92767,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *599 + schema: *602 examples: - default: *603 + default: *606 '401': description: Unauthorized x-github: @@ -92393,7 +92789,7 @@ paths: parameters: - *364 - *365 - - *604 + - *607 requestBody: required: false content: @@ -92457,9 +92853,9 @@ paths: description: Response content: application/json: - schema: *599 + schema: *602 examples: - default: *603 + default: *606 '404': description: Not Found if the discussion category name is invalid content: @@ -92482,7 +92878,7 @@ paths: parameters: - *364 - *365 - - *604 + - *607 responses: '204': description: Response @@ -92504,7 +92900,7 @@ paths: parameters: - *364 - *365 - - *604 + - *607 - *17 - *19 responses: @@ -92514,7 +92910,7 @@ paths: application/json: schema: type: array - items: *600 + items: *603 examples: default: value: @@ -92597,7 +92993,7 @@ paths: parameters: - *364 - *365 - - *604 + - *607 - name: name in: query required: true @@ -92623,7 +93019,7 @@ paths: description: Response for successful upload content: application/json: - schema: *600 + schema: *603 examples: response-for-successful-upload: value: @@ -92679,7 +93075,7 @@ paths: parameters: - *364 - *365 - - *604 + - *607 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -92728,7 +93124,7 @@ paths: parameters: - *364 - *365 - - *604 + - *607 requestBody: required: true content: @@ -92791,7 +93187,7 @@ paths: parameters: - *364 - *365 - - *604 + - *607 - *356 responses: '204': @@ -92834,8 +93230,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *605 - - &607 + - *608 + - &610 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -92854,66 +93250,66 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *606 - - *607 - - allOf: - - *608 - - *607 - allOf: - *609 - - *607 - - allOf: - *610 - - *607 - allOf: - *611 - - *607 + - *610 - allOf: - *612 - - *607 + - *610 - allOf: - *613 - - *607 + - *610 - allOf: - *614 - - *607 + - *610 - allOf: - *615 - - *607 + - *610 - allOf: - *616 - - *607 + - *610 - allOf: - *617 - - *607 + - *610 - allOf: - *618 - - *607 + - *610 - allOf: - *619 - - *607 + - *610 - allOf: - *620 - - *607 + - *610 - allOf: - *621 - - *607 + - *610 - allOf: - *622 - - *607 + - *610 - allOf: - *623 - - *607 + - *610 - allOf: - *624 - - *607 + - *610 - allOf: - *625 - - *607 + - *610 - allOf: - *626 - - *607 + - *610 + - allOf: + - *627 + - *610 + - allOf: + - *628 + - *610 + - allOf: + - *629 + - *610 examples: default: value: @@ -92964,7 +93360,7 @@ paths: schema: type: boolean default: true - - *627 + - *630 responses: '200': description: Response @@ -93082,7 +93478,7 @@ paths: application/json: schema: *124 examples: - default: &636 + default: &639 value: id: 42 name: super cool ruleset @@ -93131,10 +93527,10 @@ paths: parameters: - *364 - *365 - - *628 + - *631 - *214 - - *629 - - *630 + - *632 + - *633 - *17 - *19 responses: @@ -93142,9 +93538,9 @@ paths: description: Response content: application/json: - schema: *631 + schema: *634 examples: - default: *632 + default: *635 '404': *6 '500': *95 x-github: @@ -93167,15 +93563,15 @@ paths: parameters: - *364 - *365 - - *633 + - *636 responses: '200': description: Response content: application/json: - schema: *634 + schema: *637 examples: - default: *635 + default: *638 '404': *6 '500': *95 x-github: @@ -93226,7 +93622,7 @@ paths: application/json: schema: *124 examples: - default: *636 + default: *639 '404': *6 '500': *95 put: @@ -93309,7 +93705,7 @@ paths: application/json: schema: *124 examples: - default: *636 + default: *639 '404': *6 '500': *95 delete: @@ -93472,8 +93868,8 @@ paths: - *84 - *19 - *17 - - *637 - - *638 + - *640 + - *641 - *326 - *327 - *328 @@ -93484,7 +93880,7 @@ paths: application/json: schema: type: array - items: &641 + items: &644 type: object properties: number: *96 @@ -93500,8 +93896,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *639 - resolution: *640 + state: *642 + resolution: *643 resolved_at: type: - string @@ -93728,7 +94124,7 @@ paths: description: Response content: application/json: - schema: *641 + schema: *644 examples: default: value: @@ -93790,8 +94186,8 @@ paths: schema: type: object properties: - state: *639 - resolution: *640 + state: *642 + resolution: *643 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -93810,7 +94206,7 @@ paths: description: Response content: application/json: - schema: *641 + schema: *644 examples: default: value: @@ -93898,7 +94294,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &797 + items: &800 type: object properties: type: @@ -94286,14 +94682,14 @@ paths: schema: type: object properties: - reason: &643 + reason: &646 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *642 + placeholder_id: *645 required: - reason - placeholder_id @@ -94310,7 +94706,7 @@ paths: schema: type: object properties: - reason: *643 + reason: *646 expire_at: type: - string @@ -94370,7 +94766,7 @@ paths: properties: incremental_scans: type: array - items: &644 + items: &647 description: Information on a single scan performed by secret scanning on the repository type: object @@ -94398,15 +94794,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *644 + items: *647 backfill_scans: type: array - items: *644 + items: *647 custom_pattern_backfill_scans: type: array items: allOf: - - *644 + - *647 - type: object properties: pattern_name: @@ -94521,9 +94917,9 @@ paths: application/json: schema: type: array - items: *645 + items: *648 examples: - default: *646 + default: *649 '400': *14 '404': *6 x-github: @@ -94717,9 +95113,9 @@ paths: description: Response content: application/json: - schema: *645 + schema: *648 examples: - default: &648 + default: &651 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -95066,7 +95462,7 @@ paths: description: Response content: application/json: - schema: *645 + schema: *648 examples: default: value: @@ -95215,15 +95611,15 @@ paths: parameters: - *364 - *365 - - *647 + - *650 responses: '200': description: Response content: application/json: - schema: *645 + schema: *648 examples: - default: *648 + default: *651 '403': *27 '404': *6 x-github: @@ -95249,7 +95645,7 @@ paths: parameters: - *364 - *365 - - *647 + - *650 requestBody: required: true content: @@ -95420,10 +95816,10 @@ paths: description: Response content: application/json: - schema: *645 + schema: *648 examples: - default: *648 - add_credit: *648 + default: *651 + add_credit: *651 '403': *27 '404': *6 '422': @@ -95463,7 +95859,7 @@ paths: parameters: - *364 - *365 - - *647 + - *650 responses: '202': *93 '400': *14 @@ -95492,7 +95888,7 @@ paths: parameters: - *364 - *365 - - *647 + - *650 responses: '202': description: Response @@ -95633,7 +96029,7 @@ paths: application/json: schema: type: array - items: &649 + items: &652 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -96006,7 +96402,7 @@ paths: application/json: schema: type: array - items: *649 + items: *652 examples: default: value: @@ -96096,7 +96492,7 @@ paths: description: Response content: application/json: - schema: *650 + schema: *653 examples: default: value: @@ -96190,7 +96586,7 @@ paths: description: if you subscribe to the repository content: application/json: - schema: &651 + schema: &654 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -96290,7 +96686,7 @@ paths: description: Response content: application/json: - schema: *651 + schema: *654 examples: default: value: @@ -96430,7 +96826,7 @@ paths: application/json: schema: type: array - items: &652 + items: &655 title: Tag protection description: Tag protection type: object @@ -96511,7 +96907,7 @@ paths: description: Response content: application/json: - schema: *652 + schema: *655 examples: default: value: @@ -96659,7 +97055,7 @@ paths: description: Response content: application/json: - schema: &653 + schema: &656 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -96671,7 +97067,7 @@ paths: required: - names examples: - default: &654 + default: &657 value: names: - octocat @@ -96726,9 +97122,9 @@ paths: description: Response content: application/json: - schema: *653 + schema: *656 examples: - default: *654 + default: *657 '404': *6 '422': *7 x-github: @@ -96751,7 +97147,7 @@ paths: parameters: - *364 - *365 - - &655 + - &658 name: per description: The time frame to display results for. in: query @@ -96782,7 +97178,7 @@ paths: - 128 clones: type: array - items: &656 + items: &659 title: Traffic type: object properties: @@ -97030,7 +97426,7 @@ paths: parameters: - *364 - *365 - - *655 + - *658 responses: '200': description: Response @@ -97051,7 +97447,7 @@ paths: - 3782 views: type: array - items: *656 + items: *659 required: - uniques - count @@ -97723,7 +98119,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &664 + - &667 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -97733,7 +98129,7 @@ paths: type: string examples: - members - - &669 + - &672 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -97745,7 +98141,7 @@ paths: format: int32 examples: - 1 - - &670 + - &673 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -97789,7 +98185,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &658 + items: &661 allOf: - type: object required: @@ -97871,7 +98267,7 @@ paths: - value: 0db508eb-91e2-46e4-809c-30dcbda0c685 "$+ref": https://api.github.localhost/scim/v2/Users/0db508eb-91e2-46e4-809c-30dcbda0c685 displayName: User 2 - meta: &671 + meta: &674 type: object description: The metadata associated with the creation/updates to the user. @@ -97936,31 +98332,31 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &659 + '400': &662 description: Bad request content: application/json: - schema: *657 + schema: *660 application/scim+json: - schema: *657 - '401': &660 + schema: *660 + '401': &663 description: Authorization failure - '403': &661 + '403': &664 description: Permission denied - '429': &662 + '429': &665 description: Too many requests content: application/json: - schema: *657 + schema: *660 application/scim+json: - schema: *657 - '500': &663 + schema: *660 + '500': &666 description: Internal server error content: application/json: - schema: *657 + schema: *660 application/scim+json: - schema: *657 + schema: *660 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97984,7 +98380,7 @@ paths: required: true content: application/json: - schema: &667 + schema: &670 type: object required: - schemas @@ -98044,9 +98440,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *658 + schema: *661 examples: - group: &665 + group: &668 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -98065,13 +98461,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 - '400': *659 - '401': *660 - '403': *661 - '409': &668 + '400': *662 + '401': *663 + '403': *664 + '409': &671 description: Duplicate record detected - '429': *662 - '500': *663 + '429': *665 + '500': *666 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98088,7 +98484,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-group parameters: - - &666 + - &669 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -98097,22 +98493,22 @@ paths: type: string examples: - 7fce0092-d52e-4f76-b727-3955bd72c939 - - *664 + - *667 - *38 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *658 + schema: *661 examples: - default: *665 - '400': *659 - '401': *660 - '403': *661 + default: *668 + '400': *662 + '401': *663 + '403': *664 '404': *6 - '429': *662 - '500': *663 + '429': *665 + '500': *666 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98131,13 +98527,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-group parameters: - - *666 + - *669 - *38 requestBody: required: true content: application/json: - schema: *667 + schema: *670 examples: group: summary: Group @@ -98163,17 +98559,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *658 + schema: *661 examples: - group: *665 - groupWithMembers: *665 - '400': *659 - '401': *660 - '403': *661 + group: *668 + groupWithMembers: *668 + '400': *662 + '401': *663 + '403': *664 '404': *6 - '409': *668 - '429': *662 - '500': *663 + '409': *671 + '429': *665 + '500': *666 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98197,13 +98593,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-group parameters: - - *666 + - *669 - *38 requestBody: required: true content: application/json: - schema: &678 + schema: &681 type: object required: - Operations @@ -98263,17 +98659,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *658 + schema: *661 examples: - updateGroup: *665 - addMembers: *665 - '400': *659 - '401': *660 - '403': *661 + updateGroup: *668 + addMembers: *668 + '400': *662 + '401': *663 + '403': *664 '404': *6 - '409': *668 - '429': *662 - '500': *663 + '409': *671 + '429': *665 + '500': *666 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98289,17 +98685,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-group-from-an-enterprise parameters: - - *666 + - *669 - *38 responses: '204': description: Group was deleted, no content - '400': *659 - '401': *660 - '403': *661 + '400': *662 + '401': *663 + '403': *664 '404': *6 - '429': *662 - '500': *663 + '429': *665 + '500': *666 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98333,8 +98729,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *669 - - *670 + - *672 + - *673 - *38 responses: '200': @@ -98368,7 +98764,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &673 + items: &676 allOf: - type: object required: @@ -98460,7 +98856,7 @@ paths: address. examples: - true - roles: &672 + roles: &675 type: array description: The roles assigned to the user. items: @@ -98519,7 +98915,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *671 + meta: *674 startIndex: type: integer description: A starting index for the returned page @@ -98558,11 +98954,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *659 - '401': *660 - '403': *661 - '429': *662 - '500': *663 + '400': *662 + '401': *663 + '403': *664 + '429': *665 + '500': *666 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98586,7 +98982,7 @@ paths: required: true content: application/json: - schema: &676 + schema: &679 type: object required: - schemas @@ -98679,9 +99075,9 @@ paths: description: Whether this email address is the primary address. examples: - true - roles: *672 + roles: *675 examples: - user: &677 + user: &680 summary: User value: schemas: @@ -98728,9 +99124,9 @@ paths: description: User has been created content: application/scim+json: - schema: *673 + schema: *676 examples: - user: &674 + user: &677 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -98756,13 +99152,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Users/7fce0092-d52e-4f76-b727-3955bd72c939 - enterpriseOwner: *674 - '400': *659 - '401': *660 - '403': *661 - '409': *668 - '429': *662 - '500': *663 + enterpriseOwner: *677 + '400': *662 + '401': *663 + '403': *664 + '409': *671 + '429': *665 + '500': *666 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98779,7 +99175,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-user parameters: - - &675 + - &678 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -98792,15 +99188,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *673 + schema: *676 examples: - default: *674 - '400': *659 - '401': *660 - '403': *661 + default: *677 + '400': *662 + '401': *663 + '403': *664 '404': *6 - '429': *662 - '500': *663 + '429': *665 + '500': *666 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98822,30 +99218,30 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-user parameters: - - *675 + - *678 - *38 requestBody: required: true content: application/json: - schema: *676 + schema: *679 examples: - user: *677 + user: *680 responses: '200': description: User was updated content: application/scim+json: - schema: *673 + schema: *676 examples: - user: *674 - '400': *659 - '401': *660 - '403': *661 + user: *677 + '400': *662 + '401': *663 + '403': *664 '404': *6 - '409': *668 - '429': *662 - '500': *663 + '409': *671 + '429': *665 + '500': *666 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98880,13 +99276,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-user parameters: - - *675 + - *678 - *38 requestBody: required: true content: application/json: - schema: *678 + schema: *681 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -98926,18 +99322,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *673 - examples: - userMultiValuedProperties: *674 - userSingleValuedProperties: *674 - disableUser: *674 - '400': *659 - '401': *660 - '403': *661 + schema: *676 + examples: + userMultiValuedProperties: *677 + userSingleValuedProperties: *677 + disableUser: *677 + '400': *662 + '401': *663 + '403': *664 '404': *6 - '409': *668 - '429': *662 - '500': *663 + '409': *671 + '429': *665 + '500': *666 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98957,17 +99353,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-user-from-an-enterprise parameters: - - *675 + - *678 - *38 responses: '204': description: User was deleted, no content - '400': *659 - '401': *660 - '403': *661 + '400': *662 + '401': *663 + '403': *664 '404': *6 - '429': *662 - '500': *663 + '429': *665 + '500': *666 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -99058,7 +99454,7 @@ paths: - 1 Resources: type: array - items: &679 + items: &682 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -99305,22 +99701,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *35 - '404': &680 + '404': &683 description: Resource not found content: application/json: - schema: *657 + schema: *660 application/scim+json: - schema: *657 - '403': &681 + schema: *660 + '403': &684 description: Forbidden content: application/json: - schema: *657 + schema: *660 application/scim+json: - schema: *657 - '400': *659 - '429': *662 + schema: *660 + '400': *662 + '429': *665 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -99346,9 +99742,9 @@ paths: description: Response content: application/scim+json: - schema: *679 + schema: *682 examples: - default: &682 + default: &685 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -99371,17 +99767,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *35 - '404': *680 - '403': *681 - '500': *663 + '404': *683 + '403': *684 + '500': *666 '409': description: Conflict content: application/json: - schema: *657 + schema: *660 application/scim+json: - schema: *657 - '400': *659 + schema: *660 + '400': *662 requestBody: required: true content: @@ -99481,17 +99877,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *163 - - *675 + - *678 responses: '200': description: Response content: application/scim+json: - schema: *679 + schema: *682 examples: - default: *682 - '404': *680 - '403': *681 + default: *685 + '404': *683 + '403': *684 '304': *35 x-github: githubCloudOnly: true @@ -99515,18 +99911,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *163 - - *675 + - *678 responses: '200': description: Response content: application/scim+json: - schema: *679 + schema: *682 examples: - default: *682 + default: *685 '304': *35 - '404': *680 - '403': *681 + '404': *683 + '403': *684 requestBody: required: true content: @@ -99641,19 +100037,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *163 - - *675 + - *678 responses: '200': description: Response content: application/scim+json: - schema: *679 + schema: *682 examples: - default: *682 + default: *685 '304': *35 - '404': *680 - '403': *681 - '400': *659 + '404': *683 + '403': *684 + '400': *662 '429': description: Response content: @@ -99749,12 +100145,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *163 - - *675 + - *678 responses: '204': description: Response - '404': *680 - '403': *681 + '404': *683 + '403': *684 '304': *35 x-github: githubCloudOnly: true @@ -99888,7 +100284,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &683 + text_matches: &686 title: Search Result Text Matches type: array items: @@ -100052,7 +100448,7 @@ paths: enum: - author-date - committer-date - - &684 + - &687 name: order description: Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter @@ -100140,7 +100536,7 @@ paths: url: type: string format: uri - verification: *531 + verification: *534 required: - author - committer @@ -100172,7 +100568,7 @@ paths: type: number node_id: type: string - text_matches: *683 + text_matches: *686 required: - sha - node_id @@ -100355,7 +100751,7 @@ paths: - interactions - created - updated - - *684 + - *687 - *17 - *19 - name: advanced_search @@ -100493,7 +100889,7 @@ paths: - string - 'null' format: date-time - text_matches: *683 + text_matches: *686 pull_request: type: object properties: @@ -100719,7 +101115,7 @@ paths: enum: - created - updated - - *684 + - *687 - *17 - *19 responses: @@ -100764,7 +101160,7 @@ paths: - 'null' score: type: number - text_matches: *683 + text_matches: *686 required: - id - node_id @@ -100850,7 +101246,7 @@ paths: - forks - help-wanted-issues - updated - - *684 + - *687 - *17 - *19 responses: @@ -101087,7 +101483,7 @@ paths: - admin - pull - push - text_matches: *683 + text_matches: *686 temp_clone_token: type: string allow_merge_commit: @@ -101396,7 +101792,7 @@ paths: - string - 'null' format: uri - text_matches: *683 + text_matches: *686 related: type: - array @@ -101591,7 +101987,7 @@ paths: - followers - repositories - joined - - *684 + - *687 - *17 - *19 responses: @@ -101701,7 +102097,7 @@ paths: type: - boolean - 'null' - text_matches: *683 + text_matches: *686 blog: type: - string @@ -101783,7 +102179,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &685 + - &688 name: team_id description: The unique identifier of the team. in: path @@ -101824,7 +102220,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *685 + - *688 requestBody: required: true content: @@ -101925,7 +102321,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *685 + - *688 responses: '204': description: Response @@ -101956,7 +102352,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *685 + - *688 - *84 - *17 - *19 @@ -101969,7 +102365,7 @@ paths: type: array items: *347 examples: - default: *686 + default: *689 headers: Link: *37 x-github: @@ -101998,7 +102394,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *685 + - *688 requestBody: required: true content: @@ -102061,7 +102457,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *685 + - *688 - *349 responses: '200': @@ -102095,7 +102491,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *685 + - *688 - *349 requestBody: required: false @@ -102121,7 +102517,7 @@ paths: application/json: schema: *347 examples: - default: *687 + default: *690 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102146,7 +102542,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *685 + - *688 - *349 responses: '204': @@ -102176,7 +102572,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *685 + - *688 - *349 - *84 - *17 @@ -102190,7 +102586,7 @@ paths: type: array items: *350 examples: - default: *688 + default: *691 headers: Link: *37 x-github: @@ -102219,7 +102615,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *685 + - *688 - *349 requestBody: required: true @@ -102271,7 +102667,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *685 + - *688 - *349 - *352 responses: @@ -102306,7 +102702,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *685 + - *688 - *349 - *352 requestBody: @@ -102332,7 +102728,7 @@ paths: application/json: schema: *350 examples: - default: *689 + default: *692 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102357,7 +102753,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *685 + - *688 - *349 - *352 responses: @@ -102388,7 +102784,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *685 + - *688 - *349 - *352 - name: content @@ -102447,7 +102843,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *685 + - *688 - *349 - *352 requestBody: @@ -102509,7 +102905,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *685 + - *688 - *349 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -102567,7 +102963,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *685 + - *688 - *349 requestBody: required: true @@ -102626,7 +103022,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *685 + - *688 - *17 - *19 responses: @@ -102664,7 +103060,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *685 + - *688 - name: role description: Filters members returned by their role in the team. in: query @@ -102715,7 +103111,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *685 + - *688 - *211 responses: '204': @@ -102752,7 +103148,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *685 + - *688 - *211 responses: '204': @@ -102792,7 +103188,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *685 + - *688 - *211 responses: '204': @@ -102829,7 +103225,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *685 + - *688 - *211 responses: '200': @@ -102838,7 +103234,7 @@ paths: application/json: schema: *361 examples: - response-if-user-is-a-team-maintainer: *690 + response-if-user-is-a-team-maintainer: *693 '404': *6 x-github: githubCloudOnly: false @@ -102871,7 +103267,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *685 + - *688 - *211 requestBody: required: false @@ -102899,7 +103295,7 @@ paths: application/json: schema: *361 examples: - response-if-users-membership-with-team-is-now-pending: *691 + response-if-users-membership-with-team-is-now-pending: *694 '403': description: Forbidden if team synchronization is set up '422': @@ -102933,7 +103329,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *685 + - *688 - *211 responses: '204': @@ -102962,7 +103358,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *685 + - *688 - *17 - *19 responses: @@ -102974,7 +103370,7 @@ paths: type: array items: *362 examples: - default: *692 + default: *695 headers: Link: *37 '404': *6 @@ -103000,7 +103396,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *685 + - *688 - *363 responses: '200': @@ -103009,7 +103405,7 @@ paths: application/json: schema: *362 examples: - default: *693 + default: *696 '404': description: Not Found if project is not managed by this team x-github: @@ -103033,7 +103429,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *685 + - *688 - *363 requestBody: required: false @@ -103101,7 +103497,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *685 + - *688 - *363 responses: '204': @@ -103129,7 +103525,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *685 + - *688 - *17 - *19 responses: @@ -103171,7 +103567,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *685 + - *688 - *364 - *365 responses: @@ -103179,7 +103575,7 @@ paths: description: Alternative response with extra repository information content: application/json: - schema: *694 + schema: *697 examples: alternative-response-with-extra-repository-information: value: @@ -103330,7 +103726,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *685 + - *688 - *364 - *365 requestBody: @@ -103382,7 +103778,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *685 + - *688 - *364 - *365 responses: @@ -103413,7 +103809,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team-legacy parameters: - - *685 + - *688 responses: '200': description: Response @@ -103448,7 +103844,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections-legacy parameters: - - *685 + - *688 requestBody: required: true content: @@ -103540,7 +103936,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *685 + - *688 - *17 - *19 responses: @@ -103552,7 +103948,7 @@ paths: type: array items: *220 examples: - response-if-child-teams-exist: *695 + response-if-child-teams-exist: *698 headers: Link: *37 '404': *6 @@ -103585,7 +103981,7 @@ paths: application/json: schema: oneOf: - - &697 + - &700 title: Private User description: Private User type: object @@ -103835,7 +104231,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *696 + - *699 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -103995,7 +104391,7 @@ paths: description: Response content: application/json: - schema: *697 + schema: *700 examples: default: value: @@ -104393,7 +104789,7 @@ paths: type: integer secrets: type: array - items: &698 + items: &701 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -104513,7 +104909,7 @@ paths: description: Response content: application/json: - schema: *698 + schema: *701 examples: default: value: @@ -104659,7 +105055,7 @@ paths: type: array items: *189 examples: - default: *699 + default: *702 '401': *23 '403': *27 '404': *6 @@ -104926,7 +105322,7 @@ paths: description: Response content: application/json: - schema: &700 + schema: &703 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -104979,7 +105375,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &701 + default: &704 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -105024,9 +105420,9 @@ paths: description: Response content: application/json: - schema: *700 + schema: *703 examples: - default: *701 + default: *704 '404': *6 x-github: githubCloudOnly: false @@ -105065,7 +105461,7 @@ paths: type: array items: *474 examples: - default: *702 + default: *705 '304': *35 '500': *95 '401': *23 @@ -106031,7 +106427,7 @@ paths: type: array items: *296 examples: - default: &715 + default: &718 value: - id: 197 name: hello_docker @@ -106132,7 +106528,7 @@ paths: application/json: schema: type: array - items: &703 + items: &706 title: Email description: Email type: object @@ -106202,9 +106598,9 @@ paths: application/json: schema: type: array - items: *703 + items: *706 examples: - default: &717 + default: &720 value: - email: octocat@github.com verified: true @@ -106281,7 +106677,7 @@ paths: application/json: schema: type: array - items: *703 + items: *706 examples: default: value: @@ -106539,7 +106935,7 @@ paths: application/json: schema: type: array - items: &704 + items: &707 title: GPG Key description: A unique encryption key type: object @@ -106684,7 +107080,7 @@ paths: - subkeys - revoked examples: - default: &728 + default: &731 value: - id: 3 name: Octocat's GPG Key @@ -106769,9 +107165,9 @@ paths: description: Response content: application/json: - schema: *704 + schema: *707 examples: - default: &705 + default: &708 value: id: 3 name: Octocat's GPG Key @@ -106828,7 +107224,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &706 + - &709 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -106840,9 +107236,9 @@ paths: description: Response content: application/json: - schema: *704 + schema: *707 examples: - default: *705 + default: *708 '404': *6 '304': *35 '403': *27 @@ -106865,7 +107261,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *706 + - *709 responses: '204': description: Response @@ -107056,7 +107452,7 @@ paths: type: array items: *61 examples: - default: *707 + default: *710 headers: Link: *37 '404': *6 @@ -107170,7 +107566,7 @@ paths: required: true content: application/json: - schema: *542 + schema: *545 examples: default: value: @@ -107320,7 +107716,7 @@ paths: application/json: schema: type: array - items: &708 + items: &711 title: Key description: Key type: object @@ -107418,9 +107814,9 @@ paths: description: Response content: application/json: - schema: *708 + schema: *711 examples: - default: &709 + default: &712 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -107453,15 +107849,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *569 + - *572 responses: '200': description: Response content: application/json: - schema: *708 + schema: *711 examples: - default: *709 + default: *712 '404': *6 '304': *35 '403': *27 @@ -107484,7 +107880,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *569 + - *572 responses: '204': description: Response @@ -107517,7 +107913,7 @@ paths: application/json: schema: type: array - items: &710 + items: &713 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -107596,7 +107992,7 @@ paths: - account - plan examples: - default: &711 + default: &714 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -107658,9 +108054,9 @@ paths: application/json: schema: type: array - items: *710 + items: *713 examples: - default: *711 + default: *714 headers: Link: *37 '304': *35 @@ -108664,7 +109060,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - *291 - - *712 + - *715 responses: '204': description: Response @@ -108737,7 +109133,7 @@ paths: type: array items: *56 examples: - default: *713 + default: *716 headers: Link: *37 '304': *35 @@ -108779,7 +109175,7 @@ paths: - docker - nuget - container - - *714 + - *717 - *19 - *17 responses: @@ -108791,8 +109187,8 @@ paths: type: array items: *296 examples: - default: *715 - '400': *716 + default: *718 + '400': *719 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108821,7 +109217,7 @@ paths: application/json: schema: *296 examples: - default: &729 + default: &732 value: id: 40201 name: octo-name @@ -109276,9 +109672,9 @@ paths: application/json: schema: type: array - items: *703 + items: *706 examples: - default: *717 + default: *720 headers: Link: *37 '304': *35 @@ -109391,7 +109787,7 @@ paths: type: array items: *61 examples: - default: &724 + default: &727 summary: Default response value: - id: 1296269 @@ -109749,9 +110145,9 @@ paths: application/json: schema: type: array - items: *544 + items: *547 examples: - default: *718 + default: *721 headers: Link: *37 '304': *35 @@ -109830,7 +110226,7 @@ paths: application/json: schema: type: array - items: &719 + items: &722 title: Social account description: Social media account type: object @@ -109847,7 +110243,7 @@ paths: - provider - url examples: - default: &720 + default: &723 value: - provider: twitter url: https://twitter.com/github @@ -109910,9 +110306,9 @@ paths: application/json: schema: type: array - items: *719 + items: *722 examples: - default: *720 + default: *723 '422': *15 '304': *35 '404': *6 @@ -110000,7 +110396,7 @@ paths: application/json: schema: type: array - items: &721 + items: &724 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -110020,7 +110416,7 @@ paths: - title - created_at examples: - default: &730 + default: &733 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -110087,9 +110483,9 @@ paths: description: Response content: application/json: - schema: *721 + schema: *724 examples: - default: &722 + default: &725 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -110120,7 +110516,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &723 + - &726 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -110132,9 +110528,9 @@ paths: description: Response content: application/json: - schema: *721 + schema: *724 examples: - default: *722 + default: *725 '404': *6 '304': *35 '403': *27 @@ -110157,7 +110553,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *723 + - *726 responses: '204': description: Response @@ -110186,7 +110582,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &731 + - &734 name: sort description: The property to sort the results by. `created` means when the repository was starred. `updated` means when the repository was last pushed @@ -110211,11 +110607,11 @@ paths: type: array items: *61 examples: - default-response: *724 + default-response: *727 application/vnd.github.v3.star+json: schema: type: array - items: &732 + items: &735 title: Starred Repository description: Starred Repository type: object @@ -110584,10 +110980,10 @@ paths: application/json: schema: oneOf: - - *697 - - *696 + - *700 + - *699 examples: - default-response: &726 + default-response: &729 summary: Default response value: login: octocat @@ -110622,7 +111018,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &727 + response-with-git-hub-plan-information: &730 summary: Response with GitHub plan information value: login: octocat @@ -110682,7 +111078,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *725 + - *728 - *17 responses: '200': @@ -110731,11 +111127,11 @@ paths: application/json: schema: oneOf: - - *697 - - *696 + - *700 + - *699 examples: - default-response: *726 - response-with-git-hub-plan-information: *727 + default-response: *729 + response-with-git-hub-plan-information: *730 '404': *6 x-github: githubCloudOnly: false @@ -110852,7 +111248,7 @@ paths: type: array items: *296 examples: - default: *715 + default: *718 '403': *27 '401': *23 x-github: @@ -111256,9 +111652,9 @@ paths: application/json: schema: type: array - items: *704 + items: *707 examples: - default: *728 + default: *731 headers: Link: *37 x-github: @@ -111362,7 +111758,7 @@ paths: application/json: schema: *20 examples: - default: *541 + default: *544 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111440,7 +111836,7 @@ paths: type: array items: *56 examples: - default: *713 + default: *716 headers: Link: *37 x-github: @@ -111479,7 +111875,7 @@ paths: - docker - nuget - container - - *714 + - *717 - *211 - *19 - *17 @@ -111492,10 +111888,10 @@ paths: type: array items: *296 examples: - default: *715 + default: *718 '403': *27 '401': *23 - '400': *716 + '400': *719 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111525,7 +111921,7 @@ paths: application/json: schema: *296 examples: - default: *729 + default: *732 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -112214,9 +112610,9 @@ paths: application/json: schema: type: array - items: *719 + items: *722 examples: - default: *720 + default: *723 headers: Link: *37 x-github: @@ -112246,9 +112642,9 @@ paths: application/json: schema: type: array - items: *721 + items: *724 examples: - default: *730 + default: *733 headers: Link: *37 x-github: @@ -112273,7 +112669,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - *211 - - *731 + - *734 - *84 - *17 - *19 @@ -112285,11 +112681,11 @@ paths: schema: anyOf: - type: array - items: *732 + items: *735 - type: array items: *61 examples: - default-response: *724 + default-response: *727 headers: Link: *37 x-github: @@ -112449,7 +112845,7 @@ webhooks: type: string enum: - disabled - enterprise: &733 + enterprise: &736 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -112518,7 +112914,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &734 + installation: &737 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -112539,7 +112935,7 @@ webhooks: required: - id - node_id - organization: &735 + organization: &738 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -112612,7 +113008,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &736 + repository: &739 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -113525,10 +113921,10 @@ webhooks: type: string enum: - enabled - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -113604,11 +114000,11 @@ webhooks: type: string enum: - created - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 - rule: &737 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 + rule: &740 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/enterprise-cloud@latest//github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -113831,11 +114227,11 @@ webhooks: type: string enum: - deleted - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 - rule: *737 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 + rule: *740 sender: *4 required: - action @@ -114023,11 +114419,11 @@ webhooks: - everyone required: - from - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 - rule: *737 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 + rule: *740 sender: *4 required: - action @@ -114098,7 +114494,7 @@ webhooks: required: true content: application/json: - schema: &740 + schema: &743 title: Exemption request cancellation event type: object properties: @@ -114106,11 +114502,11 @@ webhooks: type: string enum: - cancelled - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 - exemption_request: &738 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 + exemption_request: &741 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -114340,7 +114736,7 @@ webhooks: - array - 'null' description: The responses to the exemption request. - items: &739 + items: &742 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -114450,7 +114846,7 @@ webhooks: required: true content: application/json: - schema: &741 + schema: &744 title: Exemption request completed event type: object properties: @@ -114458,11 +114854,11 @@ webhooks: type: string enum: - completed - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 - exemption_request: *738 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 + exemption_request: *741 sender: *4 required: - action @@ -114532,7 +114928,7 @@ webhooks: required: true content: application/json: - schema: &742 + schema: &745 title: Exemption request created event type: object properties: @@ -114540,11 +114936,11 @@ webhooks: type: string enum: - created - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 - exemption_request: *738 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 + exemption_request: *741 sender: *4 required: - action @@ -114614,7 +115010,7 @@ webhooks: required: true content: application/json: - schema: &743 + schema: &746 title: Exemption response dismissed event type: object properties: @@ -114622,12 +115018,12 @@ webhooks: type: string enum: - response_dismissed - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 - exemption_request: *738 - exemption_response: *739 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 + exemption_request: *741 + exemption_response: *742 sender: *4 required: - action @@ -114699,7 +115095,7 @@ webhooks: required: true content: application/json: - schema: &744 + schema: &747 title: Exemption response submitted event type: object properties: @@ -114707,12 +115103,12 @@ webhooks: type: string enum: - response_submitted - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 - exemption_request: *738 - exemption_response: *739 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 + exemption_request: *741 + exemption_response: *742 sender: *4 required: - action @@ -114785,7 +115181,7 @@ webhooks: required: true content: application/json: - schema: *740 + schema: *743 responses: '200': description: Return a 200 status to indicate that the data was received @@ -114852,7 +115248,7 @@ webhooks: required: true content: application/json: - schema: *741 + schema: *744 responses: '200': description: Return a 200 status to indicate that the data was received @@ -114919,7 +115315,7 @@ webhooks: required: true content: application/json: - schema: *742 + schema: *745 responses: '200': description: Return a 200 status to indicate that the data was received @@ -114986,7 +115382,7 @@ webhooks: required: true content: application/json: - schema: *743 + schema: *746 responses: '200': description: Return a 200 status to indicate that the data was received @@ -115054,7 +115450,7 @@ webhooks: required: true content: application/json: - schema: *744 + schema: *747 responses: '200': description: Return a 200 status to indicate that the data was received @@ -115132,7 +115528,7 @@ webhooks: type: string enum: - completed - check_run: &746 + check_run: &749 title: CheckRun description: A check performed on the code of a given code change type: object @@ -115245,7 +115641,7 @@ webhooks: - examples: - neutral - deployment: *745 + deployment: *748 details_url: type: string examples: @@ -115343,9 +115739,9 @@ webhooks: - output - app - pull_requests - installation: *734 - organization: *735 - repository: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - check_run @@ -115738,10 +116134,10 @@ webhooks: type: string enum: - created - check_run: *746 - installation: *734 - organization: *735 - repository: *736 + check_run: *749 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - check_run @@ -116137,10 +116533,10 @@ webhooks: type: string enum: - requested_action - check_run: *746 - installation: *734 - organization: *735 - repository: *736 + check_run: *749 + installation: *737 + organization: *738 + repository: *739 requested_action: description: The action requested by the user. type: object @@ -116545,10 +116941,10 @@ webhooks: type: string enum: - rerequested - check_run: *746 - installation: *734 - organization: *735 - repository: *736 + check_run: *749 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - check_run @@ -117540,10 +117936,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -118228,10 +118624,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -118910,10 +119306,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -119231,20 +119627,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &747 + commit_oid: &750 description: The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - enterprise: *733 - installation: *734 - organization: *735 - ref: &748 + enterprise: *736 + installation: *737 + organization: *738 + ref: &751 description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - repository: *736 + repository: *739 sender: *4 required: - action @@ -119649,12 +120045,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *747 - enterprise: *733 - installation: *734 - organization: *735 - ref: *748 - repository: *736 + commit_oid: *750 + enterprise: *736 + installation: *737 + organization: *738 + ref: *751 + repository: *739 sender: *4 required: - action @@ -119934,12 +120330,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *747 - enterprise: *733 - installation: *734 - organization: *735 - ref: *748 - repository: *736 + commit_oid: *750 + enterprise: *736 + installation: *737 + organization: *738 + ref: *751 + repository: *739 sender: *4 required: - action @@ -120282,12 +120678,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *747 - enterprise: *733 - installation: *734 - organization: *735 - ref: *748 - repository: *736 + commit_oid: *750 + enterprise: *736 + installation: *737 + organization: *738 + ref: *751 + repository: *739 sender: *4 required: - action @@ -120567,9 +120963,9 @@ webhooks: type: - string - 'null' - enterprise: *733 - installation: *734 - organization: *735 + enterprise: *736 + installation: *737 + organization: *738 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -120577,7 +120973,7 @@ webhooks: type: - string - 'null' - repository: *736 + repository: *739 sender: *4 required: - action @@ -120820,12 +121216,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *747 - enterprise: *733 - installation: *734 - organization: *735 - ref: *748 - repository: *736 + commit_oid: *750 + enterprise: *736 + installation: *737 + organization: *738 + ref: *751 + repository: *739 sender: *4 required: - action @@ -121087,10 +121483,10 @@ webhooks: - updated_at - author_association - body - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -121171,18 +121567,18 @@ webhooks: type: - string - 'null' - enterprise: *733 - installation: *734 + enterprise: *736 + installation: *737 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *735 - pusher_type: &749 + organization: *738 + pusher_type: &752 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &750 + ref: &753 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -121192,7 +121588,7 @@ webhooks: enum: - tag - branch - repository: *736 + repository: *739 sender: *4 required: - ref @@ -121275,9 +121671,9 @@ webhooks: enum: - created definition: *110 - enterprise: *733 - installation: *734 - organization: *735 + enterprise: *736 + installation: *737 + organization: *738 sender: *4 required: - action @@ -121362,9 +121758,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *733 - installation: *734 - organization: *735 + enterprise: *736 + installation: *737 + organization: *738 sender: *4 required: - action @@ -121442,9 +121838,9 @@ webhooks: enum: - promote_to_enterprise definition: *110 - enterprise: *733 - installation: *734 - organization: *735 + enterprise: *736 + installation: *737 + organization: *738 sender: *4 required: - action @@ -121522,9 +121918,9 @@ webhooks: enum: - updated definition: *110 - enterprise: *733 - installation: *734 - organization: *735 + enterprise: *736 + installation: *737 + organization: *738 sender: *4 required: - action @@ -121601,10 +121997,10 @@ webhooks: type: string enum: - updated - enterprise: *733 - installation: *734 - repository: *736 - organization: *735 + enterprise: *736 + installation: *737 + repository: *739 + organization: *738 sender: *4 new_property_values: type: array @@ -121689,18 +122085,18 @@ webhooks: title: delete event type: object properties: - enterprise: *733 - installation: *734 - organization: *735 - pusher_type: *749 - ref: *750 + enterprise: *736 + installation: *737 + organization: *738 + pusher_type: *752 + ref: *753 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *736 + repository: *739 sender: *4 required: - ref @@ -121785,10 +122181,10 @@ webhooks: enum: - auto_dismissed alert: *500 - installation: *734 - organization: *735 - enterprise: *733 - repository: *736 + installation: *737 + organization: *738 + enterprise: *736 + repository: *739 sender: *4 required: - action @@ -121873,10 +122269,10 @@ webhooks: enum: - auto_reopened alert: *500 - installation: *734 - organization: *735 - enterprise: *733 - repository: *736 + installation: *737 + organization: *738 + enterprise: *736 + repository: *739 sender: *4 required: - action @@ -121961,10 +122357,10 @@ webhooks: enum: - created alert: *500 - installation: *734 - organization: *735 - enterprise: *733 - repository: *736 + installation: *737 + organization: *738 + enterprise: *736 + repository: *739 sender: *4 required: - action @@ -122047,10 +122443,10 @@ webhooks: enum: - dismissed alert: *500 - installation: *734 - organization: *735 - enterprise: *733 - repository: *736 + installation: *737 + organization: *738 + enterprise: *736 + repository: *739 sender: *4 required: - action @@ -122133,10 +122529,10 @@ webhooks: enum: - fixed alert: *500 - installation: *734 - organization: *735 - enterprise: *733 - repository: *736 + installation: *737 + organization: *738 + enterprise: *736 + repository: *739 sender: *4 required: - action @@ -122220,10 +122616,10 @@ webhooks: enum: - reintroduced alert: *500 - installation: *734 - organization: *735 - enterprise: *733 - repository: *736 + installation: *737 + organization: *738 + enterprise: *736 + repository: *739 sender: *4 required: - action @@ -122306,10 +122702,10 @@ webhooks: enum: - reopened alert: *500 - installation: *734 - organization: *735 - enterprise: *733 - repository: *736 + installation: *737 + organization: *738 + enterprise: *736 + repository: *739 sender: *4 required: - action @@ -122386,9 +122782,9 @@ webhooks: type: string enum: - created - enterprise: *733 - installation: *734 - key: &751 + enterprise: *736 + installation: *737 + key: &754 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -122426,8 +122822,8 @@ webhooks: - verified - created_at - read_only - organization: *735 - repository: *736 + organization: *738 + repository: *739 sender: *4 required: - action @@ -122504,11 +122900,11 @@ webhooks: type: string enum: - deleted - enterprise: *733 - installation: *734 - key: *751 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + key: *754 + organization: *738 + repository: *739 sender: *4 required: - action @@ -123080,12 +123476,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 - workflow: &755 + workflow: &758 title: Workflow type: - object @@ -123826,10 +124222,10 @@ webhooks: deployment: *506 pull_requests: type: array - items: *588 - repository: *736 - organization: *735 - installation: *734 + items: *591 + repository: *739 + organization: *738 + installation: *737 sender: *4 responses: '200': @@ -123900,7 +124296,7 @@ webhooks: type: string enum: - approved - approver: &752 + approver: &755 type: object properties: avatar_url: @@ -123943,11 +124339,11 @@ webhooks: type: string comment: type: string - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 - reviewers: &753 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 + reviewers: &756 type: array items: type: object @@ -124028,7 +124424,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &754 + workflow_job_run: &757 type: object properties: conclusion: @@ -124774,18 +125170,18 @@ webhooks: type: string enum: - rejected - approver: *752 + approver: *755 comment: type: string - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 - reviewers: *753 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 + reviewers: *756 sender: *4 since: type: string - workflow_job_run: *754 + workflow_job_run: *757 workflow_job_runs: type: array items: @@ -125502,13 +125898,13 @@ webhooks: type: string enum: - requested - enterprise: *733 + enterprise: *736 environment: type: string - installation: *734 - organization: *735 - repository: *736 - requestor: &760 + installation: *737 + organization: *738 + repository: *739 + requestor: &763 title: User type: - object @@ -127451,12 +127847,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 - workflow: *755 + workflow: *758 workflow_run: title: Deployment Workflow Run type: @@ -128147,7 +128543,7 @@ webhooks: type: string enum: - answered - answer: &758 + answer: &761 type: object properties: author_association: @@ -128307,7 +128703,7 @@ webhooks: - created_at - updated_at - body - discussion: &756 + discussion: &759 title: Discussion description: A Discussion in a repository. type: object @@ -128603,7 +128999,7 @@ webhooks: - id labels: type: array - items: *551 + items: *554 required: - repository_url - category @@ -128625,10 +129021,10 @@ webhooks: - author_association - active_lock_reason - body - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -128755,11 +129151,11 @@ webhooks: - from required: - category - discussion: *756 - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + discussion: *759 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -128842,11 +129238,11 @@ webhooks: type: string enum: - closed - discussion: *756 - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + discussion: *759 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -128928,7 +129324,7 @@ webhooks: type: string enum: - created - comment: &757 + comment: &760 type: object properties: author_association: @@ -129088,11 +129484,11 @@ webhooks: - updated_at - body - reactions - discussion: *756 - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + discussion: *759 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -129175,12 +129571,12 @@ webhooks: type: string enum: - deleted - comment: *757 - discussion: *756 - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + comment: *760 + discussion: *759 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -129275,12 +129671,12 @@ webhooks: - from required: - body - comment: *757 - discussion: *756 - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + comment: *760 + discussion: *759 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -129364,11 +129760,11 @@ webhooks: type: string enum: - created - discussion: *756 - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + discussion: *759 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -129450,11 +129846,11 @@ webhooks: type: string enum: - deleted - discussion: *756 - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + discussion: *759 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -129554,11 +129950,11 @@ webhooks: type: string required: - from - discussion: *756 - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + discussion: *759 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -129640,10 +130036,10 @@ webhooks: type: string enum: - labeled - discussion: *756 - enterprise: *733 - installation: *734 - label: &759 + discussion: *759 + enterprise: *736 + installation: *737 + label: &762 title: Label type: object properties: @@ -129676,8 +130072,8 @@ webhooks: - color - default - description - organization: *735 - repository: *736 + organization: *738 + repository: *739 sender: *4 required: - action @@ -129760,11 +130156,11 @@ webhooks: type: string enum: - locked - discussion: *756 - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + discussion: *759 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -129846,11 +130242,11 @@ webhooks: type: string enum: - pinned - discussion: *756 - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + discussion: *759 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -129932,11 +130328,11 @@ webhooks: type: string enum: - reopened - discussion: *756 - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + discussion: *759 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -130021,16 +130417,16 @@ webhooks: changes: type: object properties: - new_discussion: *756 - new_repository: *736 + new_discussion: *759 + new_repository: *739 required: - new_discussion - new_repository - discussion: *756 - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + discussion: *759 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -130113,10 +130509,10 @@ webhooks: type: string enum: - unanswered - discussion: *756 - old_answer: *758 - organization: *735 - repository: *736 + discussion: *759 + old_answer: *761 + organization: *738 + repository: *739 sender: *4 required: - action @@ -130198,12 +130594,12 @@ webhooks: type: string enum: - unlabeled - discussion: *756 - enterprise: *733 - installation: *734 - label: *759 - organization: *735 - repository: *736 + discussion: *759 + enterprise: *736 + installation: *737 + label: *762 + organization: *738 + repository: *739 sender: *4 required: - action @@ -130286,11 +130682,11 @@ webhooks: type: string enum: - unlocked - discussion: *756 - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + discussion: *759 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -130372,11 +130768,11 @@ webhooks: type: string enum: - unpinned - discussion: *756 - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + discussion: *759 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -130448,7 +130844,7 @@ webhooks: required: true content: application/json: - schema: *742 + schema: *745 responses: '200': description: Return a 200 status to indicate that the data was received @@ -130514,7 +130910,7 @@ webhooks: required: true content: application/json: - schema: *744 + schema: *747 responses: '200': description: Return a 200 status to indicate that the data was received @@ -130580,7 +130976,7 @@ webhooks: required: true content: application/json: - schema: *740 + schema: *743 responses: '200': description: Return a 200 status to indicate that the data was received @@ -130646,7 +131042,7 @@ webhooks: required: true content: application/json: - schema: *741 + schema: *744 responses: '200': description: Return a 200 status to indicate that the data was received @@ -130712,7 +131108,7 @@ webhooks: required: true content: application/json: - schema: *742 + schema: *745 responses: '200': description: Return a 200 status to indicate that the data was received @@ -130778,7 +131174,7 @@ webhooks: required: true content: application/json: - schema: *743 + schema: *746 responses: '200': description: Return a 200 status to indicate that the data was received @@ -130844,7 +131240,7 @@ webhooks: required: true content: application/json: - schema: *744 + schema: *747 responses: '200': description: Return a 200 status to indicate that the data was received @@ -130911,7 +131307,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *733 + enterprise: *736 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -131589,9 +131985,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *734 - organization: *735 - repository: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - forkee @@ -131737,9 +132133,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *733 - installation: *734 - organization: *735 + enterprise: *736 + installation: *737 + organization: *738 pages: description: The pages that were updated. type: array @@ -131777,7 +132173,7 @@ webhooks: - action - sha - html_url - repository: *736 + repository: *739 sender: *4 required: - pages @@ -131853,10 +132249,10 @@ webhooks: type: string enum: - created - enterprise: *733 + enterprise: *736 installation: *20 - organization: *735 - repositories: &761 + organization: *738 + repositories: &764 description: An array of repository objects that the installation can access. type: array @@ -131882,8 +132278,8 @@ webhooks: - name - full_name - private - repository: *736 - requester: *760 + repository: *739 + requester: *763 sender: *4 required: - action @@ -131958,11 +132354,11 @@ webhooks: type: string enum: - deleted - enterprise: *733 + enterprise: *736 installation: *20 - organization: *735 - repositories: *761 - repository: *736 + organization: *738 + repositories: *764 + repository: *739 requester: type: - 'null' @@ -132039,11 +132435,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *733 + enterprise: *736 installation: *20 - organization: *735 - repositories: *761 - repository: *736 + organization: *738 + repositories: *764 + repository: *739 requester: type: - 'null' @@ -132120,10 +132516,10 @@ webhooks: type: string enum: - added - enterprise: *733 + enterprise: *736 installation: *20 - organization: *735 - repositories_added: &762 + organization: *738 + repositories_added: &765 description: An array of repository objects, which were added to the installation. type: array @@ -132169,15 +132565,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *736 - repository_selection: &763 + repository: *739 + repository_selection: &766 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *760 + requester: *763 sender: *4 required: - action @@ -132256,10 +132652,10 @@ webhooks: type: string enum: - removed - enterprise: *733 + enterprise: *736 installation: *20 - organization: *735 - repositories_added: *762 + organization: *738 + repositories_added: *765 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -132286,9 +132682,9 @@ webhooks: - name - full_name - private - repository: *736 - repository_selection: *763 - requester: *760 + repository: *739 + repository_selection: *766 + requester: *763 sender: *4 required: - action @@ -132367,11 +132763,11 @@ webhooks: type: string enum: - suspend - enterprise: *733 + enterprise: *736 installation: *20 - organization: *735 - repositories: *761 - repository: *736 + organization: *738 + repositories: *764 + repository: *739 requester: type: - 'null' @@ -132554,10 +132950,10 @@ webhooks: type: string required: - from - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 target_type: type: string @@ -132636,11 +133032,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *733 + enterprise: *736 installation: *20 - organization: *735 - repositories: *761 - repository: *736 + organization: *738 + repositories: *764 + repository: *739 requester: type: - 'null' @@ -132888,8 +133284,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *733 - installation: *734 + enterprise: *736 + installation: *737 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -134080,8 +134476,8 @@ webhooks: - state - locked - assignee - organization: *735 - repository: *736 + organization: *738 + repository: *739 sender: *4 required: - action @@ -134161,7 +134557,7 @@ webhooks: type: string enum: - deleted - comment: &764 + comment: &767 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -134328,8 +134724,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *733 - installation: *734 + enterprise: *736 + installation: *737 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -135518,8 +135914,8 @@ webhooks: - state - locked - assignee - organization: *735 - repository: *736 + organization: *738 + repository: *739 sender: *4 required: - action @@ -135599,7 +135995,7 @@ webhooks: type: string enum: - edited - changes: &789 + changes: &792 description: The changes to the comment. type: object properties: @@ -135611,9 +136007,9 @@ webhooks: type: string required: - from - comment: *764 - enterprise: *733 - installation: *734 + comment: *767 + enterprise: *736 + installation: *737 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -136803,8 +137199,8 @@ webhooks: - state - locked - assignee - organization: *735 - repository: *736 + organization: *738 + repository: *739 sender: *4 required: - action @@ -136886,10 +137282,10 @@ webhooks: type: string enum: - assigned - assignee: *760 - enterprise: *733 - installation: *734 - issue: &767 + assignee: *763 + enterprise: *736 + installation: *737 + issue: &770 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -137834,8 +138230,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *735 - repository: *736 + organization: *738 + repository: *739 sender: *4 required: - action @@ -137915,8 +138311,8 @@ webhooks: type: string enum: - closed - enterprise: *733 - installation: *734 + enterprise: *736 + installation: *737 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -139009,8 +139405,8 @@ webhooks: required: - state - closed_at - organization: *735 - repository: *736 + organization: *738 + repository: *739 sender: *4 required: - action @@ -139089,8 +139485,8 @@ webhooks: type: string enum: - deleted - enterprise: *733 - installation: *734 + enterprise: *736 + installation: *737 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -140028,8 +140424,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *735 - repository: *736 + organization: *738 + repository: *739 sender: *4 required: - action @@ -140108,8 +140504,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *733 - installation: *734 + enterprise: *736 + installation: *737 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -141051,7 +141447,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &765 + milestone: &768 title: Milestone description: A collection of related issues and pull requests. type: object @@ -141194,8 +141590,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *735 - repository: *736 + organization: *738 + repository: *739 sender: *4 required: - action @@ -141294,8 +141690,8 @@ webhooks: type: string required: - from - enterprise: *733 - installation: *734 + enterprise: *736 + installation: *737 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -142240,9 +142636,9 @@ webhooks: - active_lock_reason - body - reactions - label: *759 - organization: *735 - repository: *736 + label: *762 + organization: *738 + repository: *739 sender: *4 required: - action @@ -142322,8 +142718,8 @@ webhooks: type: string enum: - labeled - enterprise: *733 - installation: *734 + enterprise: *736 + installation: *737 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -143267,9 +143663,9 @@ webhooks: - active_lock_reason - body - reactions - label: *759 - organization: *735 - repository: *736 + label: *762 + organization: *738 + repository: *739 sender: *4 required: - action @@ -143349,8 +143745,8 @@ webhooks: type: string enum: - locked - enterprise: *733 - installation: *734 + enterprise: *736 + installation: *737 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -144296,8 +144692,8 @@ webhooks: format: uri user_view_type: type: string - organization: *735 - repository: *736 + organization: *738 + repository: *739 sender: *4 required: - action @@ -144376,8 +144772,8 @@ webhooks: type: string enum: - milestoned - enterprise: *733 - installation: *734 + enterprise: *736 + installation: *737 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -145317,9 +145713,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *765 - organization: *735 - repository: *736 + milestone: *768 + organization: *738 + repository: *739 sender: *4 required: - action @@ -146819,8 +147215,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *733 - installation: *734 + enterprise: *736 + installation: *737 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -147764,8 +148160,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *735 - repository: *736 + organization: *738 + repository: *739 sender: *4 required: - action @@ -147845,9 +148241,9 @@ webhooks: type: string enum: - pinned - enterprise: *733 - installation: *734 - issue: &766 + enterprise: *736 + installation: *737 + issue: &769 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -148785,8 +149181,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *735 - repository: *736 + organization: *738 + repository: *739 sender: *4 required: - action @@ -148865,8 +149261,8 @@ webhooks: type: string enum: - reopened - enterprise: *733 - installation: *734 + enterprise: *736 + installation: *737 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -149811,8 +150207,8 @@ webhooks: user_view_type: type: string type: *279 - organization: *735 - repository: *736 + organization: *738 + repository: *739 sender: *4 required: - action @@ -151313,11 +151709,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *733 - installation: *734 - issue: *766 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + issue: *769 + organization: *738 + repository: *739 sender: *4 required: - action @@ -151397,12 +151793,12 @@ webhooks: type: string enum: - typed - enterprise: *733 - installation: *734 - issue: *767 + enterprise: *736 + installation: *737 + issue: *770 type: *279 - organization: *735 - repository: *736 + organization: *738 + repository: *739 sender: *4 required: - action @@ -151483,7 +151879,7 @@ webhooks: type: string enum: - unassigned - assignee: &792 + assignee: &795 title: User type: - object @@ -151555,11 +151951,11 @@ webhooks: required: - login - id - enterprise: *733 - installation: *734 - issue: *767 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + issue: *770 + organization: *738 + repository: *739 sender: *4 required: - action @@ -151638,12 +152034,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *733 - installation: *734 - issue: *767 - label: *759 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + issue: *770 + label: *762 + organization: *738 + repository: *739 sender: *4 required: - action @@ -151723,8 +152119,8 @@ webhooks: type: string enum: - unlocked - enterprise: *733 - installation: *734 + enterprise: *736 + installation: *737 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -152668,8 +153064,8 @@ webhooks: format: uri user_view_type: type: string - organization: *735 - repository: *736 + organization: *738 + repository: *739 sender: *4 required: - action @@ -152749,11 +153145,11 @@ webhooks: type: string enum: - unpinned - enterprise: *733 - installation: *734 - issue: *766 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + issue: *769 + organization: *738 + repository: *739 sender: *4 required: - action @@ -152832,12 +153228,12 @@ webhooks: type: string enum: - untyped - enterprise: *733 - installation: *734 - issue: *767 + enterprise: *736 + installation: *737 + issue: *770 type: *279 - organization: *735 - repository: *736 + organization: *738 + repository: *739 sender: *4 required: - action @@ -152917,11 +153313,11 @@ webhooks: type: string enum: - created - enterprise: *733 - installation: *734 - label: *759 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + label: *762 + organization: *738 + repository: *739 sender: *4 required: - action @@ -152999,11 +153395,11 @@ webhooks: type: string enum: - deleted - enterprise: *733 - installation: *734 - label: *759 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + label: *762 + organization: *738 + repository: *739 sender: *4 required: - action @@ -153113,11 +153509,11 @@ webhooks: type: string required: - from - enterprise: *733 - installation: *734 - label: *759 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + label: *762 + organization: *738 + repository: *739 sender: *4 required: - action @@ -153199,9 +153595,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *733 - installation: *734 - marketplace_purchase: &768 + enterprise: *736 + installation: *737 + marketplace_purchase: &771 title: Marketplace Purchase type: object required: @@ -153289,8 +153685,8 @@ webhooks: type: integer unit_count: type: integer - organization: *735 - previous_marketplace_purchase: &769 + organization: *738 + previous_marketplace_purchase: &772 title: Marketplace Purchase type: object properties: @@ -153374,7 +153770,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *736 + repository: *739 sender: *4 required: - action @@ -153454,10 +153850,10 @@ webhooks: - changed effective_date: type: string - enterprise: *733 - installation: *734 - marketplace_purchase: *768 - organization: *735 + enterprise: *736 + installation: *737 + marketplace_purchase: *771 + organization: *738 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -153545,7 +153941,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *736 + repository: *739 sender: *4 required: - action @@ -153627,10 +154023,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *733 - installation: *734 - marketplace_purchase: *768 - organization: *735 + enterprise: *736 + installation: *737 + marketplace_purchase: *771 + organization: *738 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -153716,7 +154112,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *736 + repository: *739 sender: *4 required: - action @@ -153797,8 +154193,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *733 - installation: *734 + enterprise: *736 + installation: *737 marketplace_purchase: title: Marketplace Purchase type: object @@ -153884,9 +154280,9 @@ webhooks: type: integer unit_count: type: integer - organization: *735 - previous_marketplace_purchase: *769 - repository: *736 + organization: *738 + previous_marketplace_purchase: *772 + repository: *739 sender: *4 required: - action @@ -153966,12 +154362,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *733 - installation: *734 - marketplace_purchase: *768 - organization: *735 - previous_marketplace_purchase: *769 - repository: *736 + enterprise: *736 + installation: *737 + marketplace_purchase: *771 + organization: *738 + previous_marketplace_purchase: *772 + repository: *739 sender: *4 required: - action @@ -154073,11 +154469,11 @@ webhooks: type: string required: - to - enterprise: *733 - installation: *734 - member: *760 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + member: *763 + organization: *738 + repository: *739 sender: *4 required: - action @@ -154179,11 +154575,11 @@ webhooks: type: - string - 'null' - enterprise: *733 - installation: *734 - member: *760 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + member: *763 + organization: *738 + repository: *739 sender: *4 required: - action @@ -154262,11 +154658,11 @@ webhooks: type: string enum: - removed - enterprise: *733 - installation: *734 - member: *760 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + member: *763 + organization: *738 + repository: *739 sender: *4 required: - action @@ -154344,11 +154740,11 @@ webhooks: type: string enum: - added - enterprise: *733 - installation: *734 - member: *760 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + member: *763 + organization: *738 + repository: *739 scope: description: The scope of the membership. Currently, can only be `team`. @@ -154426,7 +154822,7 @@ webhooks: required: - login - id - team: &770 + team: &773 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -154619,11 +155015,11 @@ webhooks: type: string enum: - removed - enterprise: *733 - installation: *734 - member: *760 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + member: *763 + organization: *738 + repository: *739 scope: description: The scope of the membership. Currently, can only be `team`. @@ -154702,7 +155098,7 @@ webhooks: required: - login - id - team: *770 + team: *773 required: - action - scope @@ -154784,8 +155180,8 @@ webhooks: type: string enum: - checks_requested - installation: *734 - merge_group: &771 + installation: *737 + merge_group: &774 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -154811,8 +155207,8 @@ webhooks: - base_sha - base_ref - head_commit - organization: *735 - repository: *736 + organization: *738 + repository: *739 sender: *4 required: - action @@ -154898,10 +155294,10 @@ webhooks: - merged - invalidated - dequeued - installation: *734 - merge_group: *771 - organization: *735 - repository: *736 + installation: *737 + merge_group: *774 + organization: *738 + repository: *739 sender: *4 required: - action @@ -154974,7 +155370,7 @@ webhooks: type: string enum: - deleted - enterprise: *733 + enterprise: *736 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -155082,12 +155478,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *734 - organization: *735 + installation: *737 + organization: *738 repository: anyOf: - type: 'null' - - *736 + - *739 sender: *4 required: - action @@ -155167,11 +155563,11 @@ webhooks: type: string enum: - closed - enterprise: *733 - installation: *734 - milestone: *765 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + milestone: *768 + organization: *738 + repository: *739 sender: *4 required: - action @@ -155250,9 +155646,9 @@ webhooks: type: string enum: - created - enterprise: *733 - installation: *734 - milestone: &772 + enterprise: *736 + installation: *737 + milestone: &775 title: Milestone description: A collection of related issues and pull requests. type: object @@ -155394,8 +155790,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *735 - repository: *736 + organization: *738 + repository: *739 sender: *4 required: - action @@ -155474,11 +155870,11 @@ webhooks: type: string enum: - deleted - enterprise: *733 - installation: *734 - milestone: *765 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + milestone: *768 + organization: *738 + repository: *739 sender: *4 required: - action @@ -155588,11 +155984,11 @@ webhooks: type: string required: - from - enterprise: *733 - installation: *734 - milestone: *765 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + milestone: *768 + organization: *738 + repository: *739 sender: *4 required: - action @@ -155672,11 +156068,11 @@ webhooks: type: string enum: - opened - enterprise: *733 - installation: *734 - milestone: *772 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + milestone: *775 + organization: *738 + repository: *739 sender: *4 required: - action @@ -155755,11 +156151,11 @@ webhooks: type: string enum: - blocked - blocked_user: *760 - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + blocked_user: *763 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -155838,11 +156234,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *760 - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + blocked_user: *763 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -155921,9 +156317,9 @@ webhooks: type: string enum: - deleted - enterprise: *733 - installation: *734 - membership: &773 + enterprise: *736 + installation: *737 + membership: &776 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -156017,8 +156413,8 @@ webhooks: - role - organization_url - user - organization: *735 - repository: *736 + organization: *738 + repository: *739 sender: *4 required: - action @@ -156096,11 +156492,11 @@ webhooks: type: string enum: - member_added - enterprise: *733 - installation: *734 - membership: *773 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + membership: *776 + organization: *738 + repository: *739 sender: *4 required: - action @@ -156179,8 +156575,8 @@ webhooks: type: string enum: - member_invited - enterprise: *733 - installation: *734 + enterprise: *736 + installation: *737 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -156302,10 +156698,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *735 - repository: *736 + organization: *738 + repository: *739 sender: *4 - user: *760 + user: *763 required: - action - invitation @@ -156383,11 +156779,11 @@ webhooks: type: string enum: - member_removed - enterprise: *733 - installation: *734 - membership: *773 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + membership: *776 + organization: *738 + repository: *739 sender: *4 required: - action @@ -156474,11 +156870,11 @@ webhooks: properties: from: type: string - enterprise: *733 - installation: *734 - membership: *773 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + membership: *776 + organization: *738 + repository: *739 sender: *4 required: - action @@ -156554,9 +156950,9 @@ webhooks: type: string enum: - published - enterprise: *733 - installation: *734 - organization: *735 + enterprise: *736 + installation: *737 + organization: *738 package: description: Information about the package. type: object @@ -157079,7 +157475,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &774 + items: &777 title: Ruby Gems metadata type: object properties: @@ -157176,7 +157572,7 @@ webhooks: - owner - package_version - registry - repository: *736 + repository: *739 sender: *4 required: - action @@ -157252,9 +157648,9 @@ webhooks: type: string enum: - updated - enterprise: *733 - installation: *734 - organization: *735 + enterprise: *736 + installation: *737 + organization: *738 package: description: Information about the package. type: object @@ -157616,7 +158012,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *774 + items: *777 source_url: type: string format: uri @@ -157687,7 +158083,7 @@ webhooks: - owner - package_version - registry - repository: *736 + repository: *739 sender: *4 required: - action @@ -157868,12 +158264,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *733 + enterprise: *736 id: type: integer - installation: *734 - organization: *735 - repository: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - id @@ -157950,7 +158346,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &775 + personal_access_token_request: &778 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -158100,10 +158496,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *733 - organization: *735 + enterprise: *736 + organization: *738 sender: *4 - installation: *734 + installation: *737 required: - action - personal_access_token_request @@ -158180,11 +158576,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *775 - enterprise: *733 - organization: *735 + personal_access_token_request: *778 + enterprise: *736 + organization: *738 sender: *4 - installation: *734 + installation: *737 required: - action - personal_access_token_request @@ -158260,11 +158656,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *775 - enterprise: *733 - organization: *735 + personal_access_token_request: *778 + enterprise: *736 + organization: *738 sender: *4 - installation: *734 + installation: *737 required: - action - personal_access_token_request @@ -158339,11 +158735,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *775 - organization: *735 - enterprise: *733 + personal_access_token_request: *778 + organization: *738 + enterprise: *736 sender: *4 - installation: *734 + installation: *737 required: - action - personal_access_token_request @@ -158448,7 +158844,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *776 + last_response: *779 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -158480,8 +158876,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *735 - repository: *736 + organization: *738 + repository: *739 sender: *4 zen: description: Random string of GitHub zen. @@ -158726,10 +159122,10 @@ webhooks: - from required: - note - enterprise: *733 - installation: *734 - organization: *735 - project_card: &777 + enterprise: *736 + installation: *737 + organization: *738 + project_card: &780 title: Project Card type: object properties: @@ -158852,7 +159248,7 @@ webhooks: - creator - created_at - updated_at - repository: *736 + repository: *739 sender: *4 required: - action @@ -158933,11 +159329,11 @@ webhooks: type: string enum: - created - enterprise: *733 - installation: *734 - organization: *735 - project_card: *777 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + project_card: *780 + repository: *739 sender: *4 required: - action @@ -159017,9 +159413,9 @@ webhooks: type: string enum: - deleted - enterprise: *733 - installation: *734 - organization: *735 + enterprise: *736 + installation: *737 + organization: *738 project_card: title: Project Card type: object @@ -159149,7 +159545,7 @@ webhooks: repository: anyOf: - type: 'null' - - *736 + - *739 sender: *4 required: - action @@ -159243,11 +159639,11 @@ webhooks: - from required: - note - enterprise: *733 - installation: *734 - organization: *735 - project_card: *777 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + project_card: *780 + repository: *739 sender: *4 required: - action @@ -159341,9 +159737,9 @@ webhooks: - from required: - column_id - enterprise: *733 - installation: *734 - organization: *735 + enterprise: *736 + installation: *737 + organization: *738 project_card: allOf: - title: Project Card @@ -159540,7 +159936,7 @@ webhooks: type: string required: - after_id - repository: *736 + repository: *739 sender: *4 required: - action @@ -159620,10 +160016,10 @@ webhooks: type: string enum: - closed - enterprise: *733 - installation: *734 - organization: *735 - project: &779 + enterprise: *736 + installation: *737 + organization: *738 + project: &782 title: Project type: object properties: @@ -159750,7 +160146,7 @@ webhooks: - creator - created_at - updated_at - repository: *736 + repository: *739 sender: *4 required: - action @@ -159830,10 +160226,10 @@ webhooks: type: string enum: - created - enterprise: *733 - installation: *734 - organization: *735 - project_column: &778 + enterprise: *736 + installation: *737 + organization: *738 + project_column: &781 title: Project Column type: object properties: @@ -159873,7 +160269,7 @@ webhooks: - name - created_at - updated_at - repository: *736 + repository: *739 sender: *4 required: - action @@ -159952,14 +160348,14 @@ webhooks: type: string enum: - deleted - enterprise: *733 - installation: *734 - organization: *735 - project_column: *778 + enterprise: *736 + installation: *737 + organization: *738 + project_column: *781 repository: anyOf: - type: 'null' - - *736 + - *739 sender: *4 required: - action @@ -160048,11 +160444,11 @@ webhooks: type: string required: - from - enterprise: *733 - installation: *734 - organization: *735 - project_column: *778 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + project_column: *781 + repository: *739 sender: *4 required: - action @@ -160132,11 +160528,11 @@ webhooks: type: string enum: - moved - enterprise: *733 - installation: *734 - organization: *735 - project_column: *778 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + project_column: *781 + repository: *739 sender: *4 required: - action @@ -160216,11 +160612,11 @@ webhooks: type: string enum: - created - enterprise: *733 - installation: *734 - organization: *735 - project: *779 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + project: *782 + repository: *739 sender: *4 required: - action @@ -160300,14 +160696,14 @@ webhooks: type: string enum: - deleted - enterprise: *733 - installation: *734 - organization: *735 - project: *779 + enterprise: *736 + installation: *737 + organization: *738 + project: *782 repository: anyOf: - type: 'null' - - *736 + - *739 sender: *4 required: - action @@ -160408,11 +160804,11 @@ webhooks: type: string required: - from - enterprise: *733 - installation: *734 - organization: *735 - project: *779 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + project: *782 + repository: *739 sender: *4 required: - action @@ -160491,11 +160887,11 @@ webhooks: type: string enum: - reopened - enterprise: *733 - installation: *734 - organization: *735 - project: *779 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + project: *782 + repository: *739 sender: *4 required: - action @@ -160576,9 +160972,9 @@ webhooks: type: string enum: - closed - installation: *734 - organization: *735 - projects_v2: &780 + installation: *737 + organization: *738 + projects_v2: &783 title: Projects v2 Project description: A projects v2 project type: object @@ -160726,9 +161122,9 @@ webhooks: type: string enum: - created - installation: *734 - organization: *735 - projects_v2: *780 + installation: *737 + organization: *738 + projects_v2: *783 sender: *4 required: - action @@ -160809,9 +161205,9 @@ webhooks: type: string enum: - deleted - installation: *734 - organization: *735 - projects_v2: *780 + installation: *737 + organization: *738 + projects_v2: *783 sender: *4 required: - action @@ -160932,9 +161328,9 @@ webhooks: type: string to: type: string - installation: *734 - organization: *735 - projects_v2: *780 + installation: *737 + organization: *738 + projects_v2: *783 sender: *4 required: - action @@ -161017,7 +161413,7 @@ webhooks: type: string enum: - archived - changes: &784 + changes: &787 type: object properties: archived_at: @@ -161033,9 +161429,9 @@ webhooks: - string - 'null' format: date-time - installation: *734 - organization: *735 - projects_v2_item: &781 + installation: *737 + organization: *738 + projects_v2_item: &784 title: Projects v2 Item description: An item belonging to a project type: object @@ -161174,9 +161570,9 @@ webhooks: - 'null' to: type: string - installation: *734 - organization: *735 - projects_v2_item: *781 + installation: *737 + organization: *738 + projects_v2_item: *784 sender: *4 required: - action @@ -161258,9 +161654,9 @@ webhooks: type: string enum: - created - installation: *734 - organization: *735 - projects_v2_item: *781 + installation: *737 + organization: *738 + projects_v2_item: *784 sender: *4 required: - action @@ -161341,9 +161737,9 @@ webhooks: type: string enum: - deleted - installation: *734 - organization: *735 - projects_v2_item: *781 + installation: *737 + organization: *738 + projects_v2_item: *784 sender: *4 required: - action @@ -161448,7 +161844,7 @@ webhooks: oneOf: - type: string - type: integer - - &782 + - &785 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -161468,7 +161864,7 @@ webhooks: required: - id - name - - &783 + - &786 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -161497,8 +161893,8 @@ webhooks: oneOf: - type: string - type: integer - - *782 - - *783 + - *785 + - *786 type: - 'null' - string @@ -161521,9 +161917,9 @@ webhooks: - 'null' required: - body - installation: *734 - organization: *735 - projects_v2_item: *781 + installation: *737 + organization: *738 + projects_v2_item: *784 sender: *4 required: - action @@ -161620,9 +162016,9 @@ webhooks: type: - string - 'null' - installation: *734 - organization: *735 - projects_v2_item: *781 + installation: *737 + organization: *738 + projects_v2_item: *784 sender: *4 required: - action @@ -161705,10 +162101,10 @@ webhooks: type: string enum: - restored - changes: *784 - installation: *734 - organization: *735 - projects_v2_item: *781 + changes: *787 + installation: *737 + organization: *738 + projects_v2_item: *784 sender: *4 required: - action @@ -161790,9 +162186,9 @@ webhooks: type: string enum: - reopened - installation: *734 - organization: *735 - projects_v2: *780 + installation: *737 + organization: *738 + projects_v2: *783 sender: *4 required: - action @@ -161873,9 +162269,9 @@ webhooks: type: string enum: - created - installation: *734 - organization: *735 - projects_v2_status_update: &785 + installation: *737 + organization: *738 + projects_v2_status_update: &788 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -162010,9 +162406,9 @@ webhooks: type: string enum: - deleted - installation: *734 - organization: *735 - projects_v2_status_update: *785 + installation: *737 + organization: *738 + projects_v2_status_update: *788 sender: *4 required: - action @@ -162158,9 +162554,9 @@ webhooks: - string - 'null' format: date - installation: *734 - organization: *735 - projects_v2_status_update: *785 + installation: *737 + organization: *738 + projects_v2_status_update: *788 sender: *4 required: - action @@ -162231,10 +162627,10 @@ webhooks: title: public event type: object properties: - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - repository @@ -162311,13 +162707,13 @@ webhooks: type: string enum: - assigned - assignee: *760 - enterprise: *733 - installation: *734 - number: &786 + assignee: *763 + enterprise: *736 + installation: *737 + number: &789 description: The pull request number. type: integer - organization: *735 + organization: *738 pull_request: title: Pull Request type: object @@ -164666,7 +165062,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *736 + repository: *739 sender: *4 required: - action @@ -164748,11 +165144,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *733 - installation: *734 + enterprise: *736 + installation: *737 number: type: integer - organization: *735 + organization: *738 pull_request: title: Pull Request type: object @@ -167094,7 +167490,7 @@ webhooks: - draft reason: type: string - repository: *736 + repository: *739 sender: *4 required: - action @@ -167176,11 +167572,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *733 - installation: *734 + enterprise: *736 + installation: *737 number: type: integer - organization: *735 + organization: *738 pull_request: title: Pull Request type: object @@ -169522,7 +169918,7 @@ webhooks: - draft reason: type: string - repository: *736 + repository: *739 sender: *4 required: - action @@ -169604,13 +170000,13 @@ webhooks: type: string enum: - closed - enterprise: *733 - installation: *734 - number: *786 - organization: *735 - pull_request: &787 + enterprise: *736 + installation: *737 + number: *789 + organization: *738 + pull_request: &790 allOf: - - *588 + - *591 - type: object properties: allow_auto_merge: @@ -169672,7 +170068,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *736 + repository: *739 sender: *4 required: - action @@ -169753,12 +170149,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *733 - installation: *734 - number: *786 - organization: *735 - pull_request: *787 - repository: *736 + enterprise: *736 + installation: *737 + number: *789 + organization: *738 + pull_request: *790 + repository: *739 sender: *4 required: - action @@ -169838,11 +170234,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *733 + enterprise: *736 milestone: *486 - number: *786 - organization: *735 - pull_request: &788 + number: *789 + organization: *738 + pull_request: &791 title: Pull Request type: object properties: @@ -172169,7 +172565,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *736 + repository: *739 sender: *4 required: - action @@ -172248,11 +172644,11 @@ webhooks: type: string enum: - dequeued - enterprise: *733 - installation: *734 + enterprise: *736 + installation: *737 number: type: integer - organization: *735 + organization: *738 pull_request: title: Pull Request type: object @@ -174598,7 +174994,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *736 + repository: *739 sender: *4 required: - action @@ -174722,12 +175118,12 @@ webhooks: type: string required: - from - enterprise: *733 - installation: *734 - number: *786 - organization: *735 - pull_request: *787 - repository: *736 + enterprise: *736 + installation: *737 + number: *789 + organization: *738 + pull_request: *790 + repository: *739 sender: *4 required: - action @@ -174807,11 +175203,11 @@ webhooks: type: string enum: - enqueued - enterprise: *733 - installation: *734 + enterprise: *736 + installation: *737 number: type: integer - organization: *735 + organization: *738 pull_request: title: Pull Request type: object @@ -177142,7 +177538,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *736 + repository: *739 sender: *4 required: - action @@ -177222,11 +177618,11 @@ webhooks: type: string enum: - labeled - enterprise: *733 - installation: *734 - label: *759 - number: *786 - organization: *735 + enterprise: *736 + installation: *737 + label: *762 + number: *789 + organization: *738 pull_request: title: Pull Request type: object @@ -179574,7 +179970,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *736 + repository: *739 sender: *4 required: - action @@ -179655,10 +180051,10 @@ webhooks: type: string enum: - locked - enterprise: *733 - installation: *734 - number: *786 - organization: *735 + enterprise: *736 + installation: *737 + number: *789 + organization: *738 pull_request: title: Pull Request type: object @@ -182004,7 +182400,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *736 + repository: *739 sender: *4 required: - action @@ -182084,12 +182480,12 @@ webhooks: type: string enum: - milestoned - enterprise: *733 + enterprise: *736 milestone: *486 - number: *786 - organization: *735 - pull_request: *788 - repository: *736 + number: *789 + organization: *738 + pull_request: *791 + repository: *739 sender: *4 required: - action @@ -182168,12 +182564,12 @@ webhooks: type: string enum: - opened - enterprise: *733 - installation: *734 - number: *786 - organization: *735 - pull_request: *787 - repository: *736 + enterprise: *736 + installation: *737 + number: *789 + organization: *738 + pull_request: *790 + repository: *739 sender: *4 required: - action @@ -182254,12 +182650,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *733 - installation: *734 - number: *786 - organization: *735 - pull_request: *787 - repository: *736 + enterprise: *736 + installation: *737 + number: *789 + organization: *738 + pull_request: *790 + repository: *739 sender: *4 required: - action @@ -182339,12 +182735,12 @@ webhooks: type: string enum: - reopened - enterprise: *733 - installation: *734 - number: *786 - organization: *735 - pull_request: *787 - repository: *736 + enterprise: *736 + installation: *737 + number: *789 + organization: *738 + pull_request: *790 + repository: *739 sender: *4 required: - action @@ -182719,9 +183115,9 @@ webhooks: - start_side - side - reactions - enterprise: *733 - installation: *734 - organization: *735 + enterprise: *736 + installation: *737 + organization: *738 pull_request: type: object properties: @@ -184951,7 +185347,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *736 + repository: *739 sender: *4 required: - action @@ -185031,7 +185427,7 @@ webhooks: type: string enum: - deleted - comment: &790 + comment: &793 title: Pull Request Review Comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -185324,9 +185720,9 @@ webhooks: - start_side - side - reactions - enterprise: *733 - installation: *734 - organization: *735 + enterprise: *736 + installation: *737 + organization: *738 pull_request: type: object properties: @@ -187544,7 +187940,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *736 + repository: *739 sender: *4 required: - action @@ -187624,11 +188020,11 @@ webhooks: type: string enum: - edited - changes: *789 - comment: *790 - enterprise: *733 - installation: *734 - organization: *735 + changes: *792 + comment: *793 + enterprise: *736 + installation: *737 + organization: *738 pull_request: type: object properties: @@ -189849,7 +190245,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *736 + repository: *739 sender: *4 required: - action @@ -189930,9 +190326,9 @@ webhooks: type: string enum: - dismissed - enterprise: *733 - installation: *734 - organization: *735 + enterprise: *736 + installation: *737 + organization: *738 pull_request: title: Simple Pull Request type: object @@ -192165,7 +192561,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *736 + repository: *739 review: description: The review that was affected. type: object @@ -192411,9 +192807,9 @@ webhooks: type: string required: - from - enterprise: *733 - installation: *734 - organization: *735 + enterprise: *736 + installation: *737 + organization: *738 pull_request: title: Simple Pull Request type: object @@ -194527,8 +194923,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *736 - review: &791 + repository: *739 + review: &794 description: The review that was affected. type: object properties: @@ -194761,12 +195157,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *733 - installation: *734 + enterprise: *736 + installation: *737 number: description: The pull request number. type: integer - organization: *735 + organization: *738 pull_request: title: Pull Request type: object @@ -197113,7 +197509,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *736 + repository: *739 requested_reviewer: title: User type: @@ -197199,12 +197595,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *733 - installation: *734 + enterprise: *736 + installation: *737 number: description: The pull request number. type: integer - organization: *735 + organization: *738 pull_request: title: Pull Request type: object @@ -199558,7 +199954,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *736 + repository: *739 requested_team: title: Team description: Groups of organization members that gives permissions @@ -199753,12 +200149,12 @@ webhooks: type: string enum: - review_requested - enterprise: *733 - installation: *734 + enterprise: *736 + installation: *737 number: description: The pull request number. type: integer - organization: *735 + organization: *738 pull_request: title: Pull Request type: object @@ -202107,7 +202503,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *736 + repository: *739 requested_reviewer: title: User type: @@ -202194,12 +202590,12 @@ webhooks: type: string enum: - review_requested - enterprise: *733 - installation: *734 + enterprise: *736 + installation: *737 number: description: The pull request number. type: integer - organization: *735 + organization: *738 pull_request: title: Pull Request type: object @@ -204539,7 +204935,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *736 + repository: *739 requested_team: title: Team description: Groups of organization members that gives permissions @@ -204723,9 +205119,9 @@ webhooks: type: string enum: - submitted - enterprise: *733 - installation: *734 - organization: *735 + enterprise: *736 + installation: *737 + organization: *738 pull_request: title: Simple Pull Request type: object @@ -206961,8 +207357,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *736 - review: *791 + repository: *739 + review: *794 sender: *4 required: - action @@ -207042,9 +207438,9 @@ webhooks: type: string enum: - resolved - enterprise: *733 - installation: *734 - organization: *735 + enterprise: *736 + installation: *737 + organization: *738 pull_request: title: Simple Pull Request type: object @@ -209175,7 +209571,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *736 + repository: *739 sender: *4 thread: type: object @@ -209567,9 +209963,9 @@ webhooks: type: string enum: - unresolved - enterprise: *733 - installation: *734 - organization: *735 + enterprise: *736 + installation: *737 + organization: *738 pull_request: title: Simple Pull Request type: object @@ -211683,7 +212079,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *736 + repository: *739 sender: *4 thread: type: object @@ -212077,10 +212473,10 @@ webhooks: type: string before: type: string - enterprise: *733 - installation: *734 - number: *786 - organization: *735 + enterprise: *736 + installation: *737 + number: *789 + organization: *738 pull_request: title: Pull Request type: object @@ -214415,7 +214811,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *736 + repository: *739 sender: *4 required: - action @@ -214497,11 +214893,11 @@ webhooks: type: string enum: - unassigned - assignee: *792 - enterprise: *733 - installation: *734 - number: *786 - organization: *735 + assignee: *795 + enterprise: *736 + installation: *737 + number: *789 + organization: *738 pull_request: title: Pull Request type: object @@ -216851,7 +217247,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *736 + repository: *739 sender: *4 required: - action @@ -216930,11 +217326,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *733 - installation: *734 - label: *759 - number: *786 - organization: *735 + enterprise: *736 + installation: *737 + label: *762 + number: *789 + organization: *738 pull_request: title: Pull Request type: object @@ -219273,7 +219669,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *736 + repository: *739 sender: *4 required: - action @@ -219354,10 +219750,10 @@ webhooks: type: string enum: - unlocked - enterprise: *733 - installation: *734 - number: *786 - organization: *735 + enterprise: *736 + installation: *737 + number: *789 + organization: *738 pull_request: title: Pull Request type: object @@ -221686,7 +222082,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *736 + repository: *739 sender: *4 required: - action @@ -221889,7 +222285,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *733 + enterprise: *736 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -221984,8 +222380,8 @@ webhooks: - url - author - committer - installation: *734 - organization: *735 + installation: *737 + organization: *738 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -222573,9 +222969,9 @@ webhooks: type: string enum: - published - enterprise: *733 - installation: *734 - organization: *735 + enterprise: *736 + installation: *737 + organization: *738 registry_package: type: object properties: @@ -223052,7 +223448,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *774 + items: *777 summary: type: string tag_name: @@ -223108,7 +223504,7 @@ webhooks: - owner - package_version - registry - repository: *736 + repository: *739 sender: *4 required: - action @@ -223186,9 +223582,9 @@ webhooks: type: string enum: - updated - enterprise: *733 - installation: *734 - organization: *735 + enterprise: *736 + installation: *737 + organization: *738 registry_package: type: object properties: @@ -223500,7 +223896,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *774 + items: *777 summary: type: string tag_name: @@ -223550,7 +223946,7 @@ webhooks: - owner - package_version - registry - repository: *736 + repository: *739 sender: *4 required: - action @@ -223627,10 +224023,10 @@ webhooks: type: string enum: - created - enterprise: *733 - installation: *734 - organization: *735 - release: &793 + enterprise: *736 + installation: *737 + organization: *738 + release: &796 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -223946,7 +224342,7 @@ webhooks: - tarball_url - zipball_url - body - repository: *736 + repository: *739 sender: *4 required: - action @@ -224023,11 +224419,11 @@ webhooks: type: string enum: - deleted - enterprise: *733 - installation: *734 - organization: *735 - release: *793 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + release: *796 + repository: *739 sender: *4 required: - action @@ -224144,11 +224540,11 @@ webhooks: type: boolean required: - to - enterprise: *733 - installation: *734 - organization: *735 - release: *793 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + release: *796 + repository: *739 sender: *4 required: - action @@ -224226,9 +224622,9 @@ webhooks: type: string enum: - prereleased - enterprise: *733 - installation: *734 - organization: *735 + enterprise: *736 + installation: *737 + organization: *738 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -224549,7 +224945,7 @@ webhooks: - string - 'null' format: uri - repository: *736 + repository: *739 sender: *4 required: - action @@ -224625,10 +225021,10 @@ webhooks: type: string enum: - published - enterprise: *733 - installation: *734 - organization: *735 - release: &794 + enterprise: *736 + installation: *737 + organization: *738 + release: &797 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -224946,7 +225342,7 @@ webhooks: - string - 'null' format: uri - repository: *736 + repository: *739 sender: *4 required: - action @@ -225022,11 +225418,11 @@ webhooks: type: string enum: - released - enterprise: *733 - installation: *734 - organization: *735 - release: *793 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + release: *796 + repository: *739 sender: *4 required: - action @@ -225102,11 +225498,11 @@ webhooks: type: string enum: - unpublished - enterprise: *733 - installation: *734 - organization: *735 - release: *794 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + release: *797 + repository: *739 sender: *4 required: - action @@ -225182,11 +225578,11 @@ webhooks: type: string enum: - published - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 - repository_advisory: *645 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 + repository_advisory: *648 sender: *4 required: - action @@ -225262,11 +225658,11 @@ webhooks: type: string enum: - reported - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 - repository_advisory: *645 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 + repository_advisory: *648 sender: *4 required: - action @@ -225342,10 +225738,10 @@ webhooks: type: string enum: - archived - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -225422,10 +225818,10 @@ webhooks: type: string enum: - created - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -225503,10 +225899,10 @@ webhooks: type: string enum: - deleted - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -225591,10 +225987,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -225709,10 +226105,10 @@ webhooks: - 'null' items: type: string - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -225784,10 +226180,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 status: type: string @@ -225868,10 +226264,10 @@ webhooks: type: string enum: - privatized - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -225948,10 +226344,10 @@ webhooks: type: string enum: - publicized - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -226045,10 +226441,10 @@ webhooks: - name required: - repository - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -226128,10 +226524,10 @@ webhooks: type: string enum: - created - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 repository_ruleset: *124 sender: *4 required: @@ -226210,10 +226606,10 @@ webhooks: type: string enum: - deleted - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 repository_ruleset: *124 sender: *4 required: @@ -226292,10 +226688,10 @@ webhooks: type: string enum: - edited - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 repository_ruleset: *124 changes: type: object @@ -226603,10 +226999,10 @@ webhooks: - from required: - owner - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -226684,10 +227080,10 @@ webhooks: type: string enum: - unarchived - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -226765,7 +227161,7 @@ webhooks: type: string enum: - create - alert: &795 + alert: &798 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -226889,10 +227285,10 @@ webhooks: type: string enum: - open - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -227102,10 +227498,10 @@ webhooks: type: string enum: - dismissed - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -227183,11 +227579,11 @@ webhooks: type: string enum: - reopen - alert: *795 - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + alert: *798 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -227389,10 +227785,10 @@ webhooks: enum: - fixed - open - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -227470,7 +227866,7 @@ webhooks: type: string enum: - created - alert: &796 + alert: &799 type: object properties: number: *96 @@ -227580,10 +227976,10 @@ webhooks: - 'null' description: Whether the detected secret was found in multiple repositories in the same organization or business. - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -227664,11 +228060,11 @@ webhooks: type: string enum: - created - alert: *796 - installation: *734 - location: *797 - organization: *735 - repository: *736 + alert: *799 + installation: *737 + location: *800 + organization: *738 + repository: *739 sender: *4 required: - location @@ -227906,11 +228302,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *796 - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + alert: *799 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -227988,11 +228384,11 @@ webhooks: type: string enum: - reopened - alert: *796 - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + alert: *799 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -228070,11 +228466,11 @@ webhooks: type: string enum: - resolved - alert: *796 - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + alert: *799 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -228152,11 +228548,11 @@ webhooks: type: string enum: - validated - alert: *796 - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + alert: *799 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -228286,10 +228682,10 @@ webhooks: - organization - enterprise - - repository: *736 - enterprise: *733 - installation: *734 - organization: *735 + repository: *739 + enterprise: *736 + installation: *737 + organization: *738 sender: *4 required: - action @@ -228367,11 +228763,11 @@ webhooks: type: string enum: - published - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 - security_advisory: &798 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 + security_advisory: &801 description: The details of the security advisory, including summary, description, and severity. type: object @@ -228557,11 +228953,11 @@ webhooks: type: string enum: - updated - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 - security_advisory: *798 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 + security_advisory: *801 sender: *4 required: - action @@ -228634,10 +229030,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -228824,9 +229220,9 @@ webhooks: type: object properties: security_and_analysis: *315 - enterprise: *733 - installation: *734 - organization: *735 + enterprise: *736 + installation: *737 + organization: *738 repository: *377 sender: *4 required: @@ -228905,12 +229301,12 @@ webhooks: type: string enum: - cancelled - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 - sponsorship: &799 + sponsorship: &802 type: object properties: created_at: @@ -229215,12 +229611,12 @@ webhooks: type: string enum: - created - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 - sponsorship: *799 + sponsorship: *802 required: - action - sponsorship @@ -229308,12 +229704,12 @@ webhooks: type: string required: - from - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 - sponsorship: *799 + sponsorship: *802 required: - action - changes @@ -229390,17 +229786,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &800 + effective_date: &803 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 - sponsorship: *799 + sponsorship: *802 required: - action - sponsorship @@ -229474,7 +229870,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &801 + changes: &804 type: object properties: tier: @@ -229518,13 +229914,13 @@ webhooks: - from required: - tier - effective_date: *800 - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + effective_date: *803 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 - sponsorship: *799 + sponsorship: *802 required: - action - changes @@ -229601,13 +229997,13 @@ webhooks: type: string enum: - tier_changed - changes: *801 - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + changes: *804 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 - sponsorship: *799 + sponsorship: *802 required: - action - changes @@ -229681,10 +230077,10 @@ webhooks: type: string enum: - created - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -229768,10 +230164,10 @@ webhooks: type: string enum: - deleted - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -230205,15 +230601,15 @@ webhooks: type: - string - 'null' - enterprise: *733 + enterprise: *736 id: description: The unique identifier of the status. type: integer - installation: *734 + installation: *737 name: type: string - organization: *735 - repository: *736 + organization: *738 + repository: *739 sender: *4 sha: description: The Commit SHA. @@ -230329,9 +230725,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *147 - installation: *734 - organization: *735 - repository: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -230421,9 +230817,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *147 - installation: *734 - organization: *735 - repository: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -230513,9 +230909,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *147 - installation: *734 - organization: *735 - repository: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -230605,9 +231001,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *147 - installation: *734 - organization: *735 - repository: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -230684,12 +231080,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 - team: &802 + team: &805 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -230882,9 +231278,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *733 - installation: *734 - organization: *735 + enterprise: *736 + installation: *737 + organization: *738 repository: title: Repository description: A git repository @@ -231354,7 +231750,7 @@ webhooks: - topics - visibility sender: *4 - team: *802 + team: *805 required: - action - team @@ -231430,9 +231826,9 @@ webhooks: type: string enum: - created - enterprise: *733 - installation: *734 - organization: *735 + enterprise: *736 + installation: *737 + organization: *738 repository: title: Repository description: A git repository @@ -231902,7 +232298,7 @@ webhooks: - topics - visibility sender: *4 - team: *802 + team: *805 required: - action - team @@ -231979,9 +232375,9 @@ webhooks: type: string enum: - deleted - enterprise: *733 - installation: *734 - organization: *735 + enterprise: *736 + installation: *737 + organization: *738 repository: title: Repository description: A git repository @@ -232451,7 +232847,7 @@ webhooks: - topics - visibility sender: *4 - team: *802 + team: *805 required: - action - team @@ -232595,9 +232991,9 @@ webhooks: - from required: - permissions - enterprise: *733 - installation: *734 - organization: *735 + enterprise: *736 + installation: *737 + organization: *738 repository: title: Repository description: A git repository @@ -233067,7 +233463,7 @@ webhooks: - topics - visibility sender: *4 - team: *802 + team: *805 required: - action - changes @@ -233145,9 +233541,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *733 - installation: *734 - organization: *735 + enterprise: *736 + installation: *737 + organization: *738 repository: title: Repository description: A git repository @@ -233617,7 +234013,7 @@ webhooks: - topics - visibility sender: *4 - team: *802 + team: *805 required: - action - team @@ -233693,10 +234089,10 @@ webhooks: type: string enum: - started - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 required: - action @@ -233769,17 +234165,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *733 + enterprise: *736 inputs: type: - object - 'null' additionalProperties: true - installation: *734 - organization: *735 + installation: *737 + organization: *738 ref: type: string - repository: *736 + repository: *739 sender: *4 workflow: type: string @@ -233861,10 +234257,10 @@ webhooks: type: string enum: - completed - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 workflow_job: allOf: @@ -234199,10 +234595,10 @@ webhooks: type: string enum: - in_progress - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 workflow_job: allOf: @@ -234563,10 +234959,10 @@ webhooks: type: string enum: - queued - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 workflow_job: type: object @@ -234791,10 +235187,10 @@ webhooks: type: string enum: - waiting - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 workflow_job: type: object @@ -235021,12 +235417,12 @@ webhooks: type: string enum: - completed - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 - workflow: *755 + workflow: *758 workflow_run: title: Workflow Run type: object @@ -236045,12 +236441,12 @@ webhooks: type: string enum: - in_progress - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 - workflow: *755 + workflow: *758 workflow_run: title: Workflow Run type: object @@ -237054,12 +237450,12 @@ webhooks: type: string enum: - requested - enterprise: *733 - installation: *734 - organization: *735 - repository: *736 + enterprise: *736 + installation: *737 + organization: *738 + repository: *739 sender: *4 - workflow: *755 + workflow: *758 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghec/ghec.2022-11-28.json b/descriptions-next/ghec/ghec.2022-11-28.json index 91554efa41..a62927fc1a 100644 --- a/descriptions-next/ghec/ghec.2022-11-28.json +++ b/descriptions-next/ghec/ghec.2022-11-28.json @@ -8446,7 +8446,7 @@ "/enterprises/{enterprise}/settings/billing/cost-centers/{cost_center_id}/resource": { "post": { "summary": "Add users to a cost center", - "description": "Adds users, orgs, or repos to a cost center.\n\nThe usage for the users will be charged to the cost center's budget. The authenticated user must be an enterprise admin in order to use this endpoint.", + "description": "Adds users to a cost center.\n\nThe usage for the users will be charged to the cost center's budget. The authenticated user must be an enterprise admin in order to use this endpoint.", "tags": [ "billing" ], @@ -8476,20 +8476,6 @@ "items": { "type": "string" } - }, - "organizations": { - "description": "The organizations to add to the cost center.", - "type": "array", - "items": { - "type": "string" - } - }, - "repositories": { - "description": "The repositories to add to the cost center.", - "type": "array", - "items": { - "type": "string" - } } }, "minProperties": 1 @@ -8567,9 +8553,7 @@ } } }, - "required": [ - "users" - ] + "minProperties": 1 }, "examples": { "default": { @@ -21230,6 +21214,81 @@ } } }, + "/orgs/{org}/dismissal-requests/secret-scanning": { + "get": { + "summary": "List alert dismissal requests for secret scanning for an org", + "description": "Lists requests to dismiss secret scanning alerts in an org.\n\nDelegated alert dismissal must be enabled on repositories in the org and the user must be an org admin, security manager,\nor have the \"Review and manage secret scanning alert dismissal requests\" permission to access this endpoint.", + "tags": [ + "secret-scanning" + ], + "operationId": "secret-scanning/list-org-dismissal-requests", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/alert-dismissal-requests#list-alert-dismissal-requests-for-secret-scanning-for-an-org" + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "secret-scanning", + "subcategory": "alert-dismissal-requests" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/repository-name-in-query" + }, + { + "$ref": "#/components/parameters/bypass-reviewer-name" + }, + { + "$ref": "#/components/parameters/bypass-requester-name" + }, + { + "$ref": "#/components/parameters/time-period" + }, + { + "$ref": "#/components/parameters/dismissal-request-status" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "description": "A list of the alert dismissal requests.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/secret-scanning-dismissal-request" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/secret-scanning-dismissal-request-items" + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "500": { + "$ref": "#/components/responses/internal_error" + } + } + } + }, "/orgs/{org}/docker/conflicts": { "get": { "summary": "Get list of conflicting packages during Docker migration for organization", @@ -26787,7 +26846,7 @@ "/orgs/{org}/private-registries": { "get": { "summary": "List private registries for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nLists all private registry configurations available at the organization-level without revealing their encrypted\nvalues.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "\nLists all private registry configurations available at the organization-level without revealing their encrypted\nvalues.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "private-registries" ], @@ -26859,7 +26918,7 @@ }, "post": { "summary": "Create a private registry for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nCreates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/enterprise-cloud@latest//rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "\nCreates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/enterprise-cloud@latest//rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "private-registries" ], @@ -26993,7 +27052,7 @@ "/orgs/{org}/private-registries/public-key": { "get": { "summary": "Get private registries public key for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets the org public key, which is needed to encrypt private registry secrets. You need to encrypt a secret before you can create or update secrets.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "\nGets the org public key, which is needed to encrypt private registry secrets. You need to encrypt a secret before you can create or update secrets.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "private-registries" ], @@ -27063,7 +27122,7 @@ "/orgs/{org}/private-registries/{secret_name}": { "get": { "summary": "Get a private registry for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGet the configuration of a single private registry defined for an organization, omitting its encrypted value.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "\nGet the configuration of a single private registry defined for an organization, omitting its encrypted value.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "private-registries" ], @@ -27109,7 +27168,7 @@ }, "patch": { "summary": "Update a private registry for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nUpdates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/enterprise-cloud@latest//rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "\nUpdates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/enterprise-cloud@latest//rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "private-registries" ], @@ -27206,7 +27265,7 @@ }, "delete": { "summary": "Delete a private registry for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nDelete a private registry configuration at the organization-level.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "\nDelete a private registry configuration at the organization-level.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "private-registries" ], @@ -43721,7 +43780,7 @@ "/repos/{owner}/{repo}/check-runs/{check_run_id}/rerequest": { "post": { "summary": "Rerequest a check run", - "description": "Triggers GitHub to rerequest an existing check run, without pushing new code to a repository. This endpoint will trigger the [`check_run` webhook](https://docs.github.com/enterprise-cloud@latest//webhooks/event-payloads/#check_run) event with the action `rerequested`. When a check run is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.\n\nFor more information about how to re-run GitHub Actions jobs, see \"[Re-run a job from a workflow run](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run)\".\n\nOAuth apps and personal access tokens (classic) cannot use this endpoint.", + "description": "Triggers GitHub to rerequest an existing check run, without pushing new code to a repository. This endpoint will trigger the [`check_run` webhook](https://docs.github.com/enterprise-cloud@latest//webhooks/event-payloads/#check_run) event with the action `rerequested`. When a check run is `rerequested`, the `status` of the check suite it belongs to is reset to `queued` and the `conclusion` is cleared. The check run itself is not updated. GitHub apps recieving the [`check_run` webhook](https://docs.github.com/enterprise-cloud@latest//webhooks/event-payloads/#check_run) with the `rerequested` action should then decide if the check run should be reset or updated and call the [update `check_run` endpoint](https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run) to update the check_run if desired.\n\nFor more information about how to re-run GitHub Actions jobs, see \"[Re-run a job from a workflow run](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run)\".\n\nOAuth apps and personal access tokens (classic) cannot use this endpoint.", "tags": [ "checks" ], @@ -50346,6 +50405,252 @@ } } }, + "/repos/{owner}/{repo}/dismissal-requests/secret-scanning": { + "get": { + "summary": "List alert dismissal requests for secret scanning for a repository", + "description": "Lists requests to dismiss secret scanning alerts in a repository.\n\nDelegated alert dismissal must be enabled on the repository and the user must be an org admin, security manager,\nor have the \"Review and manage secret scanning alert dismissal requests\" permission to access this endpoint.", + "tags": [ + "secret-scanning" + ], + "operationId": "secret-scanning/list-repo-dismissal-requests", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/alert-dismissal-requests#list-alert-dismissal-requests-for-secret-scanning-for-a-repository" + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "secret-scanning", + "subcategory": "alert-dismissal-requests" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/bypass-reviewer-name" + }, + { + "$ref": "#/components/parameters/bypass-requester-name" + }, + { + "$ref": "#/components/parameters/time-period" + }, + { + "$ref": "#/components/parameters/dismissal-request-status" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "description": "A list of the alert dismissal requests.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/secret-scanning-dismissal-request" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/secret-scanning-dismissal-request-items" + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "500": { + "$ref": "#/components/responses/internal_error" + } + } + } + }, + "/repos/{owner}/{repo}/dismissal-requests/secret-scanning/{alert_number}": { + "get": { + "summary": "Get an alert dismissal request for secret scanning", + "description": "Gets a specific request to dismiss a secret scanning alert in a repository.\n\nDelegated alert dismissal must be enabled on the repository and the user must be an org admin, security manager,\nor have the \"Review and manage secret scanning alert dismissal requests\" permission to access this endpoint.\nPersonal access tokens (classic) need the `security_events` scope to use this endpoint.", + "tags": [ + "secret-scanning" + ], + "operationId": "secret-scanning/get-dismissal-request", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/alert-dismissal-requests#get-an-alert-dismissal-request-for-secret-scanning" + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "secret-scanning", + "subcategory": "alert-dismissal-requests" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "name": "alert_number", + "in": "path", + "required": true, + "description": "The number that identifies the secret scanning alert in a repository.", + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "A single dismissal request.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/secret-scanning-dismissal-request" + }, + "examples": { + "default": { + "$ref": "#/components/examples/secret-scanning-dismissal-request-item" + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "500": { + "$ref": "#/components/responses/internal_error" + } + } + }, + "patch": { + "summary": "Review an alert dismissal request for secret scanning", + "description": "Approve or deny a request to dismiss a secret scanning alert in a repository.\n\nDelegated alert dismissal must be enabled on the repository and the user must be an org admin, security manager,\nor have the \"Review and manage secret scanning alert dismissal requests\" permission to access this endpoint.\nPersonal access tokens (classic) need the `security_events` scope to use this endpoint.", + "tags": [ + "secret-scanning" + ], + "operationId": "secret-scanning/review-dismissal-request", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/alert-dismissal-requests#review-an-alert-dismissal-request-for-secret-scanning" + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "secret-scanning", + "subcategory": "alert-dismissal-requests" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "name": "alert_number", + "in": "path", + "required": true, + "description": "The number that identifies the secret scanning alert in a repository.", + "schema": { + "type": "integer" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "status": { + "type": "string", + "description": "The review action to perform on the dismissal request.", + "enum": [ + "approve", + "deny" + ] + }, + "message": { + "type": "string", + "description": "A message to include with the review. Has a maximum character length of 2048." + } + }, + "required": [ + "status", + "message" + ] + }, + "examples": { + "default": { + "value": { + "status": "deny", + "message": "This secret has not been revoked." + } + } + } + } + } + }, + "responses": { + "200": { + "description": "The review of the dismissal request.", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "dismissal_review_id": { + "type": "integer", + "description": "ID of the dismissal review." + } + } + }, + "examples": { + "default": { + "value": { + "dismissal_review_id": 1 + } + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, + "500": { + "$ref": "#/components/responses/internal_error" + } + } + } + }, "/repos/{owner}/{repo}/dispatches": { "post": { "summary": "Create a repository dispatch event", @@ -122360,6 +122665,151 @@ "key" ] }, + "secret-scanning-dismissal-request": { + "title": "Secret scanning alert dismissal request", + "description": "A dismissal request made by a user asking to close a secret scanning alert in this repository.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the dismissal request." + }, + "number": { + "type": "integer", + "description": "The number uniquely identifying the dismissal request within its repository." + }, + "repository": { + "type": "object", + "description": "The repository the dismissal request is for.", + "properties": { + "id": { + "type": "integer", + "description": "The ID of the repository the dismissal request is for." + }, + "name": { + "type": "string", + "description": "The name of the repository the dismissal request is for." + }, + "full_name": { + "type": "string", + "description": "The full name of the repository the dismissal request is for." + } + } + }, + "organization": { + "type": "object", + "description": "The organization associated with the repository the dismissal request is for.", + "properties": { + "id": { + "type": "integer", + "description": "The ID of the organization." + }, + "name": { + "type": "string", + "description": "The name of the organization." + } + } + }, + "requester": { + "type": "object", + "description": "The user who requested the dismissal.", + "properties": { + "actor_id": { + "type": "integer", + "description": "The ID of the GitHub user who requested the dismissal." + }, + "actor_name": { + "type": "string", + "description": "The name of the GitHub user who requested the dismissal." + } + } + }, + "request_type": { + "type": "string", + "description": "The type of request." + }, + "data": { + "type": [ + "array", + "null" + ], + "description": "Data describing the secret alert that is being requested to be dismissed.", + "items": { + "type": "object", + "properties": { + "secret_type": { + "type": "string", + "description": "The type of secret that secret scanning detected." + }, + "alert_number": { + "type": "string", + "description": "The number of the secret scanning alert that was detected." + } + } + } + }, + "resource_identifier": { + "type": "string", + "description": "The number of the secret scanning alert that was detected.", + "examples": [ + 1234 + ] + }, + "status": { + "type": "string", + "description": "The status of the dismissal request.", + "enum": [ + "pending", + "denied", + "approved", + "cancelled", + "expired" + ] + }, + "requester_comment": { + "type": [ + "string", + "null" + ], + "description": "The comment the requester provided when creating the dismissal request." + }, + "expires_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the dismissal request will expire." + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the dismissal request was created." + }, + "responses": { + "type": [ + "array", + "null" + ], + "description": "The responses to the dismissal request.", + "items": { + "$ref": "#/components/schemas/bypass-response" + } + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octo-org/smile/dismissal-requests/secret-scanning/1" + ] + }, + "html_url": { + "type": "string", + "description": "The URL to view the dismissal request in a browser.", + "format": "uri", + "examples": [ + "https://github.com/octo-org/smile/security/secret-scanning/17" + ] + } + } + }, "package": { "title": "Package", "description": "A software package", @@ -293731,6 +294181,7 @@ "cookie": "https://github.githubassets.com/images/icons/emoji/unicode/1f36a.png?v8", "cool": "https://github.githubassets.com/images/icons/emoji/unicode/1f192.png?v8", "cop": "https://github.githubassets.com/images/icons/emoji/unicode/1f46e.png?v8", + "copilot": "https://github.githubassets.com/images/icons/emoji/copilot.png?v8", "copyright": "https://github.githubassets.com/images/icons/emoji/unicode/00a9.png?v8", "corn": "https://github.githubassets.com/images/icons/emoji/unicode/1f33d.png?v8", "costa_rica": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e8-1f1f7.png?v8", @@ -301144,6 +301595,94 @@ "selected_repositories_url": "https://api.github.com/orgs/octo-org/dependabot/secrets/NPM_TOKEN/repositories" } }, + "secret-scanning-dismissal-request-items": { + "value": [ + { + "id": 21, + "number": 42, + "repository": { + "id": 1, + "name": "smile", + "full_name": "octo-org/smile" + }, + "organization": { + "id": 1, + "name": "octo-org" + }, + "requester": { + "actor_id": 12, + "actor_name": "monalisa" + }, + "request_type": "secret_scanning_closure", + "data": [ + { + "secret_type": "adafruit_io_key", + "alert_number": 17 + } + ], + "resource_identifier": 17, + "status": "denied", + "requester_comment": "Test token used in the readme as an example", + "expires_at": "2024-07-08T08:43:03Z", + "created_at": "2024-07-01T08:43:03Z", + "responses": [ + { + "id": 42, + "reviewer": { + "actor_id": 4, + "actor_name": "octocat" + }, + "status": "denied", + "created_at": "2024-07-02T08:43:04Z" + } + ], + "url": "https://api.github.com/repos/octo-org/smile/dismissal-requests/secret-scanning/21", + "html_url": "https://github.com/octo-org/smile/security/secret-scanning/17" + }, + { + "id": 22, + "number": 43, + "repository": { + "id": 1, + "name": "smile", + "full_name": "octo-org/smile" + }, + "organization": { + "id": 1, + "name": "octo-org" + }, + "requester": { + "actor_id": 12, + "actor_name": "monalisa" + }, + "request_type": "secret_scanning_closure", + "data": [ + { + "secret_type": "adafruit_io_key", + "alert_number": 19 + } + ], + "resource_identifier": 19, + "status": "denied", + "requester_comment": "Test token used in the readme as an example", + "expires_at": "2024-07-08T08:43:03Z", + "created_at": "2024-07-01T08:43:03Z", + "responses": [ + { + "id": 46, + "reviewer": { + "actor_id": 4, + "actor_name": "octocat" + }, + "status": "approved", + "created_at": "2024-07-02T08:43:04Z" + } + ], + "url": "https://api.github.com/repos/octo-org/smile/dismissal-requests/secret-scanning/22", + "html_url": "https://github.com/octo-org/smile/security/secret-scanning/19" + } + ] + }, "packages-for-org": { "value": [ { @@ -312771,6 +313310,50 @@ "log_url": "https://example.com/deployment/42/output" } }, + "secret-scanning-dismissal-request-item": { + "value": { + "id": 21, + "number": 42, + "repository": { + "id": 1, + "name": "smile", + "full_name": "octo-org/smile" + }, + "organization": { + "id": 1, + "name": "octo-org" + }, + "requester": { + "actor_id": 12, + "actor_name": "monalisa" + }, + "request_type": "secret_scanning_closure", + "data": [ + { + "secret_type": "adafruit_io_key", + "alert_number": 17 + } + ], + "resource_identifier": 17, + "status": "denied", + "requester_comment": "Test token used in the readme as an example", + "expires_at": "2024-07-08T08:43:03Z", + "created_at": "2024-07-01T08:43:03Z", + "responses": [ + { + "id": 42, + "reviewer": { + "actor_id": 4, + "actor_name": "octocat" + }, + "status": "denied", + "created_at": "2024-07-02T08:43:04Z" + } + ], + "url": "https://api.github.com/repos/octo-org/smile/dismissal-requests/secret-scanning/21", + "html_url": "https://github.com/octo-org/smile/security/secret-scanning/17" + } + }, "environments": { "value": { "total_count": 1, @@ -325637,7 +326220,7 @@ "secret-scanning-alert-secret-type": { "name": "secret_type", "in": "query", - "description": "A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token name(s) in the parameter. See \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest//enterprise-cloud@latest/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)\" for a complete list of secret types.", + "description": "A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token name(s) in the parameter. See \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)\" for a complete list of secret types.", "required": false, "schema": { "type": "string" @@ -325998,6 +326581,25 @@ "type": "integer" } }, + "dismissal-request-status": { + "name": "request_status", + "description": "The status of the dismissal request to filter on. When specified, only requests with this status will be returned.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "completed", + "cancelled", + "approved", + "expired", + "denied", + "open", + "all" + ], + "default": "all" + } + }, "group-id": { "name": "group_id", "description": "The unique identifier of the group.", diff --git a/descriptions-next/ghec/ghec.2022-11-28.yaml b/descriptions-next/ghec/ghec.2022-11-28.yaml index 0758d2c73e..3192862688 100644 --- a/descriptions-next/ghec/ghec.2022-11-28.yaml +++ b/descriptions-next/ghec/ghec.2022-11-28.yaml @@ -5962,7 +5962,7 @@ paths: post: summary: Add users to a cost center description: |- - Adds users, orgs, or repos to a cost center. + Adds users to a cost center. The usage for the users will be charged to the cost center's budget. The authenticated user must be an enterprise admin in order to use this endpoint. tags: @@ -5986,16 +5986,6 @@ paths: type: array items: type: string - organizations: - description: The organizations to add to the cost center. - type: array - items: - type: string - repositories: - description: The repositories to add to the cost center. - type: array - items: - type: string minProperties: 1 examples: default: @@ -6048,8 +6038,7 @@ paths: type: array items: type: string - required: - - users + minProperties: 1 examples: default: value: @@ -15411,6 +15400,52 @@ paths: enabledForGitHubApps: true category: dependabot subcategory: secrets + "/orgs/{org}/dismissal-requests/secret-scanning": + get: + summary: List alert dismissal requests for secret scanning for an org + description: |- + Lists requests to dismiss secret scanning alerts in an org. + + Delegated alert dismissal must be enabled on repositories in the org and the user must be an org admin, security manager, + or have the "Review and manage secret scanning alert dismissal requests" permission to access this endpoint. + tags: + - secret-scanning + operationId: secret-scanning/list-org-dismissal-requests + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/alert-dismissal-requests#list-alert-dismissal-requests-for-secret-scanning-for-an-org + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: secret-scanning + subcategory: alert-dismissal-requests + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/repository-name-in-query" + - "$ref": "#/components/parameters/bypass-reviewer-name" + - "$ref": "#/components/parameters/bypass-requester-name" + - "$ref": "#/components/parameters/time-period" + - "$ref": "#/components/parameters/dismissal-request-status" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + responses: + '200': + description: A list of the alert dismissal requests. + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/secret-scanning-dismissal-request" + examples: + default: + "$ref": "#/components/examples/secret-scanning-dismissal-request-items" + '404': + "$ref": "#/components/responses/not_found" + '403': + "$ref": "#/components/responses/forbidden" + '500': + "$ref": "#/components/responses/internal_error" "/orgs/{org}/docker/conflicts": get: summary: Get list of conflicting packages during Docker migration for organization @@ -19358,9 +19393,7 @@ paths: "/orgs/{org}/private-registries": get: summary: List private registries for an organization - description: |- - > [!NOTE] - > This endpoint is in public preview and is subject to change. + description: |2- Lists all private registry configurations available at the organization-level without revealing their encrypted values. @@ -19410,9 +19443,7 @@ paths: subcategory: organization-configurations post: summary: Create a private registry for an organization - description: |- - > [!NOTE] - > This endpoint is in public preview and is subject to change. + description: |2- Creates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/enterprise-cloud@latest//rest/guides/encrypting-secrets-for-the-rest-api)." @@ -19526,9 +19557,7 @@ paths: "/orgs/{org}/private-registries/public-key": get: summary: Get private registries public key for an organization - description: |- - > [!NOTE] - > This endpoint is in public preview and is subject to change. + description: |2- Gets the org public key, which is needed to encrypt private registry secrets. You need to encrypt a secret before you can create or update secrets. @@ -19578,9 +19607,7 @@ paths: "/orgs/{org}/private-registries/{secret_name}": get: summary: Get a private registry for an organization - description: |- - > [!NOTE] - > This endpoint is in public preview and is subject to change. + description: |2- Get the configuration of a single private registry defined for an organization, omitting its encrypted value. @@ -19613,9 +19640,7 @@ paths: subcategory: organization-configurations patch: summary: Update a private registry for an organization - description: |- - > [!NOTE] - > This endpoint is in public preview and is subject to change. + description: |2- Updates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/enterprise-cloud@latest//rest/guides/encrypting-secrets-for-the-rest-api)." @@ -19696,9 +19721,7 @@ paths: subcategory: organization-configurations delete: summary: Delete a private registry for an organization - description: |- - > [!NOTE] - > This endpoint is in public preview and is subject to change. + description: |2- Delete a private registry configuration at the organization-level. @@ -31661,7 +31684,7 @@ paths: post: summary: Rerequest a check run description: |- - Triggers GitHub to rerequest an existing check run, without pushing new code to a repository. This endpoint will trigger the [`check_run` webhook](https://docs.github.com/enterprise-cloud@latest//webhooks/event-payloads/#check_run) event with the action `rerequested`. When a check run is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared. + Triggers GitHub to rerequest an existing check run, without pushing new code to a repository. This endpoint will trigger the [`check_run` webhook](https://docs.github.com/enterprise-cloud@latest//webhooks/event-payloads/#check_run) event with the action `rerequested`. When a check run is `rerequested`, the `status` of the check suite it belongs to is reset to `queued` and the `conclusion` is cleared. The check run itself is not updated. GitHub apps recieving the [`check_run` webhook](https://docs.github.com/enterprise-cloud@latest//webhooks/event-payloads/#check_run) with the `rerequested` action should then decide if the check run should be reset or updated and call the [update `check_run` endpoint](https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run) to update the check_run if desired. For more information about how to re-run GitHub Actions jobs, see "[Re-run a job from a workflow run](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run)". @@ -36642,6 +36665,173 @@ paths: enabledForGitHubApps: true category: deployments subcategory: statuses + "/repos/{owner}/{repo}/dismissal-requests/secret-scanning": + get: + summary: List alert dismissal requests for secret scanning for a repository + description: |- + Lists requests to dismiss secret scanning alerts in a repository. + + Delegated alert dismissal must be enabled on the repository and the user must be an org admin, security manager, + or have the "Review and manage secret scanning alert dismissal requests" permission to access this endpoint. + tags: + - secret-scanning + operationId: secret-scanning/list-repo-dismissal-requests + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/alert-dismissal-requests#list-alert-dismissal-requests-for-secret-scanning-for-a-repository + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: secret-scanning + subcategory: alert-dismissal-requests + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/bypass-reviewer-name" + - "$ref": "#/components/parameters/bypass-requester-name" + - "$ref": "#/components/parameters/time-period" + - "$ref": "#/components/parameters/dismissal-request-status" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + responses: + '200': + description: A list of the alert dismissal requests. + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/secret-scanning-dismissal-request" + examples: + default: + "$ref": "#/components/examples/secret-scanning-dismissal-request-items" + '404': + "$ref": "#/components/responses/not_found" + '403': + "$ref": "#/components/responses/forbidden" + '500': + "$ref": "#/components/responses/internal_error" + "/repos/{owner}/{repo}/dismissal-requests/secret-scanning/{alert_number}": + get: + summary: Get an alert dismissal request for secret scanning + description: |- + Gets a specific request to dismiss a secret scanning alert in a repository. + + Delegated alert dismissal must be enabled on the repository and the user must be an org admin, security manager, + or have the "Review and manage secret scanning alert dismissal requests" permission to access this endpoint. + Personal access tokens (classic) need the `security_events` scope to use this endpoint. + tags: + - secret-scanning + operationId: secret-scanning/get-dismissal-request + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/alert-dismissal-requests#get-an-alert-dismissal-request-for-secret-scanning + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: secret-scanning + subcategory: alert-dismissal-requests + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - name: alert_number + in: path + required: true + description: The number that identifies the secret scanning alert in a repository. + schema: + type: integer + responses: + '200': + description: A single dismissal request. + content: + application/json: + schema: + "$ref": "#/components/schemas/secret-scanning-dismissal-request" + examples: + default: + "$ref": "#/components/examples/secret-scanning-dismissal-request-item" + '404': + "$ref": "#/components/responses/not_found" + '403': + "$ref": "#/components/responses/forbidden" + '500': + "$ref": "#/components/responses/internal_error" + patch: + summary: Review an alert dismissal request for secret scanning + description: |- + Approve or deny a request to dismiss a secret scanning alert in a repository. + + Delegated alert dismissal must be enabled on the repository and the user must be an org admin, security manager, + or have the "Review and manage secret scanning alert dismissal requests" permission to access this endpoint. + Personal access tokens (classic) need the `security_events` scope to use this endpoint. + tags: + - secret-scanning + operationId: secret-scanning/review-dismissal-request + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/alert-dismissal-requests#review-an-alert-dismissal-request-for-secret-scanning + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: secret-scanning + subcategory: alert-dismissal-requests + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - name: alert_number + in: path + required: true + description: The number that identifies the secret scanning alert in a repository. + schema: + type: integer + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + status: + type: string + description: The review action to perform on the dismissal request. + enum: + - approve + - deny + message: + type: string + description: A message to include with the review. Has a maximum + character length of 2048. + required: + - status + - message + examples: + default: + value: + status: deny + message: This secret has not been revoked. + responses: + '200': + description: The review of the dismissal request. + content: + application/json: + schema: + type: object + properties: + dismissal_review_id: + type: integer + description: ID of the dismissal review. + examples: + default: + value: + dismissal_review_id: 1 + '404': + "$ref": "#/components/responses/not_found" + '403': + "$ref": "#/components/responses/forbidden" + '422': + "$ref": "#/components/responses/validation_failed" + '500': + "$ref": "#/components/responses/internal_error" "/repos/{owner}/{repo}/dispatches": post: summary: Create a repository dispatch event @@ -88828,6 +89018,118 @@ components: required: - key_id - key + secret-scanning-dismissal-request: + title: Secret scanning alert dismissal request + description: A dismissal request made by a user asking to close a secret scanning + alert in this repository. + type: object + properties: + id: + type: integer + description: The unique identifier of the dismissal request. + number: + type: integer + description: The number uniquely identifying the dismissal request within + its repository. + repository: + type: object + description: The repository the dismissal request is for. + properties: + id: + type: integer + description: The ID of the repository the dismissal request is for. + name: + type: string + description: The name of the repository the dismissal request is for. + full_name: + type: string + description: The full name of the repository the dismissal request is + for. + organization: + type: object + description: The organization associated with the repository the dismissal + request is for. + properties: + id: + type: integer + description: The ID of the organization. + name: + type: string + description: The name of the organization. + requester: + type: object + description: The user who requested the dismissal. + properties: + actor_id: + type: integer + description: The ID of the GitHub user who requested the dismissal. + actor_name: + type: string + description: The name of the GitHub user who requested the dismissal. + request_type: + type: string + description: The type of request. + data: + type: + - array + - 'null' + description: Data describing the secret alert that is being requested to + be dismissed. + items: + type: object + properties: + secret_type: + type: string + description: The type of secret that secret scanning detected. + alert_number: + type: string + description: The number of the secret scanning alert that was detected. + resource_identifier: + type: string + description: The number of the secret scanning alert that was detected. + examples: + - 1234 + status: + type: string + description: The status of the dismissal request. + enum: + - pending + - denied + - approved + - cancelled + - expired + requester_comment: + type: + - string + - 'null' + description: The comment the requester provided when creating the dismissal + request. + expires_at: + type: string + format: date-time + description: The date and time the dismissal request will expire. + created_at: + type: string + format: date-time + description: The date and time the dismissal request was created. + responses: + type: + - array + - 'null' + description: The responses to the dismissal request. + items: + "$ref": "#/components/schemas/bypass-response" + url: + type: string + format: uri + examples: + - https://api.github.com/repos/octo-org/smile/dismissal-requests/secret-scanning/1 + html_url: + type: string + description: The URL to view the dismissal request in a browser. + format: uri + examples: + - https://github.com/octo-org/smile/security/secret-scanning/17 package: title: Package description: A software package @@ -215830,6 +216132,7 @@ components: cookie: https://github.githubassets.com/images/icons/emoji/unicode/1f36a.png?v8 cool: https://github.githubassets.com/images/icons/emoji/unicode/1f192.png?v8 cop: https://github.githubassets.com/images/icons/emoji/unicode/1f46e.png?v8 + copilot: https://github.githubassets.com/images/icons/emoji/copilot.png?v8 copyright: https://github.githubassets.com/images/icons/emoji/unicode/00a9.png?v8 corn: https://github.githubassets.com/images/icons/emoji/unicode/1f33d.png?v8 costa_rica: https://github.githubassets.com/images/icons/emoji/unicode/1f1e8-1f1f7.png?v8 @@ -222284,6 +222587,68 @@ components: updated_at: '2020-01-10T14:59:22Z' visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/dependabot/secrets/NPM_TOKEN/repositories + secret-scanning-dismissal-request-items: + value: + - id: 21 + number: 42 + repository: + id: 1 + name: smile + full_name: octo-org/smile + organization: + id: 1 + name: octo-org + requester: + actor_id: 12 + actor_name: monalisa + request_type: secret_scanning_closure + data: + - secret_type: adafruit_io_key + alert_number: 17 + resource_identifier: 17 + status: denied + requester_comment: Test token used in the readme as an example + expires_at: '2024-07-08T08:43:03Z' + created_at: '2024-07-01T08:43:03Z' + responses: + - id: 42 + reviewer: + actor_id: 4 + actor_name: octocat + status: denied + created_at: '2024-07-02T08:43:04Z' + url: https://api.github.com/repos/octo-org/smile/dismissal-requests/secret-scanning/21 + html_url: https://github.com/octo-org/smile/security/secret-scanning/17 + - id: 22 + number: 43 + repository: + id: 1 + name: smile + full_name: octo-org/smile + organization: + id: 1 + name: octo-org + requester: + actor_id: 12 + actor_name: monalisa + request_type: secret_scanning_closure + data: + - secret_type: adafruit_io_key + alert_number: 19 + resource_identifier: 19 + status: denied + requester_comment: Test token used in the readme as an example + expires_at: '2024-07-08T08:43:03Z' + created_at: '2024-07-01T08:43:03Z' + responses: + - id: 46 + reviewer: + actor_id: 4 + actor_name: octocat + status: approved + created_at: '2024-07-02T08:43:04Z' + url: https://api.github.com/repos/octo-org/smile/dismissal-requests/secret-scanning/22 + html_url: https://github.com/octo-org/smile/security/secret-scanning/19 packages-for-org: value: - id: 197 @@ -232190,6 +232555,38 @@ components: repository_url: https://api.github.com/repos/octocat/example environment_url: https://test-branch.lab.acme.com log_url: https://example.com/deployment/42/output + secret-scanning-dismissal-request-item: + value: + id: 21 + number: 42 + repository: + id: 1 + name: smile + full_name: octo-org/smile + organization: + id: 1 + name: octo-org + requester: + actor_id: 12 + actor_name: monalisa + request_type: secret_scanning_closure + data: + - secret_type: adafruit_io_key + alert_number: 17 + resource_identifier: 17 + status: denied + requester_comment: Test token used in the readme as an example + expires_at: '2024-07-08T08:43:03Z' + created_at: '2024-07-01T08:43:03Z' + responses: + - id: 42 + reviewer: + actor_id: 4 + actor_name: octocat + status: denied + created_at: '2024-07-02T08:43:04Z' + url: https://api.github.com/repos/octo-org/smile/dismissal-requests/secret-scanning/21 + html_url: https://github.com/octo-org/smile/security/secret-scanning/17 environments: value: total_count: 1 @@ -243357,7 +243754,7 @@ components: in: query description: A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token name(s) - in the parameter. See "[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest//enterprise-cloud@latest/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)" + in the parameter. See "[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)" for a complete list of secret types. required: false schema: @@ -243669,6 +244066,23 @@ components: required: true schema: type: integer + dismissal-request-status: + name: request_status + description: The status of the dismissal request to filter on. When specified, + only requests with this status will be returned. + in: query + required: false + schema: + type: string + enum: + - completed + - cancelled + - approved + - expired + - denied + - open + - all + default: all group-id: name: group_id description: The unique identifier of the group. diff --git a/descriptions-next/ghec/ghec.json b/descriptions-next/ghec/ghec.json index 91554efa41..a62927fc1a 100644 --- a/descriptions-next/ghec/ghec.json +++ b/descriptions-next/ghec/ghec.json @@ -8446,7 +8446,7 @@ "/enterprises/{enterprise}/settings/billing/cost-centers/{cost_center_id}/resource": { "post": { "summary": "Add users to a cost center", - "description": "Adds users, orgs, or repos to a cost center.\n\nThe usage for the users will be charged to the cost center's budget. The authenticated user must be an enterprise admin in order to use this endpoint.", + "description": "Adds users to a cost center.\n\nThe usage for the users will be charged to the cost center's budget. The authenticated user must be an enterprise admin in order to use this endpoint.", "tags": [ "billing" ], @@ -8476,20 +8476,6 @@ "items": { "type": "string" } - }, - "organizations": { - "description": "The organizations to add to the cost center.", - "type": "array", - "items": { - "type": "string" - } - }, - "repositories": { - "description": "The repositories to add to the cost center.", - "type": "array", - "items": { - "type": "string" - } } }, "minProperties": 1 @@ -8567,9 +8553,7 @@ } } }, - "required": [ - "users" - ] + "minProperties": 1 }, "examples": { "default": { @@ -21230,6 +21214,81 @@ } } }, + "/orgs/{org}/dismissal-requests/secret-scanning": { + "get": { + "summary": "List alert dismissal requests for secret scanning for an org", + "description": "Lists requests to dismiss secret scanning alerts in an org.\n\nDelegated alert dismissal must be enabled on repositories in the org and the user must be an org admin, security manager,\nor have the \"Review and manage secret scanning alert dismissal requests\" permission to access this endpoint.", + "tags": [ + "secret-scanning" + ], + "operationId": "secret-scanning/list-org-dismissal-requests", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/alert-dismissal-requests#list-alert-dismissal-requests-for-secret-scanning-for-an-org" + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "secret-scanning", + "subcategory": "alert-dismissal-requests" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/repository-name-in-query" + }, + { + "$ref": "#/components/parameters/bypass-reviewer-name" + }, + { + "$ref": "#/components/parameters/bypass-requester-name" + }, + { + "$ref": "#/components/parameters/time-period" + }, + { + "$ref": "#/components/parameters/dismissal-request-status" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "description": "A list of the alert dismissal requests.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/secret-scanning-dismissal-request" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/secret-scanning-dismissal-request-items" + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "500": { + "$ref": "#/components/responses/internal_error" + } + } + } + }, "/orgs/{org}/docker/conflicts": { "get": { "summary": "Get list of conflicting packages during Docker migration for organization", @@ -26787,7 +26846,7 @@ "/orgs/{org}/private-registries": { "get": { "summary": "List private registries for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nLists all private registry configurations available at the organization-level without revealing their encrypted\nvalues.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "\nLists all private registry configurations available at the organization-level without revealing their encrypted\nvalues.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "private-registries" ], @@ -26859,7 +26918,7 @@ }, "post": { "summary": "Create a private registry for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nCreates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/enterprise-cloud@latest//rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "\nCreates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/enterprise-cloud@latest//rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "private-registries" ], @@ -26993,7 +27052,7 @@ "/orgs/{org}/private-registries/public-key": { "get": { "summary": "Get private registries public key for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets the org public key, which is needed to encrypt private registry secrets. You need to encrypt a secret before you can create or update secrets.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "\nGets the org public key, which is needed to encrypt private registry secrets. You need to encrypt a secret before you can create or update secrets.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "private-registries" ], @@ -27063,7 +27122,7 @@ "/orgs/{org}/private-registries/{secret_name}": { "get": { "summary": "Get a private registry for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGet the configuration of a single private registry defined for an organization, omitting its encrypted value.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "\nGet the configuration of a single private registry defined for an organization, omitting its encrypted value.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "private-registries" ], @@ -27109,7 +27168,7 @@ }, "patch": { "summary": "Update a private registry for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nUpdates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/enterprise-cloud@latest//rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "\nUpdates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/enterprise-cloud@latest//rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "private-registries" ], @@ -27206,7 +27265,7 @@ }, "delete": { "summary": "Delete a private registry for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nDelete a private registry configuration at the organization-level.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", + "description": "\nDelete a private registry configuration at the organization-level.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.", "tags": [ "private-registries" ], @@ -43721,7 +43780,7 @@ "/repos/{owner}/{repo}/check-runs/{check_run_id}/rerequest": { "post": { "summary": "Rerequest a check run", - "description": "Triggers GitHub to rerequest an existing check run, without pushing new code to a repository. This endpoint will trigger the [`check_run` webhook](https://docs.github.com/enterprise-cloud@latest//webhooks/event-payloads/#check_run) event with the action `rerequested`. When a check run is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.\n\nFor more information about how to re-run GitHub Actions jobs, see \"[Re-run a job from a workflow run](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run)\".\n\nOAuth apps and personal access tokens (classic) cannot use this endpoint.", + "description": "Triggers GitHub to rerequest an existing check run, without pushing new code to a repository. This endpoint will trigger the [`check_run` webhook](https://docs.github.com/enterprise-cloud@latest//webhooks/event-payloads/#check_run) event with the action `rerequested`. When a check run is `rerequested`, the `status` of the check suite it belongs to is reset to `queued` and the `conclusion` is cleared. The check run itself is not updated. GitHub apps recieving the [`check_run` webhook](https://docs.github.com/enterprise-cloud@latest//webhooks/event-payloads/#check_run) with the `rerequested` action should then decide if the check run should be reset or updated and call the [update `check_run` endpoint](https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run) to update the check_run if desired.\n\nFor more information about how to re-run GitHub Actions jobs, see \"[Re-run a job from a workflow run](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run)\".\n\nOAuth apps and personal access tokens (classic) cannot use this endpoint.", "tags": [ "checks" ], @@ -50346,6 +50405,252 @@ } } }, + "/repos/{owner}/{repo}/dismissal-requests/secret-scanning": { + "get": { + "summary": "List alert dismissal requests for secret scanning for a repository", + "description": "Lists requests to dismiss secret scanning alerts in a repository.\n\nDelegated alert dismissal must be enabled on the repository and the user must be an org admin, security manager,\nor have the \"Review and manage secret scanning alert dismissal requests\" permission to access this endpoint.", + "tags": [ + "secret-scanning" + ], + "operationId": "secret-scanning/list-repo-dismissal-requests", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/alert-dismissal-requests#list-alert-dismissal-requests-for-secret-scanning-for-a-repository" + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "secret-scanning", + "subcategory": "alert-dismissal-requests" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/bypass-reviewer-name" + }, + { + "$ref": "#/components/parameters/bypass-requester-name" + }, + { + "$ref": "#/components/parameters/time-period" + }, + { + "$ref": "#/components/parameters/dismissal-request-status" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "description": "A list of the alert dismissal requests.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/secret-scanning-dismissal-request" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/secret-scanning-dismissal-request-items" + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "500": { + "$ref": "#/components/responses/internal_error" + } + } + } + }, + "/repos/{owner}/{repo}/dismissal-requests/secret-scanning/{alert_number}": { + "get": { + "summary": "Get an alert dismissal request for secret scanning", + "description": "Gets a specific request to dismiss a secret scanning alert in a repository.\n\nDelegated alert dismissal must be enabled on the repository and the user must be an org admin, security manager,\nor have the \"Review and manage secret scanning alert dismissal requests\" permission to access this endpoint.\nPersonal access tokens (classic) need the `security_events` scope to use this endpoint.", + "tags": [ + "secret-scanning" + ], + "operationId": "secret-scanning/get-dismissal-request", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/alert-dismissal-requests#get-an-alert-dismissal-request-for-secret-scanning" + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "secret-scanning", + "subcategory": "alert-dismissal-requests" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "name": "alert_number", + "in": "path", + "required": true, + "description": "The number that identifies the secret scanning alert in a repository.", + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "A single dismissal request.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/secret-scanning-dismissal-request" + }, + "examples": { + "default": { + "$ref": "#/components/examples/secret-scanning-dismissal-request-item" + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "500": { + "$ref": "#/components/responses/internal_error" + } + } + }, + "patch": { + "summary": "Review an alert dismissal request for secret scanning", + "description": "Approve or deny a request to dismiss a secret scanning alert in a repository.\n\nDelegated alert dismissal must be enabled on the repository and the user must be an org admin, security manager,\nor have the \"Review and manage secret scanning alert dismissal requests\" permission to access this endpoint.\nPersonal access tokens (classic) need the `security_events` scope to use this endpoint.", + "tags": [ + "secret-scanning" + ], + "operationId": "secret-scanning/review-dismissal-request", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/alert-dismissal-requests#review-an-alert-dismissal-request-for-secret-scanning" + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "secret-scanning", + "subcategory": "alert-dismissal-requests" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "name": "alert_number", + "in": "path", + "required": true, + "description": "The number that identifies the secret scanning alert in a repository.", + "schema": { + "type": "integer" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "status": { + "type": "string", + "description": "The review action to perform on the dismissal request.", + "enum": [ + "approve", + "deny" + ] + }, + "message": { + "type": "string", + "description": "A message to include with the review. Has a maximum character length of 2048." + } + }, + "required": [ + "status", + "message" + ] + }, + "examples": { + "default": { + "value": { + "status": "deny", + "message": "This secret has not been revoked." + } + } + } + } + } + }, + "responses": { + "200": { + "description": "The review of the dismissal request.", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "dismissal_review_id": { + "type": "integer", + "description": "ID of the dismissal review." + } + } + }, + "examples": { + "default": { + "value": { + "dismissal_review_id": 1 + } + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, + "500": { + "$ref": "#/components/responses/internal_error" + } + } + } + }, "/repos/{owner}/{repo}/dispatches": { "post": { "summary": "Create a repository dispatch event", @@ -122360,6 +122665,151 @@ "key" ] }, + "secret-scanning-dismissal-request": { + "title": "Secret scanning alert dismissal request", + "description": "A dismissal request made by a user asking to close a secret scanning alert in this repository.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the dismissal request." + }, + "number": { + "type": "integer", + "description": "The number uniquely identifying the dismissal request within its repository." + }, + "repository": { + "type": "object", + "description": "The repository the dismissal request is for.", + "properties": { + "id": { + "type": "integer", + "description": "The ID of the repository the dismissal request is for." + }, + "name": { + "type": "string", + "description": "The name of the repository the dismissal request is for." + }, + "full_name": { + "type": "string", + "description": "The full name of the repository the dismissal request is for." + } + } + }, + "organization": { + "type": "object", + "description": "The organization associated with the repository the dismissal request is for.", + "properties": { + "id": { + "type": "integer", + "description": "The ID of the organization." + }, + "name": { + "type": "string", + "description": "The name of the organization." + } + } + }, + "requester": { + "type": "object", + "description": "The user who requested the dismissal.", + "properties": { + "actor_id": { + "type": "integer", + "description": "The ID of the GitHub user who requested the dismissal." + }, + "actor_name": { + "type": "string", + "description": "The name of the GitHub user who requested the dismissal." + } + } + }, + "request_type": { + "type": "string", + "description": "The type of request." + }, + "data": { + "type": [ + "array", + "null" + ], + "description": "Data describing the secret alert that is being requested to be dismissed.", + "items": { + "type": "object", + "properties": { + "secret_type": { + "type": "string", + "description": "The type of secret that secret scanning detected." + }, + "alert_number": { + "type": "string", + "description": "The number of the secret scanning alert that was detected." + } + } + } + }, + "resource_identifier": { + "type": "string", + "description": "The number of the secret scanning alert that was detected.", + "examples": [ + 1234 + ] + }, + "status": { + "type": "string", + "description": "The status of the dismissal request.", + "enum": [ + "pending", + "denied", + "approved", + "cancelled", + "expired" + ] + }, + "requester_comment": { + "type": [ + "string", + "null" + ], + "description": "The comment the requester provided when creating the dismissal request." + }, + "expires_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the dismissal request will expire." + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the dismissal request was created." + }, + "responses": { + "type": [ + "array", + "null" + ], + "description": "The responses to the dismissal request.", + "items": { + "$ref": "#/components/schemas/bypass-response" + } + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octo-org/smile/dismissal-requests/secret-scanning/1" + ] + }, + "html_url": { + "type": "string", + "description": "The URL to view the dismissal request in a browser.", + "format": "uri", + "examples": [ + "https://github.com/octo-org/smile/security/secret-scanning/17" + ] + } + } + }, "package": { "title": "Package", "description": "A software package", @@ -293731,6 +294181,7 @@ "cookie": "https://github.githubassets.com/images/icons/emoji/unicode/1f36a.png?v8", "cool": "https://github.githubassets.com/images/icons/emoji/unicode/1f192.png?v8", "cop": "https://github.githubassets.com/images/icons/emoji/unicode/1f46e.png?v8", + "copilot": "https://github.githubassets.com/images/icons/emoji/copilot.png?v8", "copyright": "https://github.githubassets.com/images/icons/emoji/unicode/00a9.png?v8", "corn": "https://github.githubassets.com/images/icons/emoji/unicode/1f33d.png?v8", "costa_rica": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e8-1f1f7.png?v8", @@ -301144,6 +301595,94 @@ "selected_repositories_url": "https://api.github.com/orgs/octo-org/dependabot/secrets/NPM_TOKEN/repositories" } }, + "secret-scanning-dismissal-request-items": { + "value": [ + { + "id": 21, + "number": 42, + "repository": { + "id": 1, + "name": "smile", + "full_name": "octo-org/smile" + }, + "organization": { + "id": 1, + "name": "octo-org" + }, + "requester": { + "actor_id": 12, + "actor_name": "monalisa" + }, + "request_type": "secret_scanning_closure", + "data": [ + { + "secret_type": "adafruit_io_key", + "alert_number": 17 + } + ], + "resource_identifier": 17, + "status": "denied", + "requester_comment": "Test token used in the readme as an example", + "expires_at": "2024-07-08T08:43:03Z", + "created_at": "2024-07-01T08:43:03Z", + "responses": [ + { + "id": 42, + "reviewer": { + "actor_id": 4, + "actor_name": "octocat" + }, + "status": "denied", + "created_at": "2024-07-02T08:43:04Z" + } + ], + "url": "https://api.github.com/repos/octo-org/smile/dismissal-requests/secret-scanning/21", + "html_url": "https://github.com/octo-org/smile/security/secret-scanning/17" + }, + { + "id": 22, + "number": 43, + "repository": { + "id": 1, + "name": "smile", + "full_name": "octo-org/smile" + }, + "organization": { + "id": 1, + "name": "octo-org" + }, + "requester": { + "actor_id": 12, + "actor_name": "monalisa" + }, + "request_type": "secret_scanning_closure", + "data": [ + { + "secret_type": "adafruit_io_key", + "alert_number": 19 + } + ], + "resource_identifier": 19, + "status": "denied", + "requester_comment": "Test token used in the readme as an example", + "expires_at": "2024-07-08T08:43:03Z", + "created_at": "2024-07-01T08:43:03Z", + "responses": [ + { + "id": 46, + "reviewer": { + "actor_id": 4, + "actor_name": "octocat" + }, + "status": "approved", + "created_at": "2024-07-02T08:43:04Z" + } + ], + "url": "https://api.github.com/repos/octo-org/smile/dismissal-requests/secret-scanning/22", + "html_url": "https://github.com/octo-org/smile/security/secret-scanning/19" + } + ] + }, "packages-for-org": { "value": [ { @@ -312771,6 +313310,50 @@ "log_url": "https://example.com/deployment/42/output" } }, + "secret-scanning-dismissal-request-item": { + "value": { + "id": 21, + "number": 42, + "repository": { + "id": 1, + "name": "smile", + "full_name": "octo-org/smile" + }, + "organization": { + "id": 1, + "name": "octo-org" + }, + "requester": { + "actor_id": 12, + "actor_name": "monalisa" + }, + "request_type": "secret_scanning_closure", + "data": [ + { + "secret_type": "adafruit_io_key", + "alert_number": 17 + } + ], + "resource_identifier": 17, + "status": "denied", + "requester_comment": "Test token used in the readme as an example", + "expires_at": "2024-07-08T08:43:03Z", + "created_at": "2024-07-01T08:43:03Z", + "responses": [ + { + "id": 42, + "reviewer": { + "actor_id": 4, + "actor_name": "octocat" + }, + "status": "denied", + "created_at": "2024-07-02T08:43:04Z" + } + ], + "url": "https://api.github.com/repos/octo-org/smile/dismissal-requests/secret-scanning/21", + "html_url": "https://github.com/octo-org/smile/security/secret-scanning/17" + } + }, "environments": { "value": { "total_count": 1, @@ -325637,7 +326220,7 @@ "secret-scanning-alert-secret-type": { "name": "secret_type", "in": "query", - "description": "A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token name(s) in the parameter. See \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest//enterprise-cloud@latest/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)\" for a complete list of secret types.", + "description": "A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token name(s) in the parameter. See \"[Supported secret scanning patterns](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)\" for a complete list of secret types.", "required": false, "schema": { "type": "string" @@ -325998,6 +326581,25 @@ "type": "integer" } }, + "dismissal-request-status": { + "name": "request_status", + "description": "The status of the dismissal request to filter on. When specified, only requests with this status will be returned.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "completed", + "cancelled", + "approved", + "expired", + "denied", + "open", + "all" + ], + "default": "all" + } + }, "group-id": { "name": "group_id", "description": "The unique identifier of the group.", diff --git a/descriptions-next/ghec/ghec.yaml b/descriptions-next/ghec/ghec.yaml index 0758d2c73e..3192862688 100644 --- a/descriptions-next/ghec/ghec.yaml +++ b/descriptions-next/ghec/ghec.yaml @@ -5962,7 +5962,7 @@ paths: post: summary: Add users to a cost center description: |- - Adds users, orgs, or repos to a cost center. + Adds users to a cost center. The usage for the users will be charged to the cost center's budget. The authenticated user must be an enterprise admin in order to use this endpoint. tags: @@ -5986,16 +5986,6 @@ paths: type: array items: type: string - organizations: - description: The organizations to add to the cost center. - type: array - items: - type: string - repositories: - description: The repositories to add to the cost center. - type: array - items: - type: string minProperties: 1 examples: default: @@ -6048,8 +6038,7 @@ paths: type: array items: type: string - required: - - users + minProperties: 1 examples: default: value: @@ -15411,6 +15400,52 @@ paths: enabledForGitHubApps: true category: dependabot subcategory: secrets + "/orgs/{org}/dismissal-requests/secret-scanning": + get: + summary: List alert dismissal requests for secret scanning for an org + description: |- + Lists requests to dismiss secret scanning alerts in an org. + + Delegated alert dismissal must be enabled on repositories in the org and the user must be an org admin, security manager, + or have the "Review and manage secret scanning alert dismissal requests" permission to access this endpoint. + tags: + - secret-scanning + operationId: secret-scanning/list-org-dismissal-requests + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/alert-dismissal-requests#list-alert-dismissal-requests-for-secret-scanning-for-an-org + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: secret-scanning + subcategory: alert-dismissal-requests + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/repository-name-in-query" + - "$ref": "#/components/parameters/bypass-reviewer-name" + - "$ref": "#/components/parameters/bypass-requester-name" + - "$ref": "#/components/parameters/time-period" + - "$ref": "#/components/parameters/dismissal-request-status" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + responses: + '200': + description: A list of the alert dismissal requests. + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/secret-scanning-dismissal-request" + examples: + default: + "$ref": "#/components/examples/secret-scanning-dismissal-request-items" + '404': + "$ref": "#/components/responses/not_found" + '403': + "$ref": "#/components/responses/forbidden" + '500': + "$ref": "#/components/responses/internal_error" "/orgs/{org}/docker/conflicts": get: summary: Get list of conflicting packages during Docker migration for organization @@ -19358,9 +19393,7 @@ paths: "/orgs/{org}/private-registries": get: summary: List private registries for an organization - description: |- - > [!NOTE] - > This endpoint is in public preview and is subject to change. + description: |2- Lists all private registry configurations available at the organization-level without revealing their encrypted values. @@ -19410,9 +19443,7 @@ paths: subcategory: organization-configurations post: summary: Create a private registry for an organization - description: |- - > [!NOTE] - > This endpoint is in public preview and is subject to change. + description: |2- Creates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/enterprise-cloud@latest//rest/guides/encrypting-secrets-for-the-rest-api)." @@ -19526,9 +19557,7 @@ paths: "/orgs/{org}/private-registries/public-key": get: summary: Get private registries public key for an organization - description: |- - > [!NOTE] - > This endpoint is in public preview and is subject to change. + description: |2- Gets the org public key, which is needed to encrypt private registry secrets. You need to encrypt a secret before you can create or update secrets. @@ -19578,9 +19607,7 @@ paths: "/orgs/{org}/private-registries/{secret_name}": get: summary: Get a private registry for an organization - description: |- - > [!NOTE] - > This endpoint is in public preview and is subject to change. + description: |2- Get the configuration of a single private registry defined for an organization, omitting its encrypted value. @@ -19613,9 +19640,7 @@ paths: subcategory: organization-configurations patch: summary: Update a private registry for an organization - description: |- - > [!NOTE] - > This endpoint is in public preview and is subject to change. + description: |2- Updates a private registry configuration with an encrypted value for an organization. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/enterprise-cloud@latest//rest/guides/encrypting-secrets-for-the-rest-api)." @@ -19696,9 +19721,7 @@ paths: subcategory: organization-configurations delete: summary: Delete a private registry for an organization - description: |- - > [!NOTE] - > This endpoint is in public preview and is subject to change. + description: |2- Delete a private registry configuration at the organization-level. @@ -31661,7 +31684,7 @@ paths: post: summary: Rerequest a check run description: |- - Triggers GitHub to rerequest an existing check run, without pushing new code to a repository. This endpoint will trigger the [`check_run` webhook](https://docs.github.com/enterprise-cloud@latest//webhooks/event-payloads/#check_run) event with the action `rerequested`. When a check run is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared. + Triggers GitHub to rerequest an existing check run, without pushing new code to a repository. This endpoint will trigger the [`check_run` webhook](https://docs.github.com/enterprise-cloud@latest//webhooks/event-payloads/#check_run) event with the action `rerequested`. When a check run is `rerequested`, the `status` of the check suite it belongs to is reset to `queued` and the `conclusion` is cleared. The check run itself is not updated. GitHub apps recieving the [`check_run` webhook](https://docs.github.com/enterprise-cloud@latest//webhooks/event-payloads/#check_run) with the `rerequested` action should then decide if the check run should be reset or updated and call the [update `check_run` endpoint](https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run) to update the check_run if desired. For more information about how to re-run GitHub Actions jobs, see "[Re-run a job from a workflow run](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run)". @@ -36642,6 +36665,173 @@ paths: enabledForGitHubApps: true category: deployments subcategory: statuses + "/repos/{owner}/{repo}/dismissal-requests/secret-scanning": + get: + summary: List alert dismissal requests for secret scanning for a repository + description: |- + Lists requests to dismiss secret scanning alerts in a repository. + + Delegated alert dismissal must be enabled on the repository and the user must be an org admin, security manager, + or have the "Review and manage secret scanning alert dismissal requests" permission to access this endpoint. + tags: + - secret-scanning + operationId: secret-scanning/list-repo-dismissal-requests + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/alert-dismissal-requests#list-alert-dismissal-requests-for-secret-scanning-for-a-repository + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: secret-scanning + subcategory: alert-dismissal-requests + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/bypass-reviewer-name" + - "$ref": "#/components/parameters/bypass-requester-name" + - "$ref": "#/components/parameters/time-period" + - "$ref": "#/components/parameters/dismissal-request-status" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + responses: + '200': + description: A list of the alert dismissal requests. + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/secret-scanning-dismissal-request" + examples: + default: + "$ref": "#/components/examples/secret-scanning-dismissal-request-items" + '404': + "$ref": "#/components/responses/not_found" + '403': + "$ref": "#/components/responses/forbidden" + '500': + "$ref": "#/components/responses/internal_error" + "/repos/{owner}/{repo}/dismissal-requests/secret-scanning/{alert_number}": + get: + summary: Get an alert dismissal request for secret scanning + description: |- + Gets a specific request to dismiss a secret scanning alert in a repository. + + Delegated alert dismissal must be enabled on the repository and the user must be an org admin, security manager, + or have the "Review and manage secret scanning alert dismissal requests" permission to access this endpoint. + Personal access tokens (classic) need the `security_events` scope to use this endpoint. + tags: + - secret-scanning + operationId: secret-scanning/get-dismissal-request + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/alert-dismissal-requests#get-an-alert-dismissal-request-for-secret-scanning + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: secret-scanning + subcategory: alert-dismissal-requests + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - name: alert_number + in: path + required: true + description: The number that identifies the secret scanning alert in a repository. + schema: + type: integer + responses: + '200': + description: A single dismissal request. + content: + application/json: + schema: + "$ref": "#/components/schemas/secret-scanning-dismissal-request" + examples: + default: + "$ref": "#/components/examples/secret-scanning-dismissal-request-item" + '404': + "$ref": "#/components/responses/not_found" + '403': + "$ref": "#/components/responses/forbidden" + '500': + "$ref": "#/components/responses/internal_error" + patch: + summary: Review an alert dismissal request for secret scanning + description: |- + Approve or deny a request to dismiss a secret scanning alert in a repository. + + Delegated alert dismissal must be enabled on the repository and the user must be an org admin, security manager, + or have the "Review and manage secret scanning alert dismissal requests" permission to access this endpoint. + Personal access tokens (classic) need the `security_events` scope to use this endpoint. + tags: + - secret-scanning + operationId: secret-scanning/review-dismissal-request + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/alert-dismissal-requests#review-an-alert-dismissal-request-for-secret-scanning + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: secret-scanning + subcategory: alert-dismissal-requests + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - name: alert_number + in: path + required: true + description: The number that identifies the secret scanning alert in a repository. + schema: + type: integer + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + status: + type: string + description: The review action to perform on the dismissal request. + enum: + - approve + - deny + message: + type: string + description: A message to include with the review. Has a maximum + character length of 2048. + required: + - status + - message + examples: + default: + value: + status: deny + message: This secret has not been revoked. + responses: + '200': + description: The review of the dismissal request. + content: + application/json: + schema: + type: object + properties: + dismissal_review_id: + type: integer + description: ID of the dismissal review. + examples: + default: + value: + dismissal_review_id: 1 + '404': + "$ref": "#/components/responses/not_found" + '403': + "$ref": "#/components/responses/forbidden" + '422': + "$ref": "#/components/responses/validation_failed" + '500': + "$ref": "#/components/responses/internal_error" "/repos/{owner}/{repo}/dispatches": post: summary: Create a repository dispatch event @@ -88828,6 +89018,118 @@ components: required: - key_id - key + secret-scanning-dismissal-request: + title: Secret scanning alert dismissal request + description: A dismissal request made by a user asking to close a secret scanning + alert in this repository. + type: object + properties: + id: + type: integer + description: The unique identifier of the dismissal request. + number: + type: integer + description: The number uniquely identifying the dismissal request within + its repository. + repository: + type: object + description: The repository the dismissal request is for. + properties: + id: + type: integer + description: The ID of the repository the dismissal request is for. + name: + type: string + description: The name of the repository the dismissal request is for. + full_name: + type: string + description: The full name of the repository the dismissal request is + for. + organization: + type: object + description: The organization associated with the repository the dismissal + request is for. + properties: + id: + type: integer + description: The ID of the organization. + name: + type: string + description: The name of the organization. + requester: + type: object + description: The user who requested the dismissal. + properties: + actor_id: + type: integer + description: The ID of the GitHub user who requested the dismissal. + actor_name: + type: string + description: The name of the GitHub user who requested the dismissal. + request_type: + type: string + description: The type of request. + data: + type: + - array + - 'null' + description: Data describing the secret alert that is being requested to + be dismissed. + items: + type: object + properties: + secret_type: + type: string + description: The type of secret that secret scanning detected. + alert_number: + type: string + description: The number of the secret scanning alert that was detected. + resource_identifier: + type: string + description: The number of the secret scanning alert that was detected. + examples: + - 1234 + status: + type: string + description: The status of the dismissal request. + enum: + - pending + - denied + - approved + - cancelled + - expired + requester_comment: + type: + - string + - 'null' + description: The comment the requester provided when creating the dismissal + request. + expires_at: + type: string + format: date-time + description: The date and time the dismissal request will expire. + created_at: + type: string + format: date-time + description: The date and time the dismissal request was created. + responses: + type: + - array + - 'null' + description: The responses to the dismissal request. + items: + "$ref": "#/components/schemas/bypass-response" + url: + type: string + format: uri + examples: + - https://api.github.com/repos/octo-org/smile/dismissal-requests/secret-scanning/1 + html_url: + type: string + description: The URL to view the dismissal request in a browser. + format: uri + examples: + - https://github.com/octo-org/smile/security/secret-scanning/17 package: title: Package description: A software package @@ -215830,6 +216132,7 @@ components: cookie: https://github.githubassets.com/images/icons/emoji/unicode/1f36a.png?v8 cool: https://github.githubassets.com/images/icons/emoji/unicode/1f192.png?v8 cop: https://github.githubassets.com/images/icons/emoji/unicode/1f46e.png?v8 + copilot: https://github.githubassets.com/images/icons/emoji/copilot.png?v8 copyright: https://github.githubassets.com/images/icons/emoji/unicode/00a9.png?v8 corn: https://github.githubassets.com/images/icons/emoji/unicode/1f33d.png?v8 costa_rica: https://github.githubassets.com/images/icons/emoji/unicode/1f1e8-1f1f7.png?v8 @@ -222284,6 +222587,68 @@ components: updated_at: '2020-01-10T14:59:22Z' visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/dependabot/secrets/NPM_TOKEN/repositories + secret-scanning-dismissal-request-items: + value: + - id: 21 + number: 42 + repository: + id: 1 + name: smile + full_name: octo-org/smile + organization: + id: 1 + name: octo-org + requester: + actor_id: 12 + actor_name: monalisa + request_type: secret_scanning_closure + data: + - secret_type: adafruit_io_key + alert_number: 17 + resource_identifier: 17 + status: denied + requester_comment: Test token used in the readme as an example + expires_at: '2024-07-08T08:43:03Z' + created_at: '2024-07-01T08:43:03Z' + responses: + - id: 42 + reviewer: + actor_id: 4 + actor_name: octocat + status: denied + created_at: '2024-07-02T08:43:04Z' + url: https://api.github.com/repos/octo-org/smile/dismissal-requests/secret-scanning/21 + html_url: https://github.com/octo-org/smile/security/secret-scanning/17 + - id: 22 + number: 43 + repository: + id: 1 + name: smile + full_name: octo-org/smile + organization: + id: 1 + name: octo-org + requester: + actor_id: 12 + actor_name: monalisa + request_type: secret_scanning_closure + data: + - secret_type: adafruit_io_key + alert_number: 19 + resource_identifier: 19 + status: denied + requester_comment: Test token used in the readme as an example + expires_at: '2024-07-08T08:43:03Z' + created_at: '2024-07-01T08:43:03Z' + responses: + - id: 46 + reviewer: + actor_id: 4 + actor_name: octocat + status: approved + created_at: '2024-07-02T08:43:04Z' + url: https://api.github.com/repos/octo-org/smile/dismissal-requests/secret-scanning/22 + html_url: https://github.com/octo-org/smile/security/secret-scanning/19 packages-for-org: value: - id: 197 @@ -232190,6 +232555,38 @@ components: repository_url: https://api.github.com/repos/octocat/example environment_url: https://test-branch.lab.acme.com log_url: https://example.com/deployment/42/output + secret-scanning-dismissal-request-item: + value: + id: 21 + number: 42 + repository: + id: 1 + name: smile + full_name: octo-org/smile + organization: + id: 1 + name: octo-org + requester: + actor_id: 12 + actor_name: monalisa + request_type: secret_scanning_closure + data: + - secret_type: adafruit_io_key + alert_number: 17 + resource_identifier: 17 + status: denied + requester_comment: Test token used in the readme as an example + expires_at: '2024-07-08T08:43:03Z' + created_at: '2024-07-01T08:43:03Z' + responses: + - id: 42 + reviewer: + actor_id: 4 + actor_name: octocat + status: denied + created_at: '2024-07-02T08:43:04Z' + url: https://api.github.com/repos/octo-org/smile/dismissal-requests/secret-scanning/21 + html_url: https://github.com/octo-org/smile/security/secret-scanning/17 environments: value: total_count: 1 @@ -243357,7 +243754,7 @@ components: in: query description: A comma-separated list of secret {"code":"internal","msg":"git-diff-tree: context deadline exceeded","meta":{"cause":"*fmt.wrapError"}}