diff options
Diffstat (limited to 'descriptions/ghec')
-rw-r--r-- | descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json | 1566 | ||||
-rw-r--r-- | descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml | 4522 | ||||
-rw-r--r-- | descriptions/ghec/dereferenced/ghec.deref.json | 1566 | ||||
-rw-r--r-- | descriptions/ghec/dereferenced/ghec.deref.yaml | 4522 | ||||
-rw-r--r-- | descriptions/ghec/ghec.2022-11-28.json | 642 | ||||
-rw-r--r-- | descriptions/ghec/ghec.2022-11-28.yaml | 474 | ||||
-rw-r--r-- | descriptions/ghec/ghec.json | 642 | ||||
-rw-r--r-- | descriptions/ghec/ghec.yaml | 474 |
8 files changed, 10102 insertions, 4306 deletions
diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json index 0d7359b65..ac87e3a91 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -14662,6 +14662,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", @@ -44966,7 +44967,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" @@ -46878,7 +46879,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" ], @@ -46920,20 +46921,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 @@ -47186,9 +47173,7 @@ } } }, - "required": [ - "users" - ] + "minProperties": 1 }, "examples": { "default": { @@ -113283,6 +113268,465 @@ } } }, + "/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": { + "nullable": true, + "type": "array", + "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.", + "example": 1234 + }, + "status": { + "type": "string", + "description": "The status of the dismissal request.", + "enum": [ + "pending", + "denied", + "approved", + "cancelled", + "expired" + ] + }, + "requester_comment": { + "type": "string", + "description": "The comment the requester provided when creating the dismissal request.", + "nullable": true + }, + "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", + "description": "The responses to the dismissal request.", + "nullable": true, + "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", + "example": "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", + "example": "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", @@ -149233,7 +149677,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" ], @@ -149464,7 +149908,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" ], @@ -149761,7 +150205,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" ], @@ -149862,7 +150306,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" ], @@ -149996,7 +150440,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" ], @@ -150192,7 +150636,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" ], @@ -167125,7 +167569,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" @@ -250498,7 +250942,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" ], @@ -303600,6 +304044,1072 @@ } } }, + "/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": { + "nullable": true, + "type": "array", + "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.", + "example": 1234 + }, + "status": { + "type": "string", + "description": "The status of the dismissal request.", + "enum": [ + "pending", + "denied", + "approved", + "cancelled", + "expired" + ] + }, + "requester_comment": { + "type": "string", + "description": "The comment the requester provided when creating the dismissal request.", + "nullable": true + }, + "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", + "description": "The responses to the dismissal request.", + "nullable": true, + "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", + "example": "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", + "example": "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": { + "nullable": true, + "type": "array", + "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.", + "example": 1234 + }, + "status": { + "type": "string", + "description": "The status of the dismissal request.", + "enum": [ + "pending", + "denied", + "approved", + "cancelled", + "expired" + ] + }, + "requester_comment": { + "type": "string", + "description": "The comment the requester provided when creating the dismissal request.", + "nullable": true + }, + "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", + "description": "The responses to the dismissal request.", + "nullable": true, + "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", + "example": "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", + "example": "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", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "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", @@ -454497,7 +456007,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/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml index 1cca7e509..7b6bb3b13 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -1023,7 +1023,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: - - &669 + - &672 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1714,7 +1714,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &679 + schema: &682 title: Scim Error description: Scim Error type: object @@ -5428,6 +5428,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 @@ -16230,7 +16231,7 @@ paths: type: object description: A repository rule. oneOf: - - &627 + - &630 title: creation description: Only allow users with bypass permission to create matching refs. @@ -16242,7 +16243,7 @@ paths: type: string enum: - creation - - &628 + - &631 title: update description: Only allow users with bypass permission to update matching refs. @@ -16263,7 +16264,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &630 + - &633 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -16275,7 +16276,7 @@ paths: type: string enum: - deletion - - &631 + - &634 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -16287,7 +16288,7 @@ paths: type: string enum: - required_linear_history - - &632 + - &635 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -16363,7 +16364,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &633 + - &636 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches @@ -16387,7 +16388,7 @@ paths: type: string required: - required_deployment_environments - - &634 + - &637 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -16399,7 +16400,7 @@ paths: type: string enum: - required_signatures - - &635 + - &638 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. @@ -16459,7 +16460,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &636 + - &639 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed @@ -16506,7 +16507,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &637 + - &640 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -16518,7 +16519,7 @@ paths: type: string enum: - non_fast_forward - - &638 + - &641 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -16554,7 +16555,7 @@ paths: required: - operator - pattern - - &639 + - &642 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -16590,7 +16591,7 @@ paths: required: - operator - pattern - - &640 + - &643 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -16626,7 +16627,7 @@ paths: required: - operator - pattern - - &641 + - &644 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -16662,7 +16663,7 @@ paths: required: - operator - pattern - - &642 + - &645 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -16698,7 +16699,7 @@ paths: required: - operator - pattern - - &643 + - &646 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit graph. @@ -16722,7 +16723,7 @@ paths: type: string required: - restricted_file_paths - - &644 + - &647 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit @@ -16746,7 +16747,7 @@ paths: maximum: 256 required: - max_file_path_length - - &645 + - &648 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -16769,7 +16770,7 @@ paths: type: string required: - restricted_file_extensions - - &646 + - &649 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph. @@ -16793,7 +16794,7 @@ paths: maximum: 100 required: - max_file_size - - &647 + - &650 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -16842,7 +16843,7 @@ paths: - repository_id required: - workflows - - &648 + - &651 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, code scanning @@ -17404,7 +17405,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: @@ -17487,14 +17488,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &661 + state: &664 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: &662 + resolution: &665 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -18134,7 +18135,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: @@ -18164,16 +18165,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: @@ -18232,8 +18223,7 @@ paths: type: array items: type: string - required: - - users + minProperties: 1 examples: default: value: @@ -18728,7 +18718,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &566 + properties: &569 id: type: integer format: int64 @@ -19113,7 +19103,7 @@ paths: - total - completed - percent_completed - required: &567 + required: &570 - assignee - closed_at - comments @@ -19135,7 +19125,7 @@ paths: - author_association - created_at - updated_at - comment: &564 + comment: &567 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -19702,7 +19692,7 @@ paths: url: type: string format: uri - user: &718 + user: &721 title: Public User description: Public User type: object @@ -23107,7 +23097,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &596 + - &599 name: all description: If `true`, show notifications marked as read. in: query @@ -23115,7 +23105,7 @@ paths: schema: type: boolean default: false - - &597 + - &600 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -23125,7 +23115,7 @@ paths: type: boolean default: false - *143 - - &598 + - &601 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: @@ -23597,7 +23587,7 @@ paths: - url - subscription_url examples: - default: &599 + default: &602 value: - id: '1' repository: @@ -24143,7 +24133,7 @@ paths: type: array items: *58 examples: - default: &736 + default: &739 value: - login: github id: 1 @@ -25746,7 +25736,7 @@ paths: type: array items: *63 examples: - default: &730 + default: &733 value: total_count: 1 repositories: @@ -26565,7 +26555,7 @@ paths: type: array items: *196 examples: - default: &721 + default: &724 value: total_count: 1 repositories: @@ -33805,6 +33795,234 @@ 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: + - *170 + - *225 + - *219 + - *220 + - *221 + - &530 + 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: &531 + 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: + nullable: true + type: array + 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. + example: 1234 + status: + type: string + description: The status of the dismissal request. + enum: + - pending + - denied + - approved + - cancelled + - expired + requester_comment: + type: string + description: The comment the requester provided when creating + the dismissal request. + nullable: true + 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 + description: The responses to the dismissal request. + nullable: true + items: *226 + url: + type: string + format: uri + example: 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 + example: https://github.com/octo-org/smile/security/secret-scanning/17 + examples: + default: &532 + 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': *29 + '500': *99 "/orgs/{org}/docker/conflicts": get: summary: Get list of conflicting packages during Docker migration for organization @@ -35556,7 +35774,7 @@ paths: application/json: schema: *22 examples: - default: &560 + default: &563 value: id: 1 account: @@ -35781,7 +35999,7 @@ paths: required: true content: application/json: - schema: &561 + schema: &564 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration @@ -37863,7 +38081,7 @@ paths: parameters: - *170 - *300 - - &735 + - &738 name: repo_name description: repo_name parameter in: path @@ -39175,7 +39393,7 @@ paths: - nuget - container - *170 - - &737 + - &740 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -39216,7 +39434,7 @@ paths: default: *307 '403': *29 '401': *25 - '400': &739 + '400': &742 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -40352,9 +40570,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. @@ -40447,9 +40663,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)." @@ -40620,9 +40834,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. @@ -40670,9 +40882,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. @@ -40702,9 +40912,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)." @@ -40782,9 +40990,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. @@ -42857,7 +43063,7 @@ paths: - *170 - *17 - *19 - - &649 + - &652 name: targets description: | A comma-separated list of rule targets to filter by. @@ -43047,7 +43253,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - *170 - - &650 + - &653 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 @@ -43059,14 +43265,14 @@ paths: x-multi-segment: true - *225 - *221 - - &651 + - &654 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 - - &652 + - &655 name: rule_suite_result description: The rule results to filter on. When specified, only suites with this result will be returned. @@ -43086,7 +43292,7 @@ paths: description: Response content: application/json: - schema: &653 + schema: &656 title: Rule Suites description: Response type: array @@ -43141,7 +43347,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &654 + default: &657 value: - id: 21 actor_id: 12 @@ -43185,7 +43391,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *170 - - &655 + - &658 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -43201,7 +43407,7 @@ paths: description: Response content: application/json: - schema: &656 + schema: &659 title: Rule Suite description: Response type: object @@ -43300,7 +43506,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &657 + default: &660 value: id: 21 actor_id: 12 @@ -43631,7 +43837,7 @@ paths: - *86 - *19 - *17 - - &659 + - &662 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 @@ -43641,7 +43847,7 @@ paths: required: false schema: type: string - - &660 + - &663 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 @@ -43733,7 +43939,7 @@ paths: application/json: schema: type: array - items: &667 + items: &670 description: A repository security advisory. type: object properties: @@ -44024,7 +44230,7 @@ paths: - private_fork additionalProperties: false examples: - default: &668 + default: &671 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -45787,7 +45993,7 @@ paths: - updated_at - url examples: - default: &708 + default: &711 value: - author: login: octocat @@ -46035,7 +46241,7 @@ paths: application/json: schema: *360 examples: - default: &709 + default: &712 value: author: login: octocat @@ -46218,7 +46424,7 @@ paths: - updated_at - url examples: - default: &710 + default: &713 value: - author: login: octocat @@ -46444,7 +46650,7 @@ paths: application/json: schema: *363 examples: - default: &711 + default: &714 value: author: login: octocat @@ -47157,7 +47363,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &712 + response-if-user-is-a-team-maintainer: &715 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -47222,7 +47428,7 @@ paths: application/json: schema: *374 examples: - response-if-users-membership-with-team-is-now-pending: &713 + response-if-users-membership-with-team-is-now-pending: &716 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -47363,7 +47569,7 @@ paths: - updated_at - permissions examples: - default: &714 + default: &717 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -47442,7 +47648,7 @@ paths: application/json: schema: *375 examples: - default: &715 + default: &718 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -47652,7 +47858,7 @@ paths: description: Alternative response with repository permissions content: application/json: - schema: &716 + schema: &719 title: Team Repository description: A team's access to a repository. type: object @@ -48418,7 +48624,7 @@ paths: type: array items: *227 examples: - response-if-child-teams-exist: &717 + response-if-child-teams-exist: &720 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -54448,7 +54654,7 @@ paths: items: type: object properties: - type: &530 + type: &533 type: string description: The type of reviewer. enum: @@ -55072,7 +55278,7 @@ paths: application/json: schema: *414 examples: - default: &543 + default: &546 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -55291,7 +55497,7 @@ paths: application/json: schema: *418 examples: - default: &544 + default: &547 value: name: USERNAME value: octocat @@ -57085,7 +57291,7 @@ paths: required: - sha - url - verification: &550 + verification: &553 title: Verification type: object properties: @@ -60597,7 +60803,7 @@ paths: check. type: array items: *449 - deployment: &768 + deployment: &771 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -61344,7 +61550,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)". @@ -61511,7 +61717,7 @@ paths: type: string format: date-time nullable: true - head_commit: &794 + head_commit: &797 title: Simple Commit description: A commit. type: object @@ -65705,14 +65911,14 @@ paths: type: integer machines: type: array - items: &724 + items: &727 type: object title: Codespace machine description: A description of the machine powering a codespace. properties: *488 required: *489 examples: - default: &725 + default: &728 value: total_count: 2 machines: @@ -66391,7 +66597,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &563 + schema: &566 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -67242,7 +67448,7 @@ paths: type: array items: *498 examples: - default: &614 + default: &617 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -67531,7 +67737,7 @@ paths: application/json: schema: type: array - items: &605 + items: &608 title: Pull Request Simple description: Pull Request Simple type: object @@ -67760,7 +67966,7 @@ paths: - review_comment - self author_association: *140 - auto_merge: &607 + auto_merge: &610 title: Auto merge description: The status of auto merging a pull request. type: object @@ -67823,7 +68029,7 @@ paths: - author_association - auto_merge examples: - default: &606 + default: &609 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -68381,7 +68587,7 @@ paths: application/json: schema: *498 examples: - default: &592 + default: &595 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -68999,7 +69205,7 @@ paths: application/json: schema: type: array - items: &672 + items: &675 title: Status description: The status of a commit. type: object @@ -69941,7 +70147,7 @@ paths: - size - type - url - - &619 + - &622 title: Content File description: Content File type: object @@ -70534,7 +70740,7 @@ paths: schema: oneOf: - *3 - - &545 + - &548 description: Repository rule violation was detected type: object properties: @@ -70555,7 +70761,7 @@ paths: items: type: object properties: - placeholder_id: &664 + placeholder_id: &667 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -73046,6 +73252,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: + - *377 + - *378 + - *219 + - *220 + - *221 + - *530 + - *17 + - *19 + responses: + '200': + description: A list of the alert dismissal requests. + content: + application/json: + schema: + type: array + items: *531 + examples: + default: *532 + '404': *6 + '403': *29 + '500': *99 + "/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: + - *377 + - *378 + - 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: *531 + 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': *29 + '500': *99 + 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: + - *377 + - *378 + - 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': *29 + '422': *15 + '500': *99 "/repos/{owner}/{repo}/dispatches": post: summary: Create a repository dispatch event @@ -73140,7 +73530,7 @@ paths: type: integer environments: type: array - items: &531 + items: &534 title: Environment description: Details of a deployment environment type: object @@ -73192,7 +73582,7 @@ paths: type: type: string example: wait_timer - wait_timer: &533 + wait_timer: &536 type: integer example: 30 description: The amount of time to delay a job after @@ -73229,7 +73619,7 @@ paths: items: type: object properties: - type: *530 + type: *533 reviewer: anyOf: - *4 @@ -73253,7 +73643,7 @@ paths: - id - node_id - type - deployment_branch_policy: &534 + deployment_branch_policy: &537 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -73371,7 +73761,7 @@ paths: parameters: - *377 - *378 - - &532 + - &535 name: environment_name in: path required: true @@ -73384,9 +73774,9 @@ paths: description: Response content: application/json: - schema: *531 + schema: *534 examples: - default: &535 + default: &538 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -73472,7 +73862,7 @@ paths: parameters: - *377 - *378 - - *532 + - *535 requestBody: required: false content: @@ -73481,7 +73871,7 @@ paths: type: object nullable: true properties: - wait_timer: *533 + wait_timer: *536 prevent_self_review: type: boolean example: false @@ -73498,13 +73888,13 @@ paths: items: type: object properties: - type: *530 + type: *533 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *534 + deployment_branch_policy: *537 additionalProperties: false examples: default: @@ -73524,9 +73914,9 @@ paths: description: Response content: application/json: - schema: *531 + schema: *534 examples: - default: *535 + default: *538 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -73552,7 +73942,7 @@ paths: parameters: - *377 - *378 - - *532 + - *535 responses: '204': description: Default response @@ -73579,7 +73969,7 @@ paths: parameters: - *377 - *378 - - *532 + - *535 - *17 - *19 responses: @@ -73597,7 +73987,7 @@ paths: example: 2 branch_policies: type: array - items: &536 + items: &539 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -73656,7 +74046,7 @@ paths: parameters: - *377 - *378 - - *532 + - *535 requestBody: required: true content: @@ -73702,9 +74092,9 @@ paths: description: Response content: application/json: - schema: *536 + schema: *539 examples: - example-wildcard: &537 + example-wildcard: &540 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -73748,8 +74138,8 @@ paths: parameters: - *377 - *378 - - *532 - - &538 + - *535 + - &541 name: branch_policy_id in: path required: true @@ -73761,9 +74151,9 @@ paths: description: Response content: application/json: - schema: *536 + schema: *539 examples: - default: *537 + default: *540 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73784,8 +74174,8 @@ paths: parameters: - *377 - *378 - - *532 - - *538 + - *535 + - *541 requestBody: required: true content: @@ -73813,9 +74203,9 @@ paths: description: Response content: application/json: - schema: *536 + schema: *539 examples: - default: *537 + default: *540 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73836,8 +74226,8 @@ paths: parameters: - *377 - *378 - - *532 - - *538 + - *535 + - *541 responses: '204': description: Response @@ -73862,7 +74252,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: - - *532 + - *535 - *378 - *377 responses: @@ -73880,7 +74270,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &539 + items: &542 title: Deployment protection rule description: Deployment protection rule type: object @@ -73899,7 +74289,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &540 + app: &543 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -73998,7 +74388,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: - - *532 + - *535 - *378 - *377 requestBody: @@ -74021,9 +74411,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *539 + schema: *542 examples: - default: &541 + default: &544 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -74058,7 +74448,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: - - *532 + - *535 - *378 - *377 - *19 @@ -74079,7 +74469,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *540 + items: *543 examples: default: value: @@ -74116,8 +74506,8 @@ paths: parameters: - *377 - *378 - - *532 - - &542 + - *535 + - &545 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -74129,9 +74519,9 @@ paths: description: Response content: application/json: - schema: *539 + schema: *542 examples: - default: *541 + default: *544 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74152,10 +74542,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: - - *532 + - *535 - *378 - *377 - - *542 + - *545 responses: '204': description: Response @@ -74183,7 +74573,7 @@ paths: parameters: - *377 - *378 - - *532 + - *535 - *17 - *19 responses: @@ -74230,7 +74620,7 @@ paths: parameters: - *377 - *378 - - *532 + - *535 responses: '200': description: Response @@ -74262,7 +74652,7 @@ paths: parameters: - *377 - *378 - - *532 + - *535 - *206 responses: '200': @@ -74271,7 +74661,7 @@ paths: application/json: schema: *414 examples: - default: *543 + default: *546 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74295,7 +74685,7 @@ paths: parameters: - *377 - *378 - - *532 + - *535 - *206 requestBody: required: true @@ -74355,7 +74745,7 @@ paths: parameters: - *377 - *378 - - *532 + - *535 - *206 responses: '204': @@ -74383,7 +74773,7 @@ paths: parameters: - *377 - *378 - - *532 + - *535 - *401 - *19 responses: @@ -74428,7 +74818,7 @@ paths: parameters: - *377 - *378 - - *532 + - *535 requestBody: required: true content: @@ -74482,7 +74872,7 @@ paths: parameters: - *377 - *378 - - *532 + - *535 - *209 responses: '200': @@ -74491,7 +74881,7 @@ paths: application/json: schema: *418 examples: - default: *544 + default: *547 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74515,7 +74905,7 @@ paths: - *377 - *378 - *209 - - *532 + - *535 requestBody: required: true content: @@ -74560,7 +74950,7 @@ paths: - *377 - *378 - *209 - - *532 + - *535 responses: '204': description: Response @@ -74937,7 +75327,7 @@ paths: schema: oneOf: - *179 - - *545 + - *548 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75172,7 +75562,7 @@ paths: description: Response content: application/json: - schema: &546 + schema: &549 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -75394,7 +75784,7 @@ paths: description: Response content: application/json: - schema: *546 + schema: *549 examples: default: value: @@ -75452,7 +75842,7 @@ paths: parameters: - *377 - *378 - - &547 + - &550 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. @@ -75469,7 +75859,7 @@ paths: application/json: schema: type: array - items: &548 + items: &551 title: Git Reference description: Git references within a repository type: object @@ -75546,15 +75936,15 @@ paths: parameters: - *377 - *378 - - *547 + - *550 responses: '200': description: Response content: application/json: - schema: *548 + schema: *551 examples: - default: &549 + default: &552 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -75613,9 +76003,9 @@ paths: description: Response content: application/json: - schema: *548 + schema: *551 examples: - default: *549 + default: *552 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -75643,7 +76033,7 @@ paths: parameters: - *377 - *378 - - *547 + - *550 requestBody: required: true content: @@ -75672,9 +76062,9 @@ paths: description: Response content: application/json: - schema: *548 + schema: *551 examples: - default: *549 + default: *552 '422': *15 '409': *94 x-github: @@ -75694,7 +76084,7 @@ paths: parameters: - *377 - *378 - - *547 + - *550 responses: '204': description: Response @@ -75817,7 +76207,7 @@ paths: description: Response content: application/json: - schema: &551 + schema: &554 title: Git Tag description: Metadata for a Git tag type: object @@ -75868,7 +76258,7 @@ paths: - sha - type - url - verification: *550 + verification: *553 required: - sha - url @@ -75878,7 +76268,7 @@ paths: - tag - message examples: - default: &552 + default: &555 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -75963,9 +76353,9 @@ paths: description: Response content: application/json: - schema: *551 + schema: *554 examples: - default: *552 + default: *555 '404': *6 '409': *94 x-github: @@ -76063,7 +76453,7 @@ paths: description: Response content: application/json: - schema: &553 + schema: &556 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -76183,7 +76573,7 @@ paths: description: Response content: application/json: - schema: *553 + schema: *556 examples: default-response: summary: Default response @@ -76253,7 +76643,7 @@ paths: application/json: schema: type: array - items: &554 + items: &557 title: Webhook description: Webhooks for repositories. type: object @@ -76307,7 +76697,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &802 + last_response: &805 title: Hook Response type: object properties: @@ -76434,9 +76824,9 @@ paths: description: Response content: application/json: - schema: *554 + schema: *557 examples: - default: &555 + default: &558 value: type: Repository id: 12345678 @@ -76492,9 +76882,9 @@ paths: description: Response content: application/json: - schema: *554 + schema: *557 examples: - default: *555 + default: *558 '404': *6 x-github: githubCloudOnly: false @@ -76561,9 +76951,9 @@ paths: description: Response content: application/json: - schema: *554 + schema: *557 examples: - default: *555 + default: *558 '422': *15 '404': *6 x-github: @@ -76867,7 +77257,7 @@ paths: description: Response content: application/json: - schema: &556 + schema: &559 title: Import description: A repository import from an external source. type: object @@ -76966,7 +77356,7 @@ paths: - html_url - authors_url examples: - default: &559 + default: &562 value: vcs: subversion use_lfs: true @@ -76982,7 +77372,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': &557 + '503': &560 description: Unavailable due to service under maintenance. content: application/json: @@ -77060,7 +77450,7 @@ paths: description: Response content: application/json: - schema: *556 + schema: *559 examples: default: value: @@ -77085,7 +77475,7 @@ paths: type: string '422': *15 '404': *6 - '503': *557 + '503': *560 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77163,7 +77553,7 @@ paths: description: Response content: application/json: - schema: *556 + schema: *559 examples: example-1: summary: Example 1 @@ -77211,7 +77601,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': *557 + '503': *560 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77239,7 +77629,7 @@ paths: responses: '204': description: Response - '503': *557 + '503': *560 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77267,7 +77657,7 @@ paths: parameters: - *377 - *378 - - &748 + - &751 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -77281,7 +77671,7 @@ paths: application/json: schema: type: array - items: &558 + items: &561 title: Porter Author description: Porter Author type: object @@ -77335,7 +77725,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': *557 + '503': *560 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77391,7 +77781,7 @@ paths: description: Response content: application/json: - schema: *558 + schema: *561 examples: default: value: @@ -77404,7 +77794,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *557 + '503': *560 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77470,7 +77860,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *557 + '503': *560 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77526,11 +77916,11 @@ paths: description: Response content: application/json: - schema: *556 + schema: *559 examples: - default: *559 + default: *562 '422': *15 - '503': *557 + '503': *560 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77562,7 +77952,7 @@ paths: application/json: schema: *22 examples: - default: *560 + default: *563 '301': *391 '404': *6 x-github: @@ -77597,7 +77987,7 @@ paths: properties: {} additionalProperties: false examples: - default: &562 + default: &565 value: limit: collaborators_only origin: repository @@ -77628,7 +78018,7 @@ paths: required: true content: application/json: - schema: *561 + schema: *564 examples: default: summary: Example request body @@ -77642,7 +78032,7 @@ paths: application/json: schema: *283 examples: - default: *562 + default: *565 '409': description: Response x-github: @@ -77699,9 +78089,9 @@ paths: application/json: schema: type: array - items: *563 + items: *566 examples: - default: &741 + default: &744 value: - id: 1 repository: @@ -77863,7 +78253,7 @@ paths: description: Response content: application/json: - schema: *563 + schema: *566 examples: default: value: @@ -78101,7 +78491,7 @@ paths: type: array items: *153 examples: - default: &574 + default: &577 value: - id: 1 node_id: MDU6SXNzdWUx @@ -78363,7 +78753,7 @@ paths: application/json: schema: *153 examples: - default: &569 + default: &572 value: id: 1 node_id: MDU6SXNzdWUx @@ -78569,9 +78959,9 @@ paths: application/json: schema: type: array - items: *564 + items: *567 examples: - default: &571 + default: &574 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -78637,9 +79027,9 @@ paths: description: Response content: application/json: - schema: *564 + schema: *567 examples: - default: &565 + default: &568 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -78717,9 +79107,9 @@ paths: description: Response content: application/json: - schema: *564 + schema: *567 examples: - default: *565 + default: *568 '422': *15 x-github: githubCloudOnly: false @@ -78909,7 +79299,7 @@ paths: application/json: schema: type: array - items: &568 + items: &571 title: Issue Event description: Issue Event type: object @@ -78952,8 +79342,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *566 - required: *567 + properties: *569 + required: *570 nullable: true label: title: Issue Event Label @@ -79272,7 +79662,7 @@ paths: description: Response content: application/json: - schema: *568 + schema: *571 examples: default: value: @@ -79501,7 +79891,7 @@ paths: parameters: - *377 - *378 - - &570 + - &573 name: issue_number description: The number that identifies the issue. in: path @@ -79515,7 +79905,7 @@ paths: application/json: schema: *153 examples: - default: *569 + default: *572 '301': *391 '404': *6 '410': *388 @@ -79545,7 +79935,7 @@ paths: parameters: - *377 - *378 - - *570 + - *573 requestBody: required: false content: @@ -79650,7 +80040,7 @@ paths: application/json: schema: *153 examples: - default: *569 + default: *572 '422': *15 '503': *132 '403': *29 @@ -79676,7 +80066,7 @@ paths: parameters: - *377 - *378 - - *570 + - *573 requestBody: required: false content: @@ -79704,7 +80094,7 @@ paths: application/json: schema: *153 examples: - default: *569 + default: *572 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79722,7 +80112,7 @@ paths: parameters: - *377 - *378 - - *570 + - *573 requestBody: content: application/json: @@ -79749,7 +80139,7 @@ paths: application/json: schema: *153 examples: - default: *569 + default: *572 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79773,7 +80163,7 @@ paths: parameters: - *377 - *378 - - *570 + - *573 - name: assignee in: path required: true @@ -79815,7 +80205,7 @@ paths: parameters: - *377 - *378 - - *570 + - *573 - *143 - *17 - *19 @@ -79826,9 +80216,9 @@ paths: application/json: schema: type: array - items: *564 + items: *567 examples: - default: *571 + default: *574 headers: Link: *39 '404': *6 @@ -79863,7 +80253,7 @@ paths: parameters: - *377 - *378 - - *570 + - *573 requestBody: required: true content: @@ -79885,9 +80275,9 @@ paths: description: Response content: application/json: - schema: *564 + schema: *567 examples: - default: *565 + default: *568 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 @@ -79916,7 +80306,7 @@ paths: parameters: - *377 - *378 - - *570 + - *573 - *17 - *19 responses: @@ -79930,7 +80320,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &575 + - &578 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -79984,7 +80374,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &576 + - &579 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -80120,7 +80510,7 @@ paths: - performed_via_github_app - assignee - assigner - - &577 + - &580 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -80171,7 +80561,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &578 + - &581 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -80222,7 +80612,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &579 + - &582 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -80276,7 +80666,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &580 + - &583 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -80323,7 +80713,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &581 + - &584 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -80370,7 +80760,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &582 + - &585 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -80430,7 +80820,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &583 + - &586 title: Locked Issue Event description: Locked Issue Event type: object @@ -80478,7 +80868,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &584 + - &587 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -80544,7 +80934,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &585 + - &588 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -80610,7 +81000,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &586 + - &589 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -80676,7 +81066,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &587 + - &590 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -80786,7 +81176,7 @@ paths: parameters: - *377 - *378 - - *570 + - *573 - *17 - *19 responses: @@ -80796,7 +81186,7 @@ paths: application/json: schema: type: array - items: &572 + items: &575 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -80843,7 +81233,7 @@ paths: - color - default examples: - default: &573 + default: &576 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -80882,7 +81272,7 @@ paths: parameters: - *377 - *378 - - *570 + - *573 requestBody: required: false content: @@ -80941,9 +81331,9 @@ paths: application/json: schema: type: array - items: *572 + items: *575 examples: - default: *573 + default: *576 '301': *391 '404': *6 '410': *388 @@ -80965,7 +81355,7 @@ paths: parameters: - *377 - *378 - - *570 + - *573 requestBody: required: false content: @@ -81025,9 +81415,9 @@ paths: application/json: schema: type: array - items: *572 + items: *575 examples: - default: *573 + default: *576 '301': *391 '404': *6 '410': *388 @@ -81049,7 +81439,7 @@ paths: parameters: - *377 - *378 - - *570 + - *573 responses: '204': description: Response @@ -81076,7 +81466,7 @@ paths: parameters: - *377 - *378 - - *570 + - *573 - name: name in: path required: true @@ -81089,7 +81479,7 @@ paths: application/json: schema: type: array - items: *572 + items: *575 examples: default: value: @@ -81124,7 +81514,7 @@ paths: parameters: - *377 - *378 - - *570 + - *573 requestBody: required: false content: @@ -81172,7 +81562,7 @@ paths: parameters: - *377 - *378 - - *570 + - *573 responses: '204': description: Response @@ -81196,7 +81586,7 @@ paths: parameters: - *377 - *378 - - *570 + - *573 - 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. @@ -81248,7 +81638,7 @@ paths: parameters: - *377 - *378 - - *570 + - *573 requestBody: required: true content: @@ -81313,7 +81703,7 @@ paths: parameters: - *377 - *378 - - *570 + - *573 - *369 responses: '204': @@ -81345,7 +81735,7 @@ paths: parameters: - *377 - *378 - - *570 + - *573 requestBody: required: true content: @@ -81369,7 +81759,7 @@ paths: application/json: schema: *153 examples: - default: *569 + default: *572 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -81404,7 +81794,7 @@ paths: parameters: - *377 - *378 - - *570 + - *573 - *17 - *19 responses: @@ -81416,7 +81806,7 @@ paths: type: array items: *153 examples: - default: *574 + default: *577 headers: Link: *39 '404': *6 @@ -81450,7 +81840,7 @@ paths: parameters: - *377 - *378 - - *570 + - *573 requestBody: required: true content: @@ -81479,7 +81869,7 @@ paths: application/json: schema: *153 examples: - default: *569 + default: *572 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 @@ -81508,7 +81898,7 @@ paths: parameters: - *377 - *378 - - *570 + - *573 requestBody: required: true content: @@ -81541,7 +81931,7 @@ paths: application/json: schema: *153 examples: - default: *569 + default: *572 '403': *29 '404': *6 '422': *7 @@ -81565,7 +81955,7 @@ paths: parameters: - *377 - *378 - - *570 + - *573 - *17 - *19 responses: @@ -81580,9 +81970,6 @@ paths: description: Timeline Event type: object anyOf: - - *575 - - *576 - - *577 - *578 - *579 - *580 @@ -81593,6 +81980,9 @@ paths: - *585 - *586 - *587 + - *588 + - *589 + - *590 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -81897,7 +82287,7 @@ paths: type: string comments: type: array - items: &608 + items: &611 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -82423,7 +82813,7 @@ paths: application/json: schema: type: array - items: &588 + items: &591 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -82525,9 +82915,9 @@ paths: description: Response content: application/json: - schema: *588 + schema: *591 examples: - default: &589 + default: &592 value: id: 1 key: ssh-rsa AAA... @@ -82563,7 +82953,7 @@ paths: parameters: - *377 - *378 - - &590 + - &593 name: key_id description: The unique identifier of the key. in: path @@ -82575,9 +82965,9 @@ paths: description: Response content: application/json: - schema: *588 + schema: *591 examples: - default: *589 + default: *592 '404': *6 x-github: githubCloudOnly: false @@ -82597,7 +82987,7 @@ paths: parameters: - *377 - *378 - - *590 + - *593 responses: '204': description: Response @@ -82628,9 +83018,9 @@ paths: application/json: schema: type: array - items: *572 + items: *575 examples: - default: *573 + default: *576 headers: Link: *39 '404': *6 @@ -82688,9 +83078,9 @@ paths: description: Response content: application/json: - schema: *572 + schema: *575 examples: - default: &591 + default: &594 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -82734,9 +83124,9 @@ paths: description: Response content: application/json: - schema: *572 + schema: *575 examples: - default: *591 + default: *594 '404': *6 x-github: githubCloudOnly: false @@ -82793,7 +83183,7 @@ paths: description: Response content: application/json: - schema: *572 + schema: *575 examples: default: value: @@ -83189,7 +83579,7 @@ paths: application/json: schema: *498 examples: - default: *592 + default: *595 '204': description: Response when already merged '404': @@ -83256,7 +83646,7 @@ paths: application/json: schema: type: array - items: &593 + items: &596 title: Milestone description: A collection of related issues and pull requests. type: object @@ -83358,9 +83748,9 @@ paths: description: Response content: application/json: - schema: *593 + schema: *596 examples: - default: &594 + default: &597 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -83421,7 +83811,7 @@ paths: parameters: - *377 - *378 - - &595 + - &598 name: milestone_number description: The number that identifies the milestone. in: path @@ -83433,9 +83823,9 @@ paths: description: Response content: application/json: - schema: *593 + schema: *596 examples: - default: *594 + default: *597 '404': *6 x-github: githubCloudOnly: false @@ -83454,7 +83844,7 @@ paths: parameters: - *377 - *378 - - *595 + - *598 requestBody: required: false content: @@ -83492,9 +83882,9 @@ paths: description: Response content: application/json: - schema: *593 + schema: *596 examples: - default: *594 + default: *597 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83512,7 +83902,7 @@ paths: parameters: - *377 - *378 - - *595 + - *598 responses: '204': description: Response @@ -83535,7 +83925,7 @@ paths: parameters: - *377 - *378 - - *595 + - *598 - *17 - *19 responses: @@ -83545,9 +83935,9 @@ paths: application/json: schema: type: array - items: *572 + items: *575 examples: - default: *573 + default: *576 headers: Link: *39 x-github: @@ -83568,10 +83958,10 @@ paths: parameters: - *377 - *378 - - *596 - - *597 + - *599 + - *600 - *143 - - *598 + - *601 - *17 - *19 responses: @@ -83583,7 +83973,7 @@ paths: type: array items: *166 examples: - default: *599 + default: *602 headers: Link: *39 x-github: @@ -83673,7 +84063,7 @@ paths: description: Response content: application/json: - schema: &600 + schema: &603 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -83798,7 +84188,7 @@ paths: - custom_404 - public examples: - default: &601 + default: &604 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -83894,9 +84284,9 @@ paths: description: Response content: application/json: - schema: *600 + schema: *603 examples: - default: *601 + default: *604 '422': *15 '409': *94 x-github: @@ -84065,7 +84455,7 @@ paths: application/json: schema: type: array - items: &602 + items: &605 title: Page Build description: Page Build type: object @@ -84212,9 +84602,9 @@ paths: description: Response content: application/json: - schema: *602 + schema: *605 examples: - default: &603 + default: &606 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -84274,9 +84664,9 @@ paths: description: Response content: application/json: - schema: *602 + schema: *605 examples: - default: *603 + default: *606 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84404,7 +84794,7 @@ paths: parameters: - *377 - *378 - - &604 + - &607 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -84464,7 +84854,7 @@ paths: parameters: - *377 - *378 - - *604 + - *607 responses: '204': *118 '404': *6 @@ -85139,9 +85529,9 @@ paths: application/json: schema: type: array - items: *605 + items: *608 examples: - default: *606 + default: *609 headers: Link: *39 '304': *37 @@ -85239,7 +85629,7 @@ paths: description: Response content: application/json: - schema: &610 + schema: &613 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -85453,7 +85843,7 @@ paths: - review_comment - self author_association: *140 - auto_merge: *607 + auto_merge: *610 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -85545,7 +85935,7 @@ paths: - merged_by - review_comments examples: - default: &611 + default: &614 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -86102,9 +86492,9 @@ paths: application/json: schema: type: array - items: *608 + items: *611 examples: - default: &613 + default: &616 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -86189,9 +86579,9 @@ paths: description: Response content: application/json: - schema: *608 + schema: *611 examples: - default: &609 + default: &612 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -86290,9 +86680,9 @@ paths: description: Response content: application/json: - schema: *608 + schema: *611 examples: - default: *609 + default: *612 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86495,7 +86885,7 @@ paths: parameters: - *377 - *378 - - &612 + - &615 name: pull_number description: The number that identifies the pull request. in: path @@ -86508,9 +86898,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *610 + schema: *613 examples: - default: *611 + default: *614 '304': *37 '404': *6 '406': @@ -86547,7 +86937,7 @@ paths: parameters: - *377 - *378 - - *612 + - *615 requestBody: required: false content: @@ -86589,9 +86979,9 @@ paths: description: Response content: application/json: - schema: *610 + schema: *613 examples: - default: *611 + default: *614 '422': *15 '403': *29 x-github: @@ -86615,7 +87005,7 @@ paths: parameters: - *377 - *378 - - *612 + - *615 requestBody: required: true content: @@ -86717,7 +87107,7 @@ paths: parameters: - *377 - *378 - - *612 + - *615 - *163 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -86738,9 +87128,9 @@ paths: application/json: schema: type: array - items: *608 + items: *611 examples: - default: *613 + default: *616 headers: Link: *39 x-github: @@ -86775,7 +87165,7 @@ paths: parameters: - *377 - *378 - - *612 + - *615 requestBody: required: true content: @@ -86880,7 +87270,7 @@ paths: description: Response content: application/json: - schema: *608 + schema: *611 examples: example-for-a-multi-line-comment: value: @@ -86970,7 +87360,7 @@ paths: parameters: - *377 - *378 - - *612 + - *615 - *152 requestBody: required: true @@ -86993,7 +87383,7 @@ paths: description: Response content: application/json: - schema: *608 + schema: *611 examples: default: value: @@ -87081,7 +87471,7 @@ paths: parameters: - *377 - *378 - - *612 + - *615 - *17 - *19 responses: @@ -87093,7 +87483,7 @@ paths: type: array items: *498 examples: - default: *614 + default: *617 headers: Link: *39 x-github: @@ -87125,7 +87515,7 @@ paths: parameters: - *377 - *378 - - *612 + - *615 - *17 - *19 responses: @@ -87175,7 +87565,7 @@ paths: parameters: - *377 - *378 - - *612 + - *615 responses: '204': description: Response if pull request has been merged @@ -87200,7 +87590,7 @@ paths: parameters: - *377 - *378 - - *612 + - *615 requestBody: required: false content: @@ -87313,7 +87703,7 @@ paths: parameters: - *377 - *378 - - *612 + - *615 responses: '200': description: Response @@ -87390,7 +87780,7 @@ paths: parameters: - *377 - *378 - - *612 + - *615 requestBody: required: false content: @@ -87427,7 +87817,7 @@ paths: description: Response content: application/json: - schema: *605 + schema: *608 examples: default: value: @@ -87965,7 +88355,7 @@ paths: parameters: - *377 - *378 - - *612 + - *615 requestBody: required: true content: @@ -87999,7 +88389,7 @@ paths: description: Response content: application/json: - schema: *605 + schema: *608 examples: default: value: @@ -88506,7 +88896,7 @@ paths: parameters: - *377 - *378 - - *612 + - *615 - *17 - *19 responses: @@ -88516,7 +88906,7 @@ paths: application/json: schema: type: array - items: &615 + items: &618 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -88669,7 +89059,7 @@ paths: parameters: - *377 - *378 - - *612 + - *615 requestBody: required: false content: @@ -88755,9 +89145,9 @@ paths: description: Response content: application/json: - schema: *615 + schema: *618 examples: - default: &617 + default: &620 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -88822,8 +89212,8 @@ paths: parameters: - *377 - *378 - - *612 - - &616 + - *615 + - &619 name: review_id description: The unique identifier of the review. in: path @@ -88835,9 +89225,9 @@ paths: description: Response content: application/json: - schema: *615 + schema: *618 examples: - default: &618 + default: &621 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -88898,8 +89288,8 @@ paths: parameters: - *377 - *378 - - *612 - - *616 + - *615 + - *619 requestBody: required: true content: @@ -88922,7 +89312,7 @@ paths: description: Response content: application/json: - schema: *615 + schema: *618 examples: default: value: @@ -88986,16 +89376,16 @@ paths: parameters: - *377 - *378 - - *612 - - *616 + - *615 + - *619 responses: '200': description: Response content: application/json: - schema: *615 + schema: *618 examples: - default: *617 + default: *620 '422': *7 '404': *6 x-github: @@ -89024,8 +89414,8 @@ paths: parameters: - *377 - *378 - - *612 - - *616 + - *615 + - *619 - *17 - *19 responses: @@ -89255,8 +89645,8 @@ paths: parameters: - *377 - *378 - - *612 - - *616 + - *615 + - *619 requestBody: required: true content: @@ -89284,7 +89674,7 @@ paths: description: Response content: application/json: - schema: *615 + schema: *618 examples: default: value: @@ -89349,8 +89739,8 @@ paths: parameters: - *377 - *378 - - *612 - - *616 + - *615 + - *619 requestBody: required: true content: @@ -89385,9 +89775,9 @@ paths: description: Response content: application/json: - schema: *615 + schema: *618 examples: - default: *618 + default: *621 '404': *6 '422': *7 '403': *29 @@ -89411,7 +89801,7 @@ paths: parameters: - *377 - *378 - - *612 + - *615 requestBody: required: false content: @@ -89488,9 +89878,9 @@ paths: description: Response content: application/json: - schema: *619 + schema: *622 examples: - default: &620 + default: &623 value: type: file encoding: base64 @@ -89553,9 +89943,9 @@ paths: description: Response content: application/json: - schema: *619 + schema: *622 examples: - default: *620 + default: *623 '404': *6 '422': *15 x-github: @@ -89588,7 +89978,7 @@ paths: application/json: schema: type: array - items: &621 + items: &624 title: Release description: A release. type: object @@ -89651,7 +90041,7 @@ paths: author: *4 assets: type: array - items: &622 + items: &625 title: Release Asset description: Data related to a release. type: object @@ -89909,9 +90299,9 @@ paths: description: Response content: application/json: - schema: *621 + schema: *624 examples: - default: &625 + default: &628 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -90016,7 +90406,7 @@ paths: parameters: - *377 - *378 - - &623 + - &626 name: asset_id description: The unique identifier of the asset. in: path @@ -90028,9 +90418,9 @@ paths: description: Response content: application/json: - schema: *622 + schema: *625 examples: - default: &624 + default: &627 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 @@ -90082,7 +90472,7 @@ paths: parameters: - *377 - *378 - - *623 + - *626 requestBody: required: false content: @@ -90110,9 +90500,9 @@ paths: description: Response content: application/json: - schema: *622 + schema: *625 examples: - default: *624 + default: *627 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90130,7 +90520,7 @@ paths: parameters: - *377 - *378 - - *623 + - *626 responses: '204': description: Response @@ -90247,9 +90637,9 @@ paths: description: Response content: application/json: - schema: *621 + schema: *624 examples: - default: *625 + default: *628 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90280,9 +90670,9 @@ paths: description: Response content: application/json: - schema: *621 + schema: *624 examples: - default: *625 + default: *628 '404': *6 x-github: githubCloudOnly: false @@ -90306,7 +90696,7 @@ paths: parameters: - *377 - *378 - - &626 + - &629 name: release_id description: The unique identifier of the release. in: path @@ -90320,9 +90710,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: *621 + schema: *624 examples: - default: *625 + default: *628 '401': description: Unauthorized x-github: @@ -90342,7 +90732,7 @@ paths: parameters: - *377 - *378 - - *626 + - *629 requestBody: required: false content: @@ -90406,9 +90796,9 @@ paths: description: Response content: application/json: - schema: *621 + schema: *624 examples: - default: *625 + default: *628 '404': description: Not Found if the discussion category name is invalid content: @@ -90431,7 +90821,7 @@ paths: parameters: - *377 - *378 - - *626 + - *629 responses: '204': description: Response @@ -90453,7 +90843,7 @@ paths: parameters: - *377 - *378 - - *626 + - *629 - *17 - *19 responses: @@ -90463,7 +90853,7 @@ paths: application/json: schema: type: array - items: *622 + items: *625 examples: default: value: @@ -90546,7 +90936,7 @@ paths: parameters: - *377 - *378 - - *626 + - *629 - name: name in: query required: true @@ -90572,7 +90962,7 @@ paths: description: Response for successful upload content: application/json: - schema: *622 + schema: *625 examples: response-for-successful-upload: value: @@ -90628,7 +91018,7 @@ paths: parameters: - *377 - *378 - - *626 + - *629 - 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. @@ -90677,7 +91067,7 @@ paths: parameters: - *377 - *378 - - *626 + - *629 requestBody: required: true content: @@ -90740,7 +91130,7 @@ paths: parameters: - *377 - *378 - - *626 + - *629 - *369 responses: '204': @@ -90783,8 +91173,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *627 - - &629 + - *630 + - &632 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -90804,65 +91194,65 @@ paths: type: integer description: The ID of the ruleset that includes this rule. - allOf: - - *628 - - *629 - - allOf: - - *630 - - *629 - - allOf: - *631 - - *629 - - allOf: - *632 - - *629 - allOf: - *633 - - *629 + - *632 - allOf: - *634 - - *629 + - *632 - allOf: - *635 - - *629 + - *632 - allOf: - *636 - - *629 + - *632 - allOf: - *637 - - *629 + - *632 - allOf: - *638 - - *629 + - *632 - allOf: - *639 - - *629 + - *632 - allOf: - *640 - - *629 + - *632 - allOf: - *641 - - *629 + - *632 - allOf: - *642 - - *629 + - *632 - allOf: - *643 - - *629 + - *632 - allOf: - *644 - - *629 + - *632 - allOf: - *645 - - *629 + - *632 - allOf: - *646 - - *629 + - *632 - allOf: - *647 - - *629 + - *632 - allOf: - *648 - - *629 + - *632 + - allOf: + - *649 + - *632 + - allOf: + - *650 + - *632 + - allOf: + - *651 + - *632 examples: default: value: @@ -90913,7 +91303,7 @@ paths: schema: type: boolean default: true - - *649 + - *652 responses: '200': description: Response @@ -91031,7 +91421,7 @@ paths: application/json: schema: *128 examples: - default: &658 + default: &661 value: id: 42 name: super cool ruleset @@ -91080,10 +91470,10 @@ paths: parameters: - *377 - *378 - - *650 + - *653 - *221 - - *651 - - *652 + - *654 + - *655 - *17 - *19 responses: @@ -91091,9 +91481,9 @@ paths: description: Response content: application/json: - schema: *653 + schema: *656 examples: - default: *654 + default: *657 '404': *6 '500': *99 x-github: @@ -91116,15 +91506,15 @@ paths: parameters: - *377 - *378 - - *655 + - *658 responses: '200': description: Response content: application/json: - schema: *656 + schema: *659 examples: - default: *657 + default: *660 '404': *6 '500': *99 x-github: @@ -91175,7 +91565,7 @@ paths: application/json: schema: *128 examples: - default: *658 + default: *661 '404': *6 '500': *99 put: @@ -91258,7 +91648,7 @@ paths: application/json: schema: *128 examples: - default: *658 + default: *661 '404': *6 '500': *99 delete: @@ -91421,8 +91811,8 @@ paths: - *86 - *19 - *17 - - *659 - - *660 + - *662 + - *663 - *338 - *339 - *340 @@ -91433,7 +91823,7 @@ paths: application/json: schema: type: array - items: &663 + items: &666 type: object properties: number: *100 @@ -91452,8 +91842,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *661 - resolution: *662 + state: *664 + resolution: *665 resolved_at: type: string format: date-time @@ -91679,7 +92069,7 @@ paths: description: Response content: application/json: - schema: *663 + schema: *666 examples: default: value: @@ -91741,8 +92131,8 @@ paths: schema: type: object properties: - state: *661 - resolution: *662 + state: *664 + resolution: *665 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -91760,7 +92150,7 @@ paths: description: Response content: application/json: - schema: *663 + schema: *666 examples: default: value: @@ -91848,7 +92238,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &823 + items: &826 type: object properties: type: @@ -92216,14 +92606,14 @@ paths: schema: type: object properties: - reason: &665 + reason: &668 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *664 + placeholder_id: *667 required: - reason - placeholder_id @@ -92240,7 +92630,7 @@ paths: schema: type: object properties: - reason: *665 + reason: *668 expire_at: type: string format: date-time @@ -92299,7 +92689,7 @@ paths: properties: incremental_scans: type: array - items: &666 + items: &669 description: Information on a single scan performed by secret scanning on the repository type: object @@ -92325,15 +92715,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *666 + items: *669 backfill_scans: type: array - items: *666 + items: *669 custom_pattern_backfill_scans: type: array items: allOf: - - *666 + - *669 - type: object properties: pattern_name: @@ -92448,9 +92838,9 @@ paths: application/json: schema: type: array - items: *667 + items: *670 examples: - default: *668 + default: *671 '400': *14 '404': *6 x-github: @@ -92634,9 +93024,9 @@ paths: description: Response content: application/json: - schema: *667 + schema: *670 examples: - default: &670 + default: &673 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -92974,7 +93364,7 @@ paths: description: Response content: application/json: - schema: *667 + schema: *670 examples: default: value: @@ -93123,15 +93513,15 @@ paths: parameters: - *377 - *378 - - *669 + - *672 responses: '200': description: Response content: application/json: - schema: *667 + schema: *670 examples: - default: *670 + default: *673 '403': *29 '404': *6 x-github: @@ -93157,7 +93547,7 @@ paths: parameters: - *377 - *378 - - *669 + - *672 requestBody: required: true content: @@ -93316,10 +93706,10 @@ paths: description: Response content: application/json: - schema: *667 + schema: *670 examples: - default: *670 - add_credit: *670 + default: *673 + add_credit: *673 '403': *29 '404': *6 '422': @@ -93359,7 +93749,7 @@ paths: parameters: - *377 - *378 - - *669 + - *672 responses: '202': *95 '400': *14 @@ -93388,7 +93778,7 @@ paths: parameters: - *377 - *378 - - *669 + - *672 responses: '202': description: Response @@ -93532,7 +93922,7 @@ paths: application/json: schema: type: array - items: &671 + items: &674 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -93905,7 +94295,7 @@ paths: application/json: schema: type: array - items: *671 + items: *674 examples: default: value: @@ -93993,7 +94383,7 @@ paths: description: Response content: application/json: - schema: *672 + schema: *675 examples: default: value: @@ -94087,7 +94477,7 @@ paths: description: if you subscribe to the repository content: application/json: - schema: &673 + schema: &676 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -94182,7 +94572,7 @@ paths: description: Response content: application/json: - schema: *673 + schema: *676 examples: default: value: @@ -94319,7 +94709,7 @@ paths: application/json: schema: type: array - items: &674 + items: &677 title: Tag protection description: Tag protection type: object @@ -94395,7 +94785,7 @@ paths: description: Response content: application/json: - schema: *674 + schema: *677 examples: default: value: @@ -94543,7 +94933,7 @@ paths: description: Response content: application/json: - schema: &675 + schema: &678 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -94555,7 +94945,7 @@ paths: required: - names examples: - default: &676 + default: &679 value: names: - octocat @@ -94610,9 +95000,9 @@ paths: description: Response content: application/json: - schema: *675 + schema: *678 examples: - default: *676 + default: *679 '404': *6 '422': *7 x-github: @@ -94635,7 +95025,7 @@ paths: parameters: - *377 - *378 - - &677 + - &680 name: per description: The time frame to display results for. in: query @@ -94664,7 +95054,7 @@ paths: example: 128 clones: type: array - items: &678 + items: &681 title: Traffic type: object properties: @@ -94905,7 +95295,7 @@ paths: parameters: - *377 - *378 - - *677 + - *680 responses: '200': description: Response @@ -94924,7 +95314,7 @@ paths: example: 3782 views: type: array - items: *678 + items: *681 required: - uniques - count @@ -95596,7 +95986,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &686 + - &689 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -95605,7 +95995,7 @@ paths: schema: type: string example: members - - &691 + - &694 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -95616,7 +96006,7 @@ paths: default: 1 format: int32 example: 1 - - &692 + - &695 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -95658,7 +96048,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &680 + items: &683 allOf: - type: object required: @@ -95733,7 +96123,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: &693 + meta: &696 type: object description: The metadata associated with the creation/updates to the user. @@ -95793,31 +96183,31 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &681 + '400': &684 description: Bad request content: application/json: - schema: *679 + schema: *682 application/scim+json: - schema: *679 - '401': &682 + schema: *682 + '401': &685 description: Authorization failure - '403': &683 + '403': &686 description: Permission denied - '429': &684 + '429': &687 description: Too many requests content: application/json: - schema: *679 + schema: *682 application/scim+json: - schema: *679 - '500': &685 + schema: *682 + '500': &688 description: Internal server error content: application/json: - schema: *679 + schema: *682 application/scim+json: - schema: *679 + schema: *682 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -95841,7 +96231,7 @@ paths: required: true content: application/json: - schema: &689 + schema: &692 type: object required: - schemas @@ -95897,9 +96287,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *680 + schema: *683 examples: - group: &687 + group: &690 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -95918,13 +96308,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': *681 - '401': *682 - '403': *683 - '409': &690 + '400': *684 + '401': *685 + '403': *686 + '409': &693 description: Duplicate record detected - '429': *684 - '500': *685 + '429': *687 + '500': *688 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -95941,7 +96331,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: - - &688 + - &691 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -95949,22 +96339,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *686 + - *689 - *40 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *680 + schema: *683 examples: - default: *687 - '400': *681 - '401': *682 - '403': *683 + default: *690 + '400': *684 + '401': *685 + '403': *686 '404': *6 - '429': *684 - '500': *685 + '429': *687 + '500': *688 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -95983,13 +96373,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: - - *688 + - *691 - *40 requestBody: required: true content: application/json: - schema: *689 + schema: *692 examples: group: summary: Group @@ -96015,17 +96405,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *680 + schema: *683 examples: - group: *687 - groupWithMembers: *687 - '400': *681 - '401': *682 - '403': *683 + group: *690 + groupWithMembers: *690 + '400': *684 + '401': *685 + '403': *686 '404': *6 - '409': *690 - '429': *684 - '500': *685 + '409': *693 + '429': *687 + '500': *688 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -96049,13 +96439,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: - - *688 + - *691 - *40 requestBody: required: true content: application/json: - schema: &700 + schema: &703 type: object required: - Operations @@ -96115,17 +96505,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *680 + schema: *683 examples: - updateGroup: *687 - addMembers: *687 - '400': *681 - '401': *682 - '403': *683 + updateGroup: *690 + addMembers: *690 + '400': *684 + '401': *685 + '403': *686 '404': *6 - '409': *690 - '429': *684 - '500': *685 + '409': *693 + '429': *687 + '500': *688 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -96141,17 +96531,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: - - *688 + - *691 - *40 responses: '204': description: Group was deleted, no content - '400': *681 - '401': *682 - '403': *683 + '400': *684 + '401': *685 + '403': *686 '404': *6 - '429': *684 - '500': *685 + '429': *687 + '500': *688 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -96185,8 +96575,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *691 - - *692 + - *694 + - *695 - *40 responses: '200': @@ -96219,7 +96609,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &695 + items: &698 allOf: - type: object required: @@ -96298,7 +96688,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &694 + roles: &697 type: array description: The roles assigned to the user. items: @@ -96354,7 +96744,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *693 + meta: *696 startIndex: type: integer description: A starting index for the returned page @@ -96391,11 +96781,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *681 - '401': *682 - '403': *683 - '429': *684 - '500': *685 + '400': *684 + '401': *685 + '403': *686 + '429': *687 + '500': *688 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -96419,7 +96809,7 @@ paths: required: true content: application/json: - schema: &698 + schema: &701 type: object required: - schemas @@ -96501,9 +96891,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *694 + roles: *697 examples: - user: &699 + user: &702 summary: User value: schemas: @@ -96550,9 +96940,9 @@ paths: description: User has been created content: application/scim+json: - schema: *695 + schema: *698 examples: - user: &696 + user: &699 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -96578,13 +96968,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: *696 - '400': *681 - '401': *682 - '403': *683 - '409': *690 - '429': *684 - '500': *685 + enterpriseOwner: *699 + '400': *684 + '401': *685 + '403': *686 + '409': *693 + '429': *687 + '500': *688 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -96601,7 +96991,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: - - &697 + - &700 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -96614,15 +97004,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *695 + schema: *698 examples: - default: *696 - '400': *681 - '401': *682 - '403': *683 + default: *699 + '400': *684 + '401': *685 + '403': *686 '404': *6 - '429': *684 - '500': *685 + '429': *687 + '500': *688 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -96644,30 +97034,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: - - *697 + - *700 - *40 requestBody: required: true content: application/json: - schema: *698 + schema: *701 examples: - user: *699 + user: *702 responses: '200': description: User was updated content: application/scim+json: - schema: *695 + schema: *698 examples: - user: *696 - '400': *681 - '401': *682 - '403': *683 + user: *699 + '400': *684 + '401': *685 + '403': *686 '404': *6 - '409': *690 - '429': *684 - '500': *685 + '409': *693 + '429': *687 + '500': *688 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -96702,13 +97092,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: - - *697 + - *700 - *40 requestBody: required: true content: application/json: - schema: *700 + schema: *703 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -96748,18 +97138,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *695 - examples: - userMultiValuedProperties: *696 - userSingleValuedProperties: *696 - disableUser: *696 - '400': *681 - '401': *682 - '403': *683 + schema: *698 + examples: + userMultiValuedProperties: *699 + userSingleValuedProperties: *699 + disableUser: *699 + '400': *684 + '401': *685 + '403': *686 '404': *6 - '409': *690 - '429': *684 - '500': *685 + '409': *693 + '429': *687 + '500': *688 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -96779,17 +97169,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: - - *697 + - *700 - *40 responses: '204': description: User was deleted, no content - '400': *681 - '401': *682 - '403': *683 + '400': *684 + '401': *685 + '403': *686 '404': *6 - '429': *684 - '500': *685 + '429': *687 + '500': *688 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -96876,7 +97266,7 @@ paths: example: 1 Resources: type: array - items: &701 + items: &704 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -97107,22 +97497,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': *37 - '404': &702 + '404': &705 description: Resource not found content: application/json: - schema: *679 + schema: *682 application/scim+json: - schema: *679 - '403': &703 + schema: *682 + '403': &706 description: Forbidden content: application/json: - schema: *679 + schema: *682 application/scim+json: - schema: *679 - '400': *681 - '429': *684 + schema: *682 + '400': *684 + '429': *687 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -97148,9 +97538,9 @@ paths: description: Response content: application/scim+json: - schema: *701 + schema: *704 examples: - default: &704 + default: &707 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -97173,17 +97563,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': *37 - '404': *702 - '403': *703 - '500': *685 + '404': *705 + '403': *706 + '500': *688 '409': description: Conflict content: application/json: - schema: *679 + schema: *682 application/scim+json: - schema: *679 - '400': *681 + schema: *682 + '400': *684 requestBody: required: true content: @@ -97281,17 +97671,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *170 - - *697 + - *700 responses: '200': description: Response content: application/scim+json: - schema: *701 + schema: *704 examples: - default: *704 - '404': *702 - '403': *703 + default: *707 + '404': *705 + '403': *706 '304': *37 x-github: githubCloudOnly: true @@ -97315,18 +97705,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *170 - - *697 + - *700 responses: '200': description: Response content: application/scim+json: - schema: *701 + schema: *704 examples: - default: *704 + default: *707 '304': *37 - '404': *702 - '403': *703 + '404': *705 + '403': *706 requestBody: required: true content: @@ -97439,19 +97829,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *170 - - *697 + - *700 responses: '200': description: Response content: application/scim+json: - schema: *701 + schema: *704 examples: - default: *704 + default: *707 '304': *37 - '404': *702 - '403': *703 - '400': *681 + '404': *705 + '403': *706 + '400': *684 '429': description: Response content: @@ -97542,12 +97932,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *170 - - *697 + - *700 responses: '204': description: Response - '404': *702 - '403': *703 + '404': *705 + '403': *706 '304': *37 x-github: githubCloudOnly: true @@ -97680,7 +98070,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &705 + text_matches: &708 title: Search Result Text Matches type: array items: @@ -97843,7 +98233,7 @@ paths: enum: - author-date - committer-date - - &706 + - &709 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 @@ -97934,7 +98324,7 @@ paths: url: type: string format: uri - verification: *550 + verification: *553 required: - author - committer @@ -97971,7 +98361,7 @@ paths: type: number node_id: type: string - text_matches: *705 + text_matches: *708 required: - sha - node_id @@ -98154,7 +98544,7 @@ paths: - interactions - created - updated - - *706 + - *709 - *17 - *19 - name: advanced_search @@ -98296,7 +98686,7 @@ paths: type: string format: date-time nullable: true - text_matches: *705 + text_matches: *708 pull_request: type: object properties: @@ -98524,7 +98914,7 @@ paths: enum: - created - updated - - *706 + - *709 - *17 - *19 responses: @@ -98568,7 +98958,7 @@ paths: nullable: true score: type: number - text_matches: *705 + text_matches: *708 required: - id - node_id @@ -98654,7 +99044,7 @@ paths: - forks - help-wanted-issues - updated - - *706 + - *709 - *17 - *19 responses: @@ -98893,7 +99283,7 @@ paths: - admin - pull - push - text_matches: *705 + text_matches: *708 temp_clone_token: type: string allow_merge_commit: @@ -99194,7 +99584,7 @@ paths: type: string format: uri nullable: true - text_matches: *705 + text_matches: *708 related: type: array nullable: true @@ -99387,7 +99777,7 @@ paths: - followers - repositories - joined - - *706 + - *709 - *17 - *19 responses: @@ -99491,7 +99881,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *705 + text_matches: *708 blog: type: string nullable: true @@ -99570,7 +99960,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &707 + - &710 name: team_id description: The unique identifier of the team. in: path @@ -99611,7 +100001,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *707 + - *710 requestBody: required: true content: @@ -99711,7 +100101,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *707 + - *710 responses: '204': description: Response @@ -99742,7 +100132,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *707 + - *710 - *86 - *17 - *19 @@ -99755,7 +100145,7 @@ paths: type: array items: *360 examples: - default: *708 + default: *711 headers: Link: *39 x-github: @@ -99784,7 +100174,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *707 + - *710 requestBody: required: true content: @@ -99847,7 +100237,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *707 + - *710 - *362 responses: '200': @@ -99881,7 +100271,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *707 + - *710 - *362 requestBody: required: false @@ -99907,7 +100297,7 @@ paths: application/json: schema: *360 examples: - default: *709 + default: *712 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99932,7 +100322,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *707 + - *710 - *362 responses: '204': @@ -99962,7 +100352,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *707 + - *710 - *362 - *86 - *17 @@ -99976,7 +100366,7 @@ paths: type: array items: *363 examples: - default: *710 + default: *713 headers: Link: *39 x-github: @@ -100005,7 +100395,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *707 + - *710 - *362 requestBody: required: true @@ -100057,7 +100447,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *707 + - *710 - *362 - *365 responses: @@ -100092,7 +100482,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *707 + - *710 - *362 - *365 requestBody: @@ -100118,7 +100508,7 @@ paths: application/json: schema: *363 examples: - default: *711 + default: *714 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100143,7 +100533,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *707 + - *710 - *362 - *365 responses: @@ -100174,7 +100564,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: - - *707 + - *710 - *362 - *365 - name: content @@ -100233,7 +100623,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: - - *707 + - *710 - *362 - *365 requestBody: @@ -100295,7 +100685,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: - - *707 + - *710 - *362 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -100353,7 +100743,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: - - *707 + - *710 - *362 requestBody: required: true @@ -100412,7 +100802,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *707 + - *710 - *17 - *19 responses: @@ -100450,7 +100840,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *707 + - *710 - name: role description: Filters members returned by their role in the team. in: query @@ -100501,7 +100891,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *707 + - *710 - *218 responses: '204': @@ -100538,7 +100928,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *707 + - *710 - *218 responses: '204': @@ -100578,7 +100968,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *707 + - *710 - *218 responses: '204': @@ -100615,7 +101005,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: - - *707 + - *710 - *218 responses: '200': @@ -100624,7 +101014,7 @@ paths: application/json: schema: *374 examples: - response-if-user-is-a-team-maintainer: *712 + response-if-user-is-a-team-maintainer: *715 '404': *6 x-github: githubCloudOnly: false @@ -100657,7 +101047,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: - - *707 + - *710 - *218 requestBody: required: false @@ -100685,7 +101075,7 @@ paths: application/json: schema: *374 examples: - response-if-users-membership-with-team-is-now-pending: *713 + response-if-users-membership-with-team-is-now-pending: *716 '403': description: Forbidden if team synchronization is set up '422': @@ -100719,7 +101109,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: - - *707 + - *710 - *218 responses: '204': @@ -100748,7 +101138,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *707 + - *710 - *17 - *19 responses: @@ -100760,7 +101150,7 @@ paths: type: array items: *375 examples: - default: *714 + default: *717 headers: Link: *39 '404': *6 @@ -100786,7 +101176,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: - - *707 + - *710 - *376 responses: '200': @@ -100795,7 +101185,7 @@ paths: application/json: schema: *375 examples: - default: *715 + default: *718 '404': description: Not Found if project is not managed by this team x-github: @@ -100819,7 +101209,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: - - *707 + - *710 - *376 requestBody: required: false @@ -100887,7 +101277,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: - - *707 + - *710 - *376 responses: '204': @@ -100915,7 +101305,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *707 + - *710 - *17 - *19 responses: @@ -100957,7 +101347,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: - - *707 + - *710 - *377 - *378 responses: @@ -100965,7 +101355,7 @@ paths: description: Alternative response with extra repository information content: application/json: - schema: *716 + schema: *719 examples: alternative-response-with-extra-repository-information: value: @@ -101116,7 +101506,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: - - *707 + - *710 - *377 - *378 requestBody: @@ -101168,7 +101558,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: - - *707 + - *710 - *377 - *378 responses: @@ -101199,7 +101589,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: - - *707 + - *710 responses: '200': description: Response @@ -101234,7 +101624,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: - - *707 + - *710 requestBody: required: true content: @@ -101322,7 +101712,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *707 + - *710 - *17 - *19 responses: @@ -101334,7 +101724,7 @@ paths: type: array items: *227 examples: - response-if-child-teams-exist: *717 + response-if-child-teams-exist: *720 headers: Link: *39 '404': *6 @@ -101367,7 +101757,7 @@ paths: application/json: schema: oneOf: - - &719 + - &722 title: Private User description: Private User type: object @@ -101570,7 +101960,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *718 + - *721 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -101723,7 +102113,7 @@ paths: description: Response content: application/json: - schema: *719 + schema: *722 examples: default: value: @@ -102121,7 +102511,7 @@ paths: type: integer secrets: type: array - items: &720 + items: &723 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -102237,7 +102627,7 @@ paths: description: Response content: application/json: - schema: *720 + schema: *723 examples: default: value: @@ -102383,7 +102773,7 @@ paths: type: array items: *196 examples: - default: *721 + default: *724 '401': *25 '403': *29 '404': *6 @@ -102650,7 +103040,7 @@ paths: description: Response content: application/json: - schema: &722 + schema: &725 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -102691,7 +103081,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &723 + default: &726 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -102736,9 +103126,9 @@ paths: description: Response content: application/json: - schema: *722 + schema: *725 examples: - default: *723 + default: *726 '404': *6 x-github: githubCloudOnly: false @@ -102775,9 +103165,9 @@ paths: type: integer machines: type: array - items: *724 + items: *727 examples: - default: *725 + default: *728 '304': *37 '500': *99 '401': *25 @@ -103716,7 +104106,7 @@ paths: type: array items: *306 examples: - default: &738 + default: &741 value: - id: 197 name: hello_docker @@ -103817,7 +104207,7 @@ paths: application/json: schema: type: array - items: &726 + items: &729 title: Email description: Email type: object @@ -103882,9 +104272,9 @@ paths: application/json: schema: type: array - items: *726 + items: *729 examples: - default: &740 + default: &743 value: - email: octocat@github.com verified: true @@ -103959,7 +104349,7 @@ paths: application/json: schema: type: array - items: *726 + items: *729 examples: default: value: @@ -104215,7 +104605,7 @@ paths: application/json: schema: type: array - items: &727 + items: &730 title: GPG Key description: A unique encryption key type: object @@ -104346,7 +104736,7 @@ paths: - subkeys - revoked examples: - default: &751 + default: &754 value: - id: 3 name: Octocat's GPG Key @@ -104431,9 +104821,9 @@ paths: description: Response content: application/json: - schema: *727 + schema: *730 examples: - default: &728 + default: &731 value: id: 3 name: Octocat's GPG Key @@ -104490,7 +104880,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: - - &729 + - &732 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -104502,9 +104892,9 @@ paths: description: Response content: application/json: - schema: *727 + schema: *730 examples: - default: *728 + default: *731 '404': *6 '304': *37 '403': *29 @@ -104527,7 +104917,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: - - *729 + - *732 responses: '204': description: Response @@ -104718,7 +105108,7 @@ paths: type: array items: *63 examples: - default: *730 + default: *733 headers: Link: *39 '404': *6 @@ -104832,7 +105222,7 @@ paths: required: true content: application/json: - schema: *561 + schema: *564 examples: default: value: @@ -104982,7 +105372,7 @@ paths: application/json: schema: type: array - items: &731 + items: &734 title: Key description: Key type: object @@ -105079,9 +105469,9 @@ paths: description: Response content: application/json: - schema: *731 + schema: *734 examples: - default: &732 + default: &735 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -105114,15 +105504,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: - - *590 + - *593 responses: '200': description: Response content: application/json: - schema: *731 + schema: *734 examples: - default: *732 + default: *735 '404': *6 '304': *37 '403': *29 @@ -105145,7 +105535,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: - - *590 + - *593 responses: '204': description: Response @@ -105178,7 +105568,7 @@ paths: application/json: schema: type: array - items: &733 + items: &736 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -105246,7 +105636,7 @@ paths: - account - plan examples: - default: &734 + default: &737 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -105308,9 +105698,9 @@ paths: application/json: schema: type: array - items: *733 + items: *736 examples: - default: *734 + default: *737 headers: Link: *39 '304': *37 @@ -106305,7 +106695,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - *300 - - *735 + - *738 responses: '204': description: Response @@ -106378,7 +106768,7 @@ paths: type: array items: *58 examples: - default: *736 + default: *739 headers: Link: *39 '304': *37 @@ -106420,7 +106810,7 @@ paths: - docker - nuget - container - - *737 + - *740 - *19 - *17 responses: @@ -106432,8 +106822,8 @@ paths: type: array items: *306 examples: - default: *738 - '400': *739 + default: *741 + '400': *742 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -106462,7 +106852,7 @@ paths: application/json: schema: *306 examples: - default: &752 + default: &755 value: id: 40201 name: octo-name @@ -106915,9 +107305,9 @@ paths: application/json: schema: type: array - items: *726 + items: *729 examples: - default: *740 + default: *743 headers: Link: *39 '304': *37 @@ -107030,7 +107420,7 @@ paths: type: array items: *63 examples: - default: &747 + default: &750 summary: Default response value: - id: 1296269 @@ -107374,9 +107764,9 @@ paths: application/json: schema: type: array - items: *563 + items: *566 examples: - default: *741 + default: *744 headers: Link: *39 '304': *37 @@ -107455,7 +107845,7 @@ paths: application/json: schema: type: array - items: &742 + items: &745 title: Social account description: Social media account type: object @@ -107470,7 +107860,7 @@ paths: - provider - url examples: - default: &743 + default: &746 value: - provider: twitter url: https://twitter.com/github @@ -107532,9 +107922,9 @@ paths: application/json: schema: type: array - items: *742 + items: *745 examples: - default: *743 + default: *746 '422': *15 '304': *37 '404': *6 @@ -107621,7 +108011,7 @@ paths: application/json: schema: type: array - items: &744 + items: &747 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -107641,7 +108031,7 @@ paths: - title - created_at examples: - default: &753 + default: &756 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -107707,9 +108097,9 @@ paths: description: Response content: application/json: - schema: *744 + schema: *747 examples: - default: &745 + default: &748 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -107740,7 +108130,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: - - &746 + - &749 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -107752,9 +108142,9 @@ paths: description: Response content: application/json: - schema: *744 + schema: *747 examples: - default: *745 + default: *748 '404': *6 '304': *37 '403': *29 @@ -107777,7 +108167,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: - - *746 + - *749 responses: '204': description: Response @@ -107806,7 +108196,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: - - &754 + - &757 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 @@ -107831,11 +108221,11 @@ paths: type: array items: *63 examples: - default-response: *747 + default-response: *750 application/vnd.github.v3.star+json: schema: type: array - items: &755 + items: &758 title: Starred Repository description: Starred Repository type: object @@ -108204,10 +108594,10 @@ paths: application/json: schema: oneOf: - - *719 - - *718 + - *722 + - *721 examples: - default-response: &749 + default-response: &752 summary: Default response value: login: octocat @@ -108242,7 +108632,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &750 + response-with-git-hub-plan-information: &753 summary: Response with GitHub plan information value: login: octocat @@ -108302,7 +108692,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *748 + - *751 - *17 responses: '200': @@ -108351,11 +108741,11 @@ paths: application/json: schema: oneOf: - - *719 - - *718 + - *722 + - *721 examples: - default-response: *749 - response-with-git-hub-plan-information: *750 + default-response: *752 + response-with-git-hub-plan-information: *753 '404': *6 x-github: githubCloudOnly: false @@ -108472,7 +108862,7 @@ paths: type: array items: *306 examples: - default: *738 + default: *741 '403': *29 '401': *25 x-github: @@ -108876,9 +109266,9 @@ paths: application/json: schema: type: array - items: *727 + items: *730 examples: - default: *751 + default: *754 headers: Link: *39 x-github: @@ -108982,7 +109372,7 @@ paths: application/json: schema: *22 examples: - default: *560 + default: *563 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -109060,7 +109450,7 @@ paths: type: array items: *58 examples: - default: *736 + default: *739 headers: Link: *39 x-github: @@ -109099,7 +109489,7 @@ paths: - docker - nuget - container - - *737 + - *740 - *218 - *19 - *17 @@ -109112,10 +109502,10 @@ paths: type: array items: *306 examples: - default: *738 + default: *741 '403': *29 '401': *25 - '400': *739 + '400': *742 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -109145,7 +109535,7 @@ paths: application/json: schema: *306 examples: - default: *752 + default: *755 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -109834,9 +110224,9 @@ paths: application/json: schema: type: array - items: *742 + items: *745 examples: - default: *743 + default: *746 headers: Link: *39 x-github: @@ -109866,9 +110256,9 @@ paths: application/json: schema: type: array - items: *744 + items: *747 examples: - default: *753 + default: *756 headers: Link: *39 x-github: @@ -109893,7 +110283,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - *218 - - *754 + - *757 - *86 - *17 - *19 @@ -109905,11 +110295,11 @@ paths: schema: anyOf: - type: array - items: *755 + items: *758 - type: array items: *63 examples: - default-response: *747 + default-response: *750 headers: Link: *39 x-github: @@ -110068,7 +110458,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &756 + enterprise: &759 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -110126,7 +110516,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &757 + installation: &760 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -110145,7 +110535,7 @@ x-webhooks: required: - id - node_id - organization: &758 + organization: &761 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -110205,13 +110595,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &759 + repository: &762 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &796 + properties: &799 id: description: Unique identifier of the repository example: 42 @@ -110894,7 +111284,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &797 + required: &800 - archive_url - assignees_url - blobs_url @@ -111045,10 +111435,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -111124,11 +111514,11 @@ x-webhooks: type: string enum: - created - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 - rule: &760 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 + rule: &763 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) @@ -111351,11 +111741,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 - rule: *760 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 + rule: *763 sender: *4 required: - action @@ -111538,11 +111928,11 @@ x-webhooks: - everyone required: - from - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 - rule: *760 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 + rule: *763 sender: *4 required: - action @@ -111613,7 +112003,7 @@ x-webhooks: required: true content: application/json: - schema: &763 + schema: &766 title: Exemption request cancellation event type: object properties: @@ -111621,11 +112011,11 @@ x-webhooks: type: string enum: - cancelled - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 - exemption_request: &761 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 + exemption_request: &764 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -111850,7 +112240,7 @@ x-webhooks: type: array description: The responses to the exemption request. nullable: true - items: &762 + items: &765 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -111958,7 +112348,7 @@ x-webhooks: required: true content: application/json: - schema: &764 + schema: &767 title: Exemption request completed event type: object properties: @@ -111966,11 +112356,11 @@ x-webhooks: type: string enum: - completed - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 - exemption_request: *761 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 + exemption_request: *764 sender: *4 required: - action @@ -112040,7 +112430,7 @@ x-webhooks: required: true content: application/json: - schema: &765 + schema: &768 title: Exemption request created event type: object properties: @@ -112048,11 +112438,11 @@ x-webhooks: type: string enum: - created - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 - exemption_request: *761 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 + exemption_request: *764 sender: *4 required: - action @@ -112122,7 +112512,7 @@ x-webhooks: required: true content: application/json: - schema: &766 + schema: &769 title: Exemption response dismissed event type: object properties: @@ -112130,12 +112520,12 @@ x-webhooks: type: string enum: - response_dismissed - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 - exemption_request: *761 - exemption_response: *762 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 + exemption_request: *764 + exemption_response: *765 sender: *4 required: - action @@ -112207,7 +112597,7 @@ x-webhooks: required: true content: application/json: - schema: &767 + schema: &770 title: Exemption response submitted event type: object properties: @@ -112215,12 +112605,12 @@ x-webhooks: type: string enum: - response_submitted - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 - exemption_request: *761 - exemption_response: *762 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 + exemption_request: *764 + exemption_response: *765 sender: *4 required: - action @@ -112293,7 +112683,7 @@ x-webhooks: required: true content: application/json: - schema: *763 + schema: *766 responses: '200': description: Return a 200 status to indicate that the data was received @@ -112360,7 +112750,7 @@ x-webhooks: required: true content: application/json: - schema: *764 + schema: *767 responses: '200': description: Return a 200 status to indicate that the data was received @@ -112427,7 +112817,7 @@ x-webhooks: required: true content: application/json: - schema: *765 + schema: *768 responses: '200': description: Return a 200 status to indicate that the data was received @@ -112494,7 +112884,7 @@ x-webhooks: required: true content: application/json: - schema: *766 + schema: *769 responses: '200': description: Return a 200 status to indicate that the data was received @@ -112562,7 +112952,7 @@ x-webhooks: required: true content: application/json: - schema: *767 + schema: *770 responses: '200': description: Return a 200 status to indicate that the data was received @@ -112640,7 +113030,7 @@ x-webhooks: type: string enum: - completed - check_run: &769 + check_run: &772 title: CheckRun description: A check performed on the code of a given code change type: object @@ -112741,7 +113131,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *768 + deployment: *771 details_url: example: https://example.com type: string @@ -112826,9 +113216,9 @@ x-webhooks: - output - app - pull_requests - installation: *757 - organization: *758 - repository: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - check_run @@ -113221,10 +113611,10 @@ x-webhooks: type: string enum: - created - check_run: *769 - installation: *757 - organization: *758 - repository: *759 + check_run: *772 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - check_run @@ -113620,10 +114010,10 @@ x-webhooks: type: string enum: - requested_action - check_run: *769 - installation: *757 - organization: *758 - repository: *759 + check_run: *772 + installation: *760 + organization: *761 + repository: *762 requested_action: description: The action requested by the user. type: object @@ -114028,10 +114418,10 @@ x-webhooks: type: string enum: - rerequested - check_run: *769 - installation: *757 - organization: *758 - repository: *759 + check_run: *772 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - check_run @@ -115008,10 +115398,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -115681,10 +116071,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -116348,10 +116738,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -116659,20 +117049,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &770 + commit_oid: &773 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: *756 - installation: *757 - organization: *758 - ref: &771 + enterprise: *759 + installation: *760 + organization: *761 + ref: &774 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: *759 + repository: *762 sender: *4 required: - action @@ -117064,12 +117454,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *770 - enterprise: *756 - installation: *757 - organization: *758 - ref: *771 - repository: *759 + commit_oid: *773 + enterprise: *759 + installation: *760 + organization: *761 + ref: *774 + repository: *762 sender: *4 required: - action @@ -117332,12 +117722,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *770 - enterprise: *756 - installation: *757 - organization: *758 - ref: *771 - repository: *759 + commit_oid: *773 + enterprise: *759 + installation: *760 + organization: *761 + ref: *774 + repository: *762 sender: *4 required: - action @@ -117666,12 +118056,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *770 - enterprise: *756 - installation: *757 - organization: *758 - ref: *771 - repository: *759 + commit_oid: *773 + enterprise: *759 + installation: *760 + organization: *761 + ref: *774 + repository: *762 sender: *4 required: - action @@ -117936,16 +118326,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *756 - installation: *757 - organization: *758 + enterprise: *759 + installation: *760 + organization: *761 ref: 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 nullable: true - repository: *759 + repository: *762 sender: *4 required: - action @@ -118179,12 +118569,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *770 - enterprise: *756 - installation: *757 - organization: *758 - ref: *771 - repository: *759 + commit_oid: *773 + enterprise: *759 + installation: *760 + organization: *761 + ref: *774 + repository: *762 sender: *4 required: - action @@ -118441,10 +118831,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -118524,18 +118914,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *756 - installation: *757 + enterprise: *759 + installation: *760 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *758 - pusher_type: &772 + organization: *761 + pusher_type: &775 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &773 + ref: &776 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -118545,7 +118935,7 @@ x-webhooks: enum: - tag - branch - repository: *759 + repository: *762 sender: *4 required: - ref @@ -118628,9 +119018,9 @@ x-webhooks: enum: - created definition: *114 - enterprise: *756 - installation: *757 - organization: *758 + enterprise: *759 + installation: *760 + organization: *761 sender: *4 required: - action @@ -118715,9 +119105,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *756 - installation: *757 - organization: *758 + enterprise: *759 + installation: *760 + organization: *761 sender: *4 required: - action @@ -118795,9 +119185,9 @@ x-webhooks: enum: - promote_to_enterprise definition: *114 - enterprise: *756 - installation: *757 - organization: *758 + enterprise: *759 + installation: *760 + organization: *761 sender: *4 required: - action @@ -118875,9 +119265,9 @@ x-webhooks: enum: - updated definition: *114 - enterprise: *756 - installation: *757 - organization: *758 + enterprise: *759 + installation: *760 + organization: *761 sender: *4 required: - action @@ -118954,10 +119344,10 @@ x-webhooks: type: string enum: - updated - enterprise: *756 - installation: *757 - repository: *759 - organization: *758 + enterprise: *759 + installation: *760 + repository: *762 + organization: *761 sender: *4 new_property_values: type: array @@ -119042,18 +119432,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *756 - installation: *757 - organization: *758 - pusher_type: *772 - ref: *773 + enterprise: *759 + installation: *760 + organization: *761 + pusher_type: *775 + ref: *776 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *759 + repository: *762 sender: *4 required: - ref @@ -119138,10 +119528,10 @@ x-webhooks: enum: - auto_dismissed alert: *519 - installation: *757 - organization: *758 - enterprise: *756 - repository: *759 + installation: *760 + organization: *761 + enterprise: *759 + repository: *762 sender: *4 required: - action @@ -119226,10 +119616,10 @@ x-webhooks: enum: - auto_reopened alert: *519 - installation: *757 - organization: *758 - enterprise: *756 - repository: *759 + installation: *760 + organization: *761 + enterprise: *759 + repository: *762 sender: *4 required: - action @@ -119314,10 +119704,10 @@ x-webhooks: enum: - created alert: *519 - installation: *757 - organization: *758 - enterprise: *756 - repository: *759 + installation: *760 + organization: *761 + enterprise: *759 + repository: *762 sender: *4 required: - action @@ -119400,10 +119790,10 @@ x-webhooks: enum: - dismissed alert: *519 - installation: *757 - organization: *758 - enterprise: *756 - repository: *759 + installation: *760 + organization: *761 + enterprise: *759 + repository: *762 sender: *4 required: - action @@ -119486,10 +119876,10 @@ x-webhooks: enum: - fixed alert: *519 - installation: *757 - organization: *758 - enterprise: *756 - repository: *759 + installation: *760 + organization: *761 + enterprise: *759 + repository: *762 sender: *4 required: - action @@ -119573,10 +119963,10 @@ x-webhooks: enum: - reintroduced alert: *519 - installation: *757 - organization: *758 - enterprise: *756 - repository: *759 + installation: *760 + organization: *761 + enterprise: *759 + repository: *762 sender: *4 required: - action @@ -119659,10 +120049,10 @@ x-webhooks: enum: - reopened alert: *519 - installation: *757 - organization: *758 - enterprise: *756 - repository: *759 + installation: *760 + organization: *761 + enterprise: *759 + repository: *762 sender: *4 required: - action @@ -119739,9 +120129,9 @@ x-webhooks: type: string enum: - created - enterprise: *756 - installation: *757 - key: &774 + enterprise: *759 + installation: *760 + key: &777 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -119777,8 +120167,8 @@ x-webhooks: - verified - created_at - read_only - organization: *758 - repository: *759 + organization: *761 + repository: *762 sender: *4 required: - action @@ -119855,11 +120245,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *756 - installation: *757 - key: *774 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + key: *777 + organization: *761 + repository: *762 sender: *4 required: - action @@ -120420,12 +120810,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 - workflow: &778 + workflow: &781 title: Workflow type: object nullable: true @@ -121154,10 +121544,10 @@ x-webhooks: deployment: *525 pull_requests: type: array - items: *610 - repository: *759 - organization: *758 - installation: *757 + items: *613 + repository: *762 + organization: *761 + installation: *760 sender: *4 responses: '200': @@ -121228,7 +121618,7 @@ x-webhooks: type: string enum: - approved - approver: &775 + approver: &778 type: object properties: avatar_url: @@ -121271,11 +121661,11 @@ x-webhooks: type: string comment: type: string - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 - reviewers: &776 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 + reviewers: &779 type: array items: type: object @@ -121354,7 +121744,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &777 + workflow_job_run: &780 type: object properties: conclusion: @@ -122085,18 +122475,18 @@ x-webhooks: type: string enum: - rejected - approver: *775 + approver: *778 comment: type: string - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 - reviewers: *776 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 + reviewers: *779 sender: *4 since: type: string - workflow_job_run: *777 + workflow_job_run: *780 workflow_job_runs: type: array items: @@ -122800,13 +123190,13 @@ x-webhooks: type: string enum: - requested - enterprise: *756 + enterprise: *759 environment: type: string - installation: *757 - organization: *758 - repository: *759 - requestor: &783 + installation: *760 + organization: *761 + repository: *762 + requestor: &786 title: User type: object nullable: true @@ -124705,12 +125095,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 - workflow: *778 + workflow: *781 workflow_run: title: Deployment Workflow Run type: object @@ -125390,7 +125780,7 @@ x-webhooks: type: string enum: - answered - answer: &781 + answer: &784 type: object properties: author_association: @@ -125547,7 +125937,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &779 + discussion: &782 title: Discussion description: A Discussion in a repository. type: object @@ -125833,7 +126223,7 @@ x-webhooks: - id labels: type: array - items: *572 + items: *575 required: - repository_url - category @@ -125855,10 +126245,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -125985,11 +126375,11 @@ x-webhooks: - from required: - category - discussion: *779 - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + discussion: *782 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -126072,11 +126462,11 @@ x-webhooks: type: string enum: - closed - discussion: *779 - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + discussion: *782 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -126158,7 +126548,7 @@ x-webhooks: type: string enum: - created - comment: &780 + comment: &783 type: object properties: author_association: @@ -126315,11 +126705,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *779 - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + discussion: *782 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -126402,12 +126792,12 @@ x-webhooks: type: string enum: - deleted - comment: *780 - discussion: *779 - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + comment: *783 + discussion: *782 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -126502,12 +126892,12 @@ x-webhooks: - from required: - body - comment: *780 - discussion: *779 - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + comment: *783 + discussion: *782 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -126591,11 +126981,11 @@ x-webhooks: type: string enum: - created - discussion: *779 - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + discussion: *782 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -126677,11 +127067,11 @@ x-webhooks: type: string enum: - deleted - discussion: *779 - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + discussion: *782 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -126781,11 +127171,11 @@ x-webhooks: type: string required: - from - discussion: *779 - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + discussion: *782 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -126867,10 +127257,10 @@ x-webhooks: type: string enum: - labeled - discussion: *779 - enterprise: *756 - installation: *757 - label: &782 + discussion: *782 + enterprise: *759 + installation: *760 + label: &785 title: Label type: object properties: @@ -126902,8 +127292,8 @@ x-webhooks: - color - default - description - organization: *758 - repository: *759 + organization: *761 + repository: *762 sender: *4 required: - action @@ -126986,11 +127376,11 @@ x-webhooks: type: string enum: - locked - discussion: *779 - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + discussion: *782 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -127072,11 +127462,11 @@ x-webhooks: type: string enum: - pinned - discussion: *779 - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + discussion: *782 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -127158,11 +127548,11 @@ x-webhooks: type: string enum: - reopened - discussion: *779 - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + discussion: *782 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -127247,16 +127637,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *779 - new_repository: *759 + new_discussion: *782 + new_repository: *762 required: - new_discussion - new_repository - discussion: *779 - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + discussion: *782 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -127339,10 +127729,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *779 - old_answer: *781 - organization: *758 - repository: *759 + discussion: *782 + old_answer: *784 + organization: *761 + repository: *762 sender: *4 required: - action @@ -127424,12 +127814,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *779 - enterprise: *756 - installation: *757 - label: *782 - organization: *758 - repository: *759 + discussion: *782 + enterprise: *759 + installation: *760 + label: *785 + organization: *761 + repository: *762 sender: *4 required: - action @@ -127512,11 +127902,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *779 - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + discussion: *782 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -127598,11 +127988,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *779 - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + discussion: *782 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -127674,7 +128064,7 @@ x-webhooks: required: true content: application/json: - schema: *765 + schema: *768 responses: '200': description: Return a 200 status to indicate that the data was received @@ -127740,7 +128130,7 @@ x-webhooks: required: true content: application/json: - schema: *767 + schema: *770 responses: '200': description: Return a 200 status to indicate that the data was received @@ -127806,7 +128196,7 @@ x-webhooks: required: true content: application/json: - schema: *763 + schema: *766 responses: '200': description: Return a 200 status to indicate that the data was received @@ -127872,7 +128262,7 @@ x-webhooks: required: true content: application/json: - schema: *764 + schema: *767 responses: '200': description: Return a 200 status to indicate that the data was received @@ -127938,7 +128328,7 @@ x-webhooks: required: true content: application/json: - schema: *765 + schema: *768 responses: '200': description: Return a 200 status to indicate that the data was received @@ -128004,7 +128394,7 @@ x-webhooks: required: true content: application/json: - schema: *766 + schema: *769 responses: '200': description: Return a 200 status to indicate that the data was received @@ -128070,7 +128460,7 @@ x-webhooks: required: true content: application/json: - schema: *767 + schema: *770 responses: '200': description: Return a 200 status to indicate that the data was received @@ -128137,7 +128527,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *756 + enterprise: *759 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -128797,9 +129187,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *757 - organization: *758 - repository: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - forkee @@ -128945,9 +129335,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *756 - installation: *757 - organization: *758 + enterprise: *759 + installation: *760 + organization: *761 pages: description: The pages that were updated. type: array @@ -128984,7 +129374,7 @@ x-webhooks: - action - sha - html_url - repository: *759 + repository: *762 sender: *4 required: - pages @@ -129060,10 +129450,10 @@ x-webhooks: type: string enum: - created - enterprise: *756 + enterprise: *759 installation: *22 - organization: *758 - repositories: &784 + organization: *761 + repositories: &787 description: An array of repository objects that the installation can access. type: array @@ -129089,8 +129479,8 @@ x-webhooks: - name - full_name - private - repository: *759 - requester: *783 + repository: *762 + requester: *786 sender: *4 required: - action @@ -129165,11 +129555,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *756 + enterprise: *759 installation: *22 - organization: *758 - repositories: *784 - repository: *759 + organization: *761 + repositories: *787 + repository: *762 requester: nullable: true sender: *4 @@ -129245,11 +129635,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *756 + enterprise: *759 installation: *22 - organization: *758 - repositories: *784 - repository: *759 + organization: *761 + repositories: *787 + repository: *762 requester: nullable: true sender: *4 @@ -129325,10 +129715,10 @@ x-webhooks: type: string enum: - added - enterprise: *756 + enterprise: *759 installation: *22 - organization: *758 - repositories_added: &785 + organization: *761 + repositories_added: &788 description: An array of repository objects, which were added to the installation. type: array @@ -129374,15 +129764,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *759 - repository_selection: &786 + repository: *762 + repository_selection: &789 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *783 + requester: *786 sender: *4 required: - action @@ -129461,10 +129851,10 @@ x-webhooks: type: string enum: - removed - enterprise: *756 + enterprise: *759 installation: *22 - organization: *758 - repositories_added: *785 + organization: *761 + repositories_added: *788 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -129491,9 +129881,9 @@ x-webhooks: - name - full_name - private - repository: *759 - repository_selection: *786 - requester: *783 + repository: *762 + repository_selection: *789 + requester: *786 sender: *4 required: - action @@ -129572,11 +129962,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *756 + enterprise: *759 installation: *22 - organization: *758 - repositories: *784 - repository: *759 + organization: *761 + repositories: *787 + repository: *762 requester: nullable: true sender: *4 @@ -129755,10 +130145,10 @@ x-webhooks: type: string required: - from - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 target_type: type: string @@ -129837,11 +130227,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *756 + enterprise: *759 installation: *22 - organization: *758 - repositories: *784 - repository: *759 + organization: *761 + repositories: *787 + repository: *762 requester: nullable: true sender: *4 @@ -130093,8 +130483,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *756 - installation: *757 + enterprise: *759 + installation: *760 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -131250,8 +131640,8 @@ x-webhooks: - state - locked - assignee - organization: *758 - repository: *759 + organization: *761 + repository: *762 sender: *4 required: - action @@ -131331,7 +131721,7 @@ x-webhooks: type: string enum: - deleted - comment: &787 + comment: &790 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -131496,8 +131886,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *756 - installation: *757 + enterprise: *759 + installation: *760 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -132651,8 +133041,8 @@ x-webhooks: - state - locked - assignee - organization: *758 - repository: *759 + organization: *761 + repository: *762 sender: *4 required: - action @@ -132732,7 +133122,7 @@ x-webhooks: type: string enum: - edited - changes: &815 + changes: &818 description: The changes to the comment. type: object properties: @@ -132744,9 +133134,9 @@ x-webhooks: type: string required: - from - comment: *787 - enterprise: *756 - installation: *757 + comment: *790 + enterprise: *759 + installation: *760 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -133901,8 +134291,8 @@ x-webhooks: - state - locked - assignee - organization: *758 - repository: *759 + organization: *761 + repository: *762 sender: *4 required: - action @@ -133984,10 +134374,10 @@ x-webhooks: type: string enum: - assigned - assignee: *783 - enterprise: *756 - installation: *757 - issue: &790 + assignee: *786 + enterprise: *759 + installation: *760 + issue: &793 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -134906,8 +135296,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *758 - repository: *759 + organization: *761 + repository: *762 sender: *4 required: - action @@ -134987,8 +135377,8 @@ x-webhooks: type: string enum: - closed - enterprise: *756 - installation: *757 + enterprise: *759 + installation: *760 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -136047,8 +136437,8 @@ x-webhooks: required: - state - closed_at - organization: *758 - repository: *759 + organization: *761 + repository: *762 sender: *4 required: - action @@ -136127,8 +136517,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *756 - installation: *757 + enterprise: *759 + installation: *760 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -137040,8 +137430,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *758 - repository: *759 + organization: *761 + repository: *762 sender: *4 required: - action @@ -137120,8 +137510,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *756 - installation: *757 + enterprise: *759 + installation: *760 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -138036,7 +138426,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &788 + milestone: &791 title: Milestone description: A collection of related issues and pull requests. type: object @@ -138174,8 +138564,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *758 - repository: *759 + organization: *761 + repository: *762 sender: *4 required: - action @@ -138274,8 +138664,8 @@ x-webhooks: type: string required: - from - enterprise: *756 - installation: *757 + enterprise: *759 + installation: *760 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -139194,9 +139584,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *782 - organization: *758 - repository: *759 + label: *785 + organization: *761 + repository: *762 sender: *4 required: - action @@ -139276,8 +139666,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *756 - installation: *757 + enterprise: *759 + installation: *760 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -140195,9 +140585,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *782 - organization: *758 - repository: *759 + label: *785 + organization: *761 + repository: *762 sender: *4 required: - action @@ -140277,8 +140667,8 @@ x-webhooks: type: string enum: - locked - enterprise: *756 - installation: *757 + enterprise: *759 + installation: *760 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -141197,8 +141587,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *758 - repository: *759 + organization: *761 + repository: *762 sender: *4 required: - action @@ -141277,8 +141667,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *756 - installation: *757 + enterprise: *759 + installation: *760 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -142191,9 +142581,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *788 - organization: *758 - repository: *759 + milestone: *791 + organization: *761 + repository: *762 sender: *4 required: - action @@ -143654,8 +144044,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *756 - installation: *757 + enterprise: *759 + installation: *760 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -144573,8 +144963,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *758 - repository: *759 + organization: *761 + repository: *762 sender: *4 required: - action @@ -144654,9 +145044,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *756 - installation: *757 - issue: &789 + enterprise: *759 + installation: *760 + issue: &792 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -145568,8 +145958,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *758 - repository: *759 + organization: *761 + repository: *762 sender: *4 required: - action @@ -145648,8 +146038,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *756 - installation: *757 + enterprise: *759 + installation: *760 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -146567,8 +146957,8 @@ x-webhooks: user_view_type: type: string type: *288 - organization: *758 - repository: *759 + organization: *761 + repository: *762 sender: *4 required: - action @@ -148031,11 +148421,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *756 - installation: *757 - issue: *789 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + issue: *792 + organization: *761 + repository: *762 sender: *4 required: - action @@ -148115,12 +148505,12 @@ x-webhooks: type: string enum: - typed - enterprise: *756 - installation: *757 - issue: *790 + enterprise: *759 + installation: *760 + issue: *793 type: *288 - organization: *758 - repository: *759 + organization: *761 + repository: *762 sender: *4 required: - action @@ -148201,7 +148591,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &818 + assignee: &821 title: User type: object nullable: true @@ -148271,11 +148661,11 @@ x-webhooks: required: - login - id - enterprise: *756 - installation: *757 - issue: *790 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + issue: *793 + organization: *761 + repository: *762 sender: *4 required: - action @@ -148354,12 +148744,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *756 - installation: *757 - issue: *790 - label: *782 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + issue: *793 + label: *785 + organization: *761 + repository: *762 sender: *4 required: - action @@ -148439,8 +148829,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *756 - installation: *757 + enterprise: *759 + installation: *760 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -149357,8 +149747,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *758 - repository: *759 + organization: *761 + repository: *762 sender: *4 required: - action @@ -149438,11 +149828,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *756 - installation: *757 - issue: *789 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + issue: *792 + organization: *761 + repository: *762 sender: *4 required: - action @@ -149521,12 +149911,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *756 - installation: *757 - issue: *790 + enterprise: *759 + installation: *760 + issue: *793 type: *288 - organization: *758 - repository: *759 + organization: *761 + repository: *762 sender: *4 required: - action @@ -149606,11 +149996,11 @@ x-webhooks: type: string enum: - created - enterprise: *756 - installation: *757 - label: *782 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + label: *785 + organization: *761 + repository: *762 sender: *4 required: - action @@ -149688,11 +150078,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *756 - installation: *757 - label: *782 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + label: *785 + organization: *761 + repository: *762 sender: *4 required: - action @@ -149802,11 +150192,11 @@ x-webhooks: type: string required: - from - enterprise: *756 - installation: *757 - label: *782 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + label: *785 + organization: *761 + repository: *762 sender: *4 required: - action @@ -149888,9 +150278,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *756 - installation: *757 - marketplace_purchase: &791 + enterprise: *759 + installation: *760 + marketplace_purchase: &794 title: Marketplace Purchase type: object required: @@ -149973,8 +150363,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *758 - previous_marketplace_purchase: &792 + organization: *761 + previous_marketplace_purchase: &795 title: Marketplace Purchase type: object properties: @@ -150054,7 +150444,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *759 + repository: *762 sender: *4 required: - action @@ -150134,10 +150524,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *756 - installation: *757 - marketplace_purchase: *791 - organization: *758 + enterprise: *759 + installation: *760 + marketplace_purchase: *794 + organization: *761 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -150220,7 +150610,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *759 + repository: *762 sender: *4 required: - action @@ -150302,10 +150692,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *756 - installation: *757 - marketplace_purchase: *791 - organization: *758 + enterprise: *759 + installation: *760 + marketplace_purchase: *794 + organization: *761 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -150387,7 +150777,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *759 + repository: *762 sender: *4 required: - action @@ -150468,8 +150858,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *756 - installation: *757 + enterprise: *759 + installation: *760 marketplace_purchase: title: Marketplace Purchase type: object @@ -150551,9 +150941,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *758 - previous_marketplace_purchase: *792 - repository: *759 + organization: *761 + previous_marketplace_purchase: *795 + repository: *762 sender: *4 required: - action @@ -150633,12 +151023,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *756 - installation: *757 - marketplace_purchase: *791 - organization: *758 - previous_marketplace_purchase: *792 - repository: *759 + enterprise: *759 + installation: *760 + marketplace_purchase: *794 + organization: *761 + previous_marketplace_purchase: *795 + repository: *762 sender: *4 required: - action @@ -150740,11 +151130,11 @@ x-webhooks: type: string required: - to - enterprise: *756 - installation: *757 - member: *783 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + member: *786 + organization: *761 + repository: *762 sender: *4 required: - action @@ -150844,11 +151234,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *756 - installation: *757 - member: *783 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + member: *786 + organization: *761 + repository: *762 sender: *4 required: - action @@ -150927,11 +151317,11 @@ x-webhooks: type: string enum: - removed - enterprise: *756 - installation: *757 - member: *783 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + member: *786 + organization: *761 + repository: *762 sender: *4 required: - action @@ -151009,11 +151399,11 @@ x-webhooks: type: string enum: - added - enterprise: *756 - installation: *757 - member: *783 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + member: *786 + organization: *761 + repository: *762 scope: description: The scope of the membership. Currently, can only be `team`. @@ -151089,7 +151479,7 @@ x-webhooks: required: - login - id - team: &793 + team: &796 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -151279,11 +151669,11 @@ x-webhooks: type: string enum: - removed - enterprise: *756 - installation: *757 - member: *783 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + member: *786 + organization: *761 + repository: *762 scope: description: The scope of the membership. Currently, can only be `team`. @@ -151360,7 +151750,7 @@ x-webhooks: required: - login - id - team: *793 + team: *796 required: - action - scope @@ -151442,8 +151832,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *757 - merge_group: &795 + installation: *760 + merge_group: &798 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -151462,15 +151852,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *794 + head_commit: *797 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *758 - repository: *759 + organization: *761 + repository: *762 sender: *4 required: - action @@ -151556,10 +151946,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *757 - merge_group: *795 - organization: *758 - repository: *759 + installation: *760 + merge_group: *798 + organization: *761 + repository: *762 sender: *4 required: - action @@ -151632,7 +152022,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *756 + enterprise: *759 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -151740,16 +152130,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *757 - organization: *758 + installation: *760 + organization: *761 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *796 - required: *797 + properties: *799 + required: *800 nullable: true sender: *4 required: @@ -151830,11 +152220,11 @@ x-webhooks: type: string enum: - closed - enterprise: *756 - installation: *757 - milestone: *788 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + milestone: *791 + organization: *761 + repository: *762 sender: *4 required: - action @@ -151913,9 +152303,9 @@ x-webhooks: type: string enum: - created - enterprise: *756 - installation: *757 - milestone: &798 + enterprise: *759 + installation: *760 + milestone: &801 title: Milestone description: A collection of related issues and pull requests. type: object @@ -152052,8 +152442,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *758 - repository: *759 + organization: *761 + repository: *762 sender: *4 required: - action @@ -152132,11 +152522,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *756 - installation: *757 - milestone: *788 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + milestone: *791 + organization: *761 + repository: *762 sender: *4 required: - action @@ -152246,11 +152636,11 @@ x-webhooks: type: string required: - from - enterprise: *756 - installation: *757 - milestone: *788 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + milestone: *791 + organization: *761 + repository: *762 sender: *4 required: - action @@ -152330,11 +152720,11 @@ x-webhooks: type: string enum: - opened - enterprise: *756 - installation: *757 - milestone: *798 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + milestone: *801 + organization: *761 + repository: *762 sender: *4 required: - action @@ -152413,11 +152803,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *783 - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + blocked_user: *786 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -152496,11 +152886,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *783 - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + blocked_user: *786 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -152579,9 +152969,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *756 - installation: *757 - membership: &799 + enterprise: *759 + installation: *760 + membership: &802 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -152673,8 +153063,8 @@ x-webhooks: - role - organization_url - user - organization: *758 - repository: *759 + organization: *761 + repository: *762 sender: *4 required: - action @@ -152752,11 +153142,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *756 - installation: *757 - membership: *799 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + membership: *802 + organization: *761 + repository: *762 sender: *4 required: - action @@ -152835,8 +153225,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *756 - installation: *757 + enterprise: *759 + installation: *760 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -152952,10 +153342,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *758 - repository: *759 + organization: *761 + repository: *762 sender: *4 - user: *783 + user: *786 required: - action - invitation @@ -153033,11 +153423,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *756 - installation: *757 - membership: *799 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + membership: *802 + organization: *761 + repository: *762 sender: *4 required: - action @@ -153124,11 +153514,11 @@ x-webhooks: properties: from: type: string - enterprise: *756 - installation: *757 - membership: *799 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + membership: *802 + organization: *761 + repository: *762 sender: *4 required: - action @@ -153204,9 +153594,9 @@ x-webhooks: type: string enum: - published - enterprise: *756 - installation: *757 - organization: *758 + enterprise: *759 + installation: *760 + organization: *761 package: description: Information about the package. type: object @@ -153705,7 +154095,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &800 + items: &803 title: Ruby Gems metadata type: object properties: @@ -153800,7 +154190,7 @@ x-webhooks: - owner - package_version - registry - repository: *759 + repository: *762 sender: *4 required: - action @@ -153876,9 +154266,9 @@ x-webhooks: type: string enum: - updated - enterprise: *756 - installation: *757 - organization: *758 + enterprise: *759 + installation: *760 + organization: *761 package: description: Information about the package. type: object @@ -154231,7 +154621,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *800 + items: *803 source_url: type: string format: uri @@ -154301,7 +154691,7 @@ x-webhooks: - owner - package_version - registry - repository: *759 + repository: *762 sender: *4 required: - action @@ -154478,12 +154868,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *756 + enterprise: *759 id: type: integer - installation: *757 - organization: *758 - repository: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - id @@ -154560,7 +154950,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &801 + personal_access_token_request: &804 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -154706,10 +155096,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *756 - organization: *758 + enterprise: *759 + organization: *761 sender: *4 - installation: *757 + installation: *760 required: - action - personal_access_token_request @@ -154786,11 +155176,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *801 - enterprise: *756 - organization: *758 + personal_access_token_request: *804 + enterprise: *759 + organization: *761 sender: *4 - installation: *757 + installation: *760 required: - action - personal_access_token_request @@ -154866,11 +155256,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *801 - enterprise: *756 - organization: *758 + personal_access_token_request: *804 + enterprise: *759 + organization: *761 sender: *4 - installation: *757 + installation: *760 required: - action - personal_access_token_request @@ -154945,11 +155335,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *801 - organization: *758 - enterprise: *756 + personal_access_token_request: *804 + organization: *761 + enterprise: *759 sender: *4 - installation: *757 + installation: *760 required: - action - personal_access_token_request @@ -155054,7 +155444,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *802 + last_response: *805 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -155086,8 +155476,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *758 - repository: *759 + organization: *761 + repository: *762 sender: *4 zen: description: Random string of GitHub zen. @@ -155332,10 +155722,10 @@ x-webhooks: - from required: - note - enterprise: *756 - installation: *757 - organization: *758 - project_card: &803 + enterprise: *759 + installation: *760 + organization: *761 + project_card: &806 title: Project Card type: object properties: @@ -155454,7 +155844,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *759 + repository: *762 sender: *4 required: - action @@ -155535,11 +155925,11 @@ x-webhooks: type: string enum: - created - enterprise: *756 - installation: *757 - organization: *758 - project_card: *803 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + project_card: *806 + repository: *762 sender: *4 required: - action @@ -155619,9 +156009,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *756 - installation: *757 - organization: *758 + enterprise: *759 + installation: *760 + organization: *761 project_card: title: Project Card type: object @@ -155749,8 +156139,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *796 - required: *797 + properties: *799 + required: *800 nullable: true sender: *4 required: @@ -155844,11 +156234,11 @@ x-webhooks: - from required: - note - enterprise: *756 - installation: *757 - organization: *758 - project_card: *803 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + project_card: *806 + repository: *762 sender: *4 required: - action @@ -155942,9 +156332,9 @@ x-webhooks: - from required: - column_id - enterprise: *756 - installation: *757 - organization: *758 + enterprise: *759 + installation: *760 + organization: *761 project_card: allOf: - title: Project Card @@ -156134,7 +156524,7 @@ x-webhooks: type: string required: - after_id - repository: *759 + repository: *762 sender: *4 required: - action @@ -156214,10 +156604,10 @@ x-webhooks: type: string enum: - closed - enterprise: *756 - installation: *757 - organization: *758 - project: &805 + enterprise: *759 + installation: *760 + organization: *761 + project: &808 title: Project type: object properties: @@ -156341,7 +156731,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *759 + repository: *762 sender: *4 required: - action @@ -156421,10 +156811,10 @@ x-webhooks: type: string enum: - created - enterprise: *756 - installation: *757 - organization: *758 - project_column: &804 + enterprise: *759 + installation: *760 + organization: *761 + project_column: &807 title: Project Column type: object properties: @@ -156463,7 +156853,7 @@ x-webhooks: - name - created_at - updated_at - repository: *759 + repository: *762 sender: *4 required: - action @@ -156542,18 +156932,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *756 - installation: *757 - organization: *758 - project_column: *804 + enterprise: *759 + installation: *760 + organization: *761 + project_column: *807 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *796 - required: *797 + properties: *799 + required: *800 nullable: true sender: *4 required: @@ -156643,11 +157033,11 @@ x-webhooks: type: string required: - from - enterprise: *756 - installation: *757 - organization: *758 - project_column: *804 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + project_column: *807 + repository: *762 sender: *4 required: - action @@ -156727,11 +157117,11 @@ x-webhooks: type: string enum: - moved - enterprise: *756 - installation: *757 - organization: *758 - project_column: *804 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + project_column: *807 + repository: *762 sender: *4 required: - action @@ -156811,11 +157201,11 @@ x-webhooks: type: string enum: - created - enterprise: *756 - installation: *757 - organization: *758 - project: *805 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + project: *808 + repository: *762 sender: *4 required: - action @@ -156895,18 +157285,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *756 - installation: *757 - organization: *758 - project: *805 + enterprise: *759 + installation: *760 + organization: *761 + project: *808 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *796 - required: *797 + properties: *799 + required: *800 nullable: true sender: *4 required: @@ -157008,11 +157398,11 @@ x-webhooks: type: string required: - from - enterprise: *756 - installation: *757 - organization: *758 - project: *805 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + project: *808 + repository: *762 sender: *4 required: - action @@ -157091,11 +157481,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *756 - installation: *757 - organization: *758 - project: *805 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + project: *808 + repository: *762 sender: *4 required: - action @@ -157176,9 +157566,9 @@ x-webhooks: type: string enum: - closed - installation: *757 - organization: *758 - projects_v2: &806 + installation: *760 + organization: *761 + projects_v2: &809 title: Projects v2 Project description: A projects v2 project type: object @@ -157321,9 +157711,9 @@ x-webhooks: type: string enum: - created - installation: *757 - organization: *758 - projects_v2: *806 + installation: *760 + organization: *761 + projects_v2: *809 sender: *4 required: - action @@ -157404,9 +157794,9 @@ x-webhooks: type: string enum: - deleted - installation: *757 - organization: *758 - projects_v2: *806 + installation: *760 + organization: *761 + projects_v2: *809 sender: *4 required: - action @@ -157523,9 +157913,9 @@ x-webhooks: type: string to: type: string - installation: *757 - organization: *758 - projects_v2: *806 + installation: *760 + organization: *761 + projects_v2: *809 sender: *4 required: - action @@ -157608,7 +157998,7 @@ x-webhooks: type: string enum: - archived - changes: &810 + changes: &813 type: object properties: archived_at: @@ -157622,9 +158012,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *757 - organization: *758 - projects_v2_item: &807 + installation: *760 + organization: *761 + projects_v2_item: &810 title: Projects v2 Item description: An item belonging to a project type: object @@ -157758,9 +158148,9 @@ x-webhooks: nullable: true to: type: string - installation: *757 - organization: *758 - projects_v2_item: *807 + installation: *760 + organization: *761 + projects_v2_item: *810 sender: *4 required: - action @@ -157842,9 +158232,9 @@ x-webhooks: type: string enum: - created - installation: *757 - organization: *758 - projects_v2_item: *807 + installation: *760 + organization: *761 + projects_v2_item: *810 sender: *4 required: - action @@ -157925,9 +158315,9 @@ x-webhooks: type: string enum: - deleted - installation: *757 - organization: *758 - projects_v2_item: *807 + installation: *760 + organization: *761 + projects_v2_item: *810 sender: *4 required: - action @@ -158033,7 +158423,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &808 + - &811 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -158051,7 +158441,7 @@ x-webhooks: required: - id - name - - &809 + - &812 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -158074,8 +158464,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *808 - - *809 + - *811 + - *812 required: - field_value - type: object @@ -158091,9 +158481,9 @@ x-webhooks: nullable: true required: - body - installation: *757 - organization: *758 - projects_v2_item: *807 + installation: *760 + organization: *761 + projects_v2_item: *810 sender: *4 required: - action @@ -158188,9 +158578,9 @@ x-webhooks: to: type: string nullable: true - installation: *757 - organization: *758 - projects_v2_item: *807 + installation: *760 + organization: *761 + projects_v2_item: *810 sender: *4 required: - action @@ -158273,10 +158663,10 @@ x-webhooks: type: string enum: - restored - changes: *810 - installation: *757 - organization: *758 - projects_v2_item: *807 + changes: *813 + installation: *760 + organization: *761 + projects_v2_item: *810 sender: *4 required: - action @@ -158358,9 +158748,9 @@ x-webhooks: type: string enum: - reopened - installation: *757 - organization: *758 - projects_v2: *806 + installation: *760 + organization: *761 + projects_v2: *809 sender: *4 required: - action @@ -158441,9 +158831,9 @@ x-webhooks: type: string enum: - created - installation: *757 - organization: *758 - projects_v2_status_update: &811 + installation: *760 + organization: *761 + projects_v2_status_update: &814 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -158570,9 +158960,9 @@ x-webhooks: type: string enum: - deleted - installation: *757 - organization: *758 - projects_v2_status_update: *811 + installation: *760 + organization: *761 + projects_v2_status_update: *814 sender: *4 required: - action @@ -158708,9 +159098,9 @@ x-webhooks: type: string format: date nullable: true - installation: *757 - organization: *758 - projects_v2_status_update: *811 + installation: *760 + organization: *761 + projects_v2_status_update: *814 sender: *4 required: - action @@ -158781,10 +159171,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - repository @@ -158861,13 +159251,13 @@ x-webhooks: type: string enum: - assigned - assignee: *783 - enterprise: *756 - installation: *757 - number: &812 + assignee: *786 + enterprise: *759 + installation: *760 + number: &815 description: The pull request number. type: integer - organization: *758 + organization: *761 pull_request: title: Pull Request type: object @@ -161150,7 +161540,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *759 + repository: *762 sender: *4 required: - action @@ -161232,11 +161622,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *756 - installation: *757 + enterprise: *759 + installation: *760 number: type: integer - organization: *758 + organization: *761 pull_request: title: Pull Request type: object @@ -163514,7 +163904,7 @@ x-webhooks: - draft reason: type: string - repository: *759 + repository: *762 sender: *4 required: - action @@ -163596,11 +163986,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *756 - installation: *757 + enterprise: *759 + installation: *760 number: type: integer - organization: *758 + organization: *761 pull_request: title: Pull Request type: object @@ -165878,7 +166268,7 @@ x-webhooks: - draft reason: type: string - repository: *759 + repository: *762 sender: *4 required: - action @@ -165960,13 +166350,13 @@ x-webhooks: type: string enum: - closed - enterprise: *756 - installation: *757 - number: *812 - organization: *758 - pull_request: &813 + enterprise: *759 + installation: *760 + number: *815 + organization: *761 + pull_request: &816 allOf: - - *610 + - *613 - type: object properties: allow_auto_merge: @@ -166028,7 +166418,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *759 + repository: *762 sender: *4 required: - action @@ -166109,12 +166499,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *756 - installation: *757 - number: *812 - organization: *758 - pull_request: *813 - repository: *759 + enterprise: *759 + installation: *760 + number: *815 + organization: *761 + pull_request: *816 + repository: *762 sender: *4 required: - action @@ -166194,11 +166584,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *756 - milestone: *593 - number: *812 - organization: *758 - pull_request: &814 + enterprise: *759 + milestone: *596 + number: *815 + organization: *761 + pull_request: &817 title: Pull Request type: object properties: @@ -168461,7 +168851,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *759 + repository: *762 sender: *4 required: - action @@ -168540,11 +168930,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *756 - installation: *757 + enterprise: *759 + installation: *760 number: type: integer - organization: *758 + organization: *761 pull_request: title: Pull Request type: object @@ -170826,7 +171216,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *759 + repository: *762 sender: *4 required: - action @@ -170950,12 +171340,12 @@ x-webhooks: type: string required: - from - enterprise: *756 - installation: *757 - number: *812 - organization: *758 - pull_request: *813 - repository: *759 + enterprise: *759 + installation: *760 + number: *815 + organization: *761 + pull_request: *816 + repository: *762 sender: *4 required: - action @@ -171035,11 +171425,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *756 - installation: *757 + enterprise: *759 + installation: *760 number: type: integer - organization: *758 + organization: *761 pull_request: title: Pull Request type: object @@ -173306,7 +173696,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *759 + repository: *762 sender: *4 required: - action @@ -173386,11 +173776,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *756 - installation: *757 - label: *782 - number: *812 - organization: *758 + enterprise: *759 + installation: *760 + label: *785 + number: *815 + organization: *761 pull_request: title: Pull Request type: object @@ -175672,7 +176062,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *759 + repository: *762 sender: *4 required: - action @@ -175753,10 +176143,10 @@ x-webhooks: type: string enum: - locked - enterprise: *756 - installation: *757 - number: *812 - organization: *758 + enterprise: *759 + installation: *760 + number: *815 + organization: *761 pull_request: title: Pull Request type: object @@ -178036,7 +178426,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *759 + repository: *762 sender: *4 required: - action @@ -178116,12 +178506,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *756 - milestone: *593 - number: *812 - organization: *758 - pull_request: *814 - repository: *759 + enterprise: *759 + milestone: *596 + number: *815 + organization: *761 + pull_request: *817 + repository: *762 sender: *4 required: - action @@ -178200,12 +178590,12 @@ x-webhooks: type: string enum: - opened - enterprise: *756 - installation: *757 - number: *812 - organization: *758 - pull_request: *813 - repository: *759 + enterprise: *759 + installation: *760 + number: *815 + organization: *761 + pull_request: *816 + repository: *762 sender: *4 required: - action @@ -178286,12 +178676,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *756 - installation: *757 - number: *812 - organization: *758 - pull_request: *813 - repository: *759 + enterprise: *759 + installation: *760 + number: *815 + organization: *761 + pull_request: *816 + repository: *762 sender: *4 required: - action @@ -178371,12 +178761,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *756 - installation: *757 - number: *812 - organization: *758 - pull_request: *813 - repository: *759 + enterprise: *759 + installation: *760 + number: *815 + organization: *761 + pull_request: *816 + repository: *762 sender: *4 required: - action @@ -178742,9 +179132,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *756 - installation: *757 - organization: *758 + enterprise: *759 + installation: *760 + organization: *761 pull_request: type: object properties: @@ -180914,7 +181304,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *759 + repository: *762 sender: *4 required: - action @@ -180994,7 +181384,7 @@ x-webhooks: type: string enum: - deleted - comment: &816 + comment: &819 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. @@ -181279,9 +181669,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *756 - installation: *757 - organization: *758 + enterprise: *759 + installation: *760 + organization: *761 pull_request: type: object properties: @@ -183439,7 +183829,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *759 + repository: *762 sender: *4 required: - action @@ -183519,11 +183909,11 @@ x-webhooks: type: string enum: - edited - changes: *815 - comment: *816 - enterprise: *756 - installation: *757 - organization: *758 + changes: *818 + comment: *819 + enterprise: *759 + installation: *760 + organization: *761 pull_request: type: object properties: @@ -185684,7 +186074,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *759 + repository: *762 sender: *4 required: - action @@ -185765,9 +186155,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *756 - installation: *757 - organization: *758 + enterprise: *759 + installation: *760 + organization: *761 pull_request: title: Simple Pull Request type: object @@ -187940,7 +188330,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *759 + repository: *762 review: description: The review that was affected. type: object @@ -188183,9 +188573,9 @@ x-webhooks: type: string required: - from - enterprise: *756 - installation: *757 - organization: *758 + enterprise: *759 + installation: *760 + organization: *761 pull_request: title: Simple Pull Request type: object @@ -190239,8 +190629,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *759 - review: &817 + repository: *762 + review: &820 description: The review that was affected. type: object properties: @@ -190469,12 +190859,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *756 - installation: *757 + enterprise: *759 + installation: *760 number: description: The pull request number. type: integer - organization: *758 + organization: *761 pull_request: title: Pull Request type: object @@ -192757,7 +193147,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *759 + repository: *762 requested_reviewer: title: User type: object @@ -192841,12 +193231,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *756 - installation: *757 + enterprise: *759 + installation: *760 number: description: The pull request number. type: integer - organization: *758 + organization: *761 pull_request: title: Pull Request type: object @@ -195136,7 +195526,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *759 + repository: *762 requested_team: title: Team description: Groups of organization members that gives permissions @@ -195328,12 +195718,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *756 - installation: *757 + enterprise: *759 + installation: *760 number: description: The pull request number. type: integer - organization: *758 + organization: *761 pull_request: title: Pull Request type: object @@ -197618,7 +198008,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *759 + repository: *762 requested_reviewer: title: User type: object @@ -197703,12 +198093,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *756 - installation: *757 + enterprise: *759 + installation: *760 number: description: The pull request number. type: integer - organization: *758 + organization: *761 pull_request: title: Pull Request type: object @@ -199984,7 +200374,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *759 + repository: *762 requested_team: title: Team description: Groups of organization members that gives permissions @@ -200165,9 +200555,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *756 - installation: *757 - organization: *758 + enterprise: *759 + installation: *760 + organization: *761 pull_request: title: Simple Pull Request type: object @@ -202342,8 +202732,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *759 - review: *817 + repository: *762 + review: *820 sender: *4 required: - action @@ -202423,9 +202813,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *756 - installation: *757 - organization: *758 + enterprise: *759 + installation: *760 + organization: *761 pull_request: title: Simple Pull Request type: object @@ -204495,7 +204885,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *759 + repository: *762 sender: *4 thread: type: object @@ -204878,9 +205268,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *756 - installation: *757 - organization: *758 + enterprise: *759 + installation: *760 + organization: *761 pull_request: title: Simple Pull Request type: object @@ -206936,7 +207326,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *759 + repository: *762 sender: *4 thread: type: object @@ -207322,10 +207712,10 @@ x-webhooks: type: string before: type: string - enterprise: *756 - installation: *757 - number: *812 - organization: *758 + enterprise: *759 + installation: *760 + number: *815 + organization: *761 pull_request: title: Pull Request type: object @@ -209596,7 +209986,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *759 + repository: *762 sender: *4 required: - action @@ -209678,11 +210068,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *818 - enterprise: *756 - installation: *757 - number: *812 - organization: *758 + assignee: *821 + enterprise: *759 + installation: *760 + number: *815 + organization: *761 pull_request: title: Pull Request type: object @@ -211965,7 +212355,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *759 + repository: *762 sender: *4 required: - action @@ -212044,11 +212434,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *756 - installation: *757 - label: *782 - number: *812 - organization: *758 + enterprise: *759 + installation: *760 + label: *785 + number: *815 + organization: *761 pull_request: title: Pull Request type: object @@ -214321,7 +214711,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *759 + repository: *762 sender: *4 required: - action @@ -214402,10 +214792,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *756 - installation: *757 - number: *812 - organization: *758 + enterprise: *759 + installation: *760 + number: *815 + organization: *761 pull_request: title: Pull Request type: object @@ -216670,7 +217060,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *759 + repository: *762 sender: *4 required: - action @@ -216870,7 +217260,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *756 + enterprise: *759 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -216962,8 +217352,8 @@ x-webhooks: - url - author - committer - installation: *757 - organization: *758 + installation: *760 + organization: *761 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -217538,9 +217928,9 @@ x-webhooks: type: string enum: - published - enterprise: *756 - installation: *757 - organization: *758 + enterprise: *759 + installation: *760 + organization: *761 registry_package: type: object properties: @@ -217986,7 +218376,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *800 + items: *803 summary: type: string tag_name: @@ -218040,7 +218430,7 @@ x-webhooks: - owner - package_version - registry - repository: *759 + repository: *762 sender: *4 required: - action @@ -218118,9 +218508,9 @@ x-webhooks: type: string enum: - updated - enterprise: *756 - installation: *757 - organization: *758 + enterprise: *759 + installation: *760 + organization: *761 registry_package: type: object properties: @@ -218428,7 +218818,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *800 + items: *803 summary: type: string tag_name: @@ -218477,7 +218867,7 @@ x-webhooks: - owner - package_version - registry - repository: *759 + repository: *762 sender: *4 required: - action @@ -218554,10 +218944,10 @@ x-webhooks: type: string enum: - created - enterprise: *756 - installation: *757 - organization: *758 - release: &819 + enterprise: *759 + installation: *760 + organization: *761 + release: &822 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -218862,7 +219252,7 @@ x-webhooks: - tarball_url - zipball_url - body - repository: *759 + repository: *762 sender: *4 required: - action @@ -218939,11 +219329,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *756 - installation: *757 - organization: *758 - release: *819 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + release: *822 + repository: *762 sender: *4 required: - action @@ -219060,11 +219450,11 @@ x-webhooks: type: boolean required: - to - enterprise: *756 - installation: *757 - organization: *758 - release: *819 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + release: *822 + repository: *762 sender: *4 required: - action @@ -219142,9 +219532,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *756 - installation: *757 - organization: *758 + enterprise: *759 + installation: *760 + organization: *761 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -219453,7 +219843,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *759 + repository: *762 sender: *4 required: - action @@ -219529,10 +219919,10 @@ x-webhooks: type: string enum: - published - enterprise: *756 - installation: *757 - organization: *758 - release: &820 + enterprise: *759 + installation: *760 + organization: *761 + release: &823 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -219838,7 +220228,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *759 + repository: *762 sender: *4 required: - action @@ -219914,11 +220304,11 @@ x-webhooks: type: string enum: - released - enterprise: *756 - installation: *757 - organization: *758 - release: *819 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + release: *822 + repository: *762 sender: *4 required: - action @@ -219994,11 +220384,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *756 - installation: *757 - organization: *758 - release: *820 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + release: *823 + repository: *762 sender: *4 required: - action @@ -220074,11 +220464,11 @@ x-webhooks: type: string enum: - published - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 - repository_advisory: *667 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 + repository_advisory: *670 sender: *4 required: - action @@ -220154,11 +220544,11 @@ x-webhooks: type: string enum: - reported - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 - repository_advisory: *667 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 + repository_advisory: *670 sender: *4 required: - action @@ -220234,10 +220624,10 @@ x-webhooks: type: string enum: - archived - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -220314,10 +220704,10 @@ x-webhooks: type: string enum: - created - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -220395,10 +220785,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -220482,10 +220872,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -220597,10 +220987,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -220672,10 +221062,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 status: type: string @@ -220756,10 +221146,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -220836,10 +221226,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -220933,10 +221323,10 @@ x-webhooks: - name required: - repository - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -221016,10 +221406,10 @@ x-webhooks: type: string enum: - created - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 repository_ruleset: *128 sender: *4 required: @@ -221098,10 +221488,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 repository_ruleset: *128 sender: *4 required: @@ -221180,10 +221570,10 @@ x-webhooks: type: string enum: - edited - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 repository_ruleset: *128 changes: type: object @@ -221488,10 +221878,10 @@ x-webhooks: - from required: - owner - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -221569,10 +221959,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -221650,7 +222040,7 @@ x-webhooks: type: string enum: - create - alert: &821 + alert: &824 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -221771,10 +222161,10 @@ x-webhooks: type: string enum: - open - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -221980,10 +222370,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -222061,11 +222451,11 @@ x-webhooks: type: string enum: - reopen - alert: *821 - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + alert: *824 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -222264,10 +222654,10 @@ x-webhooks: enum: - fixed - open - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -222345,7 +222735,7 @@ x-webhooks: type: string enum: - created - alert: &822 + alert: &825 type: object properties: number: *100 @@ -222456,10 +222846,10 @@ x-webhooks: description: Whether the detected secret was found in multiple repositories in the same organization or business. nullable: true - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -222540,11 +222930,11 @@ x-webhooks: type: string enum: - created - alert: *822 - installation: *757 - location: *823 - organization: *758 - repository: *759 + alert: *825 + installation: *760 + location: *826 + organization: *761 + repository: *762 sender: *4 required: - location @@ -222782,11 +223172,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *822 - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + alert: *825 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -222864,11 +223254,11 @@ x-webhooks: type: string enum: - reopened - alert: *822 - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + alert: *825 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -222946,11 +223336,11 @@ x-webhooks: type: string enum: - resolved - alert: *822 - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + alert: *825 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -223028,11 +223418,11 @@ x-webhooks: type: string enum: - validated - alert: *822 - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + alert: *825 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -223158,10 +223548,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *759 - enterprise: *756 - installation: *757 - organization: *758 + repository: *762 + enterprise: *759 + installation: *760 + organization: *761 sender: *4 required: - action @@ -223239,11 +223629,11 @@ x-webhooks: type: string enum: - published - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 - security_advisory: &824 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 + security_advisory: &827 description: The details of the security advisory, including summary, description, and severity. type: object @@ -223426,11 +223816,11 @@ x-webhooks: type: string enum: - updated - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 - security_advisory: *824 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 + security_advisory: *827 sender: *4 required: - action @@ -223503,10 +223893,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -223691,9 +224081,9 @@ x-webhooks: type: object properties: security_and_analysis: *327 - enterprise: *756 - installation: *757 - organization: *758 + enterprise: *759 + installation: *760 + organization: *761 repository: *390 sender: *4 required: @@ -223772,12 +224162,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 - sponsorship: &825 + sponsorship: &828 type: object properties: created_at: @@ -224078,12 +224468,12 @@ x-webhooks: type: string enum: - created - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 - sponsorship: *825 + sponsorship: *828 required: - action - sponsorship @@ -224171,12 +224561,12 @@ x-webhooks: type: string required: - from - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 - sponsorship: *825 + sponsorship: *828 required: - action - changes @@ -224253,17 +224643,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &826 + effective_date: &829 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: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 - sponsorship: *825 + sponsorship: *828 required: - action - sponsorship @@ -224337,7 +224727,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &827 + changes: &830 type: object properties: tier: @@ -224381,13 +224771,13 @@ x-webhooks: - from required: - tier - effective_date: *826 - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + effective_date: *829 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 - sponsorship: *825 + sponsorship: *828 required: - action - changes @@ -224464,13 +224854,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *827 - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + changes: *830 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 - sponsorship: *825 + sponsorship: *828 required: - action - changes @@ -224544,10 +224934,10 @@ x-webhooks: type: string enum: - created - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -224630,10 +225020,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -225053,15 +225443,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *756 + enterprise: *759 id: description: The unique identifier of the status. type: integer - installation: *757 + installation: *760 name: type: string - organization: *758 - repository: *759 + organization: *761 + repository: *762 sender: *4 sha: description: The Commit SHA. @@ -225176,9 +225566,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *153 - installation: *757 - organization: *758 - repository: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -225268,9 +225658,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *153 - installation: *757 - organization: *758 - repository: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -225360,9 +225750,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *153 - installation: *757 - organization: *758 - repository: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -225452,9 +225842,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *153 - installation: *757 - organization: *758 - repository: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -225531,12 +225921,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 - team: &828 + team: &831 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -225726,9 +226116,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *756 - installation: *757 - organization: *758 + enterprise: *759 + installation: *760 + organization: *761 repository: title: Repository description: A git repository @@ -226186,7 +226576,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *828 + team: *831 required: - action - team @@ -226262,9 +226652,9 @@ x-webhooks: type: string enum: - created - enterprise: *756 - installation: *757 - organization: *758 + enterprise: *759 + installation: *760 + organization: *761 repository: title: Repository description: A git repository @@ -226722,7 +227112,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *828 + team: *831 required: - action - team @@ -226799,9 +227189,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *756 - installation: *757 - organization: *758 + enterprise: *759 + installation: *760 + organization: *761 repository: title: Repository description: A git repository @@ -227259,7 +227649,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *828 + team: *831 required: - action - team @@ -227403,9 +227793,9 @@ x-webhooks: - from required: - permissions - enterprise: *756 - installation: *757 - organization: *758 + enterprise: *759 + installation: *760 + organization: *761 repository: title: Repository description: A git repository @@ -227863,7 +228253,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *828 + team: *831 required: - action - changes @@ -227941,9 +228331,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *756 - installation: *757 - organization: *758 + enterprise: *759 + installation: *760 + organization: *761 repository: title: Repository description: A git repository @@ -228401,7 +228791,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *828 + team: *831 required: - action - team @@ -228477,10 +228867,10 @@ x-webhooks: type: string enum: - started - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -228553,16 +228943,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *756 + enterprise: *759 inputs: type: object nullable: true additionalProperties: true - installation: *757 - organization: *758 + installation: *760 + organization: *761 ref: type: string - repository: *759 + repository: *762 sender: *4 workflow: type: string @@ -228644,10 +229034,10 @@ x-webhooks: type: string enum: - completed - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 workflow_job: allOf: @@ -228963,10 +229353,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 workflow_job: allOf: @@ -229305,10 +229695,10 @@ x-webhooks: type: string enum: - queued - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 workflow_job: type: object @@ -229522,10 +229912,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 workflow_job: type: object @@ -229741,12 +230131,12 @@ x-webhooks: type: string enum: - completed - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 - workflow: *778 + workflow: *781 workflow_run: title: Workflow Run type: object @@ -230745,12 +231135,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 - workflow: *778 + workflow: *781 workflow_run: title: Workflow Run type: object @@ -231734,12 +232124,12 @@ x-webhooks: type: string enum: - requested - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 - workflow: *778 + workflow: *781 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/dereferenced/ghec.deref.json b/descriptions/ghec/dereferenced/ghec.deref.json index 0d7359b65..ac87e3a91 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.json +++ b/descriptions/ghec/dereferenced/ghec.deref.json @@ -14662,6 +14662,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", @@ -44966,7 +44967,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" @@ -46878,7 +46879,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" ], @@ -46920,20 +46921,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 @@ -47186,9 +47173,7 @@ } } }, - "required": [ - "users" - ] + "minProperties": 1 }, "examples": { "default": { @@ -113283,6 +113268,465 @@ } } }, + "/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": { + "nullable": true, + "type": "array", + "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.", + "example": 1234 + }, + "status": { + "type": "string", + "description": "The status of the dismissal request.", + "enum": [ + "pending", + "denied", + "approved", + "cancelled", + "expired" + ] + }, + "requester_comment": { + "type": "string", + "description": "The comment the requester provided when creating the dismissal request.", + "nullable": true + }, + "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", + "description": "The responses to the dismissal request.", + "nullable": true, + "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", + "example": "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", + "example": "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", @@ -149233,7 +149677,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" ], @@ -149464,7 +149908,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" ], @@ -149761,7 +150205,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" ], @@ -149862,7 +150306,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" ], @@ -149996,7 +150440,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" ], @@ -150192,7 +150636,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" ], @@ -167125,7 +167569,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" @@ -250498,7 +250942,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" ], @@ -303600,6 +304044,1072 @@ } } }, + "/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": { + "nullable": true, + "type": "array", + "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.", + "example": 1234 + }, + "status": { + "type": "string", + "description": "The status of the dismissal request.", + "enum": [ + "pending", + "denied", + "approved", + "cancelled", + "expired" + ] + }, + "requester_comment": { + "type": "string", + "description": "The comment the requester provided when creating the dismissal request.", + "nullable": true + }, + "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", + "description": "The responses to the dismissal request.", + "nullable": true, + "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", + "example": "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", + "example": "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": { + "nullable": true, + "type": "array", + "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.", + "example": 1234 + }, + "status": { + "type": "string", + "description": "The status of the dismissal request.", + "enum": [ + "pending", + "denied", + "approved", + "cancelled", + "expired" + ] + }, + "requester_comment": { + "type": "string", + "description": "The comment the requester provided when creating the dismissal request.", + "nullable": true + }, + "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", + "description": "The responses to the dismissal request.", + "nullable": true, + "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", + "example": "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", + "example": "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", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "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", @@ -454497,7 +456007,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/ghec/dereferenced/ghec.deref.yaml b/descriptions/ghec/dereferenced/ghec.deref.yaml index 1cca7e509..7b6bb3b13 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.deref.yaml @@ -1023,7 +1023,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: - - &669 + - &672 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1714,7 +1714,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &679 + schema: &682 title: Scim Error description: Scim Error type: object @@ -5428,6 +5428,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 @@ -16230,7 +16231,7 @@ paths: type: object description: A repository rule. oneOf: - - &627 + - &630 title: creation description: Only allow users with bypass permission to create matching refs. @@ -16242,7 +16243,7 @@ paths: type: string enum: - creation - - &628 + - &631 title: update description: Only allow users with bypass permission to update matching refs. @@ -16263,7 +16264,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &630 + - &633 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -16275,7 +16276,7 @@ paths: type: string enum: - deletion - - &631 + - &634 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -16287,7 +16288,7 @@ paths: type: string enum: - required_linear_history - - &632 + - &635 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -16363,7 +16364,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &633 + - &636 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches @@ -16387,7 +16388,7 @@ paths: type: string required: - required_deployment_environments - - &634 + - &637 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -16399,7 +16400,7 @@ paths: type: string enum: - required_signatures - - &635 + - &638 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. @@ -16459,7 +16460,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &636 + - &639 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed @@ -16506,7 +16507,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &637 + - &640 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -16518,7 +16519,7 @@ paths: type: string enum: - non_fast_forward - - &638 + - &641 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -16554,7 +16555,7 @@ paths: required: - operator - pattern - - &639 + - &642 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -16590,7 +16591,7 @@ paths: required: - operator - pattern - - &640 + - &643 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -16626,7 +16627,7 @@ paths: required: - operator - pattern - - &641 + - &644 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -16662,7 +16663,7 @@ paths: required: - operator - pattern - - &642 + - &645 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -16698,7 +16699,7 @@ paths: required: - operator - pattern - - &643 + - &646 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit graph. @@ -16722,7 +16723,7 @@ paths: type: string required: - restricted_file_paths - - &644 + - &647 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit @@ -16746,7 +16747,7 @@ paths: maximum: 256 required: - max_file_path_length - - &645 + - &648 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -16769,7 +16770,7 @@ paths: type: string required: - restricted_file_extensions - - &646 + - &649 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph. @@ -16793,7 +16794,7 @@ paths: maximum: 100 required: - max_file_size - - &647 + - &650 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -16842,7 +16843,7 @@ paths: - repository_id required: - workflows - - &648 + - &651 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, code scanning @@ -17404,7 +17405,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: @@ -17487,14 +17488,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &661 + state: &664 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: &662 + resolution: &665 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -18134,7 +18135,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: @@ -18164,16 +18165,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: @@ -18232,8 +18223,7 @@ paths: type: array items: type: string - required: - - users + minProperties: 1 examples: default: value: @@ -18728,7 +18718,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &566 + properties: &569 id: type: integer format: int64 @@ -19113,7 +19103,7 @@ paths: - total - completed - percent_completed - required: &567 + required: &570 - assignee - closed_at - comments @@ -19135,7 +19125,7 @@ paths: - author_association - created_at - updated_at - comment: &564 + comment: &567 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -19702,7 +19692,7 @@ paths: url: type: string format: uri - user: &718 + user: &721 title: Public User description: Public User type: object @@ -23107,7 +23097,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &596 + - &599 name: all description: If `true`, show notifications marked as read. in: query @@ -23115,7 +23105,7 @@ paths: schema: type: boolean default: false - - &597 + - &600 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -23125,7 +23115,7 @@ paths: type: boolean default: false - *143 - - &598 + - &601 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: @@ -23597,7 +23587,7 @@ paths: - url - subscription_url examples: - default: &599 + default: &602 value: - id: '1' repository: @@ -24143,7 +24133,7 @@ paths: type: array items: *58 examples: - default: &736 + default: &739 value: - login: github id: 1 @@ -25746,7 +25736,7 @@ paths: type: array items: *63 examples: - default: &730 + default: &733 value: total_count: 1 repositories: @@ -26565,7 +26555,7 @@ paths: type: array items: *196 examples: - default: &721 + default: &724 value: total_count: 1 repositories: @@ -33805,6 +33795,234 @@ 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: + - *170 + - *225 + - *219 + - *220 + - *221 + - &530 + 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: &531 + 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: + nullable: true + type: array + 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. + example: 1234 + status: + type: string + description: The status of the dismissal request. + enum: + - pending + - denied + - approved + - cancelled + - expired + requester_comment: + type: string + description: The comment the requester provided when creating + the dismissal request. + nullable: true + 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 + description: The responses to the dismissal request. + nullable: true + items: *226 + url: + type: string + format: uri + example: 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 + example: https://github.com/octo-org/smile/security/secret-scanning/17 + examples: + default: &532 + 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': *29 + '500': *99 "/orgs/{org}/docker/conflicts": get: summary: Get list of conflicting packages during Docker migration for organization @@ -35556,7 +35774,7 @@ paths: application/json: schema: *22 examples: - default: &560 + default: &563 value: id: 1 account: @@ -35781,7 +35999,7 @@ paths: required: true content: application/json: - schema: &561 + schema: &564 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration @@ -37863,7 +38081,7 @@ paths: parameters: - *170 - *300 - - &735 + - &738 name: repo_name description: repo_name parameter in: path @@ -39175,7 +39393,7 @@ paths: - nuget - container - *170 - - &737 + - &740 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -39216,7 +39434,7 @@ paths: default: *307 '403': *29 '401': *25 - '400': &739 + '400': &742 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -40352,9 +40570,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. @@ -40447,9 +40663,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)." @@ -40620,9 +40834,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. @@ -40670,9 +40882,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. @@ -40702,9 +40912,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)." @@ -40782,9 +40990,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. @@ -42857,7 +43063,7 @@ paths: - *170 - *17 - *19 - - &649 + - &652 name: targets description: | A comma-separated list of rule targets to filter by. @@ -43047,7 +43253,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - *170 - - &650 + - &653 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 @@ -43059,14 +43265,14 @@ paths: x-multi-segment: true - *225 - *221 - - &651 + - &654 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 - - &652 + - &655 name: rule_suite_result description: The rule results to filter on. When specified, only suites with this result will be returned. @@ -43086,7 +43292,7 @@ paths: description: Response content: application/json: - schema: &653 + schema: &656 title: Rule Suites description: Response type: array @@ -43141,7 +43347,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &654 + default: &657 value: - id: 21 actor_id: 12 @@ -43185,7 +43391,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *170 - - &655 + - &658 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -43201,7 +43407,7 @@ paths: description: Response content: application/json: - schema: &656 + schema: &659 title: Rule Suite description: Response type: object @@ -43300,7 +43506,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &657 + default: &660 value: id: 21 actor_id: 12 @@ -43631,7 +43837,7 @@ paths: - *86 - *19 - *17 - - &659 + - &662 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 @@ -43641,7 +43847,7 @@ paths: required: false schema: type: string - - &660 + - &663 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 @@ -43733,7 +43939,7 @@ paths: application/json: schema: type: array - items: &667 + items: &670 description: A repository security advisory. type: object properties: @@ -44024,7 +44230,7 @@ paths: - private_fork additionalProperties: false examples: - default: &668 + default: &671 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -45787,7 +45993,7 @@ paths: - updated_at - url examples: - default: &708 + default: &711 value: - author: login: octocat @@ -46035,7 +46241,7 @@ paths: application/json: schema: *360 examples: - default: &709 + default: &712 value: author: login: octocat @@ -46218,7 +46424,7 @@ paths: - updated_at - url examples: - default: &710 + default: &713 value: - author: login: octocat @@ -46444,7 +46650,7 @@ paths: application/json: schema: *363 examples: - default: &711 + default: &714 value: author: login: octocat @@ -47157,7 +47363,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &712 + response-if-user-is-a-team-maintainer: &715 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -47222,7 +47428,7 @@ paths: application/json: schema: *374 examples: - response-if-users-membership-with-team-is-now-pending: &713 + response-if-users-membership-with-team-is-now-pending: &716 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -47363,7 +47569,7 @@ paths: - updated_at - permissions examples: - default: &714 + default: &717 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -47442,7 +47648,7 @@ paths: application/json: schema: *375 examples: - default: &715 + default: &718 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -47652,7 +47858,7 @@ paths: description: Alternative response with repository permissions content: application/json: - schema: &716 + schema: &719 title: Team Repository description: A team's access to a repository. type: object @@ -48418,7 +48624,7 @@ paths: type: array items: *227 examples: - response-if-child-teams-exist: &717 + response-if-child-teams-exist: &720 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -54448,7 +54654,7 @@ paths: items: type: object properties: - type: &530 + type: &533 type: string description: The type of reviewer. enum: @@ -55072,7 +55278,7 @@ paths: application/json: schema: *414 examples: - default: &543 + default: &546 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -55291,7 +55497,7 @@ paths: application/json: schema: *418 examples: - default: &544 + default: &547 value: name: USERNAME value: octocat @@ -57085,7 +57291,7 @@ paths: required: - sha - url - verification: &550 + verification: &553 title: Verification type: object properties: @@ -60597,7 +60803,7 @@ paths: check. type: array items: *449 - deployment: &768 + deployment: &771 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -61344,7 +61550,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)". @@ -61511,7 +61717,7 @@ paths: type: string format: date-time nullable: true - head_commit: &794 + head_commit: &797 title: Simple Commit description: A commit. type: object @@ -65705,14 +65911,14 @@ paths: type: integer machines: type: array - items: &724 + items: &727 type: object title: Codespace machine description: A description of the machine powering a codespace. properties: *488 required: *489 examples: - default: &725 + default: &728 value: total_count: 2 machines: @@ -66391,7 +66597,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &563 + schema: &566 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -67242,7 +67448,7 @@ paths: type: array items: *498 examples: - default: &614 + default: &617 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -67531,7 +67737,7 @@ paths: application/json: schema: type: array - items: &605 + items: &608 title: Pull Request Simple description: Pull Request Simple type: object @@ -67760,7 +67966,7 @@ paths: - review_comment - self author_association: *140 - auto_merge: &607 + auto_merge: &610 title: Auto merge description: The status of auto merging a pull request. type: object @@ -67823,7 +68029,7 @@ paths: - author_association - auto_merge examples: - default: &606 + default: &609 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -68381,7 +68587,7 @@ paths: application/json: schema: *498 examples: - default: &592 + default: &595 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -68999,7 +69205,7 @@ paths: application/json: schema: type: array - items: &672 + items: &675 title: Status description: The status of a commit. type: object @@ -69941,7 +70147,7 @@ paths: - size - type - url - - &619 + - &622 title: Content File description: Content File type: object @@ -70534,7 +70740,7 @@ paths: schema: oneOf: - *3 - - &545 + - &548 description: Repository rule violation was detected type: object properties: @@ -70555,7 +70761,7 @@ paths: items: type: object properties: - placeholder_id: &664 + placeholder_id: &667 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -73046,6 +73252,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: + - *377 + - *378 + - *219 + - *220 + - *221 + - *530 + - *17 + - *19 + responses: + '200': + description: A list of the alert dismissal requests. + content: + application/json: + schema: + type: array + items: *531 + examples: + default: *532 + '404': *6 + '403': *29 + '500': *99 + "/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: + - *377 + - *378 + - 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: *531 + 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': *29 + '500': *99 + 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: + - *377 + - *378 + - 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': *29 + '422': *15 + '500': *99 "/repos/{owner}/{repo}/dispatches": post: summary: Create a repository dispatch event @@ -73140,7 +73530,7 @@ paths: type: integer environments: type: array - items: &531 + items: &534 title: Environment description: Details of a deployment environment type: object @@ -73192,7 +73582,7 @@ paths: type: type: string example: wait_timer - wait_timer: &533 + wait_timer: &536 type: integer example: 30 description: The amount of time to delay a job after @@ -73229,7 +73619,7 @@ paths: items: type: object properties: - type: *530 + type: *533 reviewer: anyOf: - *4 @@ -73253,7 +73643,7 @@ paths: - id - node_id - type - deployment_branch_policy: &534 + deployment_branch_policy: &537 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -73371,7 +73761,7 @@ paths: parameters: - *377 - *378 - - &532 + - &535 name: environment_name in: path required: true @@ -73384,9 +73774,9 @@ paths: description: Response content: application/json: - schema: *531 + schema: *534 examples: - default: &535 + default: &538 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -73472,7 +73862,7 @@ paths: parameters: - *377 - *378 - - *532 + - *535 requestBody: required: false content: @@ -73481,7 +73871,7 @@ paths: type: object nullable: true properties: - wait_timer: *533 + wait_timer: *536 prevent_self_review: type: boolean example: false @@ -73498,13 +73888,13 @@ paths: items: type: object properties: - type: *530 + type: *533 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *534 + deployment_branch_policy: *537 additionalProperties: false examples: default: @@ -73524,9 +73914,9 @@ paths: description: Response content: application/json: - schema: *531 + schema: *534 examples: - default: *535 + default: *538 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -73552,7 +73942,7 @@ paths: parameters: - *377 - *378 - - *532 + - *535 responses: '204': description: Default response @@ -73579,7 +73969,7 @@ paths: parameters: - *377 - *378 - - *532 + - *535 - *17 - *19 responses: @@ -73597,7 +73987,7 @@ paths: example: 2 branch_policies: type: array - items: &536 + items: &539 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -73656,7 +74046,7 @@ paths: parameters: - *377 - *378 - - *532 + - *535 requestBody: required: true content: @@ -73702,9 +74092,9 @@ paths: description: Response content: application/json: - schema: *536 + schema: *539 examples: - example-wildcard: &537 + example-wildcard: &540 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -73748,8 +74138,8 @@ paths: parameters: - *377 - *378 - - *532 - - &538 + - *535 + - &541 name: branch_policy_id in: path required: true @@ -73761,9 +74151,9 @@ paths: description: Response content: application/json: - schema: *536 + schema: *539 examples: - default: *537 + default: *540 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73784,8 +74174,8 @@ paths: parameters: - *377 - *378 - - *532 - - *538 + - *535 + - *541 requestBody: required: true content: @@ -73813,9 +74203,9 @@ paths: description: Response content: application/json: - schema: *536 + schema: *539 examples: - default: *537 + default: *540 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73836,8 +74226,8 @@ paths: parameters: - *377 - *378 - - *532 - - *538 + - *535 + - *541 responses: '204': description: Response @@ -73862,7 +74252,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: - - *532 + - *535 - *378 - *377 responses: @@ -73880,7 +74270,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &539 + items: &542 title: Deployment protection rule description: Deployment protection rule type: object @@ -73899,7 +74289,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &540 + app: &543 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -73998,7 +74388,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: - - *532 + - *535 - *378 - *377 requestBody: @@ -74021,9 +74411,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *539 + schema: *542 examples: - default: &541 + default: &544 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -74058,7 +74448,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: - - *532 + - *535 - *378 - *377 - *19 @@ -74079,7 +74469,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *540 + items: *543 examples: default: value: @@ -74116,8 +74506,8 @@ paths: parameters: - *377 - *378 - - *532 - - &542 + - *535 + - &545 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -74129,9 +74519,9 @@ paths: description: Response content: application/json: - schema: *539 + schema: *542 examples: - default: *541 + default: *544 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74152,10 +74542,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: - - *532 + - *535 - *378 - *377 - - *542 + - *545 responses: '204': description: Response @@ -74183,7 +74573,7 @@ paths: parameters: - *377 - *378 - - *532 + - *535 - *17 - *19 responses: @@ -74230,7 +74620,7 @@ paths: parameters: - *377 - *378 - - *532 + - *535 responses: '200': description: Response @@ -74262,7 +74652,7 @@ paths: parameters: - *377 - *378 - - *532 + - *535 - *206 responses: '200': @@ -74271,7 +74661,7 @@ paths: application/json: schema: *414 examples: - default: *543 + default: *546 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74295,7 +74685,7 @@ paths: parameters: - *377 - *378 - - *532 + - *535 - *206 requestBody: required: true @@ -74355,7 +74745,7 @@ paths: parameters: - *377 - *378 - - *532 + - *535 - *206 responses: '204': @@ -74383,7 +74773,7 @@ paths: parameters: - *377 - *378 - - *532 + - *535 - *401 - *19 responses: @@ -74428,7 +74818,7 @@ paths: parameters: - *377 - *378 - - *532 + - *535 requestBody: required: true content: @@ -74482,7 +74872,7 @@ paths: parameters: - *377 - *378 - - *532 + - *535 - *209 responses: '200': @@ -74491,7 +74881,7 @@ paths: application/json: schema: *418 examples: - default: *544 + default: *547 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74515,7 +74905,7 @@ paths: - *377 - *378 - *209 - - *532 + - *535 requestBody: required: true content: @@ -74560,7 +74950,7 @@ paths: - *377 - *378 - *209 - - *532 + - *535 responses: '204': description: Response @@ -74937,7 +75327,7 @@ paths: schema: oneOf: - *179 - - *545 + - *548 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75172,7 +75562,7 @@ paths: description: Response content: application/json: - schema: &546 + schema: &549 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -75394,7 +75784,7 @@ paths: description: Response content: application/json: - schema: *546 + schema: *549 examples: default: value: @@ -75452,7 +75842,7 @@ paths: parameters: - *377 - *378 - - &547 + - &550 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. @@ -75469,7 +75859,7 @@ paths: application/json: schema: type: array - items: &548 + items: &551 title: Git Reference description: Git references within a repository type: object @@ -75546,15 +75936,15 @@ paths: parameters: - *377 - *378 - - *547 + - *550 responses: '200': description: Response content: application/json: - schema: *548 + schema: *551 examples: - default: &549 + default: &552 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -75613,9 +76003,9 @@ paths: description: Response content: application/json: - schema: *548 + schema: *551 examples: - default: *549 + default: *552 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -75643,7 +76033,7 @@ paths: parameters: - *377 - *378 - - *547 + - *550 requestBody: required: true content: @@ -75672,9 +76062,9 @@ paths: description: Response content: application/json: - schema: *548 + schema: *551 examples: - default: *549 + default: *552 '422': *15 '409': *94 x-github: @@ -75694,7 +76084,7 @@ paths: parameters: - *377 - *378 - - *547 + - *550 responses: '204': description: Response @@ -75817,7 +76207,7 @@ paths: description: Response content: application/json: - schema: &551 + schema: &554 title: Git Tag description: Metadata for a Git tag type: object @@ -75868,7 +76258,7 @@ paths: - sha - type - url - verification: *550 + verification: *553 required: - sha - url @@ -75878,7 +76268,7 @@ paths: - tag - message examples: - default: &552 + default: &555 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -75963,9 +76353,9 @@ paths: description: Response content: application/json: - schema: *551 + schema: *554 examples: - default: *552 + default: *555 '404': *6 '409': *94 x-github: @@ -76063,7 +76453,7 @@ paths: description: Response content: application/json: - schema: &553 + schema: &556 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -76183,7 +76573,7 @@ paths: description: Response content: application/json: - schema: *553 + schema: *556 examples: default-response: summary: Default response @@ -76253,7 +76643,7 @@ paths: application/json: schema: type: array - items: &554 + items: &557 title: Webhook description: Webhooks for repositories. type: object @@ -76307,7 +76697,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &802 + last_response: &805 title: Hook Response type: object properties: @@ -76434,9 +76824,9 @@ paths: description: Response content: application/json: - schema: *554 + schema: *557 examples: - default: &555 + default: &558 value: type: Repository id: 12345678 @@ -76492,9 +76882,9 @@ paths: description: Response content: application/json: - schema: *554 + schema: *557 examples: - default: *555 + default: *558 '404': *6 x-github: githubCloudOnly: false @@ -76561,9 +76951,9 @@ paths: description: Response content: application/json: - schema: *554 + schema: *557 examples: - default: *555 + default: *558 '422': *15 '404': *6 x-github: @@ -76867,7 +77257,7 @@ paths: description: Response content: application/json: - schema: &556 + schema: &559 title: Import description: A repository import from an external source. type: object @@ -76966,7 +77356,7 @@ paths: - html_url - authors_url examples: - default: &559 + default: &562 value: vcs: subversion use_lfs: true @@ -76982,7 +77372,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': &557 + '503': &560 description: Unavailable due to service under maintenance. content: application/json: @@ -77060,7 +77450,7 @@ paths: description: Response content: application/json: - schema: *556 + schema: *559 examples: default: value: @@ -77085,7 +77475,7 @@ paths: type: string '422': *15 '404': *6 - '503': *557 + '503': *560 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77163,7 +77553,7 @@ paths: description: Response content: application/json: - schema: *556 + schema: *559 examples: example-1: summary: Example 1 @@ -77211,7 +77601,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': *557 + '503': *560 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77239,7 +77629,7 @@ paths: responses: '204': description: Response - '503': *557 + '503': *560 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77267,7 +77657,7 @@ paths: parameters: - *377 - *378 - - &748 + - &751 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -77281,7 +77671,7 @@ paths: application/json: schema: type: array - items: &558 + items: &561 title: Porter Author description: Porter Author type: object @@ -77335,7 +77725,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': *557 + '503': *560 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77391,7 +77781,7 @@ paths: description: Response content: application/json: - schema: *558 + schema: *561 examples: default: value: @@ -77404,7 +77794,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *557 + '503': *560 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77470,7 +77860,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *557 + '503': *560 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77526,11 +77916,11 @@ paths: description: Response content: application/json: - schema: *556 + schema: *559 examples: - default: *559 + default: *562 '422': *15 - '503': *557 + '503': *560 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77562,7 +77952,7 @@ paths: application/json: schema: *22 examples: - default: *560 + default: *563 '301': *391 '404': *6 x-github: @@ -77597,7 +77987,7 @@ paths: properties: {} additionalProperties: false examples: - default: &562 + default: &565 value: limit: collaborators_only origin: repository @@ -77628,7 +78018,7 @@ paths: required: true content: application/json: - schema: *561 + schema: *564 examples: default: summary: Example request body @@ -77642,7 +78032,7 @@ paths: application/json: schema: *283 examples: - default: *562 + default: *565 '409': description: Response x-github: @@ -77699,9 +78089,9 @@ paths: application/json: schema: type: array - items: *563 + items: *566 examples: - default: &741 + default: &744 value: - id: 1 repository: @@ -77863,7 +78253,7 @@ paths: description: Response content: application/json: - schema: *563 + schema: *566 examples: default: value: @@ -78101,7 +78491,7 @@ paths: type: array items: *153 examples: - default: &574 + default: &577 value: - id: 1 node_id: MDU6SXNzdWUx @@ -78363,7 +78753,7 @@ paths: application/json: schema: *153 examples: - default: &569 + default: &572 value: id: 1 node_id: MDU6SXNzdWUx @@ -78569,9 +78959,9 @@ paths: application/json: schema: type: array - items: *564 + items: *567 examples: - default: &571 + default: &574 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -78637,9 +79027,9 @@ paths: description: Response content: application/json: - schema: *564 + schema: *567 examples: - default: &565 + default: &568 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -78717,9 +79107,9 @@ paths: description: Response content: application/json: - schema: *564 + schema: *567 examples: - default: *565 + default: *568 '422': *15 x-github: githubCloudOnly: false @@ -78909,7 +79299,7 @@ paths: application/json: schema: type: array - items: &568 + items: &571 title: Issue Event description: Issue Event type: object @@ -78952,8 +79342,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *566 - required: *567 + properties: *569 + required: *570 nullable: true label: title: Issue Event Label @@ -79272,7 +79662,7 @@ paths: description: Response content: application/json: - schema: *568 + schema: *571 examples: default: value: @@ -79501,7 +79891,7 @@ paths: parameters: - *377 - *378 - - &570 + - &573 name: issue_number description: The number that identifies the issue. in: path @@ -79515,7 +79905,7 @@ paths: application/json: schema: *153 examples: - default: *569 + default: *572 '301': *391 '404': *6 '410': *388 @@ -79545,7 +79935,7 @@ paths: parameters: - *377 - *378 - - *570 + - *573 requestBody: required: false content: @@ -79650,7 +80040,7 @@ paths: application/json: schema: *153 examples: - default: *569 + default: *572 '422': *15 '503': *132 '403': *29 @@ -79676,7 +80066,7 @@ paths: parameters: - *377 - *378 - - *570 + - *573 requestBody: required: false content: @@ -79704,7 +80094,7 @@ paths: application/json: schema: *153 examples: - default: *569 + default: *572 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79722,7 +80112,7 @@ paths: parameters: - *377 - *378 - - *570 + - *573 requestBody: content: application/json: @@ -79749,7 +80139,7 @@ paths: application/json: schema: *153 examples: - default: *569 + default: *572 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79773,7 +80163,7 @@ paths: parameters: - *377 - *378 - - *570 + - *573 - name: assignee in: path required: true @@ -79815,7 +80205,7 @@ paths: parameters: - *377 - *378 - - *570 + - *573 - *143 - *17 - *19 @@ -79826,9 +80216,9 @@ paths: application/json: schema: type: array - items: *564 + items: *567 examples: - default: *571 + default: *574 headers: Link: *39 '404': *6 @@ -79863,7 +80253,7 @@ paths: parameters: - *377 - *378 - - *570 + - *573 requestBody: required: true content: @@ -79885,9 +80275,9 @@ paths: description: Response content: application/json: - schema: *564 + schema: *567 examples: - default: *565 + default: *568 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 @@ -79916,7 +80306,7 @@ paths: parameters: - *377 - *378 - - *570 + - *573 - *17 - *19 responses: @@ -79930,7 +80320,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &575 + - &578 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -79984,7 +80374,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &576 + - &579 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -80120,7 +80510,7 @@ paths: - performed_via_github_app - assignee - assigner - - &577 + - &580 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -80171,7 +80561,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &578 + - &581 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -80222,7 +80612,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &579 + - &582 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -80276,7 +80666,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &580 + - &583 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -80323,7 +80713,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &581 + - &584 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -80370,7 +80760,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &582 + - &585 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -80430,7 +80820,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &583 + - &586 title: Locked Issue Event description: Locked Issue Event type: object @@ -80478,7 +80868,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &584 + - &587 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -80544,7 +80934,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &585 + - &588 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -80610,7 +81000,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &586 + - &589 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -80676,7 +81066,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &587 + - &590 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -80786,7 +81176,7 @@ paths: parameters: - *377 - *378 - - *570 + - *573 - *17 - *19 responses: @@ -80796,7 +81186,7 @@ paths: application/json: schema: type: array - items: &572 + items: &575 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -80843,7 +81233,7 @@ paths: - color - default examples: - default: &573 + default: &576 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -80882,7 +81272,7 @@ paths: parameters: - *377 - *378 - - *570 + - *573 requestBody: required: false content: @@ -80941,9 +81331,9 @@ paths: application/json: schema: type: array - items: *572 + items: *575 examples: - default: *573 + default: *576 '301': *391 '404': *6 '410': *388 @@ -80965,7 +81355,7 @@ paths: parameters: - *377 - *378 - - *570 + - *573 requestBody: required: false content: @@ -81025,9 +81415,9 @@ paths: application/json: schema: type: array - items: *572 + items: *575 examples: - default: *573 + default: *576 '301': *391 '404': *6 '410': *388 @@ -81049,7 +81439,7 @@ paths: parameters: - *377 - *378 - - *570 + - *573 responses: '204': description: Response @@ -81076,7 +81466,7 @@ paths: parameters: - *377 - *378 - - *570 + - *573 - name: name in: path required: true @@ -81089,7 +81479,7 @@ paths: application/json: schema: type: array - items: *572 + items: *575 examples: default: value: @@ -81124,7 +81514,7 @@ paths: parameters: - *377 - *378 - - *570 + - *573 requestBody: required: false content: @@ -81172,7 +81562,7 @@ paths: parameters: - *377 - *378 - - *570 + - *573 responses: '204': description: Response @@ -81196,7 +81586,7 @@ paths: parameters: - *377 - *378 - - *570 + - *573 - 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. @@ -81248,7 +81638,7 @@ paths: parameters: - *377 - *378 - - *570 + - *573 requestBody: required: true content: @@ -81313,7 +81703,7 @@ paths: parameters: - *377 - *378 - - *570 + - *573 - *369 responses: '204': @@ -81345,7 +81735,7 @@ paths: parameters: - *377 - *378 - - *570 + - *573 requestBody: required: true content: @@ -81369,7 +81759,7 @@ paths: application/json: schema: *153 examples: - default: *569 + default: *572 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -81404,7 +81794,7 @@ paths: parameters: - *377 - *378 - - *570 + - *573 - *17 - *19 responses: @@ -81416,7 +81806,7 @@ paths: type: array items: *153 examples: - default: *574 + default: *577 headers: Link: *39 '404': *6 @@ -81450,7 +81840,7 @@ paths: parameters: - *377 - *378 - - *570 + - *573 requestBody: required: true content: @@ -81479,7 +81869,7 @@ paths: application/json: schema: *153 examples: - default: *569 + default: *572 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 @@ -81508,7 +81898,7 @@ paths: parameters: - *377 - *378 - - *570 + - *573 requestBody: required: true content: @@ -81541,7 +81931,7 @@ paths: application/json: schema: *153 examples: - default: *569 + default: *572 '403': *29 '404': *6 '422': *7 @@ -81565,7 +81955,7 @@ paths: parameters: - *377 - *378 - - *570 + - *573 - *17 - *19 responses: @@ -81580,9 +81970,6 @@ paths: description: Timeline Event type: object anyOf: - - *575 - - *576 - - *577 - *578 - *579 - *580 @@ -81593,6 +81980,9 @@ paths: - *585 - *586 - *587 + - *588 + - *589 + - *590 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -81897,7 +82287,7 @@ paths: type: string comments: type: array - items: &608 + items: &611 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -82423,7 +82813,7 @@ paths: application/json: schema: type: array - items: &588 + items: &591 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -82525,9 +82915,9 @@ paths: description: Response content: application/json: - schema: *588 + schema: *591 examples: - default: &589 + default: &592 value: id: 1 key: ssh-rsa AAA... @@ -82563,7 +82953,7 @@ paths: parameters: - *377 - *378 - - &590 + - &593 name: key_id description: The unique identifier of the key. in: path @@ -82575,9 +82965,9 @@ paths: description: Response content: application/json: - schema: *588 + schema: *591 examples: - default: *589 + default: *592 '404': *6 x-github: githubCloudOnly: false @@ -82597,7 +82987,7 @@ paths: parameters: - *377 - *378 - - *590 + - *593 responses: '204': description: Response @@ -82628,9 +83018,9 @@ paths: application/json: schema: type: array - items: *572 + items: *575 examples: - default: *573 + default: *576 headers: Link: *39 '404': *6 @@ -82688,9 +83078,9 @@ paths: description: Response content: application/json: - schema: *572 + schema: *575 examples: - default: &591 + default: &594 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -82734,9 +83124,9 @@ paths: description: Response content: application/json: - schema: *572 + schema: *575 examples: - default: *591 + default: *594 '404': *6 x-github: githubCloudOnly: false @@ -82793,7 +83183,7 @@ paths: description: Response content: application/json: - schema: *572 + schema: *575 examples: default: value: @@ -83189,7 +83579,7 @@ paths: application/json: schema: *498 examples: - default: *592 + default: *595 '204': description: Response when already merged '404': @@ -83256,7 +83646,7 @@ paths: application/json: schema: type: array - items: &593 + items: &596 title: Milestone description: A collection of related issues and pull requests. type: object @@ -83358,9 +83748,9 @@ paths: description: Response content: application/json: - schema: *593 + schema: *596 examples: - default: &594 + default: &597 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -83421,7 +83811,7 @@ paths: parameters: - *377 - *378 - - &595 + - &598 name: milestone_number description: The number that identifies the milestone. in: path @@ -83433,9 +83823,9 @@ paths: description: Response content: application/json: - schema: *593 + schema: *596 examples: - default: *594 + default: *597 '404': *6 x-github: githubCloudOnly: false @@ -83454,7 +83844,7 @@ paths: parameters: - *377 - *378 - - *595 + - *598 requestBody: required: false content: @@ -83492,9 +83882,9 @@ paths: description: Response content: application/json: - schema: *593 + schema: *596 examples: - default: *594 + default: *597 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83512,7 +83902,7 @@ paths: parameters: - *377 - *378 - - *595 + - *598 responses: '204': description: Response @@ -83535,7 +83925,7 @@ paths: parameters: - *377 - *378 - - *595 + - *598 - *17 - *19 responses: @@ -83545,9 +83935,9 @@ paths: application/json: schema: type: array - items: *572 + items: *575 examples: - default: *573 + default: *576 headers: Link: *39 x-github: @@ -83568,10 +83958,10 @@ paths: parameters: - *377 - *378 - - *596 - - *597 + - *599 + - *600 - *143 - - *598 + - *601 - *17 - *19 responses: @@ -83583,7 +83973,7 @@ paths: type: array items: *166 examples: - default: *599 + default: *602 headers: Link: *39 x-github: @@ -83673,7 +84063,7 @@ paths: description: Response content: application/json: - schema: &600 + schema: &603 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -83798,7 +84188,7 @@ paths: - custom_404 - public examples: - default: &601 + default: &604 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -83894,9 +84284,9 @@ paths: description: Response content: application/json: - schema: *600 + schema: *603 examples: - default: *601 + default: *604 '422': *15 '409': *94 x-github: @@ -84065,7 +84455,7 @@ paths: application/json: schema: type: array - items: &602 + items: &605 title: Page Build description: Page Build type: object @@ -84212,9 +84602,9 @@ paths: description: Response content: application/json: - schema: *602 + schema: *605 examples: - default: &603 + default: &606 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -84274,9 +84664,9 @@ paths: description: Response content: application/json: - schema: *602 + schema: *605 examples: - default: *603 + default: *606 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84404,7 +84794,7 @@ paths: parameters: - *377 - *378 - - &604 + - &607 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -84464,7 +84854,7 @@ paths: parameters: - *377 - *378 - - *604 + - *607 responses: '204': *118 '404': *6 @@ -85139,9 +85529,9 @@ paths: application/json: schema: type: array - items: *605 + items: *608 examples: - default: *606 + default: *609 headers: Link: *39 '304': *37 @@ -85239,7 +85629,7 @@ paths: description: Response content: application/json: - schema: &610 + schema: &613 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -85453,7 +85843,7 @@ paths: - review_comment - self author_association: *140 - auto_merge: *607 + auto_merge: *610 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -85545,7 +85935,7 @@ paths: - merged_by - review_comments examples: - default: &611 + default: &614 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -86102,9 +86492,9 @@ paths: application/json: schema: type: array - items: *608 + items: *611 examples: - default: &613 + default: &616 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -86189,9 +86579,9 @@ paths: description: Response content: application/json: - schema: *608 + schema: *611 examples: - default: &609 + default: &612 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -86290,9 +86680,9 @@ paths: description: Response content: application/json: - schema: *608 + schema: *611 examples: - default: *609 + default: *612 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86495,7 +86885,7 @@ paths: parameters: - *377 - *378 - - &612 + - &615 name: pull_number description: The number that identifies the pull request. in: path @@ -86508,9 +86898,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *610 + schema: *613 examples: - default: *611 + default: *614 '304': *37 '404': *6 '406': @@ -86547,7 +86937,7 @@ paths: parameters: - *377 - *378 - - *612 + - *615 requestBody: required: false content: @@ -86589,9 +86979,9 @@ paths: description: Response content: application/json: - schema: *610 + schema: *613 examples: - default: *611 + default: *614 '422': *15 '403': *29 x-github: @@ -86615,7 +87005,7 @@ paths: parameters: - *377 - *378 - - *612 + - *615 requestBody: required: true content: @@ -86717,7 +87107,7 @@ paths: parameters: - *377 - *378 - - *612 + - *615 - *163 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -86738,9 +87128,9 @@ paths: application/json: schema: type: array - items: *608 + items: *611 examples: - default: *613 + default: *616 headers: Link: *39 x-github: @@ -86775,7 +87165,7 @@ paths: parameters: - *377 - *378 - - *612 + - *615 requestBody: required: true content: @@ -86880,7 +87270,7 @@ paths: description: Response content: application/json: - schema: *608 + schema: *611 examples: example-for-a-multi-line-comment: value: @@ -86970,7 +87360,7 @@ paths: parameters: - *377 - *378 - - *612 + - *615 - *152 requestBody: required: true @@ -86993,7 +87383,7 @@ paths: description: Response content: application/json: - schema: *608 + schema: *611 examples: default: value: @@ -87081,7 +87471,7 @@ paths: parameters: - *377 - *378 - - *612 + - *615 - *17 - *19 responses: @@ -87093,7 +87483,7 @@ paths: type: array items: *498 examples: - default: *614 + default: *617 headers: Link: *39 x-github: @@ -87125,7 +87515,7 @@ paths: parameters: - *377 - *378 - - *612 + - *615 - *17 - *19 responses: @@ -87175,7 +87565,7 @@ paths: parameters: - *377 - *378 - - *612 + - *615 responses: '204': description: Response if pull request has been merged @@ -87200,7 +87590,7 @@ paths: parameters: - *377 - *378 - - *612 + - *615 requestBody: required: false content: @@ -87313,7 +87703,7 @@ paths: parameters: - *377 - *378 - - *612 + - *615 responses: '200': description: Response @@ -87390,7 +87780,7 @@ paths: parameters: - *377 - *378 - - *612 + - *615 requestBody: required: false content: @@ -87427,7 +87817,7 @@ paths: description: Response content: application/json: - schema: *605 + schema: *608 examples: default: value: @@ -87965,7 +88355,7 @@ paths: parameters: - *377 - *378 - - *612 + - *615 requestBody: required: true content: @@ -87999,7 +88389,7 @@ paths: description: Response content: application/json: - schema: *605 + schema: *608 examples: default: value: @@ -88506,7 +88896,7 @@ paths: parameters: - *377 - *378 - - *612 + - *615 - *17 - *19 responses: @@ -88516,7 +88906,7 @@ paths: application/json: schema: type: array - items: &615 + items: &618 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -88669,7 +89059,7 @@ paths: parameters: - *377 - *378 - - *612 + - *615 requestBody: required: false content: @@ -88755,9 +89145,9 @@ paths: description: Response content: application/json: - schema: *615 + schema: *618 examples: - default: &617 + default: &620 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -88822,8 +89212,8 @@ paths: parameters: - *377 - *378 - - *612 - - &616 + - *615 + - &619 name: review_id description: The unique identifier of the review. in: path @@ -88835,9 +89225,9 @@ paths: description: Response content: application/json: - schema: *615 + schema: *618 examples: - default: &618 + default: &621 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -88898,8 +89288,8 @@ paths: parameters: - *377 - *378 - - *612 - - *616 + - *615 + - *619 requestBody: required: true content: @@ -88922,7 +89312,7 @@ paths: description: Response content: application/json: - schema: *615 + schema: *618 examples: default: value: @@ -88986,16 +89376,16 @@ paths: parameters: - *377 - *378 - - *612 - - *616 + - *615 + - *619 responses: '200': description: Response content: application/json: - schema: *615 + schema: *618 examples: - default: *617 + default: *620 '422': *7 '404': *6 x-github: @@ -89024,8 +89414,8 @@ paths: parameters: - *377 - *378 - - *612 - - *616 + - *615 + - *619 - *17 - *19 responses: @@ -89255,8 +89645,8 @@ paths: parameters: - *377 - *378 - - *612 - - *616 + - *615 + - *619 requestBody: required: true content: @@ -89284,7 +89674,7 @@ paths: description: Response content: application/json: - schema: *615 + schema: *618 examples: default: value: @@ -89349,8 +89739,8 @@ paths: parameters: - *377 - *378 - - *612 - - *616 + - *615 + - *619 requestBody: required: true content: @@ -89385,9 +89775,9 @@ paths: description: Response content: application/json: - schema: *615 + schema: *618 examples: - default: *618 + default: *621 '404': *6 '422': *7 '403': *29 @@ -89411,7 +89801,7 @@ paths: parameters: - *377 - *378 - - *612 + - *615 requestBody: required: false content: @@ -89488,9 +89878,9 @@ paths: description: Response content: application/json: - schema: *619 + schema: *622 examples: - default: &620 + default: &623 value: type: file encoding: base64 @@ -89553,9 +89943,9 @@ paths: description: Response content: application/json: - schema: *619 + schema: *622 examples: - default: *620 + default: *623 '404': *6 '422': *15 x-github: @@ -89588,7 +89978,7 @@ paths: application/json: schema: type: array - items: &621 + items: &624 title: Release description: A release. type: object @@ -89651,7 +90041,7 @@ paths: author: *4 assets: type: array - items: &622 + items: &625 title: Release Asset description: Data related to a release. type: object @@ -89909,9 +90299,9 @@ paths: description: Response content: application/json: - schema: *621 + schema: *624 examples: - default: &625 + default: &628 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -90016,7 +90406,7 @@ paths: parameters: - *377 - *378 - - &623 + - &626 name: asset_id description: The unique identifier of the asset. in: path @@ -90028,9 +90418,9 @@ paths: description: Response content: application/json: - schema: *622 + schema: *625 examples: - default: &624 + default: &627 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 @@ -90082,7 +90472,7 @@ paths: parameters: - *377 - *378 - - *623 + - *626 requestBody: required: false content: @@ -90110,9 +90500,9 @@ paths: description: Response content: application/json: - schema: *622 + schema: *625 examples: - default: *624 + default: *627 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90130,7 +90520,7 @@ paths: parameters: - *377 - *378 - - *623 + - *626 responses: '204': description: Response @@ -90247,9 +90637,9 @@ paths: description: Response content: application/json: - schema: *621 + schema: *624 examples: - default: *625 + default: *628 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90280,9 +90670,9 @@ paths: description: Response content: application/json: - schema: *621 + schema: *624 examples: - default: *625 + default: *628 '404': *6 x-github: githubCloudOnly: false @@ -90306,7 +90696,7 @@ paths: parameters: - *377 - *378 - - &626 + - &629 name: release_id description: The unique identifier of the release. in: path @@ -90320,9 +90710,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: *621 + schema: *624 examples: - default: *625 + default: *628 '401': description: Unauthorized x-github: @@ -90342,7 +90732,7 @@ paths: parameters: - *377 - *378 - - *626 + - *629 requestBody: required: false content: @@ -90406,9 +90796,9 @@ paths: description: Response content: application/json: - schema: *621 + schema: *624 examples: - default: *625 + default: *628 '404': description: Not Found if the discussion category name is invalid content: @@ -90431,7 +90821,7 @@ paths: parameters: - *377 - *378 - - *626 + - *629 responses: '204': description: Response @@ -90453,7 +90843,7 @@ paths: parameters: - *377 - *378 - - *626 + - *629 - *17 - *19 responses: @@ -90463,7 +90853,7 @@ paths: application/json: schema: type: array - items: *622 + items: *625 examples: default: value: @@ -90546,7 +90936,7 @@ paths: parameters: - *377 - *378 - - *626 + - *629 - name: name in: query required: true @@ -90572,7 +90962,7 @@ paths: description: Response for successful upload content: application/json: - schema: *622 + schema: *625 examples: response-for-successful-upload: value: @@ -90628,7 +91018,7 @@ paths: parameters: - *377 - *378 - - *626 + - *629 - 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. @@ -90677,7 +91067,7 @@ paths: parameters: - *377 - *378 - - *626 + - *629 requestBody: required: true content: @@ -90740,7 +91130,7 @@ paths: parameters: - *377 - *378 - - *626 + - *629 - *369 responses: '204': @@ -90783,8 +91173,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *627 - - &629 + - *630 + - &632 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -90804,65 +91194,65 @@ paths: type: integer description: The ID of the ruleset that includes this rule. - allOf: - - *628 - - *629 - - allOf: - - *630 - - *629 - - allOf: - *631 - - *629 - - allOf: - *632 - - *629 - allOf: - *633 - - *629 + - *632 - allOf: - *634 - - *629 + - *632 - allOf: - *635 - - *629 + - *632 - allOf: - *636 - - *629 + - *632 - allOf: - *637 - - *629 + - *632 - allOf: - *638 - - *629 + - *632 - allOf: - *639 - - *629 + - *632 - allOf: - *640 - - *629 + - *632 - allOf: - *641 - - *629 + - *632 - allOf: - *642 - - *629 + - *632 - allOf: - *643 - - *629 + - *632 - allOf: - *644 - - *629 + - *632 - allOf: - *645 - - *629 + - *632 - allOf: - *646 - - *629 + - *632 - allOf: - *647 - - *629 + - *632 - allOf: - *648 - - *629 + - *632 + - allOf: + - *649 + - *632 + - allOf: + - *650 + - *632 + - allOf: + - *651 + - *632 examples: default: value: @@ -90913,7 +91303,7 @@ paths: schema: type: boolean default: true - - *649 + - *652 responses: '200': description: Response @@ -91031,7 +91421,7 @@ paths: application/json: schema: *128 examples: - default: &658 + default: &661 value: id: 42 name: super cool ruleset @@ -91080,10 +91470,10 @@ paths: parameters: - *377 - *378 - - *650 + - *653 - *221 - - *651 - - *652 + - *654 + - *655 - *17 - *19 responses: @@ -91091,9 +91481,9 @@ paths: description: Response content: application/json: - schema: *653 + schema: *656 examples: - default: *654 + default: *657 '404': *6 '500': *99 x-github: @@ -91116,15 +91506,15 @@ paths: parameters: - *377 - *378 - - *655 + - *658 responses: '200': description: Response content: application/json: - schema: *656 + schema: *659 examples: - default: *657 + default: *660 '404': *6 '500': *99 x-github: @@ -91175,7 +91565,7 @@ paths: application/json: schema: *128 examples: - default: *658 + default: *661 '404': *6 '500': *99 put: @@ -91258,7 +91648,7 @@ paths: application/json: schema: *128 examples: - default: *658 + default: *661 '404': *6 '500': *99 delete: @@ -91421,8 +91811,8 @@ paths: - *86 - *19 - *17 - - *659 - - *660 + - *662 + - *663 - *338 - *339 - *340 @@ -91433,7 +91823,7 @@ paths: application/json: schema: type: array - items: &663 + items: &666 type: object properties: number: *100 @@ -91452,8 +91842,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *661 - resolution: *662 + state: *664 + resolution: *665 resolved_at: type: string format: date-time @@ -91679,7 +92069,7 @@ paths: description: Response content: application/json: - schema: *663 + schema: *666 examples: default: value: @@ -91741,8 +92131,8 @@ paths: schema: type: object properties: - state: *661 - resolution: *662 + state: *664 + resolution: *665 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -91760,7 +92150,7 @@ paths: description: Response content: application/json: - schema: *663 + schema: *666 examples: default: value: @@ -91848,7 +92238,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &823 + items: &826 type: object properties: type: @@ -92216,14 +92606,14 @@ paths: schema: type: object properties: - reason: &665 + reason: &668 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *664 + placeholder_id: *667 required: - reason - placeholder_id @@ -92240,7 +92630,7 @@ paths: schema: type: object properties: - reason: *665 + reason: *668 expire_at: type: string format: date-time @@ -92299,7 +92689,7 @@ paths: properties: incremental_scans: type: array - items: &666 + items: &669 description: Information on a single scan performed by secret scanning on the repository type: object @@ -92325,15 +92715,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *666 + items: *669 backfill_scans: type: array - items: *666 + items: *669 custom_pattern_backfill_scans: type: array items: allOf: - - *666 + - *669 - type: object properties: pattern_name: @@ -92448,9 +92838,9 @@ paths: application/json: schema: type: array - items: *667 + items: *670 examples: - default: *668 + default: *671 '400': *14 '404': *6 x-github: @@ -92634,9 +93024,9 @@ paths: description: Response content: application/json: - schema: *667 + schema: *670 examples: - default: &670 + default: &673 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -92974,7 +93364,7 @@ paths: description: Response content: application/json: - schema: *667 + schema: *670 examples: default: value: @@ -93123,15 +93513,15 @@ paths: parameters: - *377 - *378 - - *669 + - *672 responses: '200': description: Response content: application/json: - schema: *667 + schema: *670 examples: - default: *670 + default: *673 '403': *29 '404': *6 x-github: @@ -93157,7 +93547,7 @@ paths: parameters: - *377 - *378 - - *669 + - *672 requestBody: required: true content: @@ -93316,10 +93706,10 @@ paths: description: Response content: application/json: - schema: *667 + schema: *670 examples: - default: *670 - add_credit: *670 + default: *673 + add_credit: *673 '403': *29 '404': *6 '422': @@ -93359,7 +93749,7 @@ paths: parameters: - *377 - *378 - - *669 + - *672 responses: '202': *95 '400': *14 @@ -93388,7 +93778,7 @@ paths: parameters: - *377 - *378 - - *669 + - *672 responses: '202': description: Response @@ -93532,7 +93922,7 @@ paths: application/json: schema: type: array - items: &671 + items: &674 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -93905,7 +94295,7 @@ paths: application/json: schema: type: array - items: *671 + items: *674 examples: default: value: @@ -93993,7 +94383,7 @@ paths: description: Response content: application/json: - schema: *672 + schema: *675 examples: default: value: @@ -94087,7 +94477,7 @@ paths: description: if you subscribe to the repository content: application/json: - schema: &673 + schema: &676 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -94182,7 +94572,7 @@ paths: description: Response content: application/json: - schema: *673 + schema: *676 examples: default: value: @@ -94319,7 +94709,7 @@ paths: application/json: schema: type: array - items: &674 + items: &677 title: Tag protection description: Tag protection type: object @@ -94395,7 +94785,7 @@ paths: description: Response content: application/json: - schema: *674 + schema: *677 examples: default: value: @@ -94543,7 +94933,7 @@ paths: description: Response content: application/json: - schema: &675 + schema: &678 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -94555,7 +94945,7 @@ paths: required: - names examples: - default: &676 + default: &679 value: names: - octocat @@ -94610,9 +95000,9 @@ paths: description: Response content: application/json: - schema: *675 + schema: *678 examples: - default: *676 + default: *679 '404': *6 '422': *7 x-github: @@ -94635,7 +95025,7 @@ paths: parameters: - *377 - *378 - - &677 + - &680 name: per description: The time frame to display results for. in: query @@ -94664,7 +95054,7 @@ paths: example: 128 clones: type: array - items: &678 + items: &681 title: Traffic type: object properties: @@ -94905,7 +95295,7 @@ paths: parameters: - *377 - *378 - - *677 + - *680 responses: '200': description: Response @@ -94924,7 +95314,7 @@ paths: example: 3782 views: type: array - items: *678 + items: *681 required: - uniques - count @@ -95596,7 +95986,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &686 + - &689 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -95605,7 +95995,7 @@ paths: schema: type: string example: members - - &691 + - &694 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -95616,7 +96006,7 @@ paths: default: 1 format: int32 example: 1 - - &692 + - &695 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -95658,7 +96048,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &680 + items: &683 allOf: - type: object required: @@ -95733,7 +96123,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: &693 + meta: &696 type: object description: The metadata associated with the creation/updates to the user. @@ -95793,31 +96183,31 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &681 + '400': &684 description: Bad request content: application/json: - schema: *679 + schema: *682 application/scim+json: - schema: *679 - '401': &682 + schema: *682 + '401': &685 description: Authorization failure - '403': &683 + '403': &686 description: Permission denied - '429': &684 + '429': &687 description: Too many requests content: application/json: - schema: *679 + schema: *682 application/scim+json: - schema: *679 - '500': &685 + schema: *682 + '500': &688 description: Internal server error content: application/json: - schema: *679 + schema: *682 application/scim+json: - schema: *679 + schema: *682 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -95841,7 +96231,7 @@ paths: required: true content: application/json: - schema: &689 + schema: &692 type: object required: - schemas @@ -95897,9 +96287,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *680 + schema: *683 examples: - group: &687 + group: &690 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -95918,13 +96308,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': *681 - '401': *682 - '403': *683 - '409': &690 + '400': *684 + '401': *685 + '403': *686 + '409': &693 description: Duplicate record detected - '429': *684 - '500': *685 + '429': *687 + '500': *688 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -95941,7 +96331,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: - - &688 + - &691 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -95949,22 +96339,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *686 + - *689 - *40 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *680 + schema: *683 examples: - default: *687 - '400': *681 - '401': *682 - '403': *683 + default: *690 + '400': *684 + '401': *685 + '403': *686 '404': *6 - '429': *684 - '500': *685 + '429': *687 + '500': *688 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -95983,13 +96373,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: - - *688 + - *691 - *40 requestBody: required: true content: application/json: - schema: *689 + schema: *692 examples: group: summary: Group @@ -96015,17 +96405,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *680 + schema: *683 examples: - group: *687 - groupWithMembers: *687 - '400': *681 - '401': *682 - '403': *683 + group: *690 + groupWithMembers: *690 + '400': *684 + '401': *685 + '403': *686 '404': *6 - '409': *690 - '429': *684 - '500': *685 + '409': *693 + '429': *687 + '500': *688 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -96049,13 +96439,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: - - *688 + - *691 - *40 requestBody: required: true content: application/json: - schema: &700 + schema: &703 type: object required: - Operations @@ -96115,17 +96505,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *680 + schema: *683 examples: - updateGroup: *687 - addMembers: *687 - '400': *681 - '401': *682 - '403': *683 + updateGroup: *690 + addMembers: *690 + '400': *684 + '401': *685 + '403': *686 '404': *6 - '409': *690 - '429': *684 - '500': *685 + '409': *693 + '429': *687 + '500': *688 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -96141,17 +96531,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: - - *688 + - *691 - *40 responses: '204': description: Group was deleted, no content - '400': *681 - '401': *682 - '403': *683 + '400': *684 + '401': *685 + '403': *686 '404': *6 - '429': *684 - '500': *685 + '429': *687 + '500': *688 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -96185,8 +96575,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *691 - - *692 + - *694 + - *695 - *40 responses: '200': @@ -96219,7 +96609,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &695 + items: &698 allOf: - type: object required: @@ -96298,7 +96688,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &694 + roles: &697 type: array description: The roles assigned to the user. items: @@ -96354,7 +96744,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *693 + meta: *696 startIndex: type: integer description: A starting index for the returned page @@ -96391,11 +96781,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *681 - '401': *682 - '403': *683 - '429': *684 - '500': *685 + '400': *684 + '401': *685 + '403': *686 + '429': *687 + '500': *688 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -96419,7 +96809,7 @@ paths: required: true content: application/json: - schema: &698 + schema: &701 type: object required: - schemas @@ -96501,9 +96891,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *694 + roles: *697 examples: - user: &699 + user: &702 summary: User value: schemas: @@ -96550,9 +96940,9 @@ paths: description: User has been created content: application/scim+json: - schema: *695 + schema: *698 examples: - user: &696 + user: &699 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -96578,13 +96968,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: *696 - '400': *681 - '401': *682 - '403': *683 - '409': *690 - '429': *684 - '500': *685 + enterpriseOwner: *699 + '400': *684 + '401': *685 + '403': *686 + '409': *693 + '429': *687 + '500': *688 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -96601,7 +96991,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: - - &697 + - &700 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -96614,15 +97004,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *695 + schema: *698 examples: - default: *696 - '400': *681 - '401': *682 - '403': *683 + default: *699 + '400': *684 + '401': *685 + '403': *686 '404': *6 - '429': *684 - '500': *685 + '429': *687 + '500': *688 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -96644,30 +97034,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: - - *697 + - *700 - *40 requestBody: required: true content: application/json: - schema: *698 + schema: *701 examples: - user: *699 + user: *702 responses: '200': description: User was updated content: application/scim+json: - schema: *695 + schema: *698 examples: - user: *696 - '400': *681 - '401': *682 - '403': *683 + user: *699 + '400': *684 + '401': *685 + '403': *686 '404': *6 - '409': *690 - '429': *684 - '500': *685 + '409': *693 + '429': *687 + '500': *688 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -96702,13 +97092,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: - - *697 + - *700 - *40 requestBody: required: true content: application/json: - schema: *700 + schema: *703 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -96748,18 +97138,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *695 - examples: - userMultiValuedProperties: *696 - userSingleValuedProperties: *696 - disableUser: *696 - '400': *681 - '401': *682 - '403': *683 + schema: *698 + examples: + userMultiValuedProperties: *699 + userSingleValuedProperties: *699 + disableUser: *699 + '400': *684 + '401': *685 + '403': *686 '404': *6 - '409': *690 - '429': *684 - '500': *685 + '409': *693 + '429': *687 + '500': *688 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -96779,17 +97169,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: - - *697 + - *700 - *40 responses: '204': description: User was deleted, no content - '400': *681 - '401': *682 - '403': *683 + '400': *684 + '401': *685 + '403': *686 '404': *6 - '429': *684 - '500': *685 + '429': *687 + '500': *688 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -96876,7 +97266,7 @@ paths: example: 1 Resources: type: array - items: &701 + items: &704 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -97107,22 +97497,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': *37 - '404': &702 + '404': &705 description: Resource not found content: application/json: - schema: *679 + schema: *682 application/scim+json: - schema: *679 - '403': &703 + schema: *682 + '403': &706 description: Forbidden content: application/json: - schema: *679 + schema: *682 application/scim+json: - schema: *679 - '400': *681 - '429': *684 + schema: *682 + '400': *684 + '429': *687 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -97148,9 +97538,9 @@ paths: description: Response content: application/scim+json: - schema: *701 + schema: *704 examples: - default: &704 + default: &707 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -97173,17 +97563,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': *37 - '404': *702 - '403': *703 - '500': *685 + '404': *705 + '403': *706 + '500': *688 '409': description: Conflict content: application/json: - schema: *679 + schema: *682 application/scim+json: - schema: *679 - '400': *681 + schema: *682 + '400': *684 requestBody: required: true content: @@ -97281,17 +97671,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *170 - - *697 + - *700 responses: '200': description: Response content: application/scim+json: - schema: *701 + schema: *704 examples: - default: *704 - '404': *702 - '403': *703 + default: *707 + '404': *705 + '403': *706 '304': *37 x-github: githubCloudOnly: true @@ -97315,18 +97705,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *170 - - *697 + - *700 responses: '200': description: Response content: application/scim+json: - schema: *701 + schema: *704 examples: - default: *704 + default: *707 '304': *37 - '404': *702 - '403': *703 + '404': *705 + '403': *706 requestBody: required: true content: @@ -97439,19 +97829,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *170 - - *697 + - *700 responses: '200': description: Response content: application/scim+json: - schema: *701 + schema: *704 examples: - default: *704 + default: *707 '304': *37 - '404': *702 - '403': *703 - '400': *681 + '404': *705 + '403': *706 + '400': *684 '429': description: Response content: @@ -97542,12 +97932,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *170 - - *697 + - *700 responses: '204': description: Response - '404': *702 - '403': *703 + '404': *705 + '403': *706 '304': *37 x-github: githubCloudOnly: true @@ -97680,7 +98070,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &705 + text_matches: &708 title: Search Result Text Matches type: array items: @@ -97843,7 +98233,7 @@ paths: enum: - author-date - committer-date - - &706 + - &709 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 @@ -97934,7 +98324,7 @@ paths: url: type: string format: uri - verification: *550 + verification: *553 required: - author - committer @@ -97971,7 +98361,7 @@ paths: type: number node_id: type: string - text_matches: *705 + text_matches: *708 required: - sha - node_id @@ -98154,7 +98544,7 @@ paths: - interactions - created - updated - - *706 + - *709 - *17 - *19 - name: advanced_search @@ -98296,7 +98686,7 @@ paths: type: string format: date-time nullable: true - text_matches: *705 + text_matches: *708 pull_request: type: object properties: @@ -98524,7 +98914,7 @@ paths: enum: - created - updated - - *706 + - *709 - *17 - *19 responses: @@ -98568,7 +98958,7 @@ paths: nullable: true score: type: number - text_matches: *705 + text_matches: *708 required: - id - node_id @@ -98654,7 +99044,7 @@ paths: - forks - help-wanted-issues - updated - - *706 + - *709 - *17 - *19 responses: @@ -98893,7 +99283,7 @@ paths: - admin - pull - push - text_matches: *705 + text_matches: *708 temp_clone_token: type: string allow_merge_commit: @@ -99194,7 +99584,7 @@ paths: type: string format: uri nullable: true - text_matches: *705 + text_matches: *708 related: type: array nullable: true @@ -99387,7 +99777,7 @@ paths: - followers - repositories - joined - - *706 + - *709 - *17 - *19 responses: @@ -99491,7 +99881,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *705 + text_matches: *708 blog: type: string nullable: true @@ -99570,7 +99960,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &707 + - &710 name: team_id description: The unique identifier of the team. in: path @@ -99611,7 +100001,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *707 + - *710 requestBody: required: true content: @@ -99711,7 +100101,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *707 + - *710 responses: '204': description: Response @@ -99742,7 +100132,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *707 + - *710 - *86 - *17 - *19 @@ -99755,7 +100145,7 @@ paths: type: array items: *360 examples: - default: *708 + default: *711 headers: Link: *39 x-github: @@ -99784,7 +100174,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *707 + - *710 requestBody: required: true content: @@ -99847,7 +100237,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *707 + - *710 - *362 responses: '200': @@ -99881,7 +100271,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *707 + - *710 - *362 requestBody: required: false @@ -99907,7 +100297,7 @@ paths: application/json: schema: *360 examples: - default: *709 + default: *712 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99932,7 +100322,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *707 + - *710 - *362 responses: '204': @@ -99962,7 +100352,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *707 + - *710 - *362 - *86 - *17 @@ -99976,7 +100366,7 @@ paths: type: array items: *363 examples: - default: *710 + default: *713 headers: Link: *39 x-github: @@ -100005,7 +100395,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *707 + - *710 - *362 requestBody: required: true @@ -100057,7 +100447,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *707 + - *710 - *362 - *365 responses: @@ -100092,7 +100482,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *707 + - *710 - *362 - *365 requestBody: @@ -100118,7 +100508,7 @@ paths: application/json: schema: *363 examples: - default: *711 + default: *714 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100143,7 +100533,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *707 + - *710 - *362 - *365 responses: @@ -100174,7 +100564,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: - - *707 + - *710 - *362 - *365 - name: content @@ -100233,7 +100623,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: - - *707 + - *710 - *362 - *365 requestBody: @@ -100295,7 +100685,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: - - *707 + - *710 - *362 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -100353,7 +100743,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: - - *707 + - *710 - *362 requestBody: required: true @@ -100412,7 +100802,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *707 + - *710 - *17 - *19 responses: @@ -100450,7 +100840,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *707 + - *710 - name: role description: Filters members returned by their role in the team. in: query @@ -100501,7 +100891,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *707 + - *710 - *218 responses: '204': @@ -100538,7 +100928,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *707 + - *710 - *218 responses: '204': @@ -100578,7 +100968,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *707 + - *710 - *218 responses: '204': @@ -100615,7 +101005,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: - - *707 + - *710 - *218 responses: '200': @@ -100624,7 +101014,7 @@ paths: application/json: schema: *374 examples: - response-if-user-is-a-team-maintainer: *712 + response-if-user-is-a-team-maintainer: *715 '404': *6 x-github: githubCloudOnly: false @@ -100657,7 +101047,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: - - *707 + - *710 - *218 requestBody: required: false @@ -100685,7 +101075,7 @@ paths: application/json: schema: *374 examples: - response-if-users-membership-with-team-is-now-pending: *713 + response-if-users-membership-with-team-is-now-pending: *716 '403': description: Forbidden if team synchronization is set up '422': @@ -100719,7 +101109,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: - - *707 + - *710 - *218 responses: '204': @@ -100748,7 +101138,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *707 + - *710 - *17 - *19 responses: @@ -100760,7 +101150,7 @@ paths: type: array items: *375 examples: - default: *714 + default: *717 headers: Link: *39 '404': *6 @@ -100786,7 +101176,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: - - *707 + - *710 - *376 responses: '200': @@ -100795,7 +101185,7 @@ paths: application/json: schema: *375 examples: - default: *715 + default: *718 '404': description: Not Found if project is not managed by this team x-github: @@ -100819,7 +101209,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: - - *707 + - *710 - *376 requestBody: required: false @@ -100887,7 +101277,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: - - *707 + - *710 - *376 responses: '204': @@ -100915,7 +101305,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *707 + - *710 - *17 - *19 responses: @@ -100957,7 +101347,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: - - *707 + - *710 - *377 - *378 responses: @@ -100965,7 +101355,7 @@ paths: description: Alternative response with extra repository information content: application/json: - schema: *716 + schema: *719 examples: alternative-response-with-extra-repository-information: value: @@ -101116,7 +101506,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: - - *707 + - *710 - *377 - *378 requestBody: @@ -101168,7 +101558,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: - - *707 + - *710 - *377 - *378 responses: @@ -101199,7 +101589,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: - - *707 + - *710 responses: '200': description: Response @@ -101234,7 +101624,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: - - *707 + - *710 requestBody: required: true content: @@ -101322,7 +101712,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *707 + - *710 - *17 - *19 responses: @@ -101334,7 +101724,7 @@ paths: type: array items: *227 examples: - response-if-child-teams-exist: *717 + response-if-child-teams-exist: *720 headers: Link: *39 '404': *6 @@ -101367,7 +101757,7 @@ paths: application/json: schema: oneOf: - - &719 + - &722 title: Private User description: Private User type: object @@ -101570,7 +101960,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *718 + - *721 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -101723,7 +102113,7 @@ paths: description: Response content: application/json: - schema: *719 + schema: *722 examples: default: value: @@ -102121,7 +102511,7 @@ paths: type: integer secrets: type: array - items: &720 + items: &723 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -102237,7 +102627,7 @@ paths: description: Response content: application/json: - schema: *720 + schema: *723 examples: default: value: @@ -102383,7 +102773,7 @@ paths: type: array items: *196 examples: - default: *721 + default: *724 '401': *25 '403': *29 '404': *6 @@ -102650,7 +103040,7 @@ paths: description: Response content: application/json: - schema: &722 + schema: &725 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -102691,7 +103081,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &723 + default: &726 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -102736,9 +103126,9 @@ paths: description: Response content: application/json: - schema: *722 + schema: *725 examples: - default: *723 + default: *726 '404': *6 x-github: githubCloudOnly: false @@ -102775,9 +103165,9 @@ paths: type: integer machines: type: array - items: *724 + items: *727 examples: - default: *725 + default: *728 '304': *37 '500': *99 '401': *25 @@ -103716,7 +104106,7 @@ paths: type: array items: *306 examples: - default: &738 + default: &741 value: - id: 197 name: hello_docker @@ -103817,7 +104207,7 @@ paths: application/json: schema: type: array - items: &726 + items: &729 title: Email description: Email type: object @@ -103882,9 +104272,9 @@ paths: application/json: schema: type: array - items: *726 + items: *729 examples: - default: &740 + default: &743 value: - email: octocat@github.com verified: true @@ -103959,7 +104349,7 @@ paths: application/json: schema: type: array - items: *726 + items: *729 examples: default: value: @@ -104215,7 +104605,7 @@ paths: application/json: schema: type: array - items: &727 + items: &730 title: GPG Key description: A unique encryption key type: object @@ -104346,7 +104736,7 @@ paths: - subkeys - revoked examples: - default: &751 + default: &754 value: - id: 3 name: Octocat's GPG Key @@ -104431,9 +104821,9 @@ paths: description: Response content: application/json: - schema: *727 + schema: *730 examples: - default: &728 + default: &731 value: id: 3 name: Octocat's GPG Key @@ -104490,7 +104880,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: - - &729 + - &732 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -104502,9 +104892,9 @@ paths: description: Response content: application/json: - schema: *727 + schema: *730 examples: - default: *728 + default: *731 '404': *6 '304': *37 '403': *29 @@ -104527,7 +104917,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: - - *729 + - *732 responses: '204': description: Response @@ -104718,7 +105108,7 @@ paths: type: array items: *63 examples: - default: *730 + default: *733 headers: Link: *39 '404': *6 @@ -104832,7 +105222,7 @@ paths: required: true content: application/json: - schema: *561 + schema: *564 examples: default: value: @@ -104982,7 +105372,7 @@ paths: application/json: schema: type: array - items: &731 + items: &734 title: Key description: Key type: object @@ -105079,9 +105469,9 @@ paths: description: Response content: application/json: - schema: *731 + schema: *734 examples: - default: &732 + default: &735 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -105114,15 +105504,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: - - *590 + - *593 responses: '200': description: Response content: application/json: - schema: *731 + schema: *734 examples: - default: *732 + default: *735 '404': *6 '304': *37 '403': *29 @@ -105145,7 +105535,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: - - *590 + - *593 responses: '204': description: Response @@ -105178,7 +105568,7 @@ paths: application/json: schema: type: array - items: &733 + items: &736 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -105246,7 +105636,7 @@ paths: - account - plan examples: - default: &734 + default: &737 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -105308,9 +105698,9 @@ paths: application/json: schema: type: array - items: *733 + items: *736 examples: - default: *734 + default: *737 headers: Link: *39 '304': *37 @@ -106305,7 +106695,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - *300 - - *735 + - *738 responses: '204': description: Response @@ -106378,7 +106768,7 @@ paths: type: array items: *58 examples: - default: *736 + default: *739 headers: Link: *39 '304': *37 @@ -106420,7 +106810,7 @@ paths: - docker - nuget - container - - *737 + - *740 - *19 - *17 responses: @@ -106432,8 +106822,8 @@ paths: type: array items: *306 examples: - default: *738 - '400': *739 + default: *741 + '400': *742 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -106462,7 +106852,7 @@ paths: application/json: schema: *306 examples: - default: &752 + default: &755 value: id: 40201 name: octo-name @@ -106915,9 +107305,9 @@ paths: application/json: schema: type: array - items: *726 + items: *729 examples: - default: *740 + default: *743 headers: Link: *39 '304': *37 @@ -107030,7 +107420,7 @@ paths: type: array items: *63 examples: - default: &747 + default: &750 summary: Default response value: - id: 1296269 @@ -107374,9 +107764,9 @@ paths: application/json: schema: type: array - items: *563 + items: *566 examples: - default: *741 + default: *744 headers: Link: *39 '304': *37 @@ -107455,7 +107845,7 @@ paths: application/json: schema: type: array - items: &742 + items: &745 title: Social account description: Social media account type: object @@ -107470,7 +107860,7 @@ paths: - provider - url examples: - default: &743 + default: &746 value: - provider: twitter url: https://twitter.com/github @@ -107532,9 +107922,9 @@ paths: application/json: schema: type: array - items: *742 + items: *745 examples: - default: *743 + default: *746 '422': *15 '304': *37 '404': *6 @@ -107621,7 +108011,7 @@ paths: application/json: schema: type: array - items: &744 + items: &747 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -107641,7 +108031,7 @@ paths: - title - created_at examples: - default: &753 + default: &756 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -107707,9 +108097,9 @@ paths: description: Response content: application/json: - schema: *744 + schema: *747 examples: - default: &745 + default: &748 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -107740,7 +108130,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: - - &746 + - &749 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -107752,9 +108142,9 @@ paths: description: Response content: application/json: - schema: *744 + schema: *747 examples: - default: *745 + default: *748 '404': *6 '304': *37 '403': *29 @@ -107777,7 +108167,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: - - *746 + - *749 responses: '204': description: Response @@ -107806,7 +108196,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: - - &754 + - &757 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 @@ -107831,11 +108221,11 @@ paths: type: array items: *63 examples: - default-response: *747 + default-response: *750 application/vnd.github.v3.star+json: schema: type: array - items: &755 + items: &758 title: Starred Repository description: Starred Repository type: object @@ -108204,10 +108594,10 @@ paths: application/json: schema: oneOf: - - *719 - - *718 + - *722 + - *721 examples: - default-response: &749 + default-response: &752 summary: Default response value: login: octocat @@ -108242,7 +108632,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &750 + response-with-git-hub-plan-information: &753 summary: Response with GitHub plan information value: login: octocat @@ -108302,7 +108692,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *748 + - *751 - *17 responses: '200': @@ -108351,11 +108741,11 @@ paths: application/json: schema: oneOf: - - *719 - - *718 + - *722 + - *721 examples: - default-response: *749 - response-with-git-hub-plan-information: *750 + default-response: *752 + response-with-git-hub-plan-information: *753 '404': *6 x-github: githubCloudOnly: false @@ -108472,7 +108862,7 @@ paths: type: array items: *306 examples: - default: *738 + default: *741 '403': *29 '401': *25 x-github: @@ -108876,9 +109266,9 @@ paths: application/json: schema: type: array - items: *727 + items: *730 examples: - default: *751 + default: *754 headers: Link: *39 x-github: @@ -108982,7 +109372,7 @@ paths: application/json: schema: *22 examples: - default: *560 + default: *563 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -109060,7 +109450,7 @@ paths: type: array items: *58 examples: - default: *736 + default: *739 headers: Link: *39 x-github: @@ -109099,7 +109489,7 @@ paths: - docker - nuget - container - - *737 + - *740 - *218 - *19 - *17 @@ -109112,10 +109502,10 @@ paths: type: array items: *306 examples: - default: *738 + default: *741 '403': *29 '401': *25 - '400': *739 + '400': *742 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -109145,7 +109535,7 @@ paths: application/json: schema: *306 examples: - default: *752 + default: *755 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -109834,9 +110224,9 @@ paths: application/json: schema: type: array - items: *742 + items: *745 examples: - default: *743 + default: *746 headers: Link: *39 x-github: @@ -109866,9 +110256,9 @@ paths: application/json: schema: type: array - items: *744 + items: *747 examples: - default: *753 + default: *756 headers: Link: *39 x-github: @@ -109893,7 +110283,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - *218 - - *754 + - *757 - *86 - *17 - *19 @@ -109905,11 +110295,11 @@ paths: schema: anyOf: - type: array - items: *755 + items: *758 - type: array items: *63 examples: - default-response: *747 + default-response: *750 headers: Link: *39 x-github: @@ -110068,7 +110458,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &756 + enterprise: &759 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -110126,7 +110516,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &757 + installation: &760 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -110145,7 +110535,7 @@ x-webhooks: required: - id - node_id - organization: &758 + organization: &761 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -110205,13 +110595,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &759 + repository: &762 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &796 + properties: &799 id: description: Unique identifier of the repository example: 42 @@ -110894,7 +111284,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &797 + required: &800 - archive_url - assignees_url - blobs_url @@ -111045,10 +111435,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -111124,11 +111514,11 @@ x-webhooks: type: string enum: - created - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 - rule: &760 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 + rule: &763 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) @@ -111351,11 +111741,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 - rule: *760 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 + rule: *763 sender: *4 required: - action @@ -111538,11 +111928,11 @@ x-webhooks: - everyone required: - from - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 - rule: *760 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 + rule: *763 sender: *4 required: - action @@ -111613,7 +112003,7 @@ x-webhooks: required: true content: application/json: - schema: &763 + schema: &766 title: Exemption request cancellation event type: object properties: @@ -111621,11 +112011,11 @@ x-webhooks: type: string enum: - cancelled - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 - exemption_request: &761 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 + exemption_request: &764 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -111850,7 +112240,7 @@ x-webhooks: type: array description: The responses to the exemption request. nullable: true - items: &762 + items: &765 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -111958,7 +112348,7 @@ x-webhooks: required: true content: application/json: - schema: &764 + schema: &767 title: Exemption request completed event type: object properties: @@ -111966,11 +112356,11 @@ x-webhooks: type: string enum: - completed - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 - exemption_request: *761 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 + exemption_request: *764 sender: *4 required: - action @@ -112040,7 +112430,7 @@ x-webhooks: required: true content: application/json: - schema: &765 + schema: &768 title: Exemption request created event type: object properties: @@ -112048,11 +112438,11 @@ x-webhooks: type: string enum: - created - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 - exemption_request: *761 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 + exemption_request: *764 sender: *4 required: - action @@ -112122,7 +112512,7 @@ x-webhooks: required: true content: application/json: - schema: &766 + schema: &769 title: Exemption response dismissed event type: object properties: @@ -112130,12 +112520,12 @@ x-webhooks: type: string enum: - response_dismissed - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 - exemption_request: *761 - exemption_response: *762 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 + exemption_request: *764 + exemption_response: *765 sender: *4 required: - action @@ -112207,7 +112597,7 @@ x-webhooks: required: true content: application/json: - schema: &767 + schema: &770 title: Exemption response submitted event type: object properties: @@ -112215,12 +112605,12 @@ x-webhooks: type: string enum: - response_submitted - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 - exemption_request: *761 - exemption_response: *762 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 + exemption_request: *764 + exemption_response: *765 sender: *4 required: - action @@ -112293,7 +112683,7 @@ x-webhooks: required: true content: application/json: - schema: *763 + schema: *766 responses: '200': description: Return a 200 status to indicate that the data was received @@ -112360,7 +112750,7 @@ x-webhooks: required: true content: application/json: - schema: *764 + schema: *767 responses: '200': description: Return a 200 status to indicate that the data was received @@ -112427,7 +112817,7 @@ x-webhooks: required: true content: application/json: - schema: *765 + schema: *768 responses: '200': description: Return a 200 status to indicate that the data was received @@ -112494,7 +112884,7 @@ x-webhooks: required: true content: application/json: - schema: *766 + schema: *769 responses: '200': description: Return a 200 status to indicate that the data was received @@ -112562,7 +112952,7 @@ x-webhooks: required: true content: application/json: - schema: *767 + schema: *770 responses: '200': description: Return a 200 status to indicate that the data was received @@ -112640,7 +113030,7 @@ x-webhooks: type: string enum: - completed - check_run: &769 + check_run: &772 title: CheckRun description: A check performed on the code of a given code change type: object @@ -112741,7 +113131,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *768 + deployment: *771 details_url: example: https://example.com type: string @@ -112826,9 +113216,9 @@ x-webhooks: - output - app - pull_requests - installation: *757 - organization: *758 - repository: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - check_run @@ -113221,10 +113611,10 @@ x-webhooks: type: string enum: - created - check_run: *769 - installation: *757 - organization: *758 - repository: *759 + check_run: *772 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - check_run @@ -113620,10 +114010,10 @@ x-webhooks: type: string enum: - requested_action - check_run: *769 - installation: *757 - organization: *758 - repository: *759 + check_run: *772 + installation: *760 + organization: *761 + repository: *762 requested_action: description: The action requested by the user. type: object @@ -114028,10 +114418,10 @@ x-webhooks: type: string enum: - rerequested - check_run: *769 - installation: *757 - organization: *758 - repository: *759 + check_run: *772 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - check_run @@ -115008,10 +115398,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -115681,10 +116071,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -116348,10 +116738,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -116659,20 +117049,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &770 + commit_oid: &773 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: *756 - installation: *757 - organization: *758 - ref: &771 + enterprise: *759 + installation: *760 + organization: *761 + ref: &774 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: *759 + repository: *762 sender: *4 required: - action @@ -117064,12 +117454,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *770 - enterprise: *756 - installation: *757 - organization: *758 - ref: *771 - repository: *759 + commit_oid: *773 + enterprise: *759 + installation: *760 + organization: *761 + ref: *774 + repository: *762 sender: *4 required: - action @@ -117332,12 +117722,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *770 - enterprise: *756 - installation: *757 - organization: *758 - ref: *771 - repository: *759 + commit_oid: *773 + enterprise: *759 + installation: *760 + organization: *761 + ref: *774 + repository: *762 sender: *4 required: - action @@ -117666,12 +118056,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *770 - enterprise: *756 - installation: *757 - organization: *758 - ref: *771 - repository: *759 + commit_oid: *773 + enterprise: *759 + installation: *760 + organization: *761 + ref: *774 + repository: *762 sender: *4 required: - action @@ -117936,16 +118326,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *756 - installation: *757 - organization: *758 + enterprise: *759 + installation: *760 + organization: *761 ref: 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 nullable: true - repository: *759 + repository: *762 sender: *4 required: - action @@ -118179,12 +118569,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *770 - enterprise: *756 - installation: *757 - organization: *758 - ref: *771 - repository: *759 + commit_oid: *773 + enterprise: *759 + installation: *760 + organization: *761 + ref: *774 + repository: *762 sender: *4 required: - action @@ -118441,10 +118831,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -118524,18 +118914,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *756 - installation: *757 + enterprise: *759 + installation: *760 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *758 - pusher_type: &772 + organization: *761 + pusher_type: &775 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &773 + ref: &776 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -118545,7 +118935,7 @@ x-webhooks: enum: - tag - branch - repository: *759 + repository: *762 sender: *4 required: - ref @@ -118628,9 +119018,9 @@ x-webhooks: enum: - created definition: *114 - enterprise: *756 - installation: *757 - organization: *758 + enterprise: *759 + installation: *760 + organization: *761 sender: *4 required: - action @@ -118715,9 +119105,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *756 - installation: *757 - organization: *758 + enterprise: *759 + installation: *760 + organization: *761 sender: *4 required: - action @@ -118795,9 +119185,9 @@ x-webhooks: enum: - promote_to_enterprise definition: *114 - enterprise: *756 - installation: *757 - organization: *758 + enterprise: *759 + installation: *760 + organization: *761 sender: *4 required: - action @@ -118875,9 +119265,9 @@ x-webhooks: enum: - updated definition: *114 - enterprise: *756 - installation: *757 - organization: *758 + enterprise: *759 + installation: *760 + organization: *761 sender: *4 required: - action @@ -118954,10 +119344,10 @@ x-webhooks: type: string enum: - updated - enterprise: *756 - installation: *757 - repository: *759 - organization: *758 + enterprise: *759 + installation: *760 + repository: *762 + organization: *761 sender: *4 new_property_values: type: array @@ -119042,18 +119432,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *756 - installation: *757 - organization: *758 - pusher_type: *772 - ref: *773 + enterprise: *759 + installation: *760 + organization: *761 + pusher_type: *775 + ref: *776 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *759 + repository: *762 sender: *4 required: - ref @@ -119138,10 +119528,10 @@ x-webhooks: enum: - auto_dismissed alert: *519 - installation: *757 - organization: *758 - enterprise: *756 - repository: *759 + installation: *760 + organization: *761 + enterprise: *759 + repository: *762 sender: *4 required: - action @@ -119226,10 +119616,10 @@ x-webhooks: enum: - auto_reopened alert: *519 - installation: *757 - organization: *758 - enterprise: *756 - repository: *759 + installation: *760 + organization: *761 + enterprise: *759 + repository: *762 sender: *4 required: - action @@ -119314,10 +119704,10 @@ x-webhooks: enum: - created alert: *519 - installation: *757 - organization: *758 - enterprise: *756 - repository: *759 + installation: *760 + organization: *761 + enterprise: *759 + repository: *762 sender: *4 required: - action @@ -119400,10 +119790,10 @@ x-webhooks: enum: - dismissed alert: *519 - installation: *757 - organization: *758 - enterprise: *756 - repository: *759 + installation: *760 + organization: *761 + enterprise: *759 + repository: *762 sender: *4 required: - action @@ -119486,10 +119876,10 @@ x-webhooks: enum: - fixed alert: *519 - installation: *757 - organization: *758 - enterprise: *756 - repository: *759 + installation: *760 + organization: *761 + enterprise: *759 + repository: *762 sender: *4 required: - action @@ -119573,10 +119963,10 @@ x-webhooks: enum: - reintroduced alert: *519 - installation: *757 - organization: *758 - enterprise: *756 - repository: *759 + installation: *760 + organization: *761 + enterprise: *759 + repository: *762 sender: *4 required: - action @@ -119659,10 +120049,10 @@ x-webhooks: enum: - reopened alert: *519 - installation: *757 - organization: *758 - enterprise: *756 - repository: *759 + installation: *760 + organization: *761 + enterprise: *759 + repository: *762 sender: *4 required: - action @@ -119739,9 +120129,9 @@ x-webhooks: type: string enum: - created - enterprise: *756 - installation: *757 - key: &774 + enterprise: *759 + installation: *760 + key: &777 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -119777,8 +120167,8 @@ x-webhooks: - verified - created_at - read_only - organization: *758 - repository: *759 + organization: *761 + repository: *762 sender: *4 required: - action @@ -119855,11 +120245,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *756 - installation: *757 - key: *774 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + key: *777 + organization: *761 + repository: *762 sender: *4 required: - action @@ -120420,12 +120810,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 - workflow: &778 + workflow: &781 title: Workflow type: object nullable: true @@ -121154,10 +121544,10 @@ x-webhooks: deployment: *525 pull_requests: type: array - items: *610 - repository: *759 - organization: *758 - installation: *757 + items: *613 + repository: *762 + organization: *761 + installation: *760 sender: *4 responses: '200': @@ -121228,7 +121618,7 @@ x-webhooks: type: string enum: - approved - approver: &775 + approver: &778 type: object properties: avatar_url: @@ -121271,11 +121661,11 @@ x-webhooks: type: string comment: type: string - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 - reviewers: &776 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 + reviewers: &779 type: array items: type: object @@ -121354,7 +121744,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &777 + workflow_job_run: &780 type: object properties: conclusion: @@ -122085,18 +122475,18 @@ x-webhooks: type: string enum: - rejected - approver: *775 + approver: *778 comment: type: string - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 - reviewers: *776 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 + reviewers: *779 sender: *4 since: type: string - workflow_job_run: *777 + workflow_job_run: *780 workflow_job_runs: type: array items: @@ -122800,13 +123190,13 @@ x-webhooks: type: string enum: - requested - enterprise: *756 + enterprise: *759 environment: type: string - installation: *757 - organization: *758 - repository: *759 - requestor: &783 + installation: *760 + organization: *761 + repository: *762 + requestor: &786 title: User type: object nullable: true @@ -124705,12 +125095,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 - workflow: *778 + workflow: *781 workflow_run: title: Deployment Workflow Run type: object @@ -125390,7 +125780,7 @@ x-webhooks: type: string enum: - answered - answer: &781 + answer: &784 type: object properties: author_association: @@ -125547,7 +125937,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &779 + discussion: &782 title: Discussion description: A Discussion in a repository. type: object @@ -125833,7 +126223,7 @@ x-webhooks: - id labels: type: array - items: *572 + items: *575 required: - repository_url - category @@ -125855,10 +126245,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -125985,11 +126375,11 @@ x-webhooks: - from required: - category - discussion: *779 - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + discussion: *782 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -126072,11 +126462,11 @@ x-webhooks: type: string enum: - closed - discussion: *779 - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + discussion: *782 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -126158,7 +126548,7 @@ x-webhooks: type: string enum: - created - comment: &780 + comment: &783 type: object properties: author_association: @@ -126315,11 +126705,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *779 - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + discussion: *782 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -126402,12 +126792,12 @@ x-webhooks: type: string enum: - deleted - comment: *780 - discussion: *779 - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + comment: *783 + discussion: *782 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -126502,12 +126892,12 @@ x-webhooks: - from required: - body - comment: *780 - discussion: *779 - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + comment: *783 + discussion: *782 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -126591,11 +126981,11 @@ x-webhooks: type: string enum: - created - discussion: *779 - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + discussion: *782 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -126677,11 +127067,11 @@ x-webhooks: type: string enum: - deleted - discussion: *779 - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + discussion: *782 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -126781,11 +127171,11 @@ x-webhooks: type: string required: - from - discussion: *779 - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + discussion: *782 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -126867,10 +127257,10 @@ x-webhooks: type: string enum: - labeled - discussion: *779 - enterprise: *756 - installation: *757 - label: &782 + discussion: *782 + enterprise: *759 + installation: *760 + label: &785 title: Label type: object properties: @@ -126902,8 +127292,8 @@ x-webhooks: - color - default - description - organization: *758 - repository: *759 + organization: *761 + repository: *762 sender: *4 required: - action @@ -126986,11 +127376,11 @@ x-webhooks: type: string enum: - locked - discussion: *779 - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + discussion: *782 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -127072,11 +127462,11 @@ x-webhooks: type: string enum: - pinned - discussion: *779 - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + discussion: *782 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -127158,11 +127548,11 @@ x-webhooks: type: string enum: - reopened - discussion: *779 - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + discussion: *782 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -127247,16 +127637,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *779 - new_repository: *759 + new_discussion: *782 + new_repository: *762 required: - new_discussion - new_repository - discussion: *779 - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + discussion: *782 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -127339,10 +127729,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *779 - old_answer: *781 - organization: *758 - repository: *759 + discussion: *782 + old_answer: *784 + organization: *761 + repository: *762 sender: *4 required: - action @@ -127424,12 +127814,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *779 - enterprise: *756 - installation: *757 - label: *782 - organization: *758 - repository: *759 + discussion: *782 + enterprise: *759 + installation: *760 + label: *785 + organization: *761 + repository: *762 sender: *4 required: - action @@ -127512,11 +127902,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *779 - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + discussion: *782 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -127598,11 +127988,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *779 - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + discussion: *782 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -127674,7 +128064,7 @@ x-webhooks: required: true content: application/json: - schema: *765 + schema: *768 responses: '200': description: Return a 200 status to indicate that the data was received @@ -127740,7 +128130,7 @@ x-webhooks: required: true content: application/json: - schema: *767 + schema: *770 responses: '200': description: Return a 200 status to indicate that the data was received @@ -127806,7 +128196,7 @@ x-webhooks: required: true content: application/json: - schema: *763 + schema: *766 responses: '200': description: Return a 200 status to indicate that the data was received @@ -127872,7 +128262,7 @@ x-webhooks: required: true content: application/json: - schema: *764 + schema: *767 responses: '200': description: Return a 200 status to indicate that the data was received @@ -127938,7 +128328,7 @@ x-webhooks: required: true content: application/json: - schema: *765 + schema: *768 responses: '200': description: Return a 200 status to indicate that the data was received @@ -128004,7 +128394,7 @@ x-webhooks: required: true content: application/json: - schema: *766 + schema: *769 responses: '200': description: Return a 200 status to indicate that the data was received @@ -128070,7 +128460,7 @@ x-webhooks: required: true content: application/json: - schema: *767 + schema: *770 responses: '200': description: Return a 200 status to indicate that the data was received @@ -128137,7 +128527,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *756 + enterprise: *759 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -128797,9 +129187,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *757 - organization: *758 - repository: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - forkee @@ -128945,9 +129335,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *756 - installation: *757 - organization: *758 + enterprise: *759 + installation: *760 + organization: *761 pages: description: The pages that were updated. type: array @@ -128984,7 +129374,7 @@ x-webhooks: - action - sha - html_url - repository: *759 + repository: *762 sender: *4 required: - pages @@ -129060,10 +129450,10 @@ x-webhooks: type: string enum: - created - enterprise: *756 + enterprise: *759 installation: *22 - organization: *758 - repositories: &784 + organization: *761 + repositories: &787 description: An array of repository objects that the installation can access. type: array @@ -129089,8 +129479,8 @@ x-webhooks: - name - full_name - private - repository: *759 - requester: *783 + repository: *762 + requester: *786 sender: *4 required: - action @@ -129165,11 +129555,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *756 + enterprise: *759 installation: *22 - organization: *758 - repositories: *784 - repository: *759 + organization: *761 + repositories: *787 + repository: *762 requester: nullable: true sender: *4 @@ -129245,11 +129635,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *756 + enterprise: *759 installation: *22 - organization: *758 - repositories: *784 - repository: *759 + organization: *761 + repositories: *787 + repository: *762 requester: nullable: true sender: *4 @@ -129325,10 +129715,10 @@ x-webhooks: type: string enum: - added - enterprise: *756 + enterprise: *759 installation: *22 - organization: *758 - repositories_added: &785 + organization: *761 + repositories_added: &788 description: An array of repository objects, which were added to the installation. type: array @@ -129374,15 +129764,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *759 - repository_selection: &786 + repository: *762 + repository_selection: &789 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *783 + requester: *786 sender: *4 required: - action @@ -129461,10 +129851,10 @@ x-webhooks: type: string enum: - removed - enterprise: *756 + enterprise: *759 installation: *22 - organization: *758 - repositories_added: *785 + organization: *761 + repositories_added: *788 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -129491,9 +129881,9 @@ x-webhooks: - name - full_name - private - repository: *759 - repository_selection: *786 - requester: *783 + repository: *762 + repository_selection: *789 + requester: *786 sender: *4 required: - action @@ -129572,11 +129962,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *756 + enterprise: *759 installation: *22 - organization: *758 - repositories: *784 - repository: *759 + organization: *761 + repositories: *787 + repository: *762 requester: nullable: true sender: *4 @@ -129755,10 +130145,10 @@ x-webhooks: type: string required: - from - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 target_type: type: string @@ -129837,11 +130227,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *756 + enterprise: *759 installation: *22 - organization: *758 - repositories: *784 - repository: *759 + organization: *761 + repositories: *787 + repository: *762 requester: nullable: true sender: *4 @@ -130093,8 +130483,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *756 - installation: *757 + enterprise: *759 + installation: *760 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -131250,8 +131640,8 @@ x-webhooks: - state - locked - assignee - organization: *758 - repository: *759 + organization: *761 + repository: *762 sender: *4 required: - action @@ -131331,7 +131721,7 @@ x-webhooks: type: string enum: - deleted - comment: &787 + comment: &790 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -131496,8 +131886,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *756 - installation: *757 + enterprise: *759 + installation: *760 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -132651,8 +133041,8 @@ x-webhooks: - state - locked - assignee - organization: *758 - repository: *759 + organization: *761 + repository: *762 sender: *4 required: - action @@ -132732,7 +133122,7 @@ x-webhooks: type: string enum: - edited - changes: &815 + changes: &818 description: The changes to the comment. type: object properties: @@ -132744,9 +133134,9 @@ x-webhooks: type: string required: - from - comment: *787 - enterprise: *756 - installation: *757 + comment: *790 + enterprise: *759 + installation: *760 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -133901,8 +134291,8 @@ x-webhooks: - state - locked - assignee - organization: *758 - repository: *759 + organization: *761 + repository: *762 sender: *4 required: - action @@ -133984,10 +134374,10 @@ x-webhooks: type: string enum: - assigned - assignee: *783 - enterprise: *756 - installation: *757 - issue: &790 + assignee: *786 + enterprise: *759 + installation: *760 + issue: &793 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -134906,8 +135296,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *758 - repository: *759 + organization: *761 + repository: *762 sender: *4 required: - action @@ -134987,8 +135377,8 @@ x-webhooks: type: string enum: - closed - enterprise: *756 - installation: *757 + enterprise: *759 + installation: *760 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -136047,8 +136437,8 @@ x-webhooks: required: - state - closed_at - organization: *758 - repository: *759 + organization: *761 + repository: *762 sender: *4 required: - action @@ -136127,8 +136517,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *756 - installation: *757 + enterprise: *759 + installation: *760 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -137040,8 +137430,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *758 - repository: *759 + organization: *761 + repository: *762 sender: *4 required: - action @@ -137120,8 +137510,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *756 - installation: *757 + enterprise: *759 + installation: *760 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -138036,7 +138426,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &788 + milestone: &791 title: Milestone description: A collection of related issues and pull requests. type: object @@ -138174,8 +138564,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *758 - repository: *759 + organization: *761 + repository: *762 sender: *4 required: - action @@ -138274,8 +138664,8 @@ x-webhooks: type: string required: - from - enterprise: *756 - installation: *757 + enterprise: *759 + installation: *760 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -139194,9 +139584,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *782 - organization: *758 - repository: *759 + label: *785 + organization: *761 + repository: *762 sender: *4 required: - action @@ -139276,8 +139666,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *756 - installation: *757 + enterprise: *759 + installation: *760 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -140195,9 +140585,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *782 - organization: *758 - repository: *759 + label: *785 + organization: *761 + repository: *762 sender: *4 required: - action @@ -140277,8 +140667,8 @@ x-webhooks: type: string enum: - locked - enterprise: *756 - installation: *757 + enterprise: *759 + installation: *760 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -141197,8 +141587,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *758 - repository: *759 + organization: *761 + repository: *762 sender: *4 required: - action @@ -141277,8 +141667,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *756 - installation: *757 + enterprise: *759 + installation: *760 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -142191,9 +142581,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *788 - organization: *758 - repository: *759 + milestone: *791 + organization: *761 + repository: *762 sender: *4 required: - action @@ -143654,8 +144044,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *756 - installation: *757 + enterprise: *759 + installation: *760 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -144573,8 +144963,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *758 - repository: *759 + organization: *761 + repository: *762 sender: *4 required: - action @@ -144654,9 +145044,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *756 - installation: *757 - issue: &789 + enterprise: *759 + installation: *760 + issue: &792 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -145568,8 +145958,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *758 - repository: *759 + organization: *761 + repository: *762 sender: *4 required: - action @@ -145648,8 +146038,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *756 - installation: *757 + enterprise: *759 + installation: *760 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -146567,8 +146957,8 @@ x-webhooks: user_view_type: type: string type: *288 - organization: *758 - repository: *759 + organization: *761 + repository: *762 sender: *4 required: - action @@ -148031,11 +148421,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *756 - installation: *757 - issue: *789 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + issue: *792 + organization: *761 + repository: *762 sender: *4 required: - action @@ -148115,12 +148505,12 @@ x-webhooks: type: string enum: - typed - enterprise: *756 - installation: *757 - issue: *790 + enterprise: *759 + installation: *760 + issue: *793 type: *288 - organization: *758 - repository: *759 + organization: *761 + repository: *762 sender: *4 required: - action @@ -148201,7 +148591,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &818 + assignee: &821 title: User type: object nullable: true @@ -148271,11 +148661,11 @@ x-webhooks: required: - login - id - enterprise: *756 - installation: *757 - issue: *790 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + issue: *793 + organization: *761 + repository: *762 sender: *4 required: - action @@ -148354,12 +148744,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *756 - installation: *757 - issue: *790 - label: *782 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + issue: *793 + label: *785 + organization: *761 + repository: *762 sender: *4 required: - action @@ -148439,8 +148829,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *756 - installation: *757 + enterprise: *759 + installation: *760 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -149357,8 +149747,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *758 - repository: *759 + organization: *761 + repository: *762 sender: *4 required: - action @@ -149438,11 +149828,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *756 - installation: *757 - issue: *789 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + issue: *792 + organization: *761 + repository: *762 sender: *4 required: - action @@ -149521,12 +149911,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *756 - installation: *757 - issue: *790 + enterprise: *759 + installation: *760 + issue: *793 type: *288 - organization: *758 - repository: *759 + organization: *761 + repository: *762 sender: *4 required: - action @@ -149606,11 +149996,11 @@ x-webhooks: type: string enum: - created - enterprise: *756 - installation: *757 - label: *782 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + label: *785 + organization: *761 + repository: *762 sender: *4 required: - action @@ -149688,11 +150078,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *756 - installation: *757 - label: *782 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + label: *785 + organization: *761 + repository: *762 sender: *4 required: - action @@ -149802,11 +150192,11 @@ x-webhooks: type: string required: - from - enterprise: *756 - installation: *757 - label: *782 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + label: *785 + organization: *761 + repository: *762 sender: *4 required: - action @@ -149888,9 +150278,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *756 - installation: *757 - marketplace_purchase: &791 + enterprise: *759 + installation: *760 + marketplace_purchase: &794 title: Marketplace Purchase type: object required: @@ -149973,8 +150363,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *758 - previous_marketplace_purchase: &792 + organization: *761 + previous_marketplace_purchase: &795 title: Marketplace Purchase type: object properties: @@ -150054,7 +150444,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *759 + repository: *762 sender: *4 required: - action @@ -150134,10 +150524,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *756 - installation: *757 - marketplace_purchase: *791 - organization: *758 + enterprise: *759 + installation: *760 + marketplace_purchase: *794 + organization: *761 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -150220,7 +150610,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *759 + repository: *762 sender: *4 required: - action @@ -150302,10 +150692,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *756 - installation: *757 - marketplace_purchase: *791 - organization: *758 + enterprise: *759 + installation: *760 + marketplace_purchase: *794 + organization: *761 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -150387,7 +150777,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *759 + repository: *762 sender: *4 required: - action @@ -150468,8 +150858,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *756 - installation: *757 + enterprise: *759 + installation: *760 marketplace_purchase: title: Marketplace Purchase type: object @@ -150551,9 +150941,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *758 - previous_marketplace_purchase: *792 - repository: *759 + organization: *761 + previous_marketplace_purchase: *795 + repository: *762 sender: *4 required: - action @@ -150633,12 +151023,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *756 - installation: *757 - marketplace_purchase: *791 - organization: *758 - previous_marketplace_purchase: *792 - repository: *759 + enterprise: *759 + installation: *760 + marketplace_purchase: *794 + organization: *761 + previous_marketplace_purchase: *795 + repository: *762 sender: *4 required: - action @@ -150740,11 +151130,11 @@ x-webhooks: type: string required: - to - enterprise: *756 - installation: *757 - member: *783 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + member: *786 + organization: *761 + repository: *762 sender: *4 required: - action @@ -150844,11 +151234,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *756 - installation: *757 - member: *783 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + member: *786 + organization: *761 + repository: *762 sender: *4 required: - action @@ -150927,11 +151317,11 @@ x-webhooks: type: string enum: - removed - enterprise: *756 - installation: *757 - member: *783 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + member: *786 + organization: *761 + repository: *762 sender: *4 required: - action @@ -151009,11 +151399,11 @@ x-webhooks: type: string enum: - added - enterprise: *756 - installation: *757 - member: *783 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + member: *786 + organization: *761 + repository: *762 scope: description: The scope of the membership. Currently, can only be `team`. @@ -151089,7 +151479,7 @@ x-webhooks: required: - login - id - team: &793 + team: &796 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -151279,11 +151669,11 @@ x-webhooks: type: string enum: - removed - enterprise: *756 - installation: *757 - member: *783 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + member: *786 + organization: *761 + repository: *762 scope: description: The scope of the membership. Currently, can only be `team`. @@ -151360,7 +151750,7 @@ x-webhooks: required: - login - id - team: *793 + team: *796 required: - action - scope @@ -151442,8 +151832,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *757 - merge_group: &795 + installation: *760 + merge_group: &798 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -151462,15 +151852,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *794 + head_commit: *797 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *758 - repository: *759 + organization: *761 + repository: *762 sender: *4 required: - action @@ -151556,10 +151946,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *757 - merge_group: *795 - organization: *758 - repository: *759 + installation: *760 + merge_group: *798 + organization: *761 + repository: *762 sender: *4 required: - action @@ -151632,7 +152022,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *756 + enterprise: *759 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -151740,16 +152130,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *757 - organization: *758 + installation: *760 + organization: *761 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *796 - required: *797 + properties: *799 + required: *800 nullable: true sender: *4 required: @@ -151830,11 +152220,11 @@ x-webhooks: type: string enum: - closed - enterprise: *756 - installation: *757 - milestone: *788 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + milestone: *791 + organization: *761 + repository: *762 sender: *4 required: - action @@ -151913,9 +152303,9 @@ x-webhooks: type: string enum: - created - enterprise: *756 - installation: *757 - milestone: &798 + enterprise: *759 + installation: *760 + milestone: &801 title: Milestone description: A collection of related issues and pull requests. type: object @@ -152052,8 +152442,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *758 - repository: *759 + organization: *761 + repository: *762 sender: *4 required: - action @@ -152132,11 +152522,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *756 - installation: *757 - milestone: *788 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + milestone: *791 + organization: *761 + repository: *762 sender: *4 required: - action @@ -152246,11 +152636,11 @@ x-webhooks: type: string required: - from - enterprise: *756 - installation: *757 - milestone: *788 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + milestone: *791 + organization: *761 + repository: *762 sender: *4 required: - action @@ -152330,11 +152720,11 @@ x-webhooks: type: string enum: - opened - enterprise: *756 - installation: *757 - milestone: *798 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + milestone: *801 + organization: *761 + repository: *762 sender: *4 required: - action @@ -152413,11 +152803,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *783 - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + blocked_user: *786 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -152496,11 +152886,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *783 - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + blocked_user: *786 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -152579,9 +152969,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *756 - installation: *757 - membership: &799 + enterprise: *759 + installation: *760 + membership: &802 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -152673,8 +153063,8 @@ x-webhooks: - role - organization_url - user - organization: *758 - repository: *759 + organization: *761 + repository: *762 sender: *4 required: - action @@ -152752,11 +153142,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *756 - installation: *757 - membership: *799 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + membership: *802 + organization: *761 + repository: *762 sender: *4 required: - action @@ -152835,8 +153225,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *756 - installation: *757 + enterprise: *759 + installation: *760 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -152952,10 +153342,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *758 - repository: *759 + organization: *761 + repository: *762 sender: *4 - user: *783 + user: *786 required: - action - invitation @@ -153033,11 +153423,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *756 - installation: *757 - membership: *799 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + membership: *802 + organization: *761 + repository: *762 sender: *4 required: - action @@ -153124,11 +153514,11 @@ x-webhooks: properties: from: type: string - enterprise: *756 - installation: *757 - membership: *799 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + membership: *802 + organization: *761 + repository: *762 sender: *4 required: - action @@ -153204,9 +153594,9 @@ x-webhooks: type: string enum: - published - enterprise: *756 - installation: *757 - organization: *758 + enterprise: *759 + installation: *760 + organization: *761 package: description: Information about the package. type: object @@ -153705,7 +154095,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &800 + items: &803 title: Ruby Gems metadata type: object properties: @@ -153800,7 +154190,7 @@ x-webhooks: - owner - package_version - registry - repository: *759 + repository: *762 sender: *4 required: - action @@ -153876,9 +154266,9 @@ x-webhooks: type: string enum: - updated - enterprise: *756 - installation: *757 - organization: *758 + enterprise: *759 + installation: *760 + organization: *761 package: description: Information about the package. type: object @@ -154231,7 +154621,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *800 + items: *803 source_url: type: string format: uri @@ -154301,7 +154691,7 @@ x-webhooks: - owner - package_version - registry - repository: *759 + repository: *762 sender: *4 required: - action @@ -154478,12 +154868,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *756 + enterprise: *759 id: type: integer - installation: *757 - organization: *758 - repository: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - id @@ -154560,7 +154950,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &801 + personal_access_token_request: &804 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -154706,10 +155096,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *756 - organization: *758 + enterprise: *759 + organization: *761 sender: *4 - installation: *757 + installation: *760 required: - action - personal_access_token_request @@ -154786,11 +155176,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *801 - enterprise: *756 - organization: *758 + personal_access_token_request: *804 + enterprise: *759 + organization: *761 sender: *4 - installation: *757 + installation: *760 required: - action - personal_access_token_request @@ -154866,11 +155256,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *801 - enterprise: *756 - organization: *758 + personal_access_token_request: *804 + enterprise: *759 + organization: *761 sender: *4 - installation: *757 + installation: *760 required: - action - personal_access_token_request @@ -154945,11 +155335,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *801 - organization: *758 - enterprise: *756 + personal_access_token_request: *804 + organization: *761 + enterprise: *759 sender: *4 - installation: *757 + installation: *760 required: - action - personal_access_token_request @@ -155054,7 +155444,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *802 + last_response: *805 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -155086,8 +155476,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *758 - repository: *759 + organization: *761 + repository: *762 sender: *4 zen: description: Random string of GitHub zen. @@ -155332,10 +155722,10 @@ x-webhooks: - from required: - note - enterprise: *756 - installation: *757 - organization: *758 - project_card: &803 + enterprise: *759 + installation: *760 + organization: *761 + project_card: &806 title: Project Card type: object properties: @@ -155454,7 +155844,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *759 + repository: *762 sender: *4 required: - action @@ -155535,11 +155925,11 @@ x-webhooks: type: string enum: - created - enterprise: *756 - installation: *757 - organization: *758 - project_card: *803 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + project_card: *806 + repository: *762 sender: *4 required: - action @@ -155619,9 +156009,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *756 - installation: *757 - organization: *758 + enterprise: *759 + installation: *760 + organization: *761 project_card: title: Project Card type: object @@ -155749,8 +156139,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *796 - required: *797 + properties: *799 + required: *800 nullable: true sender: *4 required: @@ -155844,11 +156234,11 @@ x-webhooks: - from required: - note - enterprise: *756 - installation: *757 - organization: *758 - project_card: *803 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + project_card: *806 + repository: *762 sender: *4 required: - action @@ -155942,9 +156332,9 @@ x-webhooks: - from required: - column_id - enterprise: *756 - installation: *757 - organization: *758 + enterprise: *759 + installation: *760 + organization: *761 project_card: allOf: - title: Project Card @@ -156134,7 +156524,7 @@ x-webhooks: type: string required: - after_id - repository: *759 + repository: *762 sender: *4 required: - action @@ -156214,10 +156604,10 @@ x-webhooks: type: string enum: - closed - enterprise: *756 - installation: *757 - organization: *758 - project: &805 + enterprise: *759 + installation: *760 + organization: *761 + project: &808 title: Project type: object properties: @@ -156341,7 +156731,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *759 + repository: *762 sender: *4 required: - action @@ -156421,10 +156811,10 @@ x-webhooks: type: string enum: - created - enterprise: *756 - installation: *757 - organization: *758 - project_column: &804 + enterprise: *759 + installation: *760 + organization: *761 + project_column: &807 title: Project Column type: object properties: @@ -156463,7 +156853,7 @@ x-webhooks: - name - created_at - updated_at - repository: *759 + repository: *762 sender: *4 required: - action @@ -156542,18 +156932,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *756 - installation: *757 - organization: *758 - project_column: *804 + enterprise: *759 + installation: *760 + organization: *761 + project_column: *807 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *796 - required: *797 + properties: *799 + required: *800 nullable: true sender: *4 required: @@ -156643,11 +157033,11 @@ x-webhooks: type: string required: - from - enterprise: *756 - installation: *757 - organization: *758 - project_column: *804 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + project_column: *807 + repository: *762 sender: *4 required: - action @@ -156727,11 +157117,11 @@ x-webhooks: type: string enum: - moved - enterprise: *756 - installation: *757 - organization: *758 - project_column: *804 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + project_column: *807 + repository: *762 sender: *4 required: - action @@ -156811,11 +157201,11 @@ x-webhooks: type: string enum: - created - enterprise: *756 - installation: *757 - organization: *758 - project: *805 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + project: *808 + repository: *762 sender: *4 required: - action @@ -156895,18 +157285,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *756 - installation: *757 - organization: *758 - project: *805 + enterprise: *759 + installation: *760 + organization: *761 + project: *808 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *796 - required: *797 + properties: *799 + required: *800 nullable: true sender: *4 required: @@ -157008,11 +157398,11 @@ x-webhooks: type: string required: - from - enterprise: *756 - installation: *757 - organization: *758 - project: *805 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + project: *808 + repository: *762 sender: *4 required: - action @@ -157091,11 +157481,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *756 - installation: *757 - organization: *758 - project: *805 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + project: *808 + repository: *762 sender: *4 required: - action @@ -157176,9 +157566,9 @@ x-webhooks: type: string enum: - closed - installation: *757 - organization: *758 - projects_v2: &806 + installation: *760 + organization: *761 + projects_v2: &809 title: Projects v2 Project description: A projects v2 project type: object @@ -157321,9 +157711,9 @@ x-webhooks: type: string enum: - created - installation: *757 - organization: *758 - projects_v2: *806 + installation: *760 + organization: *761 + projects_v2: *809 sender: *4 required: - action @@ -157404,9 +157794,9 @@ x-webhooks: type: string enum: - deleted - installation: *757 - organization: *758 - projects_v2: *806 + installation: *760 + organization: *761 + projects_v2: *809 sender: *4 required: - action @@ -157523,9 +157913,9 @@ x-webhooks: type: string to: type: string - installation: *757 - organization: *758 - projects_v2: *806 + installation: *760 + organization: *761 + projects_v2: *809 sender: *4 required: - action @@ -157608,7 +157998,7 @@ x-webhooks: type: string enum: - archived - changes: &810 + changes: &813 type: object properties: archived_at: @@ -157622,9 +158012,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *757 - organization: *758 - projects_v2_item: &807 + installation: *760 + organization: *761 + projects_v2_item: &810 title: Projects v2 Item description: An item belonging to a project type: object @@ -157758,9 +158148,9 @@ x-webhooks: nullable: true to: type: string - installation: *757 - organization: *758 - projects_v2_item: *807 + installation: *760 + organization: *761 + projects_v2_item: *810 sender: *4 required: - action @@ -157842,9 +158232,9 @@ x-webhooks: type: string enum: - created - installation: *757 - organization: *758 - projects_v2_item: *807 + installation: *760 + organization: *761 + projects_v2_item: *810 sender: *4 required: - action @@ -157925,9 +158315,9 @@ x-webhooks: type: string enum: - deleted - installation: *757 - organization: *758 - projects_v2_item: *807 + installation: *760 + organization: *761 + projects_v2_item: *810 sender: *4 required: - action @@ -158033,7 +158423,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &808 + - &811 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -158051,7 +158441,7 @@ x-webhooks: required: - id - name - - &809 + - &812 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -158074,8 +158464,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *808 - - *809 + - *811 + - *812 required: - field_value - type: object @@ -158091,9 +158481,9 @@ x-webhooks: nullable: true required: - body - installation: *757 - organization: *758 - projects_v2_item: *807 + installation: *760 + organization: *761 + projects_v2_item: *810 sender: *4 required: - action @@ -158188,9 +158578,9 @@ x-webhooks: to: type: string nullable: true - installation: *757 - organization: *758 - projects_v2_item: *807 + installation: *760 + organization: *761 + projects_v2_item: *810 sender: *4 required: - action @@ -158273,10 +158663,10 @@ x-webhooks: type: string enum: - restored - changes: *810 - installation: *757 - organization: *758 - projects_v2_item: *807 + changes: *813 + installation: *760 + organization: *761 + projects_v2_item: *810 sender: *4 required: - action @@ -158358,9 +158748,9 @@ x-webhooks: type: string enum: - reopened - installation: *757 - organization: *758 - projects_v2: *806 + installation: *760 + organization: *761 + projects_v2: *809 sender: *4 required: - action @@ -158441,9 +158831,9 @@ x-webhooks: type: string enum: - created - installation: *757 - organization: *758 - projects_v2_status_update: &811 + installation: *760 + organization: *761 + projects_v2_status_update: &814 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -158570,9 +158960,9 @@ x-webhooks: type: string enum: - deleted - installation: *757 - organization: *758 - projects_v2_status_update: *811 + installation: *760 + organization: *761 + projects_v2_status_update: *814 sender: *4 required: - action @@ -158708,9 +159098,9 @@ x-webhooks: type: string format: date nullable: true - installation: *757 - organization: *758 - projects_v2_status_update: *811 + installation: *760 + organization: *761 + projects_v2_status_update: *814 sender: *4 required: - action @@ -158781,10 +159171,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - repository @@ -158861,13 +159251,13 @@ x-webhooks: type: string enum: - assigned - assignee: *783 - enterprise: *756 - installation: *757 - number: &812 + assignee: *786 + enterprise: *759 + installation: *760 + number: &815 description: The pull request number. type: integer - organization: *758 + organization: *761 pull_request: title: Pull Request type: object @@ -161150,7 +161540,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *759 + repository: *762 sender: *4 required: - action @@ -161232,11 +161622,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *756 - installation: *757 + enterprise: *759 + installation: *760 number: type: integer - organization: *758 + organization: *761 pull_request: title: Pull Request type: object @@ -163514,7 +163904,7 @@ x-webhooks: - draft reason: type: string - repository: *759 + repository: *762 sender: *4 required: - action @@ -163596,11 +163986,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *756 - installation: *757 + enterprise: *759 + installation: *760 number: type: integer - organization: *758 + organization: *761 pull_request: title: Pull Request type: object @@ -165878,7 +166268,7 @@ x-webhooks: - draft reason: type: string - repository: *759 + repository: *762 sender: *4 required: - action @@ -165960,13 +166350,13 @@ x-webhooks: type: string enum: - closed - enterprise: *756 - installation: *757 - number: *812 - organization: *758 - pull_request: &813 + enterprise: *759 + installation: *760 + number: *815 + organization: *761 + pull_request: &816 allOf: - - *610 + - *613 - type: object properties: allow_auto_merge: @@ -166028,7 +166418,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *759 + repository: *762 sender: *4 required: - action @@ -166109,12 +166499,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *756 - installation: *757 - number: *812 - organization: *758 - pull_request: *813 - repository: *759 + enterprise: *759 + installation: *760 + number: *815 + organization: *761 + pull_request: *816 + repository: *762 sender: *4 required: - action @@ -166194,11 +166584,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *756 - milestone: *593 - number: *812 - organization: *758 - pull_request: &814 + enterprise: *759 + milestone: *596 + number: *815 + organization: *761 + pull_request: &817 title: Pull Request type: object properties: @@ -168461,7 +168851,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *759 + repository: *762 sender: *4 required: - action @@ -168540,11 +168930,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *756 - installation: *757 + enterprise: *759 + installation: *760 number: type: integer - organization: *758 + organization: *761 pull_request: title: Pull Request type: object @@ -170826,7 +171216,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *759 + repository: *762 sender: *4 required: - action @@ -170950,12 +171340,12 @@ x-webhooks: type: string required: - from - enterprise: *756 - installation: *757 - number: *812 - organization: *758 - pull_request: *813 - repository: *759 + enterprise: *759 + installation: *760 + number: *815 + organization: *761 + pull_request: *816 + repository: *762 sender: *4 required: - action @@ -171035,11 +171425,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *756 - installation: *757 + enterprise: *759 + installation: *760 number: type: integer - organization: *758 + organization: *761 pull_request: title: Pull Request type: object @@ -173306,7 +173696,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *759 + repository: *762 sender: *4 required: - action @@ -173386,11 +173776,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *756 - installation: *757 - label: *782 - number: *812 - organization: *758 + enterprise: *759 + installation: *760 + label: *785 + number: *815 + organization: *761 pull_request: title: Pull Request type: object @@ -175672,7 +176062,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *759 + repository: *762 sender: *4 required: - action @@ -175753,10 +176143,10 @@ x-webhooks: type: string enum: - locked - enterprise: *756 - installation: *757 - number: *812 - organization: *758 + enterprise: *759 + installation: *760 + number: *815 + organization: *761 pull_request: title: Pull Request type: object @@ -178036,7 +178426,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *759 + repository: *762 sender: *4 required: - action @@ -178116,12 +178506,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *756 - milestone: *593 - number: *812 - organization: *758 - pull_request: *814 - repository: *759 + enterprise: *759 + milestone: *596 + number: *815 + organization: *761 + pull_request: *817 + repository: *762 sender: *4 required: - action @@ -178200,12 +178590,12 @@ x-webhooks: type: string enum: - opened - enterprise: *756 - installation: *757 - number: *812 - organization: *758 - pull_request: *813 - repository: *759 + enterprise: *759 + installation: *760 + number: *815 + organization: *761 + pull_request: *816 + repository: *762 sender: *4 required: - action @@ -178286,12 +178676,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *756 - installation: *757 - number: *812 - organization: *758 - pull_request: *813 - repository: *759 + enterprise: *759 + installation: *760 + number: *815 + organization: *761 + pull_request: *816 + repository: *762 sender: *4 required: - action @@ -178371,12 +178761,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *756 - installation: *757 - number: *812 - organization: *758 - pull_request: *813 - repository: *759 + enterprise: *759 + installation: *760 + number: *815 + organization: *761 + pull_request: *816 + repository: *762 sender: *4 required: - action @@ -178742,9 +179132,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *756 - installation: *757 - organization: *758 + enterprise: *759 + installation: *760 + organization: *761 pull_request: type: object properties: @@ -180914,7 +181304,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *759 + repository: *762 sender: *4 required: - action @@ -180994,7 +181384,7 @@ x-webhooks: type: string enum: - deleted - comment: &816 + comment: &819 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. @@ -181279,9 +181669,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *756 - installation: *757 - organization: *758 + enterprise: *759 + installation: *760 + organization: *761 pull_request: type: object properties: @@ -183439,7 +183829,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *759 + repository: *762 sender: *4 required: - action @@ -183519,11 +183909,11 @@ x-webhooks: type: string enum: - edited - changes: *815 - comment: *816 - enterprise: *756 - installation: *757 - organization: *758 + changes: *818 + comment: *819 + enterprise: *759 + installation: *760 + organization: *761 pull_request: type: object properties: @@ -185684,7 +186074,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *759 + repository: *762 sender: *4 required: - action @@ -185765,9 +186155,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *756 - installation: *757 - organization: *758 + enterprise: *759 + installation: *760 + organization: *761 pull_request: title: Simple Pull Request type: object @@ -187940,7 +188330,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *759 + repository: *762 review: description: The review that was affected. type: object @@ -188183,9 +188573,9 @@ x-webhooks: type: string required: - from - enterprise: *756 - installation: *757 - organization: *758 + enterprise: *759 + installation: *760 + organization: *761 pull_request: title: Simple Pull Request type: object @@ -190239,8 +190629,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *759 - review: &817 + repository: *762 + review: &820 description: The review that was affected. type: object properties: @@ -190469,12 +190859,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *756 - installation: *757 + enterprise: *759 + installation: *760 number: description: The pull request number. type: integer - organization: *758 + organization: *761 pull_request: title: Pull Request type: object @@ -192757,7 +193147,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *759 + repository: *762 requested_reviewer: title: User type: object @@ -192841,12 +193231,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *756 - installation: *757 + enterprise: *759 + installation: *760 number: description: The pull request number. type: integer - organization: *758 + organization: *761 pull_request: title: Pull Request type: object @@ -195136,7 +195526,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *759 + repository: *762 requested_team: title: Team description: Groups of organization members that gives permissions @@ -195328,12 +195718,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *756 - installation: *757 + enterprise: *759 + installation: *760 number: description: The pull request number. type: integer - organization: *758 + organization: *761 pull_request: title: Pull Request type: object @@ -197618,7 +198008,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *759 + repository: *762 requested_reviewer: title: User type: object @@ -197703,12 +198093,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *756 - installation: *757 + enterprise: *759 + installation: *760 number: description: The pull request number. type: integer - organization: *758 + organization: *761 pull_request: title: Pull Request type: object @@ -199984,7 +200374,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *759 + repository: *762 requested_team: title: Team description: Groups of organization members that gives permissions @@ -200165,9 +200555,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *756 - installation: *757 - organization: *758 + enterprise: *759 + installation: *760 + organization: *761 pull_request: title: Simple Pull Request type: object @@ -202342,8 +202732,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *759 - review: *817 + repository: *762 + review: *820 sender: *4 required: - action @@ -202423,9 +202813,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *756 - installation: *757 - organization: *758 + enterprise: *759 + installation: *760 + organization: *761 pull_request: title: Simple Pull Request type: object @@ -204495,7 +204885,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *759 + repository: *762 sender: *4 thread: type: object @@ -204878,9 +205268,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *756 - installation: *757 - organization: *758 + enterprise: *759 + installation: *760 + organization: *761 pull_request: title: Simple Pull Request type: object @@ -206936,7 +207326,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *759 + repository: *762 sender: *4 thread: type: object @@ -207322,10 +207712,10 @@ x-webhooks: type: string before: type: string - enterprise: *756 - installation: *757 - number: *812 - organization: *758 + enterprise: *759 + installation: *760 + number: *815 + organization: *761 pull_request: title: Pull Request type: object @@ -209596,7 +209986,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *759 + repository: *762 sender: *4 required: - action @@ -209678,11 +210068,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *818 - enterprise: *756 - installation: *757 - number: *812 - organization: *758 + assignee: *821 + enterprise: *759 + installation: *760 + number: *815 + organization: *761 pull_request: title: Pull Request type: object @@ -211965,7 +212355,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *759 + repository: *762 sender: *4 required: - action @@ -212044,11 +212434,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *756 - installation: *757 - label: *782 - number: *812 - organization: *758 + enterprise: *759 + installation: *760 + label: *785 + number: *815 + organization: *761 pull_request: title: Pull Request type: object @@ -214321,7 +214711,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *759 + repository: *762 sender: *4 required: - action @@ -214402,10 +214792,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *756 - installation: *757 - number: *812 - organization: *758 + enterprise: *759 + installation: *760 + number: *815 + organization: *761 pull_request: title: Pull Request type: object @@ -216670,7 +217060,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *759 + repository: *762 sender: *4 required: - action @@ -216870,7 +217260,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *756 + enterprise: *759 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -216962,8 +217352,8 @@ x-webhooks: - url - author - committer - installation: *757 - organization: *758 + installation: *760 + organization: *761 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -217538,9 +217928,9 @@ x-webhooks: type: string enum: - published - enterprise: *756 - installation: *757 - organization: *758 + enterprise: *759 + installation: *760 + organization: *761 registry_package: type: object properties: @@ -217986,7 +218376,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *800 + items: *803 summary: type: string tag_name: @@ -218040,7 +218430,7 @@ x-webhooks: - owner - package_version - registry - repository: *759 + repository: *762 sender: *4 required: - action @@ -218118,9 +218508,9 @@ x-webhooks: type: string enum: - updated - enterprise: *756 - installation: *757 - organization: *758 + enterprise: *759 + installation: *760 + organization: *761 registry_package: type: object properties: @@ -218428,7 +218818,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *800 + items: *803 summary: type: string tag_name: @@ -218477,7 +218867,7 @@ x-webhooks: - owner - package_version - registry - repository: *759 + repository: *762 sender: *4 required: - action @@ -218554,10 +218944,10 @@ x-webhooks: type: string enum: - created - enterprise: *756 - installation: *757 - organization: *758 - release: &819 + enterprise: *759 + installation: *760 + organization: *761 + release: &822 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -218862,7 +219252,7 @@ x-webhooks: - tarball_url - zipball_url - body - repository: *759 + repository: *762 sender: *4 required: - action @@ -218939,11 +219329,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *756 - installation: *757 - organization: *758 - release: *819 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + release: *822 + repository: *762 sender: *4 required: - action @@ -219060,11 +219450,11 @@ x-webhooks: type: boolean required: - to - enterprise: *756 - installation: *757 - organization: *758 - release: *819 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + release: *822 + repository: *762 sender: *4 required: - action @@ -219142,9 +219532,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *756 - installation: *757 - organization: *758 + enterprise: *759 + installation: *760 + organization: *761 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -219453,7 +219843,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *759 + repository: *762 sender: *4 required: - action @@ -219529,10 +219919,10 @@ x-webhooks: type: string enum: - published - enterprise: *756 - installation: *757 - organization: *758 - release: &820 + enterprise: *759 + installation: *760 + organization: *761 + release: &823 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -219838,7 +220228,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *759 + repository: *762 sender: *4 required: - action @@ -219914,11 +220304,11 @@ x-webhooks: type: string enum: - released - enterprise: *756 - installation: *757 - organization: *758 - release: *819 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + release: *822 + repository: *762 sender: *4 required: - action @@ -219994,11 +220384,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *756 - installation: *757 - organization: *758 - release: *820 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + release: *823 + repository: *762 sender: *4 required: - action @@ -220074,11 +220464,11 @@ x-webhooks: type: string enum: - published - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 - repository_advisory: *667 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 + repository_advisory: *670 sender: *4 required: - action @@ -220154,11 +220544,11 @@ x-webhooks: type: string enum: - reported - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 - repository_advisory: *667 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 + repository_advisory: *670 sender: *4 required: - action @@ -220234,10 +220624,10 @@ x-webhooks: type: string enum: - archived - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -220314,10 +220704,10 @@ x-webhooks: type: string enum: - created - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -220395,10 +220785,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -220482,10 +220872,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -220597,10 +220987,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -220672,10 +221062,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 status: type: string @@ -220756,10 +221146,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -220836,10 +221226,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -220933,10 +221323,10 @@ x-webhooks: - name required: - repository - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -221016,10 +221406,10 @@ x-webhooks: type: string enum: - created - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 repository_ruleset: *128 sender: *4 required: @@ -221098,10 +221488,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 repository_ruleset: *128 sender: *4 required: @@ -221180,10 +221570,10 @@ x-webhooks: type: string enum: - edited - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 repository_ruleset: *128 changes: type: object @@ -221488,10 +221878,10 @@ x-webhooks: - from required: - owner - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -221569,10 +221959,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -221650,7 +222040,7 @@ x-webhooks: type: string enum: - create - alert: &821 + alert: &824 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -221771,10 +222161,10 @@ x-webhooks: type: string enum: - open - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -221980,10 +222370,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -222061,11 +222451,11 @@ x-webhooks: type: string enum: - reopen - alert: *821 - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + alert: *824 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -222264,10 +222654,10 @@ x-webhooks: enum: - fixed - open - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -222345,7 +222735,7 @@ x-webhooks: type: string enum: - created - alert: &822 + alert: &825 type: object properties: number: *100 @@ -222456,10 +222846,10 @@ x-webhooks: description: Whether the detected secret was found in multiple repositories in the same organization or business. nullable: true - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -222540,11 +222930,11 @@ x-webhooks: type: string enum: - created - alert: *822 - installation: *757 - location: *823 - organization: *758 - repository: *759 + alert: *825 + installation: *760 + location: *826 + organization: *761 + repository: *762 sender: *4 required: - location @@ -222782,11 +223172,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *822 - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + alert: *825 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -222864,11 +223254,11 @@ x-webhooks: type: string enum: - reopened - alert: *822 - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + alert: *825 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -222946,11 +223336,11 @@ x-webhooks: type: string enum: - resolved - alert: *822 - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + alert: *825 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -223028,11 +223418,11 @@ x-webhooks: type: string enum: - validated - alert: *822 - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + alert: *825 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -223158,10 +223548,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *759 - enterprise: *756 - installation: *757 - organization: *758 + repository: *762 + enterprise: *759 + installation: *760 + organization: *761 sender: *4 required: - action @@ -223239,11 +223629,11 @@ x-webhooks: type: string enum: - published - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 - security_advisory: &824 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 + security_advisory: &827 description: The details of the security advisory, including summary, description, and severity. type: object @@ -223426,11 +223816,11 @@ x-webhooks: type: string enum: - updated - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 - security_advisory: *824 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 + security_advisory: *827 sender: *4 required: - action @@ -223503,10 +223893,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -223691,9 +224081,9 @@ x-webhooks: type: object properties: security_and_analysis: *327 - enterprise: *756 - installation: *757 - organization: *758 + enterprise: *759 + installation: *760 + organization: *761 repository: *390 sender: *4 required: @@ -223772,12 +224162,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 - sponsorship: &825 + sponsorship: &828 type: object properties: created_at: @@ -224078,12 +224468,12 @@ x-webhooks: type: string enum: - created - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 - sponsorship: *825 + sponsorship: *828 required: - action - sponsorship @@ -224171,12 +224561,12 @@ x-webhooks: type: string required: - from - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 - sponsorship: *825 + sponsorship: *828 required: - action - changes @@ -224253,17 +224643,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &826 + effective_date: &829 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: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 - sponsorship: *825 + sponsorship: *828 required: - action - sponsorship @@ -224337,7 +224727,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &827 + changes: &830 type: object properties: tier: @@ -224381,13 +224771,13 @@ x-webhooks: - from required: - tier - effective_date: *826 - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + effective_date: *829 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 - sponsorship: *825 + sponsorship: *828 required: - action - changes @@ -224464,13 +224854,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *827 - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + changes: *830 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 - sponsorship: *825 + sponsorship: *828 required: - action - changes @@ -224544,10 +224934,10 @@ x-webhooks: type: string enum: - created - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -224630,10 +225020,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -225053,15 +225443,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *756 + enterprise: *759 id: description: The unique identifier of the status. type: integer - installation: *757 + installation: *760 name: type: string - organization: *758 - repository: *759 + organization: *761 + repository: *762 sender: *4 sha: description: The Commit SHA. @@ -225176,9 +225566,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *153 - installation: *757 - organization: *758 - repository: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -225268,9 +225658,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *153 - installation: *757 - organization: *758 - repository: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -225360,9 +225750,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *153 - installation: *757 - organization: *758 - repository: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -225452,9 +225842,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *153 - installation: *757 - organization: *758 - repository: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -225531,12 +225921,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 - team: &828 + team: &831 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -225726,9 +226116,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *756 - installation: *757 - organization: *758 + enterprise: *759 + installation: *760 + organization: *761 repository: title: Repository description: A git repository @@ -226186,7 +226576,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *828 + team: *831 required: - action - team @@ -226262,9 +226652,9 @@ x-webhooks: type: string enum: - created - enterprise: *756 - installation: *757 - organization: *758 + enterprise: *759 + installation: *760 + organization: *761 repository: title: Repository description: A git repository @@ -226722,7 +227112,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *828 + team: *831 required: - action - team @@ -226799,9 +227189,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *756 - installation: *757 - organization: *758 + enterprise: *759 + installation: *760 + organization: *761 repository: title: Repository description: A git repository @@ -227259,7 +227649,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *828 + team: *831 required: - action - team @@ -227403,9 +227793,9 @@ x-webhooks: - from required: - permissions - enterprise: *756 - installation: *757 - organization: *758 + enterprise: *759 + installation: *760 + organization: *761 repository: title: Repository description: A git repository @@ -227863,7 +228253,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *828 + team: *831 required: - action - changes @@ -227941,9 +228331,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *756 - installation: *757 - organization: *758 + enterprise: *759 + installation: *760 + organization: *761 repository: title: Repository description: A git repository @@ -228401,7 +228791,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *828 + team: *831 required: - action - team @@ -228477,10 +228867,10 @@ x-webhooks: type: string enum: - started - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 required: - action @@ -228553,16 +228943,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *756 + enterprise: *759 inputs: type: object nullable: true additionalProperties: true - installation: *757 - organization: *758 + installation: *760 + organization: *761 ref: type: string - repository: *759 + repository: *762 sender: *4 workflow: type: string @@ -228644,10 +229034,10 @@ x-webhooks: type: string enum: - completed - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 workflow_job: allOf: @@ -228963,10 +229353,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 workflow_job: allOf: @@ -229305,10 +229695,10 @@ x-webhooks: type: string enum: - queued - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 workflow_job: type: object @@ -229522,10 +229912,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 workflow_job: type: object @@ -229741,12 +230131,12 @@ x-webhooks: type: string enum: - completed - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 - workflow: *778 + workflow: *781 workflow_run: title: Workflow Run type: object @@ -230745,12 +231135,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 - workflow: *778 + workflow: *781 workflow_run: title: Workflow Run type: object @@ -231734,12 +232124,12 @@ x-webhooks: type: string enum: - requested - enterprise: *756 - installation: *757 - organization: *758 - repository: *759 + enterprise: *759 + installation: *760 + organization: *761 + repository: *762 sender: *4 - workflow: *778 + workflow: *781 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/ghec.2022-11-28.json b/descriptions/ghec/ghec.2022-11-28.json index bdb47e321..493f6b111 100644 --- a/descriptions/ghec/ghec.2022-11-28.json +++ b/descriptions/ghec/ghec.2022-11-28.json @@ -8424,7 +8424,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" ], @@ -8454,20 +8454,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 @@ -8545,9 +8531,7 @@ } } }, - "required": [ - "users" - ] + "minProperties": 1 }, "examples": { "default": { @@ -21166,6 +21150,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", @@ -26699,7 +26758,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" ], @@ -26771,7 +26830,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" ], @@ -26903,7 +26962,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" ], @@ -26969,7 +27028,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" ], @@ -27015,7 +27074,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" ], @@ -27110,7 +27169,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" ], @@ -43557,7 +43616,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" ], @@ -50154,6 +50213,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", @@ -120304,6 +120609,139 @@ "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": { + "nullable": true, + "type": "array", + "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.", + "example": 1234 + }, + "status": { + "type": "string", + "description": "The status of the dismissal request.", + "enum": [ + "pending", + "denied", + "approved", + "cancelled", + "expired" + ] + }, + "requester_comment": { + "type": "string", + "description": "The comment the requester provided when creating the dismissal request.", + "nullable": true + }, + "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", + "description": "The responses to the dismissal request.", + "nullable": true, + "items": { + "$ref": "#/components/schemas/bypass-response" + } + }, + "url": { + "type": "string", + "format": "uri", + "example": "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", + "example": "https://github.com/octo-org/smile/security/secret-scanning/17" + } + } + }, "nullable-minimal-repository": { "title": "Minimal Repository", "description": "Minimal Repository", @@ -284316,6 +284754,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", @@ -291729,6 +292168,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": [ { @@ -303356,6 +303883,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, @@ -316222,7 +316793,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" @@ -316583,6 +317154,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/ghec/ghec.2022-11-28.yaml b/descriptions/ghec/ghec.2022-11-28.yaml index a60e6bbd0..e4f0fb870 100644 --- a/descriptions/ghec/ghec.2022-11-28.yaml +++ b/descriptions/ghec/ghec.2022-11-28.yaml @@ -5951,7 +5951,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: @@ -5975,16 +5975,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: @@ -6037,8 +6027,7 @@ paths: type: array items: type: string - required: - - users + minProperties: 1 examples: default: value: @@ -15381,6 +15370,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 @@ -19316,9 +19351,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. @@ -19368,9 +19401,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)." @@ -19483,9 +19514,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. @@ -19533,9 +19562,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. @@ -19568,9 +19595,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)." @@ -19650,9 +19675,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. @@ -31582,7 +31605,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)". @@ -36549,6 +36572,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 @@ -87949,6 +88139,112 @@ 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: + nullable: true + type: array + 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. + example: 1234 + status: + type: string + description: The status of the dismissal request. + enum: + - pending + - denied + - approved + - cancelled + - expired + requester_comment: + type: string + description: The comment the requester provided when creating the dismissal + request. + nullable: true + 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 + description: The responses to the dismissal request. + nullable: true + items: + "$ref": "#/components/schemas/bypass-response" + url: + type: string + format: uri + example: 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 + example: https://github.com/octo-org/smile/security/secret-scanning/17 nullable-minimal-repository: title: Minimal Repository description: Minimal Repository @@ -212165,6 +212461,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 @@ -218619,6 +218916,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 @@ -228525,6 +228884,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 @@ -239692,7 +240083,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: @@ -240004,6 +240395,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/ghec/ghec.json b/descriptions/ghec/ghec.json index bdb47e321..493f6b111 100644 --- a/descriptions/ghec/ghec.json +++ b/descriptions/ghec/ghec.json @@ -8424,7 +8424,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" ], @@ -8454,20 +8454,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 @@ -8545,9 +8531,7 @@ } } }, - "required": [ - "users" - ] + "minProperties": 1 }, "examples": { "default": { @@ -21166,6 +21150,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", @@ -26699,7 +26758,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" ], @@ -26771,7 +26830,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" ], @@ -26903,7 +26962,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" ], @@ -26969,7 +27028,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" ], @@ -27015,7 +27074,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" ], @@ -27110,7 +27169,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" ], @@ -43557,7 +43616,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" ], @@ -50154,6 +50213,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", @@ -120304,6 +120609,139 @@ "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": { + "nullable": true, + "type": "array", + "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.", + "example": 1234 + }, + "status": { + "type": "string", + "description": "The status of the dismissal request.", + "enum": [ + "pending", + "denied", + "approved", + "cancelled", + "expired" + ] + }, + "requester_comment": { + "type": "string", + "description": "The comment the requester provided when creating the dismissal request.", + "nullable": true + }, + "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", + "description": "The responses to the dismissal request.", + "nullable": true, + "items": { + "$ref": "#/components/schemas/bypass-response" + } + }, + "url": { + "type": "string", + "format": "uri", + "example": "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", + "example": "https://github.com/octo-org/smile/security/secret-scanning/17" + } + } + }, "nullable-minimal-repository": { "title": "Minimal Repository", "description": "Minimal Repository", @@ -284316,6 +284754,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", @@ -291729,6 +292168,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": [ { @@ -303356,6 +303883,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, @@ -316222,7 +316793,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" @@ -316583,6 +317154,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/ghec/ghec.yaml b/descriptions/ghec/ghec.yaml index a60e6bbd0..e4f0fb870 100644 --- a/descriptions/ghec/ghec.yaml +++ b/descriptions/ghec/ghec.yaml @@ -5951,7 +5951,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: @@ -5975,16 +5975,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: @@ -6037,8 +6027,7 @@ paths: type: array items: type: string - required: - - users + minProperties: 1 examples: default: value: @@ -15381,6 +15370,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 @@ -19316,9 +19351,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. @@ -19368,9 +19401,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)." @@ -19483,9 +19514,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. @@ -19533,9 +19562,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. @@ -19568,9 +19595,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)." @@ -19650,9 +19675,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. @@ -31582,7 +31605,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)". @@ -36549,6 +36572,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 @@ -87949,6 +88139,112 @@ 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: + nullable: true + type: array + 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. + example: 1234 + status: + type: string + description: The status of the dismissal request. + enum: + - pending + - denied + - approved + - cancelled + - expired + requester_comment: + type: string + description: The comment the requester provided when creating the dismissal + request. + nullable: true + 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 + description: The responses to the dismissal request. + nullable: true + items: + "$ref": "#/components/schemas/bypass-response" + url: + type: string + format: uri + example: 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 + example: https://github.com/octo-org/smile/security/secret-scanning/17 nullable-minimal-repository: title: Minimal Repository description: Minimal Repository @@ -212165,6 +212461,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 @@ -218619,6 +218916,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 @@ -228525,6 +228884,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 @@ -239692,7 +240083,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: @@ -240004,6 +240395,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. |